/aosp12/frameworks/native/libs/binder/ |
H A D | Parcel.cpp | 659 size_t len, in enforceInterface() 719 status_t Parcel::finishWrite(size_t len) in finishWrite() 779 void* Parcel::writeInplace(size_t len) in writeInplace() 970 status_t Parcel::writeInt32Array(size_t len, const int32_t *val) { in writeInt32Array() 986 status_t Parcel::writeByteArray(size_t len, const uint8_t *val) { in writeByteArray() 1697 const size_t len = eos - str; in readCString() local 1708 size_t len; in readString8() local 1717 size_t len; in readString8() local 1748 size_t len; in readString16() local 1758 size_t len; in readString16() local [all …]
|
H A D | Debug.cpp | 29 std::string hexString(const void* bytes, size_t len) { in hexString() 77 static inline char makehexdigit(uint32_t val) in makehexdigit() 82 static char* appendhexnum(uint32_t val, char* out) in appendhexnum() 255 const unsigned char val = *(pos+startIndex-index); in printHexData() local 272 const unsigned char val = *(pos+startIndex-index); in printHexData() local 290 const unsigned char val = pos[index]; in printHexData() local
|
/aosp12/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | Hash.cpp | 39 uint64_t rotateByAtLeast1(uint64_t val, uint8_t shift) { in rotateByAtLeast1() 43 uint64_t shiftMix(uint64_t val) { in shiftMix() 57 uint64_t hash64Len0To16(const char* s, uint64_t len) { in hash64Len0To16() 85 auto len = sv.length(); in cityHash64Len0To16() local
|
/aosp12/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
H A D | bcmendian.h | 30 #define BCMSWAP16(val) \ argument 35 #define BCMSWAP32(val) \ argument 42 #define BCMSWAP32BY16(val) \ argument 101 #define bcmswap16(val) ({ \ argument 106 #define bcmswap32(val) ({ \ argument 111 #define bcmswap32by16(val) ({ \ argument 116 #define bcmswap16_buf(buf, len) ({ \ argument 181 bcmswap16(uint16 val) in bcmswap16() 187 bcmswap32(uint32 val) in bcmswap32() 193 bcmswap32by16(uint32 val) in bcmswap32by16() [all …]
|
/aosp12/system/keymaster/tests/ |
H A D | android_keymaster_test_utils.h | 58 KeymasterEnum val) { in contains() 65 KeymasterEnum val) { in contains() 73 bool contains(const AuthorizationSet& set, TypedTag<KM_UINT, Tag> tag, uint32_t val) { in contains() 79 bool contains(const AuthorizationSet& set, TypedTag<KM_UINT_REP, Tag> tag, uint32_t val) { in contains() 87 bool contains(const AuthorizationSet& set, TypedTag<KM_ULONG, Tag> tag, uint64_t val) { in contains() 93 bool contains(const AuthorizationSet& set, TypedTag<KM_BYTES, Tag> tag, const std::string& val) { in contains() 100 bool contains(const AuthorizationSet& set, TypedTag<KM_BIGNUM, Tag> tag, const std::string& val) { in contains() 306 bool ResponseContains(const std::vector<T>& expected, const T* values, size_t len) { in ResponseContains() 311 template <typename T> bool ResponseContains(T expected, const T* values, size_t len) { in ResponseContains()
|
/aosp12/art/test/1975-hello-structural-transformation/ |
H A D | structural_transform.cc | 45 jint len = env->GetArrayLength(f); in Java_art_Test1975_readNativeFields() local 51 jobject val = env->GetStaticObjectField(f_class, fid); in Java_art_Test1975_readNativeFields() local 66 jint len = env->GetArrayLength(f); in Java_art_Test1975_getNativeFields() local
|
/aosp12/system/chre/apps/wifi_offload/test/ |
H A D | utility.cc | 23 void init(uint8_t &val, RandomGenerator &rand_gen) { in init() 27 void init(uint16_t &val, RandomGenerator &rand_gen) { in init() 31 void init(uint32_t &val, RandomGenerator &rand_gen) { in init() 35 void init(uint64_t &val, RandomGenerator &rand_gen) { in init() 39 void init(uint8_t *arr, size_t len, RandomGenerator &rand_gen) { in init() 72 size_t len = (rand_gen.get<uint8_t>() % wifi_offload::Ssid::kMaxSsidLen) + 1; in init() local
|
/aosp12/system/core/libcutils/ |
H A D | properties_test.cpp | 114 size_t len = SetAndGetProperty("hello_world"); in TEST_F() local 123 size_t len = SetAndGetProperty("", EMPTY_STRING_DEFAULT); in TEST_F() local 133 int len = SetAndGetProperty(maxLengthString.c_str()); in TEST_F() local 163 int len = property_get(PROPERTY_TEST_KEY, mValue, oneLongerString.c_str()); in TEST_F() local 176 int len = property_get(PROPERTY_TEST_KEY, mValue, maxLengthString.c_str()); in TEST_F() local 189 int len = property_get(PROPERTY_TEST_KEY, mValue, oneCharString.c_str()); in TEST_F() local 202 int len = property_get(PROPERTY_TEST_KEY, mValue, zeroCharString.c_str()); in TEST_F() local 213 int len = property_get(PROPERTY_TEST_KEY, mValue, NULL); in TEST_F() local 277 bool val = property_get_bool(PROPERTY_TEST_KEY, /*default_value*/true); in TEST_F() local 327 int64_t val = property_get_int64(PROPERTY_TEST_KEY, DEFAULT_VALUE); in TEST_F() local [all …]
|
/aosp14/system/core/libcutils/ |
H A D | properties_test.cpp | 114 size_t len = SetAndGetProperty("hello_world"); in TEST_F() local 123 size_t len = SetAndGetProperty("", EMPTY_STRING_DEFAULT); in TEST_F() local 133 int len = SetAndGetProperty(maxLengthString.c_str()); in TEST_F() local 163 int len = property_get(PROPERTY_TEST_KEY, mValue, oneLongerString.c_str()); in TEST_F() local 176 int len = property_get(PROPERTY_TEST_KEY, mValue, maxLengthString.c_str()); in TEST_F() local 189 int len = property_get(PROPERTY_TEST_KEY, mValue, oneCharString.c_str()); in TEST_F() local 202 int len = property_get(PROPERTY_TEST_KEY, mValue, zeroCharString.c_str()); in TEST_F() local 213 int len = property_get(PROPERTY_TEST_KEY, mValue, NULL); in TEST_F() local 277 bool val = property_get_bool(PROPERTY_TEST_KEY, /*default_value*/true); in TEST_F() local 327 int64_t val = property_get_int64(PROPERTY_TEST_KEY, DEFAULT_VALUE); in TEST_F() local [all …]
|
/aosp12/system/libhwbinder/ |
H A D | Parcel.cpp | 342 status_t Parcel::setData(const uint8_t* buffer, size_t len) in setData() 403 status_t Parcel::finishWrite(size_t len) in finishWrite() 422 status_t Parcel::writeUnpadded(const void* data, size_t len) in writeUnpadded() 447 status_t Parcel::write(const void* data, size_t len) in write() 463 void* Parcel::writeInplace(size_t len) in writeInplace() 539 status_t Parcel::writeBool(bool val) in writeBool() 1121 const size_t len = eos - str; in readCString() local 1131 size_t len; in readString16() local 1163 size_t len; in readString16() local 1204 sp<IBinder> val; in readStrongBinder() local [all …]
|
/aosp12/hardware/interfaces/automotive/can/1.0/default/libnl++/include/libnl++/ |
H A D | Buffer.h | 82 T val = {}; in copyFirst() local 154 size_t len() const { return mBuffer.remainingLength(); } in len() function 179 const auto len = declaredLengthImpl(); in declaredLength() local 185 auto len = intptr_t(mBufferEnd) - intptr_t(mData); in remainingLength() local 194 static const void* pointerAdd(const void* ptr, size_t len) { in pointerAdd()
|
/aosp12/frameworks/rs/ |
H A D | rsScript.cpp | 59 void Script::setVar(uint32_t slot, const void *val, size_t len) { in setVar() 70 void Script::getVar(uint32_t slot, const void *val, size_t len) { in getVar() 82 void Script::setVar(uint32_t slot, const void *val, size_t len, Element *e, in setVar() 95 void Script::setVarObj(uint32_t slot, ObjectBase *val) { in setVarObj() 247 void rsi_ScriptInvokeV(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len) { in rsi_ScriptInvokeV() 278 void rsi_ScriptSetVarV(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len) { in rsi_ScriptSetVarV() 283 void rsi_ScriptGetVarV(Context *rsc, RsScript vs, uint32_t slot, void *data, size_t len) { in rsi_ScriptGetVarV() 289 const void *data, size_t len, RsElement ve, in rsi_ScriptSetVarVE()
|
/aosp12/frameworks/base/core/java/com/android/internal/util/ |
H A D | ArrayUtils.java | 452 public static @NonNull int[] appendInt(@Nullable int[] cur, int val, in appendInt() 476 public static @NonNull int[] appendInt(@Nullable int[] cur, int val) { in appendInt() 483 public static @Nullable int[] removeInt(@Nullable int[] cur, int val) { in removeInt() 530 public static @NonNull long[] appendLong(@Nullable long[] cur, long val, in appendLong() 607 @Nullable Collection<T> val) { in addAll() 657 public static <T> boolean contains(@Nullable Collection<T> cur, T val) { in contains() 737 public static @NonNull int[] defeatNullable(@Nullable int[] val) { in defeatNullable() 745 public static @NonNull File[] defeatNullable(@Nullable File[] val) { in defeatNullable() 756 public static void checkBounds(int len, int index) { in checkBounds() 770 public static void throwsIfOutOfBounds(int len, int offset, int count) { in throwsIfOutOfBounds() [all …]
|
/aosp12/frameworks/base/libs/protoutil/tests/ |
H A D | EncodedBuffer_test.cpp | 136 uint8_t val = 0; in TEST() local 147 uint64_t val = UINT64_C(1522865904593); in TEST() local 148 size_t len = buffer->writeRawVarint64(val); in TEST() local
|
/aosp14/frameworks/base/libs/protoutil/tests/ |
H A D | EncodedBuffer_test.cpp | 136 uint8_t val = 0; in TEST() local 147 uint64_t val = UINT64_C(1522865904593); in TEST() local 148 size_t len = buffer->writeRawVarint64(val); in TEST() local
|
/aosp12/hardware/nxp/secure_element/pn8x/libese-spi/p73/pal/ |
H A D | phNxpEsePal.cpp | 190 uint16_t len) { in phPalEse_print_packet() 236 void* phPalEse_memset(void* buff, int val, size_t len) { in phPalEse_memset() 252 void* phPalEse_memcpy(void* dest, const void* src, size_t len) { in phPalEse_memcpy()
|
/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A D | ArrayUtils.java | 485 public static @NonNull int[] appendInt(@Nullable int[] cur, int val, in appendInt() 509 public static @NonNull int[] appendInt(@Nullable int[] cur, int val) { in appendInt() 516 public static @Nullable int[] removeInt(@Nullable int[] cur, int val) { in removeInt() 563 public static @NonNull long[] appendLong(@Nullable long[] cur, long val, in appendLong() 640 @Nullable Collection<T> val) { in addAll() 690 public static <T> boolean contains(@Nullable Collection<T> cur, T val) { in contains() 770 public static @NonNull int[] defeatNullable(@Nullable int[] val) { in defeatNullable() 778 public static @NonNull File[] defeatNullable(@Nullable File[] val) { in defeatNullable() 789 public static void checkBounds(int len, int index) { in checkBounds() 803 public static void throwsIfOutOfBounds(int len, int offset, int count) { in throwsIfOutOfBounds() [all …]
|
/aosp12/hardware/nxp/secure_element/snxxx/libese-spi/p73/pal/ |
H A D | phNxpEsePal.cpp | 211 uint16_t len) { in phPalEse_print_packet() 255 void* phPalEse_memset(void* buff, int val, size_t len) { in phPalEse_memset() 269 void* phPalEse_memcpy(void* dest, const void* src, size_t len) { in phPalEse_memcpy()
|
/aosp12/art/tools/dmtracedump/ |
H A D | createtesttrace.cc | 84 char* strndup(const char* src, size_t len) { in strndup() 160 int32_t len; in parseInputFile() local 306 void write2LE(FILE* fp, uint16_t val) { in write2LE() 311 void write4LE(FILE* fp, uint32_t val) { in write4LE() 318 void write8LE(FILE* fp, uint64_t val) { in write8LE() 392 uint32_t val = METHOD_COMBINE(pRecord->methodId, pRecord->action); in writeDataRecords() local
|
/aosp12/hardware/google/graphics/common/libhwjpeg/ |
H A D | libhwjpeg-exynos.cpp | 37 #define ROUND_DOWN(val, denom) ((val) & ~((denom) - 1)) argument 38 #define ROUND_UP(val, denom) ROUND_DOWN((val) + (denom) - 1, denom) argument 39 #define TO_MASK(val) ((val) - 1) argument 86 size_t len = static_cast<size_t>(*addr++) * 0x100; in GetLength() local 310 bool SetStreamBuffer(unsigned char *buffer, size_t len, size_t dummybytes) { in SetStreamBuffer() 325 bool SetStreamBuffer(int buffer, size_t len, size_t dummybytes) { in SetStreamBuffer()
|
/aosp12/hardware/samsung/nfc/halimpl/src/ |
H A D | util.cc | 40 size_t len; in willBeContinuous() local 56 size_t len; in find_by_name_from_current() local 92 size_t len; in __get_config_int() local 93 long int val; in __get_config_int() local
|
/aosp12/system/libufdt/ |
H A D | ufdt_overlay.c | 60 uint32_t val; in fdt_increase_u32() local 84 int len = 0; in ufdt_node_try_increase_phandle() local 209 uint32_t val; in ufdt_do_one_fixup() local 233 int len = 0; in ufdt_overlay_do_fixups() local 326 const void *val; in ufdt_overlay_get_target() local 448 int len = 0; in ufdt_local_fixup_prop() local
|
/aosp12/packages/apps/Nfc/nci/jni/extns/pn54x/inc/ |
H A D | phNxpExtns_Custom.h | 32 uint8_t len; member 33 uint8_t* val; member
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_os_Parcel.cpp | 239 static int android_os_Parcel_writeInt(jlong nativePtr, jint val) { in android_os_Parcel_writeInt() 244 static int android_os_Parcel_writeLong(jlong nativePtr, jlong val) { in android_os_Parcel_writeLong() 264 jstring val) { in android_os_Parcel_writeString8() 270 const size_t len = env->GetStringLength(val); in android_os_Parcel_writeString8() local 290 jstring val) { in android_os_Parcel_writeString16() 296 const size_t len = env->GetStringLength(val); in android_os_Parcel_writeString16() local 344 int32_t len = parcel->readInt32(); in android_os_Parcel_createByteArray() local 378 int32_t len = parcel->readInt32(); in android_os_Parcel_readByteArray() local 402 int32_t len = parcel->readInt32(); in android_os_Parcel_readBlob() local 466 size_t len; in android_os_Parcel_readString8() local [all …]
|
/aosp12/frameworks/base/libs/androidfw/tests/ |
H A D | ResTable_test.cpp | 63 Res_value val; in TEST() local 111 Res_value val; in TEST() local 135 Res_value val; in TEST() local 159 Res_value val; in TEST() local 180 Res_value val; in TEST() local 201 Res_value val; in TEST() local 234 Res_value val; in TEST() local 267 Res_value val; in TEST() local 274 size_t len = std::char_traits<char16_t>::length(str); in testU16StringToInt() local 364 Res_value val; in TEST() local [all …]
|