Searched refs:total (Results 1 – 13 of 13) sorted by relevance
/bionic/libc/stdio/ |
D | fread.c | 57 size_t total = desired_total; in fread() local 62 if (total == 0) { in fread() 82 while (total > 0) { in fread() 86 size_t buffered_bytes = MIN((size_t) fp->_r, total); in fread() 91 total -= buffered_bytes; in fread() 96 if (total == 0) { in fread() 104 if (total > (size_t) fp->_bf._size) { in fread() 126 while (total > 0) { in fread() 127 ssize_t bytes_read = (*fp->_read)(fp->_cookie, dst, total); in fread() 133 total -= bytes_read; in fread() [all …]
|
/bionic/libc/bionic/ |
D | __fread_chk.cpp | 36 size_t total; in __fread_chk() local 37 if (__predict_false(__size_mul_overflow(size, count, &total))) { in __fread_chk() 42 if (__predict_false(total > buf_size)) { in __fread_chk()
|
D | __fwrite_chk.cpp | 36 size_t total; in __fwrite_chk() local 37 if (__predict_false(__size_mul_overflow(size, count, &total))) { in __fwrite_chk() 42 if (__predict_false(total > buf_size)) { in __fwrite_chk()
|
D | sysinfo.cpp | 88 long total; in __get_meminfo_page_count() local 89 if (sscanf(buf, pattern, &total) == 1) { in __get_meminfo_page_count() 90 page_count = static_cast<int>(total / (sysconf(_SC_PAGE_SIZE) / 1024)); in __get_meminfo_page_count()
|
D | malloc_info.cpp | 77 size_t total = 0; in malloc_info() local 85 total += mi.ordblks; in malloc_info() 88 Elem(fp, "bins-total").contents("%zu", total); in malloc_info()
|
D | libc_logging.cpp | 68 BufferOutputStream(char* buffer, size_t size) : total(0) { in BufferOutputStream() 83 total += len; in Send() 100 size_t total; member 110 FdOutputStream(int fd) : total(0), fd_(fd) { in FdOutputStream() 118 total += len; in Send() 130 size_t total; member 422 return os.total; in __libc_format_buffer() 431 return os.total; in __libc_format_fd() 655 { msg, os.total }, in __libc_fatal()
|
/bionic/libc/dns/net/ |
D | getservent.c | 58 int total = 0; in getservent_r() local 70 total += namelen + 1; in getservent_r() 75 total += (count+1)*sizeof(char*); in getservent_r() 78 total += 1 + len2; in getservent_r() 83 p2 = realloc( (char*)rs->servent.s_aliases, total ); in getservent_r()
|
/bionic/libc/dns/resolv/ |
D | res_stats.c | 129 int total = successes + errors + timeouts; in _res_stats_usable_server() local 133 total, rtt_avg, params->min_samples); in _res_stats_usable_server() 135 if (total >= params->min_samples && (errors > 0 || timeouts > 0)) { in _res_stats_usable_server() 136 int success_rate = successes * 100 / total; in _res_stats_usable_server()
|
/bionic/libc/include/ |
D | stdio.h | 357 size_t total; in fread() local 358 if (__size_mul_overflow(size, count, &total)) { in fread() 362 if (total > bos) { in fread() 383 size_t total; in fwrite() local 384 if (__size_mul_overflow(size, count, &total)) { in fwrite() 388 if (total > bos) { in fwrite()
|
/bionic/libc/malloc_debug/ |
D | README_api.md | 18 <i>overall\_size</i> is set to the total size of the buffer returned. If this 21 <i>total\_memory</i> is set to the sum of all allocation sizes that are live at 59 The total number of these structures returned in <i>info</i> is
|
D | README.md | 167 If ALLOCATION\_COUNT is present, it indicates the total number of allocations
|
/bionic/libc/kernel/uapi/linux/ |
D | omapfb.h | 206 __u32 total; member
|
/bionic/libc/kernel/uapi/drm/ |
D | drm.h | 255 int total; member
|