Home
last modified time | relevance | path

Searched refs:total (Results 1 – 12 of 12) sorted by relevance

/bionic/libc/stdio/
Dfread.c57 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/dns/net/
Dgetservent.c58 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/bionic/
Dmalloc_info.cpp77 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()
Dlibc_logging.cpp64 BufferOutputStream(char* buffer, size_t size) : total(0) { in BufferOutputStream()
79 total += len; in Send()
96 size_t total; member
106 explicit FdOutputStream(int fd) : total(0), fd_(fd) { in FdOutputStream()
114 total += len; in Send()
126 size_t total; member
418 return os.total; in __libc_format_buffer()
425 return os.total; in __libc_format_buffer_va_list()
434 return os.total; in __libc_format_fd()
605 { msg, os.total }, in __libc_fatal_va_list()
Dfortify.cpp109 size_t total; in __fread_chk() local
110 if (__predict_false(__size_mul_overflow(size, count, &total))) { in __fread_chk()
114 __check_buffer_access("fread", "write into", total, buf_size); in __fread_chk()
120 size_t total; in __fwrite_chk() local
121 if (__predict_false(__size_mul_overflow(size, count, &total))) { in __fwrite_chk()
125 __check_buffer_access("fwrite", "read from", total, buf_size); in __fwrite_chk()
/bionic/libc/dns/resolv/
Dres_stats.c129 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/malloc_debug/
DREADME_api.md14 *overall\_size* is set to the total size of the buffer returned. If this
17 *total\_memory* is set to the sum of all allocation sizes that are live at
41 *num\_allocations* contains the total number of allocations with the same
44 Each *uintptr\_t* is a pc of the callstack. If the total number
53 The total number of these structures returned in *info* is
DREADME.md168 If ALLOCATION\_COUNT is present, it indicates the total number of allocations
232 If TOTAL\_ENTRIES is set, then it indicates the total number of
/bionic/libc/include/
Dstdio.h447 size_t total; in fread() local
448 if (__size_mul_overflow(size, count, &total)) { in fread()
452 if (total > bos) { in fread()
471 size_t total; in fwrite() local
472 if (__size_mul_overflow(size, count, &total)) { in fwrite()
476 if (total > bos) { in fwrite()
/bionic/libc/kernel/uapi/linux/
Domapfb.h206 __u32 total; member
/bionic/libc/kernel/uapi/drm/
Ddrm.h259 int total; member
/bionic/libc/tools/
Dpylintrc61 # respectively contain the number of errors / warnings messages and the total