/system/core/libutils/ |
D | VectorImpl.cpp | 388 size_t new_size; in _grow() local 389 LOG_ALWAYS_FATAL_IF(!safe_add(&new_size, mCount, amount), "new_size overflow"); in _grow() 391 if (capacity() < new_size) { in _grow() 400 LOG_ALWAYS_FATAL_IF(!safe_add(&new_capacity, new_size, (new_size / 2)), in _grow() 449 mCount = new_size; in _grow() 466 size_t new_size; in _shrink() local 467 LOG_ALWAYS_FATAL_IF(!safe_sub(&new_size, mCount, amount)); in _shrink() 469 if (new_size < (capacity() / 2)) { in _shrink() 472 const size_t new_capacity = max(kMinVectorCapacity, new_size * 2); in _shrink() 479 if ((where == new_size) && in _shrink() [all …]
|
D | SharedBuffer.cpp | 100 SharedBuffer* SharedBuffer::reset(size_t new_size) const in reset() 103 SharedBuffer* sb = alloc(new_size); in reset()
|
/system/extras/ioshark/ |
D | compile_ioshark.h | 45 files_db_update_size(void *node, u_int64_t new_size) in files_db_update_size() argument 49 if (db_node->size < new_size) in files_db_update_size() 50 db_node->size = new_size; in files_db_update_size()
|
D | ioshark_bench.h | 68 files_db_update_size(void *node, u_int64_t new_size) in files_db_update_size() argument 72 if (db_node->size < new_size) in files_db_update_size() 73 db_node->size = new_size; in files_db_update_size()
|
/system/update_engine/ |
D | update_engine_client.cc | 138 int64_t new_size) override; 143 const string& new_version, int64_t new_size) { in HandleStatusUpdate() argument 150 LOG(INFO) << " new_size: " << new_size; in HandleStatusUpdate() 158 int64_t new_size = 0; in ShowStatus() local 163 &new_version, &new_size)) { in ShowStatus() 178 new_version.c_str(), new_size); in ShowStatus() 188 int64_t new_size = 0; in GetNeedReboot() local 191 &new_version, &new_size)) { in GetNeedReboot() 214 int64_t new_size) override;
|
/system/update_engine/client_library/ |
D | client_dbus.cc | 149 int64_t new_size; in StatusUpdateHandlersRegistered() local 155 &new_size)) { in StatusUpdateHandlersRegistered() 163 last_checked_time, progress, update_status, new_version, new_size); in StatusUpdateHandlersRegistered() 172 int64_t new_size) { in RunStatusUpdateHandlers() argument 178 last_checked_time, progress, status, new_version, new_size); in RunStatusUpdateHandlers()
|
D | client_binder.cc | 183 int64_t new_size; in RegisterStatusUpdateHandler() local 186 &new_version, &new_size)) { in RegisterStatusUpdateHandler() 191 new_version, new_size); in RegisterStatusUpdateHandler()
|
D | client_dbus.h | 97 int64_t new_size);
|
/system/bt/include/hardware/avrcp/ |
D | avrcp_common.h | 170 void resize(size_t new_size) { in resize() argument 171 new_size = new_size < kHeaderSize() ? 0 : new_size - kHeaderSize(); in resize() 172 if (value_.size() > new_size) { in resize() 173 value_.resize(new_size); in resize()
|
/system/libufdt/ |
D | ufdt_prop_dict.c | 103 int new_size = dict->mem_size * 2; in _ufdt_prop_dict_enlarge_if_needed() local 105 _ufdt_prop_dict_construct_int(&temp_dict, dict->fdtp, new_size); in _ufdt_prop_dict_enlarge_if_needed() 122 dict->mem_size = new_size; in _ufdt_prop_dict_enlarge_if_needed()
|
D | ufdt_convert.c | 70 int new_size = tree->mem_size_fdtps * 2; in ufdt_add_fdt() local 71 void **new_fdtps = dto_malloc(sizeof(void *) * new_size); in ufdt_add_fdt() 78 tree->mem_size_fdtps = new_size; in ufdt_add_fdt()
|
/system/keymaster/android_keymaster/ |
D | serializable.cpp | 72 size_t new_size = buffer_size_ + size - available_write(); in reserve() local 73 uint8_t* new_buffer = new (std::nothrow) uint8_t[new_size]; in reserve() 79 buffer_size_ = new_size; in reserve()
|
/system/core/property_service/libpropertyinfoserializer/ |
D | trie_node_arena.h | 80 auto new_size = (current_data_pointer_ + aligned_size + data_.size()) * 2; in AllocateData() local 81 data_.resize(new_size, '\0'); in AllocateData()
|
/system/update_engine/client_library/include/update_engine/ |
D | status_update_handler.h | 42 int64_t new_size) = 0;
|
/system/nfc/src/nfa/ee/ |
D | nfa_ee_act.cc | 107 void nfa_ee_check_set_routing(uint16_t new_size, int* p_max_len, uint8_t* p, 433 uint8_t new_size = (uint8_t)(pp - p_start); in nfa_ee_add_aid_route_to_ecb() local 434 nfa_ee_check_set_routing(new_size, p_max_len, ps, p_cur_offset); in nfa_ee_add_aid_route_to_ecb() 439 *p_cur_offset = new_size; in nfa_ee_add_aid_route_to_ecb() 442 memcpy(p, p_start, new_size); in nfa_ee_add_aid_route_to_ecb() 443 pp += new_size; in nfa_ee_add_aid_route_to_ecb() 447 *p_cur_offset += new_size; in nfa_ee_add_aid_route_to_ecb() 484 uint8_t new_size = (uint8_t)(pp - p_start); in nfa_ee_add_sys_code_route_to_ecb() local 485 nfa_ee_check_set_routing(new_size, p_max_len, p_buff, p_cur_offset); in nfa_ee_add_sys_code_route_to_ecb() 490 *p_cur_offset = new_size; in nfa_ee_add_sys_code_route_to_ecb() [all …]
|
/system/update_engine/payload_generator/ |
D | block_mapping.cc | 142 size_t new_size, in MapPartitionBlocks() argument 157 new_fd, 0, new_size / block_size, new_block_ids)); in MapPartitionBlocks()
|
D | block_mapping.h | 105 size_t new_size,
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_utils.h | 338 const uint8_t* Reset(size_t new_size) { in Reset() 340 accessBlobData(this) = new (std::nothrow) uint8_t[new_size]; in Reset() 342 accessBlobSize(this) = new_size; in Reset()
|
/system/extras/simpleperf/ |
D | record.cpp | 649 size_t new_size = size() - callchain_data.ip_nr * sizeof(uint64_t) + in UpdateUserCallChain() local 651 if (new_size == size()) { in UpdateUserCallChain() 654 char* new_binary = new char[new_size]; in UpdateUserCallChain() 656 SetSize(new_size); in UpdateUserCallChain() 711 CHECK_EQ(p, new_binary + new_size) << "sample_type = " << std::hex << sample_type; in UpdateUserCallChain()
|
/system/core/libpixelflinger/codeflinger/ |
D | blending.cpp | 130 int new_size = temp.size() < 8 ? temp.size() : 8; in build_blending() local 131 expand(fb, fb, new_size); in build_blending()
|