/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/tests/ |
D | malloc_iterate_test.cpp | 201 size_t total = test_data.total_allocated_bytes; in TEST() local 203 total = test_data.total_allocated_bytes - total; in TEST() 204 if (total > 0) { in TEST() 209 total); in TEST() 213 start, end, total); in TEST()
|
/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 | 998 size_t total = 1; in debug_malloc_info() local 1002 total++; in debug_malloc_info() 1005 MallocXmlElem(fd, "total").Contents("%zu", total); in debug_malloc_info()
|
D | README.md | 282 If ALLOCATION\_COUNT is present, it indicates the total number of allocations 358 If TOTAL\_ENTRIES is set, then it indicates the total number of 558 Total memory is the total of all of the currently live allocations. 559 Allocation records is the total number of allocation records.
|
/bionic/libc/bionic/ |
D | malloc_limit.cpp | 98 uint64_t total; in CheckLimit() local 100 atomic_load_explicit(&gAllocated, memory_order_relaxed), bytes, &total) || in CheckLimit() 101 total > gAllocLimit)) { in CheckLimit() 116 size_t total; in LimitCalloc() local 117 if (__builtin_mul_overflow(n_elements, elem_size, &total) || !CheckLimit(total)) { in LimitCalloc()
|
D | jemalloc_wrapper.cpp | 188 size_t total = 0; in je_malloc_info() local 196 total += mi.ordblks; in je_malloc_info() 199 MallocXmlElem(fd, "bins-total").Contents("%zu", total); in je_malloc_info()
|
D | fortify.cpp | 102 unsigned long total; in __fread_chk() local 103 if (__predict_false(__builtin_umull_overflow(size, count, &total))) { in __fread_chk() 107 __check_buffer_access("fread", "write into", total, buf_size); in __fread_chk() 112 unsigned long total; in __fwrite_chk() local 113 if (__predict_false(__builtin_umull_overflow(size, count, &total))) { in __fwrite_chk() 117 __check_buffer_access("fwrite", "read from", total, buf_size); in __fwrite_chk()
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 80 BufferOutputStream(char* buffer, size_t size) : total(0), pos_(buffer), avail_(size) { in BufferOutputStream() 89 total += len; in Send() 105 size_t total; member 114 explicit FdOutputStream(int fd) : total(0), fd_(fd) {} in FdOutputStream() 120 total += len; in Send() 132 size_t total; member 458 return os.total; in async_safe_format_buffer_va_list() 472 return os.total; in async_safe_format_fd_va_list()
|
/bionic/libc/stdio/ |
D | stdio.cpp | 1098 size_t total = desired_total; in fread_unlocked() local 1099 if (total == 0) return 0; in fread_unlocked() 1111 while (total > 0) { in fread_unlocked() 1113 size_t buffered_bytes = MIN(static_cast<size_t>(fp->_r), total); in fread_unlocked() 1118 total -= buffered_bytes; in fread_unlocked() 1121 if (total == 0) goto out; in fread_unlocked() 1124 if (total > static_cast<size_t>(fp->_bf._size)) break; in fread_unlocked() 1131 while (total > 0) { in fread_unlocked() 1133 int chunk_size = MIN(total, INT_MAX); in fread_unlocked() 1140 total -= bytes_read; in fread_unlocked() [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | omapfb.h | 157 __u32 total; member
|
/bionic/docs/ |
D | native_allocator.md | 131 another is total RSS taken by the allocator. 220 For these benchmarks, the last parameter is the total number of allocations to 375 trace (~13 million operations). The total number of live allocations goes
|
D | 32-bit-abi.md | 107 but 32-bit bionic's `pthread_mutex` is a total of 32 bits, leaving just
|
/bionic/libc/kernel/uapi/drm/ |
D | drm.h | 201 int total; member
|