/bionic/libc/dns/net/ |
D | getservent.c | 43 int total = 0; in getservent_r() local 55 total += namelen + 1; in getservent_r() 60 total += (count+1)*sizeof(char*); in getservent_r() 63 total += 1 + len2; in getservent_r() 68 p2 = realloc( (char*)rs->servent.s_aliases, total ); in getservent_r()
|
/bionic/libc/dns/resolv/ |
D | res_stats.c | 130 int total = successes + errors + timeouts; in _res_stats_usable_server() local 134 total, rtt_avg, params->min_samples); in _res_stats_usable_server() 136 if (total >= params->min_samples && (errors > 0 || timeouts > 0)) { in _res_stats_usable_server() 137 int success_rate = successes * 100 / total; in _res_stats_usable_server()
|
/bionic/libc/bionic/scudo/ |
D | scudo.cpp | 71 size_t total; local 72 if (__builtin_mul_overflow(item_count, item_size, &total) || AllocTooBig(total)) {
|
/bionic/libc/malloc_debug/ |
D | README_api.md | 14 *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
|
D | malloc_debug.cpp | 792 size_t total = 1; in debug_malloc_info() local 796 total++; in debug_malloc_info() 799 MallocXmlElem(fp, "total").Contents("%zu", total); in debug_malloc_info()
|
D | README.md | 210 If ALLOCATION\_COUNT is present, it indicates the total number of allocations 276 If TOTAL\_ENTRIES is set, then it indicates the total number of 476 Total memory is the total of all of the currently live allocations. 477 Allocation records is the total number of allocation records.
|
/bionic/libc/bionic/ |
D | jemalloc_wrapper.cpp | 155 size_t total = 0; in je_malloc_info() local 163 total += mi.ordblks; in je_malloc_info() 166 MallocXmlElem(fp, "bins-total").Contents("%zu", total); in je_malloc_info()
|
D | malloc_limit.cpp | 97 uint64_t total; in CheckLimit() local 99 atomic_load_explicit(&gAllocated, memory_order_relaxed), bytes, &total) || in CheckLimit() 100 total > gAllocLimit)) { in CheckLimit() 115 size_t total; in LimitCalloc() local 116 if (__builtin_add_overflow(n_elements, elem_size, &total) || !CheckLimit(total)) { in LimitCalloc()
|
D | fortify.cpp | 105 size_t total; in __fread_chk() local 106 if (__predict_false(__size_mul_overflow(size, count, &total))) { in __fread_chk() 110 __check_buffer_access("fread", "write into", total, buf_size); in __fread_chk() 115 size_t total; in __fwrite_chk() local 116 if (__predict_false(__size_mul_overflow(size, count, &total))) { in __fwrite_chk() 120 __check_buffer_access("fwrite", "read from", total, buf_size); in __fwrite_chk()
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 71 BufferOutputStream(char* buffer, size_t size) : total(0), pos_(buffer), avail_(size) { in BufferOutputStream() 80 total += len; in Send() 96 size_t total; member 105 explicit FdOutputStream(int fd) : total(0), fd_(fd) {} in FdOutputStream() 111 total += len; in Send() 123 size_t total; member 416 return os.total; in async_safe_format_buffer_va_list() 430 return os.total; in async_safe_format_fd_va_list()
|
/bionic/libc/stdio/ |
D | stdio.cpp | 1105 size_t total = desired_total; in fread_unlocked() local 1106 if (total == 0) return 0; in fread_unlocked() 1118 while (total > 0) { in fread_unlocked() 1120 size_t buffered_bytes = MIN(static_cast<size_t>(fp->_r), total); in fread_unlocked() 1125 total -= buffered_bytes; in fread_unlocked() 1128 if (total == 0) goto out; in fread_unlocked() 1131 if (total > static_cast<size_t>(fp->_bf._size)) break; in fread_unlocked() 1138 while (total > 0) { in fread_unlocked() 1139 ssize_t bytes_read = (*fp->_read)(fp->_cookie, dst, total); in fread_unlocked() 1145 total -= bytes_read; in fread_unlocked() [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | omapfb.h | 169 __u32 total; member
|
/bionic/docs/ |
D | 32-bit-abi.md | 97 but 32-bit bionic's `pthread_mutex` is a total of 32 bits, leaving just
|
/bionic/libc/kernel/uapi/drm/ |
D | drm.h | 212 int total; member
|
/bionic/libc/tools/ |
D | pylintrc | 61 # respectively contain the number of errors / warnings messages and the total
|