Searched refs:iter (Results 1 – 10 of 10) sorted by relevance
/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 | 29 struct region *iter; member 76 alloc->list.iter = NULL; in create_allocation() 78 alloc->oob_list.iter = NULL; in create_allocation() 125 list->iter = reg; in region_list_append() 275 alloc->list.iter = NULL; in reduce_allocation() 488 alloc->list.iter = alloc->list.first; in allocate_blocks() 519 struct region *reg = alloc->list.iter; in get_block() 532 struct region *reg = alloc->oob_list.iter; in get_oob_block() 547 *block = alloc->list.iter->block; in get_region() 548 *len = alloc->list.iter->len - alloc->list.partial_iter; in get_region() [all …]
|
/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/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()
|