Home
last modified time | relevance | path

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

12345678

/bionic/libc/include/bits/fortify/
Dstdio.h42 int vsnprintf(char* const __pass_object_size dest, size_t size, const char* format, va_list ap) in vsnprintf()
72 int snprintf(char* const __pass_object_size dest, size_t size, const char* format, ...) in snprintf()
82 #define __bos_trivially_ge_mul(bos_val, size, count) \ argument
87 size_t fread(void* const __pass_object_size0 buf, size_t size, size_t count, FILE* stream) in fread()
104 size_t fwrite(const void* const __pass_object_size0 buf, size_t size, size_t count, FILE* stream) in fwrite()
122 char* fgets(char* const __pass_object_size dest, int size, FILE* stream) in fgets()
Dunistd.h73 char* getcwd(char* const __pass_object_size buf, size_t size) in getcwd()
181 ssize_t readlink(const char* path, char* const __pass_object_size buf, size_t size) in readlink()
197 ssize_t readlinkat(int dirfd, const char* path, char* const __pass_object_size buf, size_t size) in readlinkat()
/bionic/libc/kernel/uapi/asm-generic/
Dioctl.h46 #define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr) << _I… argument
49 #define _IOR(type,nr,size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) argument
50 #define _IOW(type,nr,size) _IOC(_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument
51 #define _IOWR(type,nr,size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument
52 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ, (type), (nr), sizeof(size)) argument
53 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE, (type), (nr), sizeof(size)) argument
54 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), sizeof(size)) argument
/bionic/libc/bionic/
Dnew.cpp26 void* operator new(std::size_t size) { in operator new()
34 void* operator new[](std::size_t size) { in operator new[]()
50 void* operator new(std::size_t size, const std::nothrow_t&) { in operator new()
54 void* operator new[](std::size_t size, const std::nothrow_t&) { in operator new[]()
Dbionic_allocator.cpp268 void* BionicAllocator::alloc_mmap(size_t align, size_t size) { in alloc_mmap()
295 inline void* BionicAllocator::alloc_impl(size_t align, size_t size) { in alloc_impl()
309 void* BionicAllocator::alloc(size_t size) { in alloc()
317 void* BionicAllocator::memalign(size_t align, size_t size) { in memalign()
343 void* BionicAllocator::realloc(void* ptr, size_t size) { in realloc()
Djemalloc_wrapper.cpp28 size_t size = __BIONIC_ALIGN(bytes, pagesize); in je_pvalloc() local
42 void* je_memalign_round_up_boundary(size_t boundary, size_t size) { in je_memalign_round_up_boundary()
59 void* je_aligned_alloc_wrapper(size_t alignment, size_t size) { in je_aligned_alloc_wrapper()
Dmalloc_common.cpp157 extern "C" int posix_memalign(void** memptr, size_t alignment, size_t size) { in posix_memalign()
171 extern "C" void* aligned_alloc(size_t alignment, size_t size) { in aligned_alloc()
239 void CallbackWrapper(uintptr_t base, size_t size, void* arg) { in CallbackWrapper()
255 extern "C" int malloc_iterate(uintptr_t base, size_t size, in malloc_iterate()
300 extern "C" int __sanitizer_malloc_iterate(uintptr_t base __unused, size_t size __unused, in __sanitizer_malloc_iterate()
Dscandir.cpp40 size_t size() { in size() function in ScandirResult
86 size_t size = ((original->d_reclen + 3) & ~3); in CopyDirent() local
125 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.cpp43 size_t size; member
80 size_t size = sizeof(magic_abort_msg_t) + strlen(msg) + 1; in android_set_abort_message() local
Dmmap.cpp44 void* mmap64(void* addr, size_t size, int prot, int flags, int fd, off64_t offset) { in mmap64()
75 void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) { in mmap()
/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/malloc_debug/
Dmalloc_debug.cpp265 static void* InitHeader(Header* header, void* orig_pointer, size_t size) { in InitHeader()
418 static void* InternalMalloc(size_t size) { in InternalMalloc()
468 void* debug_malloc(size_t size) { in debug_malloc()
772 size_t size; in debug_calloc() local
851 size_t size = list[i].size; in debug_malloc_info() local
863 void* debug_aligned_alloc(size_t alignment, size_t size) { in debug_aligned_alloc()
874 int debug_posix_memalign(void** memptr, size_t alignment, size_t size) { in debug_posix_memalign()
888 int debug_malloc_iterate(uintptr_t base, size_t size, void (*callback)(uintptr_t, size_t, void*), in debug_malloc_iterate() argument
942 size_t size = __BIONIC_ALIGN(bytes, pagesize); in debug_pvalloc() local
951 void* debug_valloc(size_t size) { in debug_valloc()
DRecordData.cpp57 MallocEntry::MallocEntry(void* pointer, size_t size) : AllocEntry(pointer), size_(size) {} in MallocEntry()
69 CallocEntry::CallocEntry(void* pointer, size_t nmemb, size_t size) in CallocEntry()
76 ReallocEntry::ReallocEntry(void* pointer, size_t size, void* old_pointer) in ReallocEntry()
84 MemalignEntry::MemalignEntry(void* pointer, size_t size, size_t alignment) in MemalignEntry()
/bionic/tests/
Dstruct_layout_test.cpp28 #define CHECK_SIZE(name, size) \ in tests() argument
124 auto check_size = [&](const char* name, size_t size, size_t expected_size) { in TEST()
144 auto print_size = [&](const char* name, size_t size, size_t expected_size) { in TEST()
Dmalloc_iterate_test.cpp41 size_t size; member
51 static void AllocPtr(TestDataType* test_data, size_t size) { in AllocPtr()
68 static void SavePointers(uintptr_t base, size_t size, void* data) { in SavePointers()
128 for (size_t size : sizes) { in AllocateSizes() local
/bionic/libc/kernel/uapi/drm/
Darmada_drm.h31 __u32 size; member
38 __u64 size; member
46 __u32 size; member
Dsis_drm.h42 unsigned long size; member
46 unsigned long offset, size; member
49 unsigned long offset, size; member
/bionic/libc/kernel/uapi/sound/
Dasoc.h129 __le32 size; member
148 __le32 size; member
158 __le32 size; member
170 __le32 size; member
178 __le32 size; member
189 __le32 size; member
197 __le32 size; member
214 __le32 size; member
223 __le32 size; member
246 __le32 size; member
[all …]
/bionic/libc/kernel/uapi/asm-x86/asm/
Dmtrr.h28 unsigned int size; member
34 unsigned int size; member
40 __u32 size; member
45 __u32 size; member
/bionic/libc/kernel/uapi/misc/
Dfastrpc.h51 __u64 size; member
57 __u64 size; member
62 __u64 size; member
/bionic/benchmarks/
Dbionic_benchmarks.cpp239 int64_t size; in ParseOnebufManualStr() local
283 int64_t size; in ParseTwobufManualStr() local
463 for (int size : sizes) { in SetArgs() local
469 for (int size : sizes) { in SetArgs() local
476 for (int size : sizes) { in SetArgs() local
533 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
/bionic/libc/kernel/uapi/linux/
Dudmabuf.h28 __u64 size; member
34 __u64 size; member

12345678