/system/memory/libmeminfo/tools/ |
D | wsstop.cpp | 78 static bool same_vma(const Vma& cur, const Vma& last) { in same_vma() argument 79 return (cur.start == last.start && cur.end == last.end && cur.name == last.name && in same_vma() 80 cur.flags == last.flags && cur.offset == last.offset); in same_vma() 83 static Vma diff_vma_params(const Vma& cur, const Vma& last) { in diff_vma_params() argument 85 res.usage.shared_clean = cur.usage.shared_clean > last.usage.shared_clean in diff_vma_params() 86 ? cur.usage.shared_clean - last.usage.shared_clean in diff_vma_params() 88 res.usage.shared_dirty = cur.usage.shared_dirty > last.usage.shared_dirty in diff_vma_params() 89 ? cur.usage.shared_dirty - last.usage.shared_dirty in diff_vma_params() 91 res.usage.private_clean = cur.usage.private_clean > last.usage.private_clean in diff_vma_params() 92 ? cur.usage.private_clean - last.usage.private_clean in diff_vma_params() [all …]
|
D | showmap.cpp | 93 VmaInfo& last = g_vmas.back(); in collect_vma() local 96 if (last.vma.end == current.vma.start && is_library(last.vma.name)) { in collect_vma() 97 current.vma.name = last.vma.name; in collect_vma()
|
/system/tools/hidl/ |
D | Location.cpp | 95 Position last = Position(loc.end().filename(), loc.end().line(), in operator <<() local 98 if (loc.begin().filename() != last.filename()) { in operator <<() 99 ostr << "-" << last; in operator <<() 100 } else if (loc.begin().line() != last.line()) { in operator <<() 101 ostr << "-" << last.line() << "." << last.column(); in operator <<() 102 } else if (loc.begin().column() != last.column()) { in operator <<() 103 ostr << "-" << last.column(); in operator <<()
|
/system/core/logcat/tests/ |
D | logcat_benchmark.cpp | 75 } last(NULL); in BM_logcat_sorted_order() local 87 if (!last.valid()) { in BM_logcat_sorted_order() 90 last.init(buffer); in BM_logcat_sorted_order() 93 if (next < last) { in BM_logcat_sorted_order() 103 last.init(buffer); in BM_logcat_sorted_order()
|
/system/core/libunwindstack/ |
D | ElfInterfaceArm.cpp | 44 size_t last = total_entries_; in FindEntry() local 45 while (first < last) { in FindEntry() 46 size_t current = (first + last) / 2; in FindEntry() 59 last = current; in FindEntry() 64 if (last != 0) { in FindEntry() 65 *entry_offset = start_offset_ + (last - 1) * 8; in FindEntry()
|
D | DwarfEhFrameWithHdr.cpp | 168 size_t last = fde_count_; in GetFdeOffsetFromPc() local 169 while (first < last) { in GetFdeOffsetFromPc() 170 size_t current = (first + last) / 2; in GetFdeOffsetFromPc() 180 last = current; in GetFdeOffsetFromPc() 185 if (last != 0) { in GetFdeOffsetFromPc() 186 const FdeInfo* info = GetFdeInfoFromIndex(last - 1); in GetFdeOffsetFromPc()
|
D | Maps.cpp | 47 size_t last = maps_.size(); in Find() local 48 while (first < last) { in Find() 49 size_t index = (first + last) / 2; in Find() 54 last = index; in Find()
|
D | Symbols.cpp | 71 size_t last = RemapIndices ? remap_->size() : count_; in BinarySearch() local 72 while (first < last) { in BinarySearch() 73 size_t current = first + (last - first) / 2; in BinarySearch() 80 last = current; in BinarySearch()
|
/system/core/logd/ |
D | ChattyLogBuffer.cpp | 51 static enum match_type Identical(const LogBufferElement& elem, const LogBufferElement& last) { in Identical() argument 54 ssize_t lenr = last.msg_len(); in Identical() 56 if (elem.uid() != last.uid()) return DIFFERENT; in Identical() 57 if (elem.pid() != last.pid()) return DIFFERENT; in Identical() 58 if (elem.tid() != last.tid()) return DIFFERENT; in Identical() 61 if (elem.realtime().nsec() > (last.realtime().nsec() + 60 * NS_PER_SEC)) return DIFFERENT; in Identical() 65 const char* msgr = last.msg(); in Identical() 77 if (IsBinary(last.log_id()) && in Identical() 440 LogBufferElementLast last; in Prune() local 463 if (dropped && last.coalesce(&element, dropped)) { in Prune() [all …]
|
D | LogReader.cpp | 173 uint64_t last = sequence; in onDataAvailable() local 174 auto log_find_start = [pid, start, &sequence, &start_time_set, &last]( in onDataAvailable() 186 sequence = last; in onDataAvailable() 190 last = element_sequence; in onDataAvailable()
|
/system/keymaster/include/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() 238 iterator erase(iterator first, iterator last) { in erase() argument 239 while (first != last) in erase() 241 return iterator(last); in erase() 274 _ListIterator<U, CL> first, _ListIterator<U, CR> last) const in distance() argument 277 while (first != last) { in distance()
|
/system/core/libutils/include/utils/ |
D | List.h | 224 void insert(iterator posn, const_iterator first, const_iterator last) { in insert() argument 225 for ( ; first != last; ++first) in insert() 240 iterator erase(iterator first, iterator last) { in erase() argument 241 while (first != last) in erase() 243 return iterator(last); in erase() 276 _ListIterator<U, CL> first, _ListIterator<U, CR> last) const in distance() argument 279 while (first != last) { in distance()
|
/system/media/audio_utils/include/audio_utils/ |
D | LogPlot.h | 42 std::string audio_utils_log_plot(RandomAccessIterator first, RandomAccessIterator last) in audio_utils_log_plot() argument 52 const size_t size = last - first; in audio_utils_log_plot() 59 const auto result = std::minmax_element(first, last); in audio_utils_log_plot() 93 for (; it < last; ++it) { in audio_utils_log_plot() 100 if ((start || px == height) && it != last - 1) { in audio_utils_log_plot()
|
D | TimestampVerifier.h | 256 const FrameTime ¤t, const FrameTime &last, uint32_t sampleRate) { in computeJitterMs() argument 257 const auto diff = sub(current, last); in computeJitterMs() 309 const FrameTime ¤t, const FrameTime &last, uint32_t sampleRate) { in computeRatio() argument 310 const auto diff = sub(current, last); in computeRatio()
|
/system/core/bootstat/ |
D | boot_reason_test.sh | 651 EXPECT_PROPERTY sys.boot.reason.last bootloader 666 EXPECT_PROPERTY sys.boot.reason.last reboot,ota 698 EXPECT_PROPERTY sys.boot.reason.last ${reason} 732 EXPECT_PROPERTY sys.boot.reason.last "reboot,.*" 764 EXPECT_PROPERTY sys.boot.reason.last "\(\|bootloader\)" 838 EXPECT_PROPERTY sys.boot.reason.last cold 860 EXPECT_PROPERTY sys.boot.reason.last shutdown,battery 881 EXPECT_PROPERTY sys.boot.reason.last shutdown,thermal,battery 918 EXPECT_PROPERTY sys.boot.reason.last ${panic_msg} 946 EXPECT_PROPERTY sys.boot.reason.last ${panic_msg} [all …]
|
/system/core/debuggerd/ |
D | debuggerd_benchmark.cpp | 50 auto last = begin; in GetMaximumPause() local 55 auto diff = now - last; in GetMaximumPause() 60 last = now; in GetMaximumPause()
|
/system/tools/hidl/c2hal/ |
D | Type.cpp | 247 Qualifier *last = (*mQualifiers)[mQualifiers->size() - 1]; in removeLastId() local 249 if(last == nullptr || last->qualification != Qualifier::ID) { in removeLastId() 253 std::string ret{last->id}; in removeLastId()
|
/system/bpfprogs/ |
D | time_in_state.c | 50 uint64_t* last = bpf_cpu_last_update_map_lookup_elem(&zero); variable 51 if (!last) return ALLOW; 52 uint64_t old_last = *last; 54 *last = time;
|
/system/tools/aidl/ |
D | import_resolver.cpp | 73 auto last = std::unique(found_paths.begin(), found_paths.end()); in FindImportFile() local 74 found_paths.erase(last, found_paths.end()); in FindImportFile()
|
/system/bt/gd/common/ |
D | strings.h | 37 std::string ToHexString(InputIt first, InputIt last) { in ToHexString() argument 41 for (InputIt it = first; it != last; ++it) { in ToHexString()
|
/system/media/audio_utils/tests/ |
D | timestampverifier_tests.cpp | 88 constexpr auto last = tv3.getLastTimestamp(); in TEST() local 92 EXPECT_EQ(48000 * (8 - 1), last.mFrames); in TEST() 93 EXPECT_EQ((int64_t)1e9 * (8 - 1), last.mTimeNs); in TEST()
|
/system/core/adb/ |
D | socket_test.cpp | 52 int last[2]; in TEST_F() local 60 ASSERT_EQ(0, adb_socketpair(last)) << strerror(errno); in TEST_F() 83 asocket* end = create_local_socket(unique_fd(last[0])); in TEST_F() 93 ASSERT_TRUE(ReadFdExactly(last[1], &write_buffer[0], write_buffer.size())); in TEST_F() 98 ASSERT_EQ(0, adb_close(last[1])); in TEST_F()
|
D | SYNC.TXT | 20 represented by four utf-8 characters. The last four bytes are a Little-Endian 43 4. A four-byte integer representing last modified time. 51 The remote file name is split into two parts separated by the last 67 to the last modified time for the file. The server responds to this last
|
/system/apex/apexer/ |
D | apexer.py | 410 last = application.lastChild 411 if last is not None and last.nodeType != minidom.Node.TEXT_NODE: 412 last = None 419 application.insertBefore(doc.createTextNode(indent), last) 420 application.insertBefore(ul, last) 421 last = application.lastChild 423 if last and last.nodeType != minidom.Node.TEXT_NODE:
|
/system/tools/hidl/host_utils/ |
D | Formatter.cpp | 304 Block& last = blockVec.back(); in operator <<() local 305 if (!last.populated && last.blocks.empty()) { in operator <<() 306 last.content += str; in operator <<()
|