Searched defs:chunk (Results 1 - 5 of 5) sorted by path

/system/core/adb/
H A Dsysdeps_win32.c1441 * handle array into chunks with the chunk size less than 64, and fire up as many
1442 * waiting threads as there are chunks. Then each thread would wait on a chunk of
1517 int chunks, chunk, remains; local
1554 for (chunk = 0; chunk < chunks; chunk++) {
1555 threads[chunk].main_event = main_event;
1556 threads[chunk].signaled_index = &sig_index;
1557 threads[chunk].first_handle_index = WAIT_ALL_CHUNK_SIZE * chunk;
[all...]
/system/core/libsparse/
H A Doutput_file.c351 int ret, chunk; local
359 /* We are skipping data, so emit a don't care chunk. */
385 /* Finally we can safely emit a chunk of data */
421 /* Finally we can safely emit a chunk of data */
H A Dsparse_read.c103 int chunk; local
121 chunk = min(len, COPY_BUF_SIZE);
122 ret = read_all(fd, copybuf, chunk);
126 *crc32 = sparse_crc32(*crc32, copybuf, chunk);
127 len -= chunk;
140 int chunk; local
168 chunk = min(len, COPY_BUF_SIZE);
169 *crc32 = sparse_crc32(*crc32, copybuf, chunk);
170 len -= chunk;
181 int chunk; local
[all...]
/system/core/toolbox/cp/
H A Dutils.c236 ssize_t chunk; local
238 chunk = (remainder > MMAP_MAX_WRITE) ?
241 chunk) != chunk) {
246 remainder -= chunk;
247 ptotal += chunk;
/system/extras/tests/sdcard/
H A Dsdcard_perf_test.cpp74 // adb shell /system/bin/sdcard_perf_test --test=read --size=1000 --chunk-size=100 --procnb=1 --iterations=10 --dump > /tmp/data.txt
75 // adb shell /system/bin/sdcard_perf_test --test=write --size=1000 --chunk-size=100 --procnb=1 --iterations=100 --dump > /tmp/data.txt
112 {"chunk-size", required_argument, 0, 'S'},
133 " -S --chunk-size: Size of a chunk. Default to size ie 1 chunk.\n"
134 " Data will be written/read using that chunk size.\n"
286 // @param chunk buffer large enough where the chunk read are written.
290 bool readData(char *const chunk, cons argument
356 char *const chunk = new char[chunk_size]; local
418 writeData(const char *const chunk, const int idx, TestCase *testCase) argument
568 char * const chunk = new char[testCase->chunkSize()]; local
[all...]

Completed in 1003 milliseconds