/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/core/libutils/ |
D | VectorImpl.cpp | 386 size_t new_size; in _grow() local 387 LOG_ALWAYS_FATAL_IF(__builtin_add_overflow(mCount, amount, &new_size), "new_size overflow"); in _grow() 389 if (capacity() < new_size) { in _grow() 398 LOG_ALWAYS_FATAL_IF(__builtin_add_overflow(new_size, (new_size / 2), &new_capacity), in _grow() 448 mCount = new_size; in _grow() 465 size_t new_size; in _shrink() local 466 LOG_ALWAYS_FATAL_IF(__builtin_sub_overflow(mCount, amount, &new_size)); in _shrink() 468 if (new_size < (capacity() / 2)) { in _shrink() 471 const size_t new_capacity = max(kMinVectorCapacity, new_size * 2); in _shrink() 478 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/update_engine/ |
D | update_engine_client.cc | 139 int64_t new_size) override; 147 int64_t new_size) { in HandleStatusUpdate() argument 154 LOG(INFO) << " new_size: " << new_size; in HandleStatusUpdate() 162 int64_t new_size = 0; in ShowStatus() local 170 &new_size)) { in ShowStatus() 188 new_size); in ShowStatus() 198 int64_t new_size = 0; in GetNeedReboot() local 204 &new_size)) { in GetNeedReboot() 227 int64_t new_size) override;
|
/system/update_engine/client_library/ |
D | client_dbus.cc | 167 int64_t new_size; in StatusUpdateHandlersRegistered() local 173 &new_size)) { in StatusUpdateHandlersRegistered() 181 last_checked_time, progress, update_status, new_version, new_size); in StatusUpdateHandlersRegistered() 190 int64_t new_size) { in RunStatusUpdateHandlers() argument 196 last_checked_time, progress, status, new_version, new_size); in RunStatusUpdateHandlers()
|
D | client_binder.cc | 188 int64_t new_size; in RegisterStatusUpdateHandler() local 194 &new_size)) { in RegisterStatusUpdateHandler() 199 last_checked_time, progress, update_status, new_version, new_size); in RegisterStatusUpdateHandler()
|
D | client_dbus.h | 100 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/core/adb/ |
D | types.h | 63 void resize(size_t new_size) { in resize() 65 allocate(new_size); in resize() 67 CHECK_GE(capacity_, new_size); in resize() 68 size_ = new_size; in resize()
|
/system/nfc/src/nfa/ee/ |
D | nfa_ee_act.cc | 110 void nfa_ee_check_set_routing(uint16_t new_size, int* p_max_len, uint8_t* p, 445 uint8_t new_size = (uint8_t)(pp - p_start); in nfa_ee_add_aid_route_to_ecb() local 446 nfa_ee_check_set_routing(new_size, p_max_len, ps, p_cur_offset); in nfa_ee_add_aid_route_to_ecb() 451 *p_cur_offset = new_size; in nfa_ee_add_aid_route_to_ecb() 454 memcpy(p, p_start, new_size); in nfa_ee_add_aid_route_to_ecb() 455 pp += new_size; in nfa_ee_add_aid_route_to_ecb() 459 *p_cur_offset += new_size; in nfa_ee_add_aid_route_to_ecb() 496 uint8_t new_size = (uint8_t)(pp - p_start); in nfa_ee_add_sys_code_route_to_ecb() local 497 nfa_ee_check_set_routing(new_size, p_max_len, p_buff, p_cur_offset); in nfa_ee_add_sys_code_route_to_ecb() 502 *p_cur_offset = new_size; in nfa_ee_add_sys_code_route_to_ecb() [all …]
|
/system/update_engine/payload_generator/ |
D | block_mapping.cc | 143 size_t new_size, in MapPartitionBlocks() argument 158 new_fd, 0, new_size / block_size, new_block_ids)); in MapPartitionBlocks()
|
D | block_mapping.h | 107 size_t new_size,
|
/system/extras/simpleperf/ |
D | record.cpp | 354 size_t new_size = size() - old_name_len + new_name_len; in SetCommandName() local 355 char* new_binary = new char[new_size]; in SetCommandName() 357 header.size = new_size; in SetCommandName() 365 CHECK_EQ(p, new_binary + new_size); in SetCommandName() 603 uint32_t new_size = size() + size_added_in_callchain - size_reduced_in_reg_stack; in ReplaceRegAndStackWithCallChain() local 604 BuildBinaryWithNewCallChain(new_size, ips); in ReplaceRegAndStackWithCallChain() 662 size_t new_size = size() + (kernel_ip_count + 1 + user_ips.size() - callchain_data.ip_nr) * in UpdateUserCallChain() local 665 BuildBinaryWithNewCallChain(new_size, user_ips); in UpdateUserCallChain() 668 void SampleRecord::BuildBinaryWithNewCallChain(uint32_t new_size, in BuildBinaryWithNewCallChain() argument 672 if (new_size > size()) { in BuildBinaryWithNewCallChain() [all …]
|
D | record.h | 421 void BuildBinaryWithNewCallChain(uint32_t new_size, const std::vector<uint64_t>& ips);
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_utils.h | 363 const uint8_t* Reset(size_t new_size) { in Reset() 365 accessBlobData(this) = new (std::nothrow) uint8_t[new_size]; in Reset() 367 accessBlobSize(this) = new_size; in Reset()
|
/system/core/liblog/ |
D | pmsg_reader.cpp | 265 static void* realloc_or_free(void* ptr, size_t new_size) { in realloc_or_free() argument 266 void* result = realloc(ptr, new_size); in realloc_or_free()
|
/system/core/libpixelflinger/codeflinger/ |
D | blending.cpp | 131 int new_size = temp.size() < 8 ? temp.size() : 8; in build_blending() local 132 expand(fb, fb, new_size); in build_blending()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | builder.h | 304 bool ValidatePartitionSizeChange(Partition* partition, uint64_t old_size, uint64_t new_size,
|
/system/core/fs_mgr/liblp/ |
D | builder.cpp | 553 uint64_t new_size, bool force_check) { in ValidatePartitionSizeChange() argument 557 if (!force_check && new_size <= old_size) { in ValidatePartitionSizeChange() 563 uint64_t space_needed = new_size - old_size; in ValidatePartitionSizeChange()
|