Home
last modified time | relevance | path

Searched refs:max_len (Results 1 – 14 of 14) sorted by relevance

/system/nfc/src/nfa/dm/
Dnfa_dm_main.cc212 uint8_t type, len, *p_value, *p_stored, max_len; in nfa_dm_check_set_config() local
248 max_len = NCI_PARAM_LEN_PF_RC; in nfa_dm_check_set_config()
252 max_len = NCI_PARAM_LEN_TOTAL_DURATION; in nfa_dm_check_set_config()
260 max_len = NCI_PARAM_LEN_LA_BIT_FRAME_SDD; in nfa_dm_check_set_config()
265 max_len = NCI_PARAM_LEN_LA_PLATFORM_CONFIG; in nfa_dm_check_set_config()
270 max_len = NCI_PARAM_LEN_LA_SEL_INFO; in nfa_dm_check_set_config()
275 max_len = NCI_NFCID1_MAX_LEN; in nfa_dm_check_set_config()
280 max_len = NCI_MAX_HIS_BYTES_LEN; in nfa_dm_check_set_config()
289 max_len = NCI_PARAM_LEN_LB_SENSB_INFO; in nfa_dm_check_set_config()
294 max_len = NCI_PARAM_LEN_LB_NFCID0; in nfa_dm_check_set_config()
[all …]
/system/core/libsparse/
Dbacked_block.cpp347 unsigned int max_len) { in backed_block_split() argument
350 max_len = ALIGN_DOWN(max_len, bbl->block_size); in backed_block_split()
352 if (bb->len <= max_len) { in backed_block_split()
363 new_bb->len = bb->len - max_len; in backed_block_split()
364 new_bb->block = bb->block + max_len / bbl->block_size; in backed_block_split()
369 new_bb->data.data = (char*)bb->data.data + max_len; in backed_block_split()
377 new_bb->file.offset += max_len; in backed_block_split()
380 new_bb->fd.offset += max_len; in backed_block_split()
387 bb->len = max_len; in backed_block_split()
Dbacked_block.h51 int backed_block_split(struct backed_block_list* bbl, struct backed_block* bb, unsigned int max_len
Dsparse.cpp326 int sparse_file_resparse(struct sparse_file* in_s, unsigned int max_len, struct sparse_file** out_s, in sparse_file_resparse() argument
341 if (move_chunks_up_to_len(in_s, s, max_len, &bb) < 0) { in sparse_file_resparse()
/system/security/mls/mls-rs-crypto-boringssl/src/
Dkdf.rs49 max_len: usize,
109 Err(KdfError::TooLongOkm { len, max_len: HkdfSha256::MAX_OUTPUT_LEN }) in expand()
121 Err(KdfError::TooLongOkm { len, max_len: HkdfSha512::MAX_OUTPUT_LEN }) in expand()
/system/core/libsparse/include/sparse/
Dsparse.h324 int sparse_file_resparse(struct sparse_file *in_s, unsigned int max_len,
/system/extras/simpleperf/
Dcmd_dumprecord.cpp64 size_t max_len = std::min(data.size - field.offset, field.elem_count); in ExtractStringField() local
66 for (size_t i = 0; i < max_len && *p != '\0'; i++) { in ExtractStringField()
82 uint32_t max_len = location >> 16; in ExtractDynamicStringField() local
83 if (offset + max_len <= data.size) { in ExtractDynamicStringField()
85 for (size_t i = 0; i < max_len && *p != '\0'; i++) { in ExtractDynamicStringField()
/system/libfmq/fuzzer/
DAndroid.bp52 "max_len=50000",
/system/nfc/src/nfc/nfc/
Dnfc_ncif.cc1325 uint8_t max_len; in nfc_ncif_proc_ee_action() local
1364 max_len = ulen; in nfc_ncif_proc_ee_action()
1367 if (max_len > NFC_MAX_AID_LEN) max_len = NFC_MAX_AID_LEN; in nfc_ncif_proc_ee_action()
1368 evt_data.act_data.param.app_init.len_aid = max_len; in nfc_ncif_proc_ee_action()
1372 if (max_len > NFC_MAX_APP_DATA_LEN) in nfc_ncif_proc_ee_action()
1373 max_len = NFC_MAX_APP_DATA_LEN; in nfc_ncif_proc_ee_action()
1374 evt_data.act_data.param.app_init.len_data = max_len; in nfc_ncif_proc_ee_action()
1379 STREAM_TO_ARRAY(p_data, p, max_len); in nfc_ncif_proc_ee_action()
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc2871 int max_len; in nfa_ee_lmrt_to_nfcc() local
2876 max_len = (NFC_GetLmrtSize() > NFA_EE_ROUT_BUF_SIZE) ? NFC_GetLmrtSize() in nfa_ee_lmrt_to_nfcc()
2878 p = (uint8_t*)GKI_getbuf(max_len); in nfa_ee_lmrt_to_nfcc()
2915 nfa_ee_route_add_one_ecb_by_route_order(p_cb, rt, &max_len, more, p, in nfa_ee_lmrt_to_nfcc()
2923 &max_len, more, p, &cur_offset, in nfa_ee_lmrt_to_nfcc()
2931 &max_len, more, p, &cur_offset, in nfa_ee_lmrt_to_nfcc()
/system/extras/simpleperf/scripts/
Dsimpleperf_report_lib.py114 offset, max_len = struct.unpack('<HH', data[self.offset:self.offset + 4])
116 while length < max_len and bytes_to_str(data[offset + length]) != '\x00':
/system/logging/liblog/tests/
Dliblog_test.cpp955 ssize_t max_len = 0; in TEST() local
972 if (max_len <= (left - data)) { in TEST()
973 max_len = left - data + 1; in TEST()
976 if (max_len > 512) { in TEST()
983 EXPECT_LE(SIZEOF_MAX_PAYLOAD_BUF, static_cast<size_t>(max_len)); in TEST()
/system/memory/lmkd/
Dlmkd.cpp630 static ssize_t read_all(int fd, char *buf, size_t max_len) in read_all() argument
635 while (max_len > 0) { in read_all()
636 ssize_t r = TEMP_FAILURE_RETRY(pread(fd, buf, max_len, offset)); in read_all()
646 max_len -= r; in read_all()
/system/connectivity/wificond/net/kernel-header-latest/
Dnl80211.h5759 __u32 min_len, max_len, bufsize; member