Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 224) sorted by relevance

123456789

/bionic/libc/include/bits/fortify/
Dstdio.h46 int vsnprintf(char* const __BIONIC_COMPLICATED_NULLNESS __pass_object_size dest, size_t size, const… in vsnprintf()
77 int snprintf(char* const __BIONIC_COMPLICATED_NULLNESS __pass_object_size dest, size_t size, const … in snprintf()
88 #define __bos_trivially_ge_mul(bos_val, size, count) \ argument
93 size_t fread(void* const _Nonnull __pass_object_size0 buf, size_t size, size_t count, FILE* _Nonnul… in fread()
110 size_t fwrite(const void* const _Nonnull __pass_object_size0 buf, size_t size, size_t count, FILE* … in fwrite()
128 char* _Nullable fgets(char* const _Nonnull __pass_object_size dest, int size, FILE* _Nonnull stream) in fgets()
Dunistd.h101 char* _Nullable getcwd(char* const _Nullable __pass_object_size buf, size_t size) in getcwd()
209 …ize_t readlink(const char* _Nonnull path, char* _Nonnull const __pass_object_size buf, size_t size) in readlink()
224 …kat(int dirfd, const char* _Nonnull path, char* const _Nonnull __pass_object_size buf, size_t size) in readlinkat()
/bionic/libc/kernel/uapi/asm-generic/
Dioctl.h34 #define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr) << _I… argument
37 #define _IOR(type,nr,size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) argument
38 #define _IOW(type,nr,size) _IOC(_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument
39 #define _IOWR(type,nr,size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument
40 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ, (type), (nr), sizeof(size)) argument
41 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE, (type), (nr), sizeof(size)) argument
42 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), sizeof(size)) argument
/bionic/libc/bionic/
Dnew.cpp27 void* operator new(std::size_t size) { in operator new()
34 void* operator new[](std::size_t size) { in operator new[]()
43 void* operator new(std::size_t size, const std::nothrow_t&) { in operator new()
46 void* operator new[](std::size_t size, const std::nothrow_t&) { in operator new[]()
Djemalloc_wrapper.cpp40 size_t size = __BIONIC_ALIGN(bytes, pagesize); in je_pvalloc() local
54 void* je_memalign_round_up_boundary(size_t boundary, size_t size) { in je_memalign_round_up_boundary()
71 void* je_aligned_alloc_wrapper(size_t alignment, size_t size) { in je_aligned_alloc_wrapper()
149 je_stats_arena(i, [](size_t index, size_t size, size_t allocs) { in je_mallopt()
Dbionic_allocator.cpp264 void* BionicAllocator::alloc_mmap(size_t align, size_t size) { in alloc_mmap()
291 inline void* BionicAllocator::alloc_impl(size_t align, size_t size) { in alloc_impl()
305 void* BionicAllocator::alloc(size_t size) { in alloc()
313 void* BionicAllocator::memalign(size_t align, size_t size) { in memalign()
340 void* BionicAllocator::realloc(void* ptr, size_t size) { in realloc()
Dmalloc_common.cpp173 extern "C" int posix_memalign(void** memptr, size_t alignment, size_t size) { in posix_memalign()
187 extern "C" void* aligned_alloc(size_t alignment, size_t size) { in aligned_alloc()
255 void CallbackWrapper(uintptr_t base, size_t size, void* arg) { in CallbackWrapper()
271 extern "C" int malloc_iterate(uintptr_t base, size_t size, in malloc_iterate()
316 extern "C" int __sanitizer_malloc_iterate(uintptr_t base __unused, size_t size __unused, in __sanitizer_malloc_iterate()
Dexecinfo.cpp93 int backtrace(void** buffer, int size) { in backtrace()
103 char** backtrace_symbols(void* const* buffer, int size) { in backtrace_symbols()
170 void backtrace_symbols_fd(void* const* buffer, int size, int fd) { in backtrace_symbols_fd()
Dscandir.cpp40 size_t size() { in size() function in ScandirResult
83 size_t size = ((original->d_reclen + 3) & ~3); in CopyDirent() local
124 size_t size = names.size(); in scandirat() local
Dsys_statfs.cpp25 # define __fstatfs64(fd,size,buf) __fstatfs(fd,buf) argument
26 # define __statfs64(path,size,buf) __statfs(path,buf) argument
Dandroid_set_abort_message.cpp46 size_t size; member
87 size_t size = sizeof(magic_abort_msg_t) + strlen(msg) + 1; in android_set_abort_message() local
/bionic/libc/malloc_hooks/
Dmalloc_hooks.cpp128 void* hooks_malloc(size_t size) { in hooks_malloc()
158 size_t size; in hooks_calloc() local
183 void* hooks_aligned_alloc(size_t alignment, size_t size) { in hooks_aligned_alloc()
198 int hooks_posix_memalign(void** memptr, size_t alignment, size_t size) { in hooks_posix_memalign()
233 size_t size = __BIONIC_ALIGN(bytes, pagesize); in hooks_pvalloc() local
242 void* hooks_valloc(size_t size) { in hooks_valloc()
/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_ntop.c45 inet_ntop(int af, const void *src, char *dst, socklen_t size) in inet_ntop()
72 inet_ntop4(const u_char *src, char *dst, size_t size) in inet_ntop4()
94 inet_ntop6(const u_char *src, char *dst, size_t size) in inet_ntop6()
/bionic/libc/kernel/uapi/linux/
Diommufd.h31 __u32 size; member
36 __u32 size; member
46 __u32 size; member
55 __u32 size; member
68 __u32 size; member
78 __u32 size; member
88 __u32 size; member
103 __u32 size; member
117 __u32 size; member
144 __u32 size; member
[all …]
Duser_events.h14 #define DYN_LOC(offset,size) ((size) << 16 | (offset)) argument
21 __u32 size; member
30 __u32 size; member
Dudmabuf.h16 __u64 size; member
22 __u64 size; member
Duhid.h56 __u16 size; member
61 __u16 size; member
72 __u16 size; member
79 __u16 size; member
107 __u16 size; member
122 __u16 size; member
/bionic/tests/
Dstruct_layout_test.cpp28 #define CHECK_SIZE(name, size) \ in tests() argument
132 auto check_size = [&](const char* name, size_t size, size_t expected_size) { in TEST()
152 auto print_size = [&](const char* name, size_t size, size_t expected_size) { in TEST()
Dmalloc_iterate_test.cpp42 size_t size; member
52 static void AllocPtr(TestDataType* test_data, size_t size) { in AllocPtr()
69 static void SavePointers(uintptr_t base, size_t size, void* data) { in SavePointers()
129 for (size_t size : sizes) { in AllocateSizes() local
/bionic/libc/kernel/uapi/drm/
Darmada_drm.h19 __u32 size; member
26 __u64 size; member
34 __u32 size; member
/bionic/libc/kernel/uapi/asm-x86/asm/
Dmtrr.h16 unsigned int size; member
22 unsigned int size; member
28 __u32 size; member
33 __u32 size; member
/bionic/libc/malloc_debug/
Dmalloc_debug.cpp357 static void* InitHeader(Header* header, void* orig_pointer, size_t size) { in InitHeader()
523 static TimedResult InternalMalloc(size_t size) { in InternalMalloc()
583 void* debug_malloc(size_t size) { in debug_malloc()
686 size_t size; in debug_free() local
1006 size_t size; in debug_calloc() local
1100 size_t size = list[i].size; in debug_malloc_info() local
1112 void* debug_aligned_alloc(size_t alignment, size_t size) { in debug_aligned_alloc()
1125 int debug_posix_memalign(void** memptr, size_t alignment, size_t size) { in debug_posix_memalign()
1141 int debug_malloc_iterate(uintptr_t base, size_t size, void (*callback)(uintptr_t, size_t, void*), in debug_malloc_iterate() argument
1198 size_t size = __BIONIC_ALIGN(bytes, pagesize); in debug_pvalloc() local
[all …]
/bionic/libc/kernel/uapi/sound/
Dasoc.h117 __le32 size; member
136 __le32 size; member
146 __le32 size; member
158 __le32 size; member
166 __le32 size; member
177 __le32 size; member
185 __le32 size; member
202 __le32 size; member
211 __le32 size; member
234 __le32 size; member
[all …]
/bionic/benchmarks/
Dbionic_benchmarks.cpp239 int64_t size; in ParseOnebufManualStr() local
283 int64_t size; in ParseTwobufManualStr() local
483 for (int size : sizes) { in SetArgs() local
489 for (int size : sizes) { in SetArgs() local
496 for (int size : sizes) { in SetArgs() local
563 for (int size : all_sizes) { in GetShorthand() local
/bionic/libc/dns/resolv/
Dres_debug.h25 # define DprintQ(cond, args, query, size) /*empty*/ argument
30 # define DprintQ(cond, args, query, size) if (cond) {\ argument

123456789