Searched refs:read_safe (Results 1 – 1 of 1) sorted by relevance
/external/chromium_org/tools/android/heap_profiler/ |
D | heap_dump.c | 49 static ssize_t read_safe(int fd, void* buf, size_t count); 87 ssize_t rsize = read_safe(mem_fd, &stats, sizeof(stats)); in dump_process_heap() 131 if (read_safe(mem_fd, &alloc, sizeof(alloc)) != sizeof(alloc)) { in dump_process_heap() 182 if (read_safe(mem_fd, &st, sizeof(st)) != sizeof(st)) { in dump_process_heap() 234 static ssize_t read_safe(int fd, void* buf, size_t count) { in read_safe() function 282 int length = read_safe(cmdline_fd, cmdline, size); in read_proc_cmdline()
|