/system/extras/memtrack/ |
D | memtrack.cpp | 198 if (all_.count(it->first) == 0) { in scan() 200 all_[it->first].num_samples = 0; in scan() 201 all_[it->first].name = it->first; in scan() 202 all_[it->first].avg_pss_kb = 0; in scan() 203 all_[it->first].min_pss_kb = 0; in scan() 204 all_[it->first].max_pss_kb = 0; in scan() 207 if (it->second.pids.size() > all_[it->first].max_num_pids) { in scan() 208 all_[it->first].max_num_pids = it->second.pids.size(); in scan() 211 all_[it->first].pids = it->second.pids; in scan() 213 if (it->second.pss_kb > all_[it->first].max_pss_kb) { in scan() [all …]
|
/system/extras/tests/lib/testUtil/ |
D | testUtil.c | 102 struct timespec tsDelta(const struct timespec *first, in tsDelta() argument 107 assert(first != NULL); in tsDelta() 109 assert(first->tv_nsec >= 0 && first->tv_nsec < nSecsPerSec); in tsDelta() 111 rv.tv_sec = second->tv_sec - first->tv_sec; in tsDelta() 112 if (second->tv_nsec >= first->tv_nsec) { in tsDelta() 113 rv.tv_nsec = second->tv_nsec - first->tv_nsec; in tsDelta() 115 rv.tv_nsec = (second->tv_nsec + nSecsPerSec) - first->tv_nsec; in tsDelta() 125 struct timeval tvDelta(const struct timeval *first, in tvDelta() argument 130 assert(first != NULL); in tvDelta() 132 assert(first->tv_usec >= 0 && first->tv_usec < uSecsPerSec); in tvDelta() [all …]
|
/system/nvram/messages/ |
D | blob.cpp | 43 void swap(Blob& first, Blob& second) { in swap() argument 46 uint8_t* data_tmp = first.data_; in swap() 47 size_t size_tmp = first.size_; in swap() 48 first.data_ = second.data_; in swap() 49 first.size_ = second.size_; in swap()
|
/system/bt/service/ |
D | settings.cc | 37 if (iter.first == switches::kCreateIPCSocketPath) { in Init() 47 } else if (iter.first == switches::kAndroidIPCSocketSuffix) { in Init() 57 } else if (iter.first == switches::kEnableOnStart) { in Init() 70 else if (iter.first != ::switches::kV) { in Init() 71 LOG(ERROR) << "Unexpected command-line switches found: " << iter.first; in Init()
|
/system/extras/perfprofd/ |
D | perf_data_converter.cc | 132 name_id_map[module_profile.first] = 0; in RawPerfDataToAndroidPerfProfile() 145 load_module->set_name(name_id.first); in RawPerfDataToAndroidPerfProfile() 146 auto nbmi = name_buildid_map.find(name_id.first); in RawPerfDataToAndroidPerfProfile() 158 program->set_name(program_profile.first); in RawPerfDataToAndroidPerfProfile() 160 int32 module_id = name_id_map[module_profile.first]; in RawPerfDataToAndroidPerfProfile() 165 address_samples->add_address(addr_count.first); in RawPerfDataToAndroidPerfProfile() 170 range_samples->set_start(range_count.first.start); in RawPerfDataToAndroidPerfProfile() 171 range_samples->set_end(range_count.first.end); in RawPerfDataToAndroidPerfProfile() 172 range_samples->set_to(range_count.first.to); in RawPerfDataToAndroidPerfProfile() 179 for (const auto &d_o : *callchain_count.first) { in RawPerfDataToAndroidPerfProfile()
|
/system/core/libziparchive/ |
D | entry_name_utils-inl.h | 38 for (uint8_t first = byte << 1; first & 0x80; first <<= 1) { in IsValidEntryName() local
|
/system/core/libsysutils/include/sysutils/ |
D | List.h | 223 void insert(iterator posn, const_iterator first, const_iterator last) { in insert() argument 224 for ( ; first != last; ++first) in insert() 225 insert(posn, *first); in insert() 239 iterator erase(iterator first, iterator last) { in erase() argument 240 while (first != last) in erase() 241 erase(first++); // don't erase than incr later! in erase() 275 _ListIterator<U, CL> first, _ListIterator<U, CR> last) const in distance() argument 278 while (first != last) { in distance() 279 ++first; in distance()
|
/system/keymaster/ |
D | List.h | 222 void insert(iterator posn, const_iterator first, const_iterator last) { in insert() argument 223 for ( ; first != last; ++first) in insert() 224 insert(posn, *first); in insert() 238 iterator erase(iterator first, iterator last) { in erase() argument 239 while (first != last) in erase() 240 erase(first++); // don't erase than incr later! in erase() 274 _ListIterator<U, CL> first, _ListIterator<U, CR> last) const in distance() argument 277 while (first != last) { in distance() 278 ++first; in distance()
|
/system/core/libutils/include/utils/ |
D | List.h | 222 void insert(iterator posn, const_iterator first, const_iterator last) { in insert() argument 223 for ( ; first != last; ++first) in insert() 224 insert(posn, *first); in insert() 238 iterator erase(iterator first, iterator last) { in erase() argument 239 while (first != last) in erase() 240 erase(first++); // don't erase than incr later! in erase() 274 _ListIterator<U, CL> first, _ListIterator<U, CR> last) const in distance() argument 277 while (first != last) { in distance() 278 ++first; in distance()
|
/system/update_engine/update_manager/ |
D | evaluation_context.cc | 91 if (it.first->GetMode() == kVariableModeAsync) in RemoveObserversAndTimeout() 92 it.first->RemoveObserver(this); in RemoveObserversAndTimeout() 152 if (it->first->GetMode() == kVariableModeConst) { in ResetEvaluation() 188 switch (it.first->GetMode()) { in RunOnValueChangeOrTimeout() 190 DLOG(INFO) << "Waiting for value on " << it.first->GetName(); in RunOnValueChangeOrTimeout() 191 it.first->AddObserver(this); in RunOnValueChangeOrTimeout() 195 timeout = std::min(timeout, it.first->GetPollInterval()); in RunOnValueChangeOrTimeout() 234 variables->SetString(it.first->GetName(), it.second.ToString()); in DumpContext()
|
/system/tools/hidl/ |
D | HidlTypeAssertion.cpp | 46 return a.first < b.first; in EmitAll() 51 << entry.first in EmitAll()
|
/system/extras/ext4_utils/ |
D | allocate.c | 35 alloc->list.first = NULL; in create_allocation() 37 alloc->oob_list.first = NULL; in create_allocation() 75 if (list->first == reg) in region_list_remove() 76 list->first = reg->next; in region_list_remove() 87 if (list->first == NULL) { in region_list_append() 88 list->first = reg; in region_list_append() 103 if (list1->first == NULL) { in region_list_merge() 104 list1->first = list2->first; in region_list_merge() 106 list1->iter = list2->first; in region_list_merge() 108 list1->first->prev = NULL; in region_list_merge() [all …]
|
D | contents.c | 374 struct ext4_xattr_entry *first, in xattr_addto_range() argument 384 size_t available_size = xattr_free_space(first, block_end); in xattr_addto_range() 390 struct ext4_xattr_entry *new_entry = xattr_get_last(first); in xattr_addto_range() 406 xattr_assert_sane(first); in xattr_addto_range() 414 struct ext4_xattr_entry *first = (struct ext4_xattr_entry *) (hdr + 1); in xattr_addto_inode() local 418 xattr_addto_range(first, block_end, first, name_index, name, value, value_len); in xattr_addto_inode() 436 struct ext4_xattr_entry *first = (struct ext4_xattr_entry *) (header + 1); in xattr_addto_block() local 440 xattr_addto_range(header, block_end, first, name_index, name, value, value_len); in xattr_addto_block()
|
/system/core/liblog/ |
D | event_tag_map.cpp | 111 return std::hash<MapString>()(__t.first); in operator ()() 165 fprintf(stderr, errorFormat, it->first, (int)it->second.first.length(), in emplaceUnique() 166 it->second.first.data(), (int)it->second.second.length(), in emplaceUnique() 167 it->second.second.data(), tag, (int)tagfmt.first.length(), in emplaceUnique() 168 tagfmt.first.data(), (int)tagfmt.second.length(), in emplaceUnique() 182 fprintf(stderr, errorFormat, it->second, (int)it->first.first.length(), in emplaceUnique() 183 it->first.first.data(), (int)it->first.second.length(), in emplaceUnique() 184 it->first.second.data(), tag, (int)tagfmt.first.length(), in emplaceUnique() 185 tagfmt.first.data(), (int)tagfmt.second.length(), in emplaceUnique() 196 it = Tag2Idx.find(tagfmt.first); in emplaceUnique() [all …]
|
/system/core/libunwindstack/ |
D | Symbols.cpp | 40 size_t first = 0; in GetInfoFromCache() local 42 while (first < last) { in GetInfoFromCache() 43 size_t current = first + (last - first) / 2; in GetInfoFromCache() 50 first = current + 1; in GetInfoFromCache()
|
D | ElfInterfaceArm.cpp | 40 size_t first = 0; in FindEntry() local 42 while (first < last) { in FindEntry() 43 size_t current = (first + last) / 2; in FindEntry() 58 first = current + 1; in FindEntry()
|
/system/core/libmemunreachable/ |
D | HeapWalker.cpp | 45 Range overlap = inserted.first->first; in Allocation() 65 *range = it->first; in WordContainsAllocationPtr() 128 leak_bytes += it->first.end - it->first.begin; in Leaked() 136 leaked.push_back(it->first); in Leaked()
|
/system/nvram/messages/include/nvram/messages/ |
D | vector.h | 60 friend void swap(Vector<ElementType>& first, Vector<ElementType>& second) { in swap() argument 63 ElementType* tmp_data = first.data_; in swap() 64 size_t tmp_size = first.size_; in swap() 65 first.data_ = second.data_; in swap() 66 first.size_ = second.size_; in swap()
|
/system/media/audio_utils/ |
D | PowerLog.cpp | 127 const int64_t time = mEntries[idx].first; in dumpToString() 171 bool first = true; in dumpToString() local 176 const int64_t time = mEntries[idx].first; in dumpToString() 180 if (!first) { in dumpToString() 190 if (!first) { in dumpToString() 195 first = false; in dumpToString()
|
/system/core/adb/ |
D | socket_spec.cpp | 120 std::string prefix = it.first + ":"; in is_socket_spec() 130 std::string prefix = it.first + ":"; in is_local_socket_spec() 172 std::string prefix = it.first + ":"; in socket_spec_connect() 176 it.first.c_str()); in socket_spec_connect() 215 std::string prefix = it.first + ":"; in socket_spec_listen()
|
/system/bt/vendor_libs/linux/interface/ |
D | async_fd_watcher.cc | 132 FD_SET(it.first, &read_fds); in ThreadRoutine() 133 max_read_fd = std::max(max_read_fd, it.first); in ThreadRoutine() 177 if (FD_ISSET(it.first, &read_fds)) { in ThreadRoutine() 178 it.second(it.first); in ThreadRoutine()
|
/system/core/bootstat/ |
D | boot_event_record_store_test.cpp | 146 EXPECT_EQ("cenozoic", events[0].first); in TEST_F() 173 names.push_back(i->first); in TEST_F() 192 EXPECT_EQ("permian", events[0].first); in TEST_F() 212 EXPECT_EQ("carboniferous", record.first); in TEST_F() 230 EXPECT_EQ("devonian", record.first); in TEST_F()
|
/system/libvintf/ |
D | HalManifest.cpp | 44 for (auto it = existingHals.first; it != existingHals.second; ++it) { in shouldAdd() 60 for (auto it = existingXmlFiles.first; it != existingXmlFiles.second; ++it) { in shouldAddXmlFile() 71 names.insert(hal.first); in getHalNames() 90 interfaceNames.insert(iface.first); in getInterfaceNames() 99 for (auto it = range.first; it != range.second; ++it) { in getHals() 107 for (auto it = range.first; it != range.second; ++it) { in getHals() 200 const std::string& interface = matrixHalInterfacePair.first; in satisfyAllInstances() 225 const std::string& interface = halInterfacePair.first; in isCompatible() 232 const Version& manifestHalVersion = instanceMapPair.first; in isCompatible() 381 for (auto it = range.first; it != range.second; ++it) { in getXmlFilePath()
|
/system/extras/tests/lib/testUtil/include/ |
D | testUtil.h | 32 struct timespec tsDelta(const struct timespec *first, 34 struct timeval tvDelta(const struct timeval *first,
|
/system/libhwbinder/ |
D | BufferedTextOutput.cpp | 171 const char* first = txt; in print() local 195 vec.iov_base = (void*)first; in print() 196 vec.iov_len = lastLine-first; in print() 205 err = b->append(first, txt-first); in print()
|