/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(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 *, const void *, 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 *, const void *, 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 | 95 extern size_t mbrlen(const char *, size_t, mbstate_t *); 96 extern size_t mbrtowc(wchar_t *, const char *, size_t, mbstate_t *); 97 extern size_t mbsrtowcs(wchar_t *, const char **, size_t, mbstate_t *); 98 extern size_t mbstowcs(wchar_t *, const char *, size_t); 101 extern int swprintf(wchar_t *, size_t, const wchar_t *, ...); 108 extern int vswprintf(wchar_t *, size_t, const wchar_t *, va_list); 109 extern size_t wcrtomb(char *, wchar_t, mbstate_t *); 116 extern size_t wcscspn(const wchar_t *, const wchar_t *); 117 extern size_t wcsftime(wchar_t *, size_t, const wchar_t *, const struct tm *); 118 extern size_t wcslen(const wchar_t *); [all …]
|
D | stdlib.h | 64 extern int posix_memalign(void **memptr, size_t alignment, size_t size); 96 size_t nmemb, size_t size, 99 extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); 133 extern int ptsname_r(int, char*, size_t); 165 extern int mblen(const char *, size_t); 166 extern size_t mbstowcs(wchar_t *, const char *, size_t); 167 extern int mbtowc(wchar_t *, const char *, size_t); 171 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) 53 size_t slot; 56 size_t numEntries; 58 size_t size; 59 size_t allocations; 64 size_t count; 69 typedef void* (*MallocDebugMalloc)(size_t); 71 typedef void* (*MallocDebugCalloc)(size_t, size_t); 72 typedef void* (*MallocDebugRealloc)(void*, size_t); 73 typedef void* (*MallocDebugMemalign)(size_t, size_t);
|
D | __strncat_chk.cpp | 46 size_t len, size_t dest_buf_size) in __strncat_chk() 49 size_t dest_len = strlen(dest); in __strncat_chk() 50 size_t src_len = strlen(src); in __strncat_chk() 55 size_t sum; in __strncat_chk()
|
D | malloc_debug_leak.cpp | 71 #define MALLOC_ALIGNMENT ((size_t)8U) 93 static uint32_t get_hash(uintptr_t* backtrace, size_t numEntries) { in get_hash() 97 size_t i; in get_hash() 106 uintptr_t* backtrace, size_t numEntries, size_t size) { in find_entry() 126 static HashEntry* record_backtrace(uintptr_t* backtrace, size_t numEntries, size_t size) { in record_backtrace() 127 size_t hash = get_hash(backtrace, numEntries); in record_backtrace() 128 size_t slot = hash % HASHTABLE_SIZE; in record_backtrace() 213 extern "C" void* fill_calloc(size_t n_elements, size_t elem_size) { in fill_calloc() 217 extern "C" void* fill_malloc(size_t bytes) { in fill_malloc() 226 size_t bytes = dlmalloc_usable_size(mem); in fill_free() [all …]
|
D | mmap.c | 32 extern void* __mmap2(void*, size_t, int, int, int, size_t); 35 void* mmap(void *addr, size_t size, int prot, int flags, int fd, long offset) in mmap() 42 return __mmap2(addr, size, prot, flags, fd, (size_t)offset >> MMAP2_SHIFT); in mmap()
|
D | __strcat_chk.cpp | 45 extern "C" char *__strcat_chk (char *dest, const char *src, size_t dest_buf_size) { in __strcat_chk() 47 size_t src_len = strlen(src); in __strcat_chk() 48 size_t dest_len = strlen(dest); in __strcat_chk() 49 size_t sum; in __strcat_chk()
|
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 | 95 size_t phnum; 113 size_t nbucket; 114 size_t nchain; 121 size_t plt_rel_count; 124 size_t rel_count; 127 size_t preinit_array_count; 130 size_t init_array_count; 132 size_t fini_array_count; 140 size_t ARM_exidx_count; 147 size_t ref_count; [all …]
|