/bionic/libc/upstream-dlmalloc/ |
D | malloc.h | 79 #define MALLINFO_FIELD_TYPE size_t 114 void* dlmalloc(size_t); 130 void* dlcalloc(size_t, size_t); 154 void* dlrealloc(void*, size_t); 169 void* dlrealloc_in_place(void*, size_t); 183 void* dlmemalign(size_t, size_t); 193 int dlposix_memalign(void**, size_t, size_t); 200 void* dlvalloc(size_t); 234 size_t dlmalloc_footprint(void); 247 size_t dlmalloc_max_footprint(void); [all …]
|
/bionic/libc/include/ |
D | malloc.h | 30 extern void* malloc(size_t byte_count) __mallocfunc __wur; 31 extern void* calloc(size_t item_count, size_t item_size) __mallocfunc __wur; 32 extern void* realloc(void* p, size_t byte_count) __wur; 35 extern void* memalign(size_t alignment, size_t byte_count) __mallocfunc __wur; 36 extern size_t malloc_usable_size(const void* p); 38 extern void* valloc(size_t byte_count) __mallocfunc __wur; 39 extern void* pvalloc(size_t byte_count) __mallocfunc __wur; 44 size_t arena; /* Total number of non-mmapped bytes currently allocated from OS. */ 45 size_t ordblks; /* Number of free chunks. */ 46 size_t smblks; /* (Unused.) */ [all …]
|
D | string.h | 37 extern void* memccpy(void* __restrict, const void* __restrict, int, size_t); 38 extern void* memchr(const void *, int, size_t) __purefunc; 39 extern void* memrchr(const void *, int, size_t) __purefunc; 40 extern int memcmp(const void *, const void *, size_t) __purefunc; 41 extern void* memcpy(void* __restrict, const void* __restrict, size_t); 42 extern void* memmove(void *, const void *, size_t); 43 extern void* memset(void *, int, size_t); 44 extern void* memmem(const void *, size_t, const void *, size_t) __purefunc; 45 extern void memswap(void *, void *, size_t); 51 extern size_t strlen(const char *) __purefunc; [all …]
|
D | wchar.h | 98 extern size_t mbrlen(const char *, size_t, mbstate_t *); 99 extern size_t mbrtowc(wchar_t *, const char *, size_t, mbstate_t *); 100 extern size_t mbsrtowcs(wchar_t *, const char **, size_t, mbstate_t *); 101 extern size_t mbstowcs(wchar_t *, const char *, size_t); 104 extern int swprintf(wchar_t *, size_t, const wchar_t *, ...); 111 extern int vswprintf(wchar_t *, size_t, const wchar_t *, va_list); 112 extern size_t wcrtomb(char *, wchar_t, mbstate_t *); 119 extern size_t wcscspn(const wchar_t *, const wchar_t *); 120 extern size_t wcsftime(wchar_t *, size_t, const wchar_t *, const struct tm *); 121 extern size_t wcslen(const wchar_t *); [all …]
|
D | stdlib.h | 64 extern int posix_memalign(void **memptr, size_t alignment, size_t size); 88 size_t nmemb, size_t size, 91 extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); 125 extern int ptsname_r(int, char*, size_t); 157 extern int mblen(const char *, size_t); 158 extern size_t mbstowcs(wchar_t *, const char *, size_t); 159 extern int mbtowc(wchar_t *, const char *, size_t); 163 extern size_t wcstombs(char *, const wchar_t *, size_t);
|
D | netdb.h | 211 int gethostbyaddr_r(const void *, int, int, struct hostent *, char *, size_t, struct hostent **, in… 213 int gethostbyname_r(const char *, struct hostent *, char *, size_t, struct hostent **, int *); 215 int gethostbyname2_r(const char *, int, struct hostent *, char *, size_t, struct hostent **, int *); 218 int gethostent_r(struct hostent *, char *, size_t, struct hostent **, int *); 219 struct hostent *getipnodebyaddr(const void *, size_t, int, int *); 222 int getnetbyaddr_r(uint32_t, int, struct netent *, char *, size_t, struct netent**, int *); 224 int getnetbyname_r(const char *, struct netent *, char *, size_t, struct netent **, int *); 226 int getnetent_r(struct netent *, char *, size_t, struct netent **, int *); 229 int getprotobyname_r(const char *, struct protoent *, char *, size_t, struct protoent **); 231 int getprotobynumber_r(int, struct protoent *, char *, size_t, struct protoent **); [all …]
|
D | strings.h | 46 void bcopy(const void *, void *, size_t); 47 void bzero(void *, size_t); 51 int strncasecmp(const char *, const char *, size_t); 55 void bzero (void *s, size_t n) { in bzero()
|
D | unistd.h | 86 extern int setgroups(size_t, const gid_t *); 120 extern int readlink(const char *, char *, size_t); 125 extern char *getcwd(char *, size_t); 133 extern ssize_t read(int, void *, size_t); 134 extern ssize_t write(int, const void *, size_t); 135 extern ssize_t pread(int, void *, size_t, off_t); 136 extern ssize_t pread64(int, void *, size_t, off64_t); 137 extern ssize_t pwrite(int, const void *, size_t, off_t); 138 extern ssize_t pwrite64(int, const void *, size_t, off64_t); 155 extern int gethostname(char *, size_t); [all …]
|
/bionic/libc/include/sys/ |
D | mman.h | 47 extern void* mmap(void *, size_t, int, int, int, off_t); 48 extern int munmap(void *, size_t); 49 extern int msync(const void *, size_t, int); 50 extern int mprotect(const void *, size_t, int); 51 extern void* mremap(void *, size_t, size_t, unsigned long); 55 extern int mlock(const void *, size_t); 56 extern int munlock(const void *, size_t); 57 extern int madvise(const void *, size_t, int); 59 extern int mlock(const void *addr, size_t len); 60 extern int munlock(const void *addr, size_t len); [all …]
|
D | xattr.h | 38 extern int fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); 39 extern int setxattr(const char *path, const char *name, const void *value, size_t size, int flags); 40 extern int lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); 42 extern ssize_t fgetxattr(int fd, const char *name, void *value, size_t size); 43 extern ssize_t getxattr(const char *path, const char *name, void *value, size_t size); 44 extern ssize_t lgetxattr(const char *path, const char *name, void *value, size_t size); 46 extern ssize_t listxattr(const char *path, char *list, size_t size); 47 extern ssize_t llistxattr(const char *path, char *list, size_t size); 48 extern ssize_t flistxattr(int fd, char *list, size_t size);
|
/bionic/libc/bionic/ |
D | malloc_debug_common.h | 46 #define MAX_SIZE_T (~(size_t)0) 50 #define MALLOC_ALIGNMENT ((size_t)(2 * sizeof(void *))) 58 size_t slot; 61 size_t numEntries; 63 size_t size; 64 size_t allocations; 69 size_t count; 74 typedef void* (*MallocDebugMalloc)(size_t); 76 typedef void* (*MallocDebugCalloc)(size_t, size_t); 77 typedef void* (*MallocDebugRealloc)(void*, size_t); [all …]
|
D | mmap.cpp | 36 extern "C" void* __mmap2(void*, size_t, int, int, int, size_t); 40 void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) { in mmap() 46 size_t unsigned_offset = static_cast<size_t>(offset); // To avoid sign extension. in mmap()
|
D | malloc_debug_leak.cpp | 94 static uint32_t get_hash(uintptr_t* backtrace, size_t numEntries) { in get_hash() 98 size_t i; in get_hash() 107 uintptr_t* backtrace, size_t numEntries, size_t size) { in find_entry() 127 static HashEntry* record_backtrace(uintptr_t* backtrace, size_t numEntries, size_t size) { in record_backtrace() 128 size_t hash = get_hash(backtrace, numEntries); in record_backtrace() 129 size_t slot = hash % HASHTABLE_SIZE; in record_backtrace() 214 extern "C" void* fill_calloc(size_t n_elements, size_t elem_size) { in fill_calloc() 218 extern "C" void* fill_malloc(size_t bytes) { in fill_malloc() 227 size_t bytes = dlmalloc_usable_size(mem); in fill_free() 232 extern "C" void* fill_realloc(void* mem, size_t bytes) { in fill_realloc() [all …]
|
D | __strlen_chk.cpp | 56 extern "C" size_t __strlen_chk(const char *s, size_t s_len) { in __strlen_chk() 57 size_t ret = strlen(s); in __strlen_chk()
|
D | __strlcat_chk.cpp | 45 extern "C" size_t __strlcat_chk(char *dest, const char *src, in __strlcat_chk() 46 size_t supplied_size, size_t dest_len_from_compiler) in __strlcat_chk()
|
D | __strlcpy_chk.cpp | 45 extern "C" size_t __strlcpy_chk(char *dest, const char *src, in __strlcpy_chk() 46 size_t supplied_size, size_t dest_len_from_compiler) in __strlcpy_chk()
|
/bionic/libc/kernel/common/linux/ |
D | relay.h | 37 size_t offset; 39 size_t subbufs_produced; 40 size_t subbufs_consumed; 51 size_t *padding; 52 size_t prev_padding; 54 size_t bytes_consumed; 61 size_t subbuf_size; 62 size_t n_subbufs; 64 size_t alloc_size; 69 size_t last_toobig; [all …]
|
D | omap_ion.h | 24 size_t w; 25 size_t h; 30 size_t stride; 31 size_t offset;
|
/bionic/libc/arch-arm/bionic/ |
D | eabi.c | 50 void __aeabi_memcpy8(void *dest, const void *src, size_t n) { in __aeabi_memcpy8() 54 void __aeabi_memcpy4(void *dest, const void *src, size_t n) { in __aeabi_memcpy4() 58 void __aeabi_memcpy(void *dest, const void *src, size_t n) { in __aeabi_memcpy() 63 void __aeabi_memmove8(void *dest, const void *src, size_t n) { in __aeabi_memmove8() 67 void __aeabi_memmove4(void *dest, const void *src, size_t n) { in __aeabi_memmove4() 71 void __aeabi_memmove(void *dest, const void *src, size_t n) { in __aeabi_memmove() 80 void __aeabi_memset8(void *dest, size_t n, int c) { in __aeabi_memset8() 84 void __aeabi_memset4(void *dest, size_t n, int c) { in __aeabi_memset4() 88 void __aeabi_memset(void *dest, size_t n, int c) { in __aeabi_memset() 93 void __aeabi_memclr8(void *dest, size_t n) { in __aeabi_memclr8() [all …]
|
/bionic/libc/upstream-netbsd/libc/include/isc/ |
D | memcluster.h | 41 int meminit(size_t, size_t); 42 void * __memget(size_t); 43 void __memput(void *, size_t); 44 void * __memget_debug(size_t, const char *, int); 45 void __memput_debug(void *, size_t, const char *, int); 46 void * __memget_record(size_t, const char *, int); 47 void __memput_record(void *, size_t, const char *, int);
|
/bionic/libc/netbsd/nameser/ |
D | ns_print.c | 53 # define SPRINTF(x) ((size_t)sprintf x) 62 static size_t prune_origin(const char *name, const char *origin); 64 char **buf, size_t *buflen); 65 static int addname(const u_char *msg, size_t msglen, 67 char **buf, size_t *buflen); 68 static void addlen(size_t len, char **buf, size_t *buflen); 69 static int addstr(const char *src, size_t len, 70 char **buf, size_t *buflen); 71 static int addtab(size_t len, size_t target, int spaced, 72 char **buf, size_t *buflen); [all …]
|
/bionic/libc/kernel/common/linux/mtd/ |
D | mtd.h | 72 size_t len; 74 size_t retlen; 75 size_t ooblen; 104 int (*point) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char **mtdbuf); 105 void (*unpoint) (struct mtd_info *mtd, u_char * addr, loff_t from, size_t len); 106 int (*read) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf); 107 int (*write) (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf); 114 int (*get_fact_prot_info) (struct mtd_info *mtd, struct otp_info *buf, size_t len); 115 …int (*read_fact_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *… 116 int (*get_user_prot_info) (struct mtd_info *mtd, struct otp_info *buf, size_t len); [all …]
|
/bionic/linker/ |
D | linker.h | 104 size_t phnum; 122 size_t nbucket; 123 size_t nchain; 130 size_t plt_rel_count; 133 size_t rel_count; 136 size_t preinit_array_count; 139 size_t init_array_count; 141 size_t fini_array_count; 149 size_t ARM_exidx_count; 156 size_t ref_count; [all …]
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
D | wcsnlen.c | 32 size_t 33 wcsnlen(const wchar_t *s, size_t maxlen) in wcsnlen() 35 size_t len; in wcsnlen()
|
/bionic/libc/string/ |
D | strlcat.c | 29 size_t 30 strlcat(char *dst, const char *src, size_t siz) in strlcat() 34 size_t n = siz; in strlcat() 35 size_t dlen; in strlcat()
|