Searched refs:total (Results 1 – 9 of 9) sorted by relevance
/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/wlan/ti/wilink_6_1/utils/ |
D | mem.c | 115 TI_UINT32 total = size + sizeof(TMemBlock) + sizeof(TI_UINT32); in mem_Alloc() local 121 pMemBlock = (TMemBlock *) os_memoryAlloc (pMemMng->hOs, total); in mem_Alloc() 124 *(TI_UINT32 *)((TI_UINT8 *)pMemBlock + total - sizeof(TI_UINT32)) = MEM_BLOCK_END; in mem_Alloc() 126 pMemMng->uCurAllocated += total; in mem_Alloc() 153 TI_UINT32 total; in mem_Calloc() local 155 total = number * size; in mem_Calloc() 158 os_printf ("os_memoryCAlloc(%u, %u) : %u\n", number, size, total); in mem_Calloc() 161 ptr = mem_Alloc (hMem, total); in mem_Calloc() 165 os_memorySet (pMemMng->hOs, ptr, 0, total); in mem_Calloc()
|
/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 LOGI("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/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 | memtest.cpp | 594 size_t total = 0; in malloc_test() local 602 total += size; in malloc_test() 604 size, addr, total, total / (1024*1024)); in malloc_test() 613 printf("done. allocated %zd MB\n", total / (1024*1024)); in malloc_test()
|
/system/core/adb/ |
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/logcat/ |
D | event.logtags | 99 # [35-24] mallinfo: total allocated space 106 20002 dvm_gc_madvise_info (total|1|2),(zygote|1|2)
|