/system/core/libcutils/include/cutils/ |
D | list.h | 29 struct listnode *prev; member 38 .prev = &(name), \ 45 for ((node) = (list)->prev; (node) != (list); (node) = (node)->prev) 55 node->prev = node; in list_init() 61 item->prev = head->prev; in list_add_tail() 62 head->prev->next = item; in list_add_tail() 63 head->prev = item; in list_add_tail() 69 item->prev = head; in list_add_head() 70 head->next->prev = item; in list_add_head() 76 item->next->prev = item->prev; in list_remove() [all …]
|
/system/core/libcutils/include_vndk/cutils/ |
D | list.h | 29 struct listnode *prev; member 38 .prev = &(name), \ 45 for ((node) = (list)->prev; (node) != (list); (node) = (node)->prev) 55 node->prev = node; in list_init() 61 item->prev = head->prev; in list_add_tail() 62 head->prev->next = item; in list_add_tail() 63 head->prev = item; in list_add_tail() 69 item->prev = head; in list_add_head() 70 head->next->prev = item; in list_add_head() 76 item->next->prev = item->prev; in list_remove() [all …]
|
/system/media/audio_utils/tests/ |
D | sample_tests.cpp | 54 float prev = -2.0f; in TEST() local 57 ASSERT_LT(prev, curr); in TEST() 58 int signum_prev = signum(prev); in TEST() 63 float ratio = curr / prev; in TEST() 74 ASSERT_GE(ratio, lower) << "prev " << prev << " curr " << curr; in TEST() 75 ASSERT_LE(ratio, upper) << "prev " << prev << " curr " << curr; in TEST() 77 prev = curr; in TEST() 79 ASSERT_LT(prev, 2.0f); in TEST()
|
/system/core/storaged/include/ |
D | storaged_diskstats.h | 60 friend disk_stats operator- (disk_stats curr, const disk_stats& prev) { 61 curr.read_ios -= prev.read_ios; 62 curr.read_merges -= prev.read_merges; 63 curr.read_sectors -= prev.read_sectors; 64 curr.read_ticks -= prev.read_ticks; 65 curr.write_ios -= prev.write_ios; 66 curr.write_merges -= prev.write_merges; 67 curr.write_sectors -= prev.write_sectors; 68 curr.write_ticks -= prev.write_ticks; 70 curr.io_ticks -= prev.io_ticks; [all …]
|
D | storaged_utils.h | 32 void get_inc_disk_stats(const struct disk_stats* prev, const struct disk_stats* curr, struct disk_s…
|
/system/extras/simpleperf/ |
D | CallChainJoiner.h | 104 CacheNode* prev = &nodes_[node->leaf_link_prev]; in RemoveNodeFromLRUList() local 106 prev->leaf_link_next = node->leaf_link_next; in RemoveNodeFromLRUList() 112 CacheNode* prev = &nodes_[next->leaf_link_prev]; in AppendNodeToLRUList() local 115 next->leaf_link_prev = prev->leaf_link_next = GetNodeIndex(node); in AppendNodeToLRUList()
|
/system/core/libunwindstack/tests/ |
D | JitDebugTest.cpp | 166 void WriteEntry32Pack(uint64_t addr, uint32_t prev, uint32_t next, uint32_t elf_addr, 168 void WriteEntry32Pad(uint64_t addr, uint32_t prev, uint32_t next, uint32_t elf_addr, 170 void WriteEntry64(uint64_t addr, uint64_t prev, uint64_t next, uint64_t elf_addr, 203 void JitDebugTest::WriteEntry32Pack(uint64_t addr, uint32_t prev, uint32_t next, uint32_t elf_addr, in WriteEntry32Pack() argument 209 memory_->SetData32(addr + 4, prev); in WriteEntry32Pack() 216 void JitDebugTest::WriteEntry32Pad(uint64_t addr, uint32_t prev, uint32_t next, uint32_t elf_addr, in WriteEntry32Pad() argument 222 memory_->SetData32(addr + 4, prev); in WriteEntry32Pad() 231 void JitDebugTest::WriteEntry64(uint64_t addr, uint64_t prev, uint64_t next, uint64_t elf_addr, in WriteEntry64() argument 237 memory_->SetData64(addr + 8, prev); in WriteEntry64()
|
D | DexFilesTest.cpp | 104 void WriteEntry32(uint64_t entry_addr, uint32_t next, uint32_t prev, uint32_t dex_file); 105 void WriteEntry64(uint64_t entry_addr, uint64_t next, uint64_t prev, uint64_t dex_file); 133 void DexFilesTest::WriteEntry32(uint64_t entry_addr, uint32_t next, uint32_t prev, in WriteEntry32() argument 139 memory_->SetData32(entry_addr + 4, prev); in WriteEntry32() 144 void DexFilesTest::WriteEntry64(uint64_t entry_addr, uint64_t next, uint64_t prev, in WriteEntry64() argument 150 memory_->SetData64(entry_addr + 8, prev); in WriteEntry64()
|
/system/chre/core/tests/ |
D | memory_manager_test.cc | 79 node *curr = nullptr, *prev = head; in TEST() local 83 prev->next = curr; in TEST() 84 prev = curr; in TEST()
|
/system/core/fs_mgr/libfiemap/ |
D | fiemap_writer.cpp | 544 fiemap_extent* prev = &fiemap->fm_extents[0]; in FiemapToExtents() local 545 if (!IsValidExtent(prev, file_path)) return false; in FiemapToExtents() 565 if (prev->fe_physical + prev->fe_length == next->fe_physical && in FiemapToExtents() 566 next->fe_physical - prev->fe_physical == next->fe_logical - prev->fe_logical) { in FiemapToExtents() 567 prev->fe_length += next->fe_length; in FiemapToExtents() 569 extents->emplace_back(*prev); in FiemapToExtents() 570 prev = next; in FiemapToExtents() 573 extents->emplace_back(*prev); in FiemapToExtents()
|
/system/bt/osi/src/ |
D | list.cc | 151 for (list_node_t *prev = list->head, *node = list->head->next; node; in list_remove() local 152 prev = node, node = node->next) in list_remove() 154 prev->next = list_free_node_(list, node); in list_remove() 155 if (list->tail == node) list->tail = prev; in list_remove()
|
/system/core/libunwindstack/ |
D | JitDebug.cpp | 36 uint32_t prev; member 43 uint32_t prev; member 51 uint64_t prev; member
|
D | DexFiles.cpp | 47 uint32_t prev; member 53 uint64_t prev; member
|
/system/extras/showslab/ |
D | showslab.c | 62 struct slab_info *head = NULL, *p = NULL, *prev = NULL; in get_slabinfo() local 104 head = prev = p; in get_slabinfo() 141 prev->next = p; in get_slabinfo() 142 prev = p; in get_slabinfo()
|
/system/bt/btif/src/ |
D | btif_sock_l2cap.cc | 59 struct packet *next, *prev; member 65 struct l2cap_socket* prev; // link to prev list item member 132 sock->first_packet->prev = NULL; in packet_get_head_l() 167 p->prev = NULL; in packet_put_head_l() 171 p->next->prev = p; in packet_put_head_l() 190 p->prev = sock->last_packet; in packet_put_tail_l() 192 if (p->prev) in packet_put_tail_l() 193 p->prev->next = p; in packet_put_tail_l() 233 if (sock->next) sock->next->prev = sock->prev; in btsock_l2cap_free_l() 235 if (sock->prev) in btsock_l2cap_free_l() [all …]
|
/system/core/libunwindstack/tests/fuzz/ |
D | UnwinderComponentCreator.cpp | 166 void WriteEntry32Pack(MemoryFake* memory, uint64_t addr, uint32_t prev, uint32_t next, in WriteEntry32Pack() argument 172 memory->SetData32(addr + 4, prev); in WriteEntry32Pack() 179 void WriteEntry32Pad(MemoryFake* memory, uint64_t addr, uint32_t prev, uint32_t next, in WriteEntry32Pad() argument 185 memory->SetData32(addr + 4, prev); in WriteEntry32Pad() 194 void WriteEntry64(MemoryFake* memory, uint64_t addr, uint64_t prev, uint64_t next, in WriteEntry64() argument 200 memory->SetData64(addr + 8, prev); in WriteEntry64()
|
/system/bt/gd/common/ |
D | lru_cache.h | 148 evicted_node = list_map_.extract(std::prev(list_map_.end())->first); in insert_or_assign() 170 evicted_node = list_map_.extract(std::prev(list_map_.end())->first); in try_emplace()
|
/system/extras/ioshark/ |
D | compile_ioshark.c | 108 get_delta_ts(char *buf, struct timeval *prev) in get_delta_ts() argument 114 if (prev->tv_sec == 0 && prev->tv_usec == 0) in get_delta_ts() 117 timersub(&op_tv, prev, &tv_res); in get_delta_ts() 118 *prev = op_tv; in get_delta_ts()
|
/system/chre/util/include/chre/util/ |
D | array_queue_impl.h | 161 size_t prev = (absoluteIndex == 0) ? (kCapacity - 1) : (absoluteIndex - 1); in remove() local 162 data()[absoluteIndex] = data()[prev]; in remove() 163 absoluteIndex = prev; in remove()
|
/system/core/liblog/ |
D | pmsg_reader.cpp | 206 const char *prev = NULL, *last = NULL, *cp = prefix; in __android_log_pmsg_file_read() local 208 prev = last; in __android_log_pmsg_file_read() 212 if (prev) { in __android_log_pmsg_file_read() 213 prefix = prev + 1; in __android_log_pmsg_file_read()
|
/system/core/libcutils/ |
D | config_utils.cpp | 323 cnode *prev = cur; in config_free() local 326 free(prev); in config_free()
|
/system/core/storaged/ |
D | storaged_diskstats.cpp | 188 void get_inc_disk_stats(const struct disk_stats* prev, const struct disk_stats* curr, in get_inc_disk_stats() argument 191 *inc = *curr - *prev; in get_inc_disk_stats() 192 inc->start_time = prev->end_time; in get_inc_disk_stats()
|
/system/libziparchive/ |
D | zip_writer_test.cc | 259 size_t prev = 1; in TEST_F() local 261 buffer[i] = static_cast<uint8_t>(i + prev); in TEST_F() 262 prev = i; in TEST_F()
|
/system/core/logd/ |
D | SerializedFlushToState.cpp | 77 if (buffer_it == std::prev(logs_[log_id].end())) { in AddMinHeapEntry()
|
/system/media/audio_utils/include/audio_utils/ |
D | Statistics.h | 782 constexpr T sqrt_constexpr_unchecked(T x, T prev) { 784 const T next = T(0.5) * (prev + x / prev); 785 return next == prev ? next : sqrt_constexpr_unchecked(x, next);
|