Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 196) 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()
/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.cpp146 extern "C" int posix_memalign(void** memptr, size_t alignment, size_t size) { in posix_memalign()
160 extern "C" void* aligned_alloc(size_t alignment, size_t size) { in aligned_alloc()
228 void CallbackWrapper(uintptr_t base, size_t size, void* arg) { in CallbackWrapper()
244 extern "C" int malloc_iterate(uintptr_t base, size_t size, in malloc_iterate()
289 extern "C" int __sanitizer_malloc_iterate(uintptr_t base __unused, size_t size __unused, in __sanitizer_malloc_iterate()
Dscandir.cpp41 size_t size() { in size() function in ScandirResult
87 size_t size = ((original->d_reclen + 3) & ~3); in CopyDirent() local
126 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/bionic/scudo/
Dscudo.cpp57 void* scudo_aligned_alloc(size_t alignment, size_t size) {
129 int scudo_posix_memalign(void** memptr, size_t alignment, size_t size) {
142 void* scudo_pvalloc(size_t size) {
152 void* scudo_valloc(size_t size) {
/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()
419 static void* InternalMalloc(size_t size) { in InternalMalloc()
469 void* debug_malloc(size_t size) { in debug_malloc()
773 size_t size; in debug_calloc() local
852 size_t size = list[i].size; in debug_malloc_info() local
864 void* debug_aligned_alloc(size_t alignment, size_t size) { in debug_aligned_alloc()
875 int debug_posix_memalign(void** memptr, size_t alignment, size_t size) { in debug_posix_memalign()
889 int debug_malloc_iterate(uintptr_t base, size_t size, void (*callback)(uintptr_t, size_t, void*), in debug_malloc_iterate() argument
943 size_t size = __BIONIC_ALIGN(bytes, pagesize); in debug_pvalloc() local
952 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/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.h125 __le32 size; member
144 __le32 size; member
154 __le32 size; member
166 __le32 size; member
174 __le32 size; member
185 __le32 size; member
193 __le32 size; member
210 __le32 size; member
219 __le32 size; member
242 __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/tests/
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()
127 for (size_t size : sizes) { in AllocateSizes() local
/bionic/libc/kernel/uapi/misc/
Dfastrpc.h50 __u64 size; member
56 __u64 size; member
61 __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/linker/
Dlinker_phdr.cpp292 bool ElfReader::CheckFileRange(ElfW(Addr) offset, size_t size, size_t alignment) { in CheckFileRange()
321 size_t size = phdr_num_ * sizeof(ElfW(Phdr)); in ReadProgramHeaders() local
347 size_t size = shdr_num_ * sizeof(ElfW(Shdr)); in ReadSectionHeaders() local
523 static void* ReserveAligned(size_t size, size_t align) { in ReserveAligned()
850 ssize_t size = seg_page_end - seg_page_start; in phdr_table_serialize_gnu_relro() local
917 size_t size = seg_page_end - seg_page_start; in phdr_table_map_gnu_relro() 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