Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 11 of 11) sorted by relevance

/hardware/nxp/secure_element/pn8x/libese-spi/p73/lib/
DphNxpEseDataMgr.cpp26 static uint32_t total_len = 0; variable
42 if (total_len == 0) { in phNxpEse_GetData()
43 ALOGE("%s total_len = %d", __FUNCTION__, total_len); in phNxpEse_GetData()
46 pbuff = (uint8_t*)phNxpEse_memalloc(total_len); in phNxpEse_GetData()
57 if (total_data_len != total_len) { in phNxpEse_GetData()
59 total_data_len, total_len); in phNxpEse_GetData()
67 total_len = 0; in phNxpEse_GetData()
96 total_len += data_len; in phNxpEse_StoreDatainList()
/hardware/st/secure_element/ese-spi-driver/utils-lib/
DDataMgmt.cc27 static uint16_t total_len = 0; variable
43 if (total_len == 0) { in DataMgmt_GetData()
44 STLOG_HAL_E("%s total_len = %d", __FUNCTION__, total_len); in DataMgmt_GetData()
47 pbuff = (uint8_t*)malloc(total_len); in DataMgmt_GetData()
58 if (total_data_len != total_len) { in DataMgmt_GetData()
60 __FUNCTION__, total_data_len, total_len); in DataMgmt_GetData()
68 total_len = 0; in DataMgmt_GetData()
102 total_len += data_len; in DataMgmt_StoreDataInList()
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/
DphNxpEseDataMgr.cpp25 static uint32_t total_len = 0; variable
42 if (total_len > 0) { in phNxpEse_GetData()
43 pbuff = (uint8_t*)phNxpEse_memalloc(total_len); in phNxpEse_GetData()
47 if (total_data_len == total_len) { in phNxpEse_GetData()
54 total_len = 0; in phNxpEse_GetData()
58 __FUNCTION__, total_data_len, total_len); in phNxpEse_GetData()
70 NXP_LOG_ESE_D("%s total_len = %d", __FUNCTION__, total_len); in phNxpEse_GetData()
106 total_len += data_len; in phNxpEse_StoreDatainList()
185 if ((total_len > 0) && in phNxpEse_FlushData()
/hardware/interfaces/secure_element/aidl/default/
Dmain.cpp359 uint16_t total_len = (uint16_t)(le + 2 + le_len); in GenerateBerTLVBytes() local
360 std::vector<uint8_t> output(total_len); in GenerateBerTLVBytes()
375 while (i < total_len) { in GenerateBerTLVBytes()
380 output[total_len - 1] = 0xFF; in GenerateBerTLVBytes()
386 static std::vector<uint8_t> GeneratesBytes(uint16_t total_len) { in GeneratesBytes() argument
387 std::vector<uint8_t> output(total_len); in GeneratesBytes()
390 while (i < total_len) { in GeneratesBytes()
391 if ((total_len - i) >= resp_bytes256.size()) { in GeneratesBytes()
401 output[total_len - 1] = 0xFF; in GeneratesBytes()
/hardware/qcom/wlan/legacy/qcwcn/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c41 int total_len; member
97 priv_cmd.total_len = buf_len; in wpa_driver_nl80211_driver_cmd()
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c34 int total_len; member
120 priv_cmd.total_len = buf_len; in wpa_driver_nl80211_driver_cmd()
/hardware/synaptics/wlan/synadhd/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c34 int total_len; member
120 priv_cmd.total_len = buf_len; in wpa_driver_nl80211_driver_cmd()
/hardware/google/gfxstream/guest/mesa/src/util/
Dxxhash.h339 XXH64_hash_t total_len; member
1341 state->total_len += len; in XXH64_update()
1393 if (state->total_len >= 32) { in XXH64_digest()
1408 h64 += (xxh_u64) state->total_len; in XXH64_digest()
1410 return XXH64_finalize(h64, (const xxh_u8*)state->mem64, (size_t)state->total_len, XXH_aligned); in XXH64_digest()
/hardware/google/gfxstream/guest/mesa/src/util/blake3/
Dblake3.c404 INLINE void hasher_merge_cv_stack(blake3_hasher *self, uint64_t total_len) { in hasher_merge_cv_stack() argument
405 size_t post_merge_stack_len = (size_t)popcnt(total_len); in hasher_merge_cv_stack()
/hardware/qcom/wlan/wcn6740/qcwcn/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c403 int total_len; member
1740 priv_cmd.total_len = buf_len; in wpa_driver_ioctl()
5848 priv_cmd.total_len = buf_len; in wpa_driver_nl80211_driver_cmd()
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dwuffs-v0.3.c11087 wuffs_base__iterate_total_advance(size_t total_len, in wuffs_base__iterate_total_advance() argument
11090 if (total_len >= iter_len) { in wuffs_base__iterate_total_advance()
11091 size_t n = total_len - iter_len; in wuffs_base__iterate_total_advance()