Searched refs:total (Results 1 - 14 of 14) sorted by relevance

/bionic/libc/dns/net/
H A Dgetservent.c43 int total = 0; local
53 /* first compute the total size */
55 total += namelen + 1;
60 total += (count+1)*sizeof(char*);
63 total += 1 + len2;
68 p2 = realloc( (char*)rs->servent.s_aliases, total );
/bionic/libc/bionic/
H A Dmalloc_info.cpp77 size_t total = 0; local
85 total += mi.ordblks;
88 Elem(fp, "bins-total").contents("%zu", total);
H A Dfortify.cpp105 size_t total; local
106 if (__predict_false(__size_mul_overflow(size, count, &total))) {
110 __check_buffer_access("fread", "write into", total, buf_size);
115 size_t total; local
116 if (__predict_false(__size_mul_overflow(size, count, &total))) {
120 __check_buffer_access("fwrite", "read from", total, buf_size);
/bionic/libc/dns/resolv/
H A Dres_stats.c130 int total = successes + errors + timeouts; local
134 total, rtt_avg, params->min_samples);
136 if (total >= params->min_samples && (errors > 0 || timeouts > 0)) {
137 int success_rate = successes * 100 / total;
/bionic/libc/include/bits/fortify/
H A Dstdio.h181 size_t total; local
182 if (__size_mul_overflow(size, count, &total)) {
186 if (total > bos) {
205 size_t total; local
206 if (__size_mul_overflow(size, count, &total)) {
210 if (total > bos) {
/bionic/tools/versioner/current/bits/fortify/
H A Dstdio.h181 size_t total; local
182 if (__size_mul_overflow(size, count, &total)) {
186 if (total > bos) {
205 size_t total; local
206 if (__size_mul_overflow(size, count, &total)) {
210 if (total > bos) {
/bionic/libc/async_safe/
H A Dasync_safe_log.cpp64 BufferOutputStream(char* buffer, size_t size) : total(0), pos_(buffer), avail_(size) {
73 total += len;
89 size_t total; member in struct:BufferOutputStream
98 explicit FdOutputStream(int fd) : total(0), fd_(fd) {}
104 total += len;
116 size_t total; member in struct:FdOutputStream
409 return os.total;
426 return os.total;
540 {msg, os.total}, {const_cast<char*>("\n"), 1},
/bionic/libc/stdio/
H A Dstdio.cpp1050 size_t total = desired_total; local
1051 if (total == 0) return 0;
1063 while (total > 0) {
1065 size_t buffered_bytes = MIN(static_cast<size_t>(fp->_r), total);
1070 total -= buffered_bytes;
1073 if (total == 0) goto out;
1076 if (total > static_cast<size_t>(fp->_bf._size)) break;
1083 while (total > 0) {
1084 ssize_t bytes_read = (*fp->_read)(fp->_cookie, dst, total);
1090 total
[all...]
/bionic/libc/kernel/uapi/linux/
H A Domapfb.h169 __u32 total; member in struct:omapfb_vram_info
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Domapfb.h169 __u32 total; member in struct:omapfb_vram_info
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Domapfb.h169 __u32 total; member in struct:omapfb_vram_info
/bionic/libc/kernel/uapi/drm/
H A Ddrm.h211 int total; member in struct:drm_buf_pub
/bionic/libc/versioner-dependencies/common/kernel_uapi/drm/
H A Ddrm.h211 int total; member in struct:drm_buf_pub
/bionic/tools/versioner/dependencies/common/kernel_uapi/drm/
H A Ddrm.h211 int total; member in struct:drm_buf_pub

Completed in 285 milliseconds