/system/core/liblog/ |
H A D | uio.c | 24 int total = 0; local 33 if (total == 0) 34 total = -1; 40 total += ret; 46 return total; 51 int total = 0; local 60 if (total == 0) 61 total = -1; 67 total += ret; 73 return total; [all...] |
/system/core/libdiskconfig/ |
H A D | diskutils.c | 42 uint64_t total = 0; local 77 total += nr_bytes; 105 ALOGI("Wrote %" PRIu64 " bytes to %s @ %lld", total, dst, (long long)offset);
|
/system/extras/tests/memtest/ |
H A D | memtest.cpp | 118 size_t total = 0; local 126 total += size; 127 printf("size = %9zd, addr = %p (total = %9zd (%zd MB))\n", 128 size, addr, total, total / (1024*1024)); 137 printf("done. allocated %zd MB\n", total / (1024*1024));
|
H A D | fptest.cpp | 66 float total = 0; local 102 float total = 0; local
|
/system/extras/latencytop/ |
H A D | latencytop.c | 37 unsigned long total; member in struct:latency_entry 328 unsigned long count, max, total; local 345 sscanf(line, "%ld %ld %ld %s", &count, &total, &max, reason); 346 if (max > 0 || total > 0) { 352 e->total += total; 357 e->total = total; 396 average = e->total / e->count;
|
/system/extras/verity/ |
H A D | verify_boot_signature.c | 229 uint64_t total = 0; local 253 if ((length - total) < BUFFER_SIZE) { 254 bytes = length - total; 263 total += bytes; 264 } while (total < length);
|
/system/extras/sound/ |
H A D | playwav.c | 198 unsigned total = 0; local 274 total += sz; 281 hdr.data_sz = total; 282 hdr.riff_sz = total + 8 + 16 + 8;
|
/system/extras/taskstats/ |
H A D | taskstats.c | 168 double average_ms(unsigned long long total, unsigned long long count) { argument 172 return ((double)total) / count / 1e6; 175 unsigned long long average_ns(unsigned long long total, argument 180 return total / count;
|
/system/extras/tests/binder/benchmarks/ |
H A D | binderAddInts.cpp | 243 double min = FLT_MAX, max = 0.0, total = 0.0; // Time in seconds for all local 289 total += delta; 302 << " avg: " << (total / options.iterations)
|
/system/extras/tests/directiotest/ |
H A D | directiotest.c | 162 static void update_progress(int current, int total) argument 164 double pct_done = (double)current * 100 / total; 165 printf("Testing area %d/%d (%6.2f%% complete)\r", current, total,
|
/system/core/logd/tests/ |
H A D | logd_test.cpp | 300 unsigned long long total = 0; local 302 total += times[launch]; 304 && ((total / launch) >= (times[launch] / 8ULL))) 340 if (total) 696 // logd allows excursions to 110% of total size
|
/system/core/logcat/tests/ |
H A D | logcat_test.cpp | 507 static const char total[] = "total "; local 511 } else if (strncmp(buffer, total, sizeof(total) - 1)) {
|
/system/core/libsparse/ |
H A D | output_file.c | 320 size_t total = 0; local 324 while (total < len) { 325 ret = read(fd, ptr, len - total); 334 total += ret;
|
/system/core/adb/ |
H A D | file_sync_client.c | 286 int total = 0; local 289 while (total < size) { 290 int count = size - total; 295 memcpy(sbuf->data, &file_buffer[total], count); 301 total += count; 305 print_transfer_progress(total, size);
|
H A D | commandline.c | 313 long total = 0; local 345 total += len; 352 D("copy_to_file() finished after %lu bytes\n", total); 457 unsigned total; local 471 total = sz; 489 printf("sending: '%s' %4d%% \r", fn, (int)(100LL - ((100LL * sz) / (total)))); 536 * - The connect message includes the total number of bytes in the
|
/system/core/lmkd/ |
H A D | lmkd.c | 516 int total; local 530 sscanf(line, "%d %d ", &total, &rss);
|