/system/core/libcutils/ |
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 | 41 uint64_t total = 0; local 76 total += nr_bytes; 104 LOGI("Wrote %llu bytes to %s @ %lld", total, dst, offset);
|
/system/extras/ext4_utils/ |
H A D | simg2img.c | 46 size_t total = 0; local 50 while (total < len) { 51 ret = read(fd, ptr, len - total); 57 return total; 60 total += ret; 63 return total; 68 size_t total = 0; local 72 while (total < len) { 73 ret = write(fd, ptr, len - total); 79 return total; [all...] |
/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/tests/memtest/ |
H A D | fptest.cpp | 66 float total = 0; local 102 float total = 0; local
|
H A D | memtest.cpp | 596 size_t total = 0; local 604 total += size; 605 printf("size = %9zd, addr = %p (total = %9zd (%zd MB))\n", 606 size, addr, total, total / (1024*1024)); 615 printf("done. allocated %zd MB\n", total / (1024*1024));
|
/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/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 | 161 static void update_progress(int current, int total) argument 163 double pct_done = (double)current * 100 / total; 164 printf("Testing area %d/%d (%6.2f%% complete)\r", current, total,
|
/system/core/adb/ |
H A D | file_sync_client.c | 250 int total = 0; local 253 while (total < size) { 254 int count = size - total; 259 memcpy(sbuf->data, &file_buffer[total], count); 265 total += count;
|
H A D | commandline.c | 249 long total = 0; local 267 total += len; 269 D("copy_to_file() finished after %lu bytes\n", total);
|
/system/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 1010 int total, 1016 if (total % components != 0) { 1019 components, total); 1024 float* data_cpy = new float[total]; 1025 memcpy(data_cpy, data, sizeof(float) * total); 1008 SetAttributeValues(ProgramVar var, const float* data, int total, int components) argument
|
H A D | shader_program.h | 293 // total number of elements in total. 296 int total, 469 // total size.
|