/system/core/libcutils/ |
D | uio.c | 24 int total = 0; in readv() local 33 if (total == 0) in readv() 34 total = -1; in readv() 40 total += ret; in readv() 46 return total; in readv() 51 int total = 0; in writev() local 60 if (total == 0) in writev() 61 total = -1; in writev() 67 total += ret; in writev() 73 return total; in writev()
|
/system/core/libdiskconfig/ |
D | diskutils.c | 41 uint64_t total = 0; in write_raw_image() local 76 total += nr_bytes; in write_raw_image() 104 ALOGI("Wrote %llu bytes to %s @ %lld", total, dst, offset); in write_raw_image()
|
/system/extras/latencytop/ |
D | latencytop.c | 37 unsigned long total; member 328 unsigned long count, max, total; in read_latency_file() local 345 sscanf(line, "%ld %ld %ld %s", &count, &total, &max, reason); in read_latency_file() 346 if (max > 0 || total > 0) { in read_latency_file() 352 e->total += total; in read_latency_file() 357 e->total = total; in read_latency_file() 396 average = e->total / e->count; in print_latency_entries()
|
/system/extras/tests/bionic/libc/common/ |
D | bench_pthread.c | 118 int64_t total = 0; in filter_stats() local 120 total += stats[nn]; in filter_stats() 136 #define BENCH_COUNT(stmnt,total) do { \ argument 137 int64_t count = total; \
|
/system/extras/tests/directiotest/ |
D | directiotest.c | 161 static void update_progress(int current, int total) in update_progress() argument 163 double pct_done = (double)current * 100 / total; in update_progress() 164 printf("Testing area %d/%d (%6.2f%% complete)\r", current, total, in update_progress()
|
/system/extras/sound/ |
D | playwav.c | 198 unsigned total = 0; in wav_rec() local 274 total += sz; in wav_rec() 281 hdr.data_sz = total; in wav_rec() 282 hdr.riff_sz = total + 8 + 16 + 8; in wav_rec()
|
/system/extras/tests/memtest/ |
D | fptest.cpp | 66 float total = 0; in test_mad() local 102 float total = 0; in test_fma() local
|
D | memtest.cpp | 596 size_t total = 0; in malloc_test() local 604 total += size; in malloc_test() 606 size, addr, total, total / (1024*1024)); in malloc_test() 615 printf("done. allocated %zd MB\n", total / (1024*1024)); in malloc_test()
|
/system/extras/tests/binder/benchmarks/ |
D | binderAddInts.cpp | 243 double min = FLT_MAX, max = 0.0, total = 0.0; // Time in seconds for all in client() local 289 total += delta; in client() 302 << " avg: " << (total / options.iterations) in client()
|
/system/core/libsparse/ |
D | output_file.c | 328 size_t total = 0; in read_all() local 332 while (total < len) { in read_all() 333 ret = read(fd, ptr, len - total); in read_all() 342 total += ret; in read_all()
|
/system/core/adb/ |
D | commandline.c | 268 long total = 0; in copy_to_file() local 286 total += len; in copy_to_file() 288 D("copy_to_file() finished after %lu bytes\n", total); in copy_to_file() 393 unsigned total; in adb_download_buffer() local 407 total = sz; in adb_download_buffer() 425 printf("sending: '%s' %4d%% \r", fn, (int)(100LL - ((100LL * sz) / (total)))); in adb_download_buffer()
|
D | file_sync_client.c | 250 int total = 0; in write_data_buffer() local 253 while (total < size) { in write_data_buffer() 254 int count = size - total; in write_data_buffer() 259 memcpy(sbuf->data, &file_buffer[total], count); in write_data_buffer() 265 total += count; in write_data_buffer()
|
/system/core/fastboot/ |
D | fastboot_protocol.txt | 45 the total data size to transfer.
|