Home
last modified time | relevance | path

Searched refs:max_file_size (Results 1 – 5 of 5) sorted by relevance

/system/extras/simpleperf/
Dread_dex_file.cpp63 size_t max_file_size; in ReadSymbolsFromDexFileInMemory() local
64 if (__builtin_sub_overflow(size, offset, &max_file_size)) { in ReadSymbolsFromDexFileInMemory()
70 art_api::dex::DexFile::OpenFromMemory(file_addr, &max_file_size, "", &error_msg); in ReadSymbolsFromDexFileInMemory()
/system/nfc/src/nfc/tags/
Dce_t4t.cc128 p_t4t->nlen, p_t4t->max_file_size, in ce_t4t_select_file()
553 uint16_t offset, max_file_size; in ce_t4t_data_cback() local
657 max_file_size = T4T_FC_TLV_OFFSET_IN_CC + T4T_FILE_CONTROL_TLV_SIZE; in ce_t4t_data_cback()
659 max_file_size = ce_cb.mem.t4t.max_file_size; in ce_t4t_data_cback()
677 if (length + offset > max_file_size) { in ce_t4t_data_cback()
678 if (offset < max_file_size) { in ce_t4t_data_cback()
679 length = (uint8_t)(max_file_size - offset); in ce_t4t_data_cback()
683 length, max_file_size); in ce_t4t_data_cback()
687 offset, max_file_size); in ce_t4t_data_cback()
724 if (length + offset > ce_cb.mem.t4t.max_file_size) { in ce_t4t_data_cback()
[all …]
Drw_t4t.cc968 if ((p_t4t->cc_file.ndef_fc.max_file_size < 0x0005) || in rw_t4t_validate_cc_file()
969 (p_t4t->cc_file.ndef_fc.max_file_size == 0xFFFF)) { in rw_t4t_validate_cc_file()
971 p_t4t->cc_file.ndef_fc.max_file_size); in rw_t4t_validate_cc_file()
1325 BE_STREAM_TO_UINT16(p_t4t->cc_file.ndef_fc.max_file_size, p); in rw_t4t_sm_detect_ndef()
1344 " MaxFileSize: 0x%04X", p_t4t->cc_file.ndef_fc.max_file_size); in rw_t4t_sm_detect_ndef()
1385 p_t4t->cc_file.ndef_fc.max_file_size - T4T_FILE_LENGTH_SIZE) { in rw_t4t_sm_detect_ndef()
1423 (uint32_t)(p_t4t->cc_file.ndef_fc.max_file_size - in rw_t4t_sm_detect_ndef()
1441 nlen, p_t4t->cc_file.ndef_fc.max_file_size); in rw_t4t_sm_detect_ndef()
2044 if (rw_cb.tcb.t4t.cc_file.ndef_fc.max_file_size < in RW_T4tUpdateNDef()
2049 length, rw_cb.tcb.t4t.cc_file.ndef_fc.max_file_size); in RW_T4tUpdateNDef()
/system/nfc/src/nfc/include/
Dce_int.h94 uint16_t max_file_size; /* size of storage + 2 bytes for NLEN */ member
Drw_int.h548 uint16_t max_file_size; /* Max NDEF file size */ member