| /bionic/libc/malloc_hooks/ |
| D | malloc_hooks.cpp | 81 static void* default_malloc_hook(size_t bytes, const void*) { in default_malloc_hook() 85 static void* default_realloc_hook(void* pointer, size_t bytes, const void*) { in default_realloc_hook() 93 static void* default_memalign_hook(size_t alignment, size_t bytes, const void*) { in default_memalign_hook() 142 void* hooks_memalign(size_t alignment, size_t bytes) { in hooks_memalign() 149 void* hooks_realloc(void* pointer, size_t bytes) { in hooks_realloc() 156 void* hooks_calloc(size_t nmemb, size_t bytes) { in hooks_calloc() 231 void* hooks_pvalloc(size_t bytes) { in hooks_pvalloc()
|
| /bionic/libc/bionic/ |
| D | malloc_limit.cpp | 97 static inline bool CheckLimit(size_t bytes) { in CheckLimit() 138 void* LimitMalloc(size_t bytes) { in LimitMalloc() 150 static void* LimitMemalign(size_t alignment, size_t bytes) { in LimitMemalign() 196 static void* LimitRealloc(void* old_mem, size_t bytes) { in LimitRealloc() 232 static void* LimitPvalloc(size_t bytes) { in LimitPvalloc() 244 static void* LimitValloc(size_t bytes) { in LimitValloc()
|
| D | malloc_common.cpp | 137 extern "C" void* malloc(size_t bytes) { in malloc() 161 extern "C" void* memalign(size_t alignment, size_t bytes) { in memalign() 199 extern "C" __attribute__((__noinline__)) void* realloc(void* old_mem, size_t bytes) { in realloc() 224 extern "C" void* pvalloc(size_t bytes) { in pvalloc() 236 extern "C" void* valloc(size_t bytes) { in valloc()
|
| D | netinet_ether.cpp | 34 int bytes[ETHER_ADDR_LEN], end; in ether_aton_r() local
|
| D | gwp_asan_wrappers.cpp | 75 size_t bytes; in gwp_asan_calloc() local 93 void* gwp_asan_malloc(size_t bytes) { in gwp_asan_malloc() 109 void* gwp_asan_realloc(void* old_mem, size_t bytes) { in gwp_asan_realloc()
|
| D | jemalloc_wrapper.cpp | 38 void* je_pvalloc(size_t bytes) { in je_pvalloc()
|
| D | malloc_heapprofd.cpp | 398 extern "C" void* MallocInitHeapprofdHook(size_t bytes) { in MallocInitHeapprofdHook()
|
| D | bionic_elf_tls.cpp | 292 size_t bytes = dtv_size_in_bytes(MAX(1, loaded_cnt)); in calculate_new_dtv_count() local
|
| /bionic/tests/ |
| D | uchar_test.cpp | 112 char bytes[MB_LEN_MAX]; in TEST() local 117 char bytes[MB_LEN_MAX]; in TEST() local 155 char bytes[MB_LEN_MAX]; in TEST() local 311 char bytes[MB_LEN_MAX]; in TEST() local
|
| D | arpa_inet_test.cpp | 249 const unsigned char bytes[] = {0x01, 0x00, 0x02, 0x0e, 0xf0, 0x20}; in TEST() local 261 const unsigned char bytes[] = {0x01, 0x00, 0x02, 0x0e, 0xf0, 0x20}; in TEST() local
|
| D | malloc_test.cpp | 1193 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return calloc(bytes, 1) != nullptr; }), in TEST() 1195 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return calloc(1, bytes) != nullptr; }), in TEST() 1197 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return malloc(bytes) != nullptr; }), in TEST() 1200 [](size_t bytes) { return memalign(sizeof(void*), bytes) != nullptr; }), in TEST() 1202 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { in TEST() 1208 [](size_t bytes) { return aligned_alloc(sizeof(void*), bytes) != nullptr; }), in TEST() 1210 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { in TEST() 1216 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return pvalloc(bytes) != nullptr; }), in TEST() 1218 EXPECT_EXIT(CheckAllocationFunction([](size_t bytes) { return valloc(bytes) != nullptr; }), in TEST()
|
| D | wchar_test.cpp | 69 char bytes[] = { 'h', 'e', 'l', 'l', 'o', '\0' }; in TEST() local 84 char bytes[MB_LEN_MAX]; in TEST() local 160 char bytes[BUFSIZ]; in TEST() local
|
| /bionic/libc/upstream-netbsd/lib/libc/isc/ |
| D | ev_streams.c | 233 consume(evStream *str, size_t bytes) { in consume() 272 int bytes; in writable() local 295 int bytes; in readable() local
|
| /bionic/libc/malloc_debug/ |
| D | malloc_debug.cpp | 573 size_t bytes = InternalMallocUsableSize(pointer); in InternalMalloc() local 626 size_t bytes; in InternalFree() local 724 void* debug_memalign(size_t alignment, size_t bytes) { in debug_memalign() 806 size_t bytes = InternalMallocUsableSize(pointer); in debug_memalign() local 825 void* debug_realloc(void* pointer, size_t bytes) { in debug_realloc() 972 size_t bytes = InternalMallocUsableSize(new_pointer); in debug_realloc() local 996 void* debug_calloc(size_t nmemb, size_t bytes) { in debug_calloc() 1190 void* debug_pvalloc(size_t bytes) { in debug_pvalloc()
|
| /bionic/libc/stdio/ |
| D | vfscanf.cpp | 319 size_t bytes = 0; in __svfscanf() local 408 size_t bytes = 0; in __svfscanf() local
|
| /bionic/libc/kernel/uapi/mtd/ |
| D | ubi-user.h | 58 __s64 bytes; member 66 __s64 bytes; member 81 __s32 bytes; member
|
| /bionic/libc/kernel/uapi/linux/netfilter/ |
| D | xt_set.h | 53 struct ip_set_counter_match0 bytes; member 66 struct ip_set_counter_match bytes; member
|
| D | xt_sctp.h | 33 #define bytes(type) (sizeof(type) * 8) macro
|
| /bionic/benchmarks/ |
| D | malloc_rss_benchmark.cpp | 57 void dirtyMem(void* ptr, size_t bytes) { in dirtyMem()
|
| /bionic/linker/ |
| D | linker_block_allocator.cpp | 46 uint8_t bytes[kAllocateSize - 16] __attribute__((aligned(16))); member
|
| /bionic/libc/kernel/uapi/linux/ |
| D | gen_stats.h | 24 __u64 bytes; member
|
| D | blktrace_api.h | 85 __u32 bytes; member
|
| /bionic/libc/kernel/uapi/drm/ |
| D | omap_drm.h | 28 __u32 bytes; member
|
| /bionic/libc/upstream-openbsd/lib/libc/crypt/ |
| D | chacha_private.h | 89 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes) in chacha_encrypt_bytes()
|
| /bionic/benchmarks/tests/ |
| D | interface_test.cpp | 124 ssize_t bytes = TEMP_FAILURE_RETRY(read(fd_, buffer, sizeof(buffer) - 1)); in RunTest() local
|