/system/nfc/src/nfc/include/ |
D | ndef_utils.h | 248 extern void NDEF_MsgInit(uint8_t* p_msg, uint32_t max_size, 262 extern tNDEF_STATUS NDEF_MsgAddRec(uint8_t* p_msg, uint32_t max_size, 279 extern tNDEF_STATUS NDEF_MsgAppendPayload(uint8_t* p_msg, uint32_t max_size, 295 extern tNDEF_STATUS NDEF_MsgReplacePayload(uint8_t* p_msg, uint32_t max_size, 311 extern tNDEF_STATUS NDEF_MsgReplaceType(uint8_t* p_msg, uint32_t max_size, 327 extern tNDEF_STATUS NDEF_MsgReplaceId(uint8_t* p_msg, uint32_t max_size,
|
D | rw_api.h | 195 uint32_t max_size; /* max number of bytes available for NDEF data */ member
|
/system/core/libsparse/ |
D | simg2simg.cpp | 45 int64_t max_size; in main() local 55 max_size = atoll(argv[3]); in main() 69 files = sparse_file_resparse(s, max_size, nullptr, 0); in main() 81 files = sparse_file_resparse(s, max_size, out_s, files); in main()
|
/system/core/libunwindstack/ |
D | MapInfo.cpp | 46 uint64_t max_size; in InitFileMemoryFromPreviousReadOnlyMap() local 47 if (!Elf::GetInfo(memory, &max_size) || max_size < map_size) { in InitFileMemoryFromPreviousReadOnlyMap() 51 if (!memory->Init(name, prev_map->offset, max_size)) { in InitFileMemoryFromPreviousReadOnlyMap() 89 uint64_t max_size = 0; in GetFileMemory() local 90 if (Elf::GetInfo(memory.get(), &max_size)) { in GetFileMemory() 92 if (max_size > map_size) { in GetFileMemory() 93 if (memory->Init(name, offset, max_size)) { in GetFileMemory()
|
D | Memory.cpp | 107 uint64_t max_size; in PtraceRead() local 108 if (__builtin_add_overflow(addr, bytes, &max_size)) { in PtraceRead() 240 uint64_t max_size; in Init() local 241 if (!__builtin_add_overflow(size, offset_, &max_size) && max_size < size_) { in Init() 243 size_ = max_size; in Init()
|
/system/security/keystore/ |
D | keymaster_enforcement.h | 42 explicit AccessTimeMap(uint32_t max_size) : max_size_(max_size) {} in AccessTimeMap() argument 65 explicit AccessCountMap(uint32_t max_size) : max_size_(max_size) {} in AccessCountMap() argument
|
/system/sepolicy/tests/include/ |
D | sepol_wrap.h | 15 int get_type(char *out, size_t max_size, void *policydbp, void *type_iterp); 19 int get_genfs(char *out, size_t max_size, void *policydbp, void *genfs_iterp);
|
/system/core/libappfuse/ |
D | FuseBuffer.cc | 40 bool CheckHeaderLength(const FuseMessage<T>* self, const char* name, size_t max_size) { in CheckHeaderLength() argument 42 if (header.len >= sizeof(header) && header.len <= max_size) { in CheckHeaderLength() 88 size_t max_size) { in WriteInternal() argument 89 if (!CheckHeaderLength<T>(self, "Write", max_size)) { in WriteInternal() 179 bool FuseMessage<T>::WriteWithBody(int fd, size_t max_size, const void* data) const { in WriteWithBody() argument 181 return WriteInternal(this, fd, 0, data, max_size) == ResultOrAgain::kSuccess; in WriteWithBody()
|
/system/sepolicy/tests/ |
D | sepol_wrap.cpp | 50 int get_genfs(char *out, size_t max_size, void *policydbp, void *genfs_iterp) in get_genfs() argument 56 len = snprintf(out, max_size, "%s %s %s:%s:%s:s0", in get_genfs() 63 if (len >= max_size) { in get_genfs() 159 int get_type(char *out, size_t max_size, void *policydbp, void *type_iterp) in get_type() argument 182 len = snprintf(out, max_size, "%s", db->p_type_val_to_name[i->bit]); in get_type() 183 if (len >= max_size) { in get_type() 268 static int get_avtab_allow_rule(char *out, size_t max_size, policydb_t *db, in get_avtab_allow_rule() argument 280 len = snprintf(out, max_size, "allow,%s,%s,%s,%s", in get_avtab_allow_rule() 288 if (len >= max_size) { in get_avtab_allow_rule()
|
/system/nfc/src/nfc/ndef/ |
D | ndef_utils.cc | 802 void NDEF_MsgInit(uint8_t* p_msg, uint32_t max_size, uint32_t* p_cur_size) { in NDEF_MsgInit() argument 804 memset(p_msg, 0, max_size); in NDEF_MsgInit() 818 extern tNDEF_STATUS NDEF_MsgAddRec(uint8_t* p_msg, uint32_t max_size, in NDEF_MsgAddRec() argument 837 if ((*p_cur_size + recSize) > max_size) return (NDEF_MSG_INSUFFICIENT_MEM); in NDEF_MsgAddRec() 904 tNDEF_STATUS NDEF_MsgAppendPayload(uint8_t* p_msg, uint32_t max_size, in NDEF_MsgAppendPayload() argument 941 if ((*p_cur_size + add_pl_len + incr_lenfld) > max_size) in NDEF_MsgAppendPayload() 986 tNDEF_STATUS NDEF_MsgReplacePayload(uint8_t* p_msg, uint32_t max_size, in NDEF_MsgReplacePayload() argument 1024 if ((*p_cur_size + paylen_delta + 3) > max_size) in NDEF_MsgReplacePayload() 1031 } else if ((*p_cur_size + paylen_delta) > max_size) in NDEF_MsgReplacePayload() 1095 tNDEF_STATUS NDEF_MsgReplaceType(uint8_t* p_msg, uint32_t max_size, in NDEF_MsgReplaceType() argument [all …]
|
/system/bt/hci/include/ |
D | hci_hal.h | 66 size_t max_size);
|
/system/keymaster/android_keymaster/ |
D | keymaster_enforcement.cpp | 34 explicit AccessTimeMap(uint32_t max_size) : max_size_(max_size) {} in AccessTimeMap() argument 56 explicit AccessCountMap(uint32_t max_size) : max_size_(max_size) {} in AccessCountMap() argument
|
/system/update_engine/payload_generator/ |
D | payload_generation_config.cc | 149 uint64_t max_size; in LoadDynamicPartitionMetadata() local 150 if (!base::StringToUint64(buf, &max_size)) { in LoadDynamicPartitionMetadata() 154 group->set_size(max_size); in LoadDynamicPartitionMetadata()
|
/system/bt/stack/sdp/ |
D | sdp_main.cc | 146 uint16_t sdp_set_max_attr_list_size(uint16_t max_size) { in sdp_set_max_attr_list_size() argument 147 if (max_size > (sdp_cb.l2cap_my_cfg.mtu - 16)) in sdp_set_max_attr_list_size() 148 max_size = sdp_cb.l2cap_my_cfg.mtu - 16; in sdp_set_max_attr_list_size() 150 sdp_cb.max_attr_list_size = max_size; in sdp_set_max_attr_list_size()
|
D | sdpint.h | 230 extern uint16_t sdp_set_max_attr_list_size(uint16_t max_size);
|
/system/core/libappfuse/include/libappfuse/ |
D | FuseBuffer.h | 46 bool WriteWithBody(int fd, size_t max_size, const void* data) const;
|
/system/netd/resolv/dns_responder/ |
D | dns_tls_frontend.cpp | 345 const int max_size = 4096; in handleOneRequest() local 346 uint8_t recv_buffer[max_size]; in handleOneRequest() 347 int rlen = recv(backend_socket_.get(), recv_buffer, max_size, 0); in handleOneRequest()
|
/system/nfc/src/nfc/tags/ |
D | rw_t1t_ndef.cc | 624 ndef_data.max_size = (uint32_t)rw_t1t_get_ndef_max_size(); in rw_t1t_handle_read_rsp() 627 if (ndef_data.max_size < ndef_data.cur_size) { in rw_t1t_handle_read_rsp() 629 ndef_data.max_size = ndef_data.cur_size; in rw_t1t_handle_read_rsp() 696 ndef_data.max_size = (uint32_t)rw_t1t_get_ndef_max_size(); in rw_t1t_handle_read_rsp() 697 if (ndef_data.max_size < ndef_data.cur_size) { in rw_t1t_handle_read_rsp() 699 ndef_data.max_size = ndef_data.cur_size; in rw_t1t_handle_read_rsp() 715 ndef_data.max_size = (uint32_t)rw_t1t_get_ndef_max_size(); in rw_t1t_handle_read_rsp() 716 if (ndef_data.max_size < ndef_data.cur_size) { in rw_t1t_handle_read_rsp() 718 ndef_data.max_size = ndef_data.cur_size; in rw_t1t_handle_read_rsp() 738 ndef_data.max_size = (uint32_t)rw_t1t_get_ndef_max_size(); in rw_t1t_handle_read_rsp() [all …]
|
D | rw_mfc.cc | 1153 ndef_data.max_size = 3356; in rw_mfc_ntf_tlv_detect_complete() 1155 ndef_data.max_size = 716; in rw_mfc_ntf_tlv_detect_complete() 1391 ndef_data.max_size = 0; in rw_mfc_process_error()
|
D | rw_t2t.cc | 205 ndef_data.max_size = 0; in rw_t2t_proc_data() 544 ndef_data.max_size = 0; in rw_t2t_process_error()
|
/system/nfc/src/nfa/include/ |
D | nfa_dta_int.h | 153 uint32_t max_size; member
|
/system/bt/stack/gatt/ |
D | gatt_db.cc | 590 uint16_t max_size = 0; in gatts_write_attr_perm_check() local 606 max_size = 2; in gatts_write_attr_perm_check() 629 } else if (len != max_size) { in gatts_write_attr_perm_check()
|
/system/nfc/src/nfa/rw/ |
D | nfa_rw_act.cc | 210 p_rw_data->ndef.cur_size, p_rw_data->ndef.max_size, in nfa_rw_handle_ndef_detect() 224 conn_evt_data.ndef_detect.max_size = nfa_rw_cb.ndef_max_size = in nfa_rw_handle_ndef_detect() 225 p_rw_data->ndef.max_size; in nfa_rw_handle_ndef_detect() 289 conn_evt_data.ndef_detect.max_size = 0; in nfa_rw_handle_ndef_detect() 296 conn_evt_data.ndef_detect.max_size = nfa_rw_cb.ndef_max_size = in nfa_rw_handle_ndef_detect() 297 p_rw_data->ndef.max_size; in nfa_rw_handle_ndef_detect() 1010 nfa_rw_cb.ndef_max_size = p_rw_data->ndef.max_size; in nfa_rw_handle_t4t_evt() 1652 conn_evt_data.ndef_detect.max_size = 0; in nfa_rw_detect_ndef() 2971 conn_evt_data.ndef_detect.max_size = 0; in nfa_rw_op_req_while_busy() 3054 conn_evt_data.ndef_detect.max_size = 0; in nfa_rw_op_req_while_inactive()
|
/system/core/fastboot/ |
D | fastboot.cpp | 806 static struct sparse_file** load_sparse_files(int fd, int64_t max_size) { in load_sparse_files() argument 810 if (max_size <= 0 || max_size > std::numeric_limits<uint32_t>::max()) { in load_sparse_files() 811 die("invalid max size %" PRId64, max_size); in load_sparse_files() 814 int files = sparse_file_resparse(s, max_size, nullptr, 0); in load_sparse_files() 820 files = sparse_file_resparse(s, max_size, out_s, files); in load_sparse_files()
|
/system/core/adb/ |
D | test_device.py | 663 max_size = 16 * (1 << 10) 669 size = random.randrange(min_size, max_size, 1024) 682 max_size = 16 * (1 << 10) 686 size = random.randrange(min_size, max_size, 1024)
|