/bionic/libc/include/ |
D | malloc.h | 36 extern __mallocfunc void* malloc(size_t); 37 extern __mallocfunc void* calloc(size_t, size_t); 38 extern __mallocfunc void* realloc(void *, size_t); 41 extern void* memalign(size_t alignment, size_t bytesize); 42 extern void* valloc(size_t bytesize); 43 extern void* pvalloc(size_t bytesize); 45 extern size_t malloc_footprint(void); 46 extern size_t malloc_max_footprint(void); 49 size_t arena; /* non-mmapped space allocated from system */ 50 size_t ordblks; /* number of free chunks */ [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); 52 extern size_t strlen(const char *) __purefunc; [all …]
|
D | wchar.h | 100 extern size_t mbrlen(const char *, size_t, mbstate_t *); 101 extern size_t mbrtowc(wchar_t *, const char *, size_t, mbstate_t *); 102 extern size_t mbsrtowcs(wchar_t *, const char **, size_t, mbstate_t *); 103 extern size_t mbstowcs(wchar_t *, const char *, size_t); 106 extern int swprintf(wchar_t *, size_t, const wchar_t *, ...); 113 extern int vswprintf(wchar_t *, size_t, const wchar_t *, va_list); 114 extern size_t wcrtomb(char *, wchar_t, mbstate_t *); 121 extern size_t wcscspn(const wchar_t *, const wchar_t *); 122 extern size_t wcsftime(wchar_t *, size_t, const wchar_t *, const struct tm *); 123 extern size_t wcslen(const wchar_t *); [all …]
|
D | strings.h | 46 int bcmp(const void *, const void *, size_t); 47 void bcopy(const void *, void *, size_t); 48 void bzero(void *, size_t); 53 int strncasecmp(const char *, const char *, size_t);
|
D | stdlib.h | 70 extern int posix_memalign(void **memptr, size_t alignment, size_t size); 102 size_t nmemb, size_t size, 105 extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); 139 extern int ptsname_r(int, char*, size_t); 171 extern int mblen(const char *, size_t); 172 extern size_t mbstowcs(wchar_t *, const char *, size_t); 173 extern int mbtowc(wchar_t *, const char *, size_t); 177 extern size_t wcstombs(char *, const wchar_t *, size_t);
|
D | netdb.h | 210 int gethostbyaddr_r(const void *, int, int, struct hostent *, char *, size_t, struct hostent **, in… 212 int gethostbyname_r(const char *, struct hostent *, char *, size_t, struct hostent **, int *); 214 int gethostbyname2_r(const char *, int, struct hostent *, char *, size_t, struct hostent **, int *); 216 int gethostent_r(struct hostent *, char *, size_t, struct hostent **, int *); 217 struct hostent *getipnodebyaddr(const void *, size_t, int, int *); 220 int getnetbyaddr_r(uint32_t, int, struct netent *, char *, size_t, struct netent**, int *); 222 int getnetbyname_r(const char *, struct netent *, char *, size_t, struct netent **, int *); 224 int getnetent_r(struct netent *, char *, size_t, struct netent **, int *); 227 int getprotobyname_r(const char *, struct protoent *, char *, size_t, struct protoent **); 229 int getprotobynumber_r(int, struct protoent *, char *, size_t, struct protoent **); [all …]
|
D | unistd.h | 88 extern int setgroups(size_t, const gid_t *); 122 extern int readlink(const char *, char *, size_t); 127 extern char *getcwd(char *, size_t); 135 extern ssize_t read(int, void *, size_t); 136 extern ssize_t write(int, const void *, size_t); 137 extern ssize_t pread(int, void *, size_t, off_t); 138 extern ssize_t pread64(int, void *, size_t, off64_t); 139 extern ssize_t pwrite(int, const void *, size_t, off_t); 140 extern ssize_t pwrite64(int, const void *, size_t, off64_t); 157 extern int gethostname(char *, size_t); [all …]
|
D | resolv.h | 50 extern int b64_ntop(u_char const *, size_t, char *, size_t); 51 extern int b64_pton(char const *, u_char *, size_t);
|
/bionic/libc/bionic/ |
D | dlmalloc.h | 82 void* dlmalloc(size_t); 98 void* dlcalloc(size_t, size_t); 123 void* dlrealloc(void*, size_t); 137 void* dlmemalign(size_t, size_t); 144 void* dlvalloc(size_t); 178 size_t dlmalloc_footprint(); 191 size_t dlmalloc_max_allowed_footprint(); 210 void dlmalloc_set_max_allowed_footprint(size_t bytes); 223 size_t dlmalloc_max_footprint(void); 251 #define MALLINFO_FIELD_TYPE size_t [all …]
|
D | malloc_debug_common.h | 46 #define MAX_SIZE_T (~(size_t)0) 54 size_t slot; 57 size_t numEntries; 59 size_t size; 60 size_t allocations; 66 size_t count; 74 void* (*malloc)(size_t bytes); 78 void* (*calloc)(size_t n_elements, size_t elem_size); 80 void* (*realloc)(void* oldMem, size_t bytes); 82 void* (*memalign)(size_t alignment, size_t bytes);
|
D | malloc_debug_leak.c | 86 static uint32_t get_hash(intptr_t* backtrace, size_t numEntries) in get_hash() 91 size_t i; in get_hash() 100 intptr_t* backtrace, size_t numEntries, size_t size) in find_entry() 121 static HashEntry* record_backtrace(intptr_t* backtrace, size_t numEntries, size_t size) in record_backtrace() 123 size_t hash = get_hash(backtrace, numEntries); in record_backtrace() 124 size_t slot = hash % HASHTABLE_SIZE; in record_backtrace() 209 void* fill_malloc(size_t bytes) in fill_malloc() 220 size_t bytes = dlmalloc_usable_size(mem); in fill_free() 225 void* fill_realloc(void* mem, size_t bytes) in fill_realloc() 232 size_t old_size = dlmalloc_usable_size(mem); in fill_realloc() [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/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 | xattr.h | 39 size_t (*list)(struct inode *inode, char *list, size_t list_size, 40 const char *name, size_t name_len); 42 size_t size); 45 size_t size, int flags);
|
D | omap_ion.h | 24 size_t w; 25 size_t h; 30 size_t stride; 31 size_t offset;
|
/bionic/libc/private/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/arch-arm/bionic/ |
D | eabi.c | 66 void __aeabi_memcpy8(void *dest, const void *src, size_t n) { in __aeabi_memcpy8() 70 void __aeabi_memcpy4(void *dest, const void *src, size_t n) { in __aeabi_memcpy4() 74 void __aeabi_memcpy(void *dest, const void *src, size_t n) { in __aeabi_memcpy() 79 void __aeabi_memmove8(void *dest, const void *src, size_t n) { in __aeabi_memmove8() 83 void __aeabi_memmove4(void *dest, const void *src, size_t n) { in __aeabi_memmove4() 87 void __aeabi_memmove(void *dest, const void *src, size_t n) { in __aeabi_memmove() 96 void __aeabi_memset8(void *dest, size_t n, int c) { in __aeabi_memset8() 100 void __aeabi_memset4(void *dest, size_t n, int c) { in __aeabi_memset4() 104 void __aeabi_memset(void *dest, size_t n, int c) { in __aeabi_memset() 109 void __aeabi_memclr8(void *dest, size_t n) { in __aeabi_memclr8() [all …]
|
/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/libc/wchar/ |
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/unistd/ |
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() 44 ret = __mmap2(addr, size, prot, flags, fd, (size_t)offset >> MMAP2_SHIFT); in mmap()
|
/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()
|
D | strxfrm.c | 38 size_t 39 strxfrm(char *s1, const char *s2, size_t n) in strxfrm() 41 size_t len = strlen(s2) + 1; in strxfrm()
|
D | strerror_r.c | 43 static size_t 46 size_t i = 0; in __digits10() 57 __itoa(int num, int sign, char *buffer, size_t start, size_t end) in __itoa() 59 size_t pos; in __itoa() 93 strerror_r(int errnum, char *strerrbuf, size_t buflen) in strerror_r() 103 if ((size_t)len >= buflen) in strerror_r() 107 if ((size_t)len >= buflen) in strerror_r() 128 __num2string(int num, int sign, int setid, char *buf, size_t buflen, 129 char * list[], size_t max, const char *def) 132 size_t len;
|