/system/extras/perfprofd/quipper/ |
D | address_mapper.cc | 48 MappingList::iterator iter; in MapWithID() local 52 for (iter = mappings_.begin(); iter != mappings_.end(); ++iter) { in MapWithID() 53 if (!iter->Intersects(range)) in MapWithID() 58 if (!old_range_found && iter->Covers(range) && iter->size > range.size) { in MapWithID() 60 old_range = *iter; in MapWithID() 63 mappings_to_delete.push_back(*iter); in MapWithID() 123 for (iter = mappings_.begin(); iter != mappings_.end(); ++iter) { in MapWithID() 124 if (iter->unmapped_space_after < range.size) in MapWithID() 127 range.mapped_addr = iter->mapped_addr + iter->size; in MapWithID() 128 range.unmapped_space_after = iter->unmapped_space_after - range.size; in MapWithID() [all …]
|
/system/netd/server/ |
D | UidRanges.cpp | 24 auto iter = std::lower_bound(mRanges.begin(), mRanges.end(), Range(uid, uid)); in hasUid() local 25 return (iter != mRanges.end() && iter->first == uid) || in hasUid() 26 (iter != mRanges.begin() && (--iter)->second >= uid); in hasUid()
|
D | NetworkController.cpp | 499 auto iter = mNetworks.find(netId); in getNetworkLocked() local 500 return iter == mNetworks.end() ? NULL : iter->second; in getNetworkLocked() 516 auto iter = mUsers.find(uid); in getPermissionForUserLocked() local 517 if (iter != mUsers.end()) { in getPermissionForUserLocked() 518 return iter->second; in getPermissionForUserLocked()
|
D | RouteController.cpp | 141 auto iter = interfaceToTable.find(interface); in getRouteTableForInterface() local 142 if (iter == interfaceToTable.end()) { in getRouteTableForInterface() 146 return iter->second; in getRouteTableForInterface()
|
/system/extras/tests/sdcard/ |
D | testcase.cpp | 143 void TestCase::setIter(size_t iter) in setIter() argument 145 mIter = iter; in setIter() 156 mOpenTimer = new StopWatch("open", iter() * kReadWriteFactor); in createTimers() 158 mReadTimer = new StopWatch("read", iter() * dataSize() / chunkSize() * kReadWriteFactor); in createTimers() 161 mWriteTimer = new StopWatch("write", iter() * dataSize() / chunkSize()); in createTimers() 164 mSyncTimer = new StopWatch("sync", iter()); in createTimers() 166 mTruncateTimer = new StopWatch("truncate", iter()); in createTimers() 168 mTraverseTimer = new StopWatch("traversal", iter()); in createTimers()
|
D | sdcard_perf_test.cpp | 233 printf("# Iterations: %d\n", testCase->iter()); in parseCmdLine() 361 size_t iter = testCase->iter(); in testRead() local 368 iter *= TestCase::kReadWriteFactor; in testRead() 371 for (size_t i = 0; i < iter; ++i) in testRead() 402 for (size_t i = 0; i < iter; ++i) in testRead() 501 for (size_t i = 0; i < testCase->iter(); ++i) in testWrite() 538 for (size_t i = 0; i < testCase->iter(); ++i) in testOpenCreate() 634 size_t iter = testCase->iter(); in testTraverse() local 635 for (size_t i = 0; i < iter; i++) { in testTraverse()
|
D | testcase.h | 57 size_t iter() const { return mIter; } in iter() function 58 void setIter(size_t iter);
|
D | README | 51 To plot the result using the iter number of the x axis:
|
/system/bt/osi/src/ |
D | hash_map.c | 204 for (const list_node_t *iter = list_begin(hash_map->bucket[i].list); in hash_map_foreach() local 205 iter != list_end(hash_map->bucket[i].list); in hash_map_foreach() 206 iter = list_next(iter)) { in hash_map_foreach() 207 hash_map_entry_t *hash_map_entry = (hash_map_entry_t *)list_node(iter); in hash_map_foreach() 232 for (const list_node_t *iter = list_begin(hash_bucket_list); in find_bucket_entry_() local 233 iter != list_end(hash_bucket_list); in find_bucket_entry_() 234 iter = list_next(iter)) { in find_bucket_entry_() 235 hash_map_entry_t *hash_map_entry = (hash_map_entry_t *)list_node(iter); in find_bucket_entry_()
|
/system/extras/tests/binder/benchmarks/ |
D | binderAddInts.cpp | 259 for (unsigned int iter = 0; iter < options.iterations; iter++) { in client() local 265 int val1 = iter; in client() 266 int val2 = iter + 3; in client() 291 if (result != (int) (iter + iter + 3)) { in client() 292 cerr << "Unexpected result for iteration " << iter << endl; in client()
|
/system/keymaster/ |
D | keymaster_enforcement.cpp | 502 List<AccessTime>::iterator iter; in UpdateKeyAccessTime() local 503 for (iter = last_access_list_.begin(); iter != last_access_list_.end();) { in UpdateKeyAccessTime() 504 if (iter->keyid == keyid) { in UpdateKeyAccessTime() 505 iter->access_time = current_time; in UpdateKeyAccessTime() 510 assert(current_time >= iter->access_time); in UpdateKeyAccessTime() 511 if (current_time - iter->access_time >= iter->timeout) in UpdateKeyAccessTime() 512 iter = last_access_list_.erase(iter); in UpdateKeyAccessTime() 514 ++iter; in UpdateKeyAccessTime()
|
/system/extras/ext4_utils/ |
D | allocate.c | 63 alloc->list.iter = NULL; in create_allocation() 65 alloc->oob_list.iter = NULL; in create_allocation() 114 list->iter = reg; in region_list_append() 275 alloc->list.iter = NULL; in reduce_allocation() 456 alloc->list.iter = alloc->list.first; in allocate_blocks() 487 struct region *reg = alloc->list.iter; in get_block() 500 struct region *reg = alloc->oob_list.iter; in get_oob_block() 515 *block = alloc->list.iter->block; in get_region() 516 *len = alloc->list.iter->len - alloc->list.partial_iter; in get_region() 522 alloc->list.iter = alloc->list.iter->next; in get_next_region() [all …]
|
D | allocate.h | 29 struct region *iter; member
|
/system/extras/perfprofd/ |
D | perf_data_converter.cc | 86 for (auto iter = name_id_map.begin(); iter != name_id_map.end(); ++iter) { in RawPerfDataToAndroidPerfProfile() local 87 iter->second = current_index++; in RawPerfDataToAndroidPerfProfile()
|
D | perfprofdcore.cc | 736 for (std::set<int>::const_iterator iter = produced.begin(); in post_process() local 737 iter != produced.end(); ++iter) { in post_process() 738 fprintf(fp, "%d\n", *iter); in post_process()
|
/system/bt/osi/include/ |
D | config.h | 113 const config_section_node_t *config_section_next(const config_section_node_t *iter); 119 const char *config_section_name(const config_section_node_t *iter);
|
/system/core/libusbhost/ |
D | usbhost.c | 521 void usb_descriptor_iter_init(struct usb_device *device, struct usb_descriptor_iter *iter) in usb_descriptor_iter_init() argument 523 iter->config = device->desc; in usb_descriptor_iter_init() 524 iter->config_end = device->desc + device->desc_length; in usb_descriptor_iter_init() 525 iter->curr_desc = device->desc; in usb_descriptor_iter_init() 528 struct usb_descriptor_header *usb_descriptor_iter_next(struct usb_descriptor_iter *iter) in usb_descriptor_iter_next() argument 531 if (iter->curr_desc >= iter->config_end) in usb_descriptor_iter_next() 533 next = (struct usb_descriptor_header*)iter->curr_desc; in usb_descriptor_iter_next() 534 iter->curr_desc += next->bLength; in usb_descriptor_iter_next()
|
/system/core/include/usbhost/ |
D | usbhost.h | 176 void usb_descriptor_iter_init(struct usb_device *device, struct usb_descriptor_iter *iter); 181 struct usb_descriptor_header *usb_descriptor_iter_next(struct usb_descriptor_iter *iter);
|
/system/bt/btif/src/ |
D | btif_storage.c | 491 …config_section_iter_t *iter = btif_config_section_begin(); iter != btif_config_section_end(); iter… in btif_in_fetch_bonded_devices() local 492 const char *name = btif_config_section_name(iter); in btif_in_fetch_bonded_devices() 1338 …config_section_iter_t *iter = btif_config_section_begin(); iter != btif_config_section_end(); iter… in btif_storage_load_bonded_hid_info() local 1339 const char *name = btif_config_section_name(iter); in btif_storage_load_bonded_hid_info()
|
/system/core/libpixelflinger/ |
D | trap.cpp | 836 float iter = 1.0f / (1<<TRI_ITERATORS_BITS); in dump() local 842 x_incr, x_incr*iter, in dump() 843 y_incr, y_incr*iter, in dump()
|