/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 | 472 auto iter = mNetworks.find(netId); in getNetworkLocked() local 473 return iter == mNetworks.end() ? NULL : iter->second; in getNetworkLocked() 489 auto iter = mUsers.find(uid); in getPermissionForUserLocked() local 490 if (iter != mUsers.end()) { in getPermissionForUserLocked() 491 return iter->second; in getPermissionForUserLocked()
|
D | RouteController.cpp | 131 auto iter = interfaceToTable.find(interface); in getRouteTableForInterface() local 132 if (iter == interfaceToTable.end()) { in getRouteTableForInterface() 136 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/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/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/core/libusbhost/ |
D | usbhost.c | 512 void usb_descriptor_iter_init(struct usb_device *device, struct usb_descriptor_iter *iter) in usb_descriptor_iter_init() argument 514 iter->config = device->desc; in usb_descriptor_iter_init() 515 iter->config_end = device->desc + device->desc_length; in usb_descriptor_iter_init() 516 iter->curr_desc = device->desc; in usb_descriptor_iter_init() 519 struct usb_descriptor_header *usb_descriptor_iter_next(struct usb_descriptor_iter *iter) in usb_descriptor_iter_next() argument 522 if (iter->curr_desc >= iter->config_end) in usb_descriptor_iter_next() 524 next = (struct usb_descriptor_header*)iter->curr_desc; in usb_descriptor_iter_next() 525 iter->curr_desc += next->bLength; in usb_descriptor_iter_next()
|
/system/core/toolbox/ |
D | lsusb.c | 158 struct usb_descriptor_iter iter; in lsusb_device_added() local 163 usb_descriptor_iter_init(dev, &iter); in lsusb_device_added() 165 while ((desc = usb_descriptor_iter_next(&iter)) != NULL) in lsusb_device_added()
|
/system/core/include/usbhost/ |
D | usbhost.h | 172 void usb_descriptor_iter_init(struct usb_device *device, struct usb_descriptor_iter *iter); 177 struct usb_descriptor_header *usb_descriptor_iter_next(struct usb_descriptor_iter *iter);
|
/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()
|