Searched refs:chunk (Results 1 - 8 of 8) sorted by relevance
/system/extras/tests/sdcard/ |
H A D | sdcard_perf_test.cpp | 74 // 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...] |
H A D | profile_sdcard.sh | 40 adb shell sdcard_perf_test --test=write --procnb=${p} --size=1000 --chunk-size=100 --iterations=50 >/tmp/tmp-sdcard.txt
|
/system/core/libsparse/ |
H A D | sparse_read.c | 103 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...] |
H A D | output_file.c | 351 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 */
|
/system/media/audio_utils/ |
H A D | tinysndfile.c | 101 unsigned char chunk[8]; local 102 actual = fread(chunk, sizeof(char), sizeof(chunk), stream); 103 if (actual != sizeof(chunk)) { 104 fprintf(stderr, "actual %u != %u\n", actual, sizeof(chunk)); 108 unsigned chunkSize = little4u(&chunk[4]); 113 if (!memcmp(&chunk[0], "fmt ", 4)) { 190 } else if (!memcmp(&chunk[0], "data", 4)) { 202 } else if (!memcmp(&chunk[0], "fact", 4)) { 208 // ignore unknown chunk [all...] |
/system/core/libcutils/tests/memset_mips/ |
H A D | memset_cmips.S | 98 # There will be at most 1 32-byte chunk then 107 # For "a2" below 160 there will be no such "pref 30 safe" 64-byte chunk. 112 # below we have at least 1 64-byte chunk which is "pref 30 safe" 182 andi t7,t8,0x1f # is there a 32-byte chunk? 184 beq t8,t7,.Lchk1w # when t8==t7, no 32-byte chunk
|
/system/core/toolbox/cp/ |
H A D | utils.c | 236 ssize_t chunk; local 238 chunk = (remainder > MMAP_MAX_WRITE) ? 241 chunk) != chunk) { 246 remainder -= chunk; 247 ptotal += chunk;
|
/system/core/adb/ |
H A D | sysdeps_win32.c | 1441 * 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...] |
Completed in 852 milliseconds