Searched defs:iter (Results 1 - 7 of 7) sorted by relevance

/system/extras/tests/sdcard/
H A Dtestcase.cpp143 void TestCase::setIter(size_t iter) argument
145 mIter = iter;
156 mOpenTimer = new StopWatch("open", iter() * kReadWriteFactor);
158 mReadTimer = new StopWatch("read", iter() * dataSize() / chunkSize() * kReadWriteFactor);
161 mWriteTimer = new StopWatch("write", iter() * dataSize() / chunkSize());
164 mSyncTimer = new StopWatch("sync", iter());
166 mTruncateTimer = new StopWatch("truncate", iter());
168 mTraverseTimer = new StopWatch("traversal", iter());
H A Dsdcard_perf_test.cpp233 printf("# Iterations: %d\n", testCase->iter());
361 size_t iter = testCase->iter(); local
368 iter *= TestCase::kReadWriteFactor;
371 for (size_t i = 0; i < iter; ++i)
402 for (size_t i = 0; i < iter; ++i)
501 for (size_t i = 0; i < testCase->iter(); ++i)
538 for (size_t i = 0; i < testCase->iter(); ++i)
634 size_t iter = testCase->iter(); local
[all...]
H A Dtestcase.h57 size_t iter() const { return mIter; } function in class:android_test::TestCase
58 void setIter(size_t iter);
/system/core/toolbox/
H A Dlsusb.c158 struct usb_descriptor_iter iter; local
163 usb_descriptor_iter_init(dev, &iter);
165 while ((desc = usb_descriptor_iter_next(&iter)) != NULL)
/system/core/libusbhost/
H A Dusbhost.c462 void usb_descriptor_iter_init(struct usb_device *device, struct usb_descriptor_iter *iter) argument
464 iter->config = device->desc;
465 iter->config_end = device->desc + device->desc_length;
466 iter->curr_desc = device->desc;
469 struct usb_descriptor_header *usb_descriptor_iter_next(struct usb_descriptor_iter *iter) argument
472 if (iter->curr_desc >= iter->config_end)
474 next = (struct usb_descriptor_header*)iter->curr_desc;
475 iter->curr_desc += next->bLength;
/system/extras/ext4_utils/
H A Dallocate.c29 struct region *iter; member in struct:region_list
69 alloc->list.iter = NULL;
71 alloc->oob_list.iter = NULL;
99 list->iter = reg;
265 alloc->list.iter = NULL;
477 alloc->list.iter = alloc->list.first;
508 struct region *reg = alloc->list.iter;
521 struct region *reg = alloc->oob_list.iter;
536 *block = alloc->list.iter->block;
537 *len = alloc->list.iter
[all...]
/system/core/libpixelflinger/
H A Dtrap.cpp836 float iter = 1.0f / (1<<TRI_ITERATORS_BITS); local
842 x_incr, x_incr*iter,
843 y_incr, y_incr*iter,

Completed in 9 milliseconds