/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 …]
|
/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/logging/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/unwinding/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 | Symbols.cpp | 63 uint32_t last = (it != symbols_.end()) ? it->second.index : count; in BinarySearch() local 66 while (first < last) { in BinarySearch() 67 uint32_t current = first + (last - first) / 2; in BinarySearch() 78 last = current; in BinarySearch()
|
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()
|
/system/logging/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() 438 LogBufferElementLast last; in Prune() local 461 if (dropped && last.coalesce(&element, dropped)) { in Prune() [all …]
|
D | LogReader.cpp | 174 uint64_t last = sequence; in onDataAvailable() local 175 auto log_find_start = [pid, start, &sequence, &start_time_set, &last]( in onDataAvailable() 187 sequence = last; in onDataAvailable() 191 last = element_sequence; in onDataAvailable()
|
D | LogKlog.cpp | 99 char* android::log_strntok_r(char* s, ssize_t& len, char*& last, in log_strntok_r() argument 104 if (!(s = last)) return nullptr; in log_strntok_r() 126 if (len <= 0) return last = nullptr; in log_strntok_r() 131 last = nullptr; in log_strntok_r() 141 last = s; in log_strntok_r() 151 last = s; in log_strntok_r() 183 last = s; in log_strntok_r()
|
/system/security/keystore2/src/km_compat/ |
D | slot_test.cpp | 100 auto last = operations.back(); in TEST() local 103 auto status = last->finish(std::nullopt /* input */, std::nullopt /* signature */, in TEST() 112 status = last->finish(std::nullopt /* input */, std::nullopt /* signature */, in TEST() 116 status = last->abort(); in TEST() 124 last = operations.back(); in TEST() 126 status = last->abort(); in TEST() 133 status = last->finish(std::nullopt /* input */, std::nullopt /* signature */, in TEST() 137 status = last->abort(); in TEST()
|
/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/keymaster/include/keymaster/ |
D | List.h | 200 void insert(iterator posn, const_iterator first, const_iterator last) { in insert() argument 201 for (; first != last; ++first) in insert() 216 iterator erase(iterator first, iterator last) { in erase() argument 217 while (first != last) in erase() 219 return iterator(last); in erase() 247 ptrdiff_t distance(_ListIterator<U, CL> first, _ListIterator<U, CR> last) const { in distance() argument 249 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 | 259 const FrameTime ¤t, const FrameTime &last, uint32_t sampleRate) { in computeJitterMs() argument 260 const auto diff = sub(current, last); in computeJitterMs() 312 const FrameTime ¤t, const FrameTime &last, uint32_t sampleRate) { in computeRatio() argument 313 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/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/security/keystore2/src/ |
D | entropy.rs | 36 Some(last) => now.duration_since(last) > Duration::from_secs(MIN_FEED_INTERVAL_SECS), in register_feeder()
|
/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/bpfprogs/ |
D | time_in_state.c | 59 uint64_t* last = bpf_cpu_last_update_map_lookup_elem(&zero); variable 60 if (!last) return ALLOW; 61 uint64_t old_last = *last; 63 *last = time;
|
/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 <<()
|
/system/media/camera/docs/ |
D | metadata_helpers_test.py | 114 for (x, last) in enumerate_with_last(single_value): 116 self.assertEqual(True, last)
|
/system/apex/apexer/ |
D | apexer.py | 421 last = application.lastChild 422 if last is not None and last.nodeType != minidom.Node.TEXT_NODE: 423 last = None 430 application.insertBefore(doc.createTextNode(indent), last) 431 application.insertBefore(ul, last) 432 last = application.lastChild 434 if last and last.nodeType != minidom.Node.TEXT_NODE:
|