/bionic/libc/kernel/common/linux/ |
D | circ_buf.h | 21 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1)) argument 23 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size)) argument 25 #define CIRC_CNT_TO_END(head,tail,size) ({int end = (size) - (tail); int n = ((head) + end) & (… argument 27 #define CIRC_SPACE_TO_END(head,tail,size) ({int end = (size) - 1 - (head); int n = (end + (tail… argument
|
D | xattr.h | 38 size_t size); 40 size_t size, int flags);
|
D | proc_fs.h | 42 loff_t size; member 59 size_t size; member 65 unsigned long long size; member
|
D | jbd.h | 27 #define jbd_kmalloc(size, flags) __jbd_kmalloc(__FUNCTION__, (size), (flags), journal_oom_retry) argument 28 #define jbd_rep_kmalloc(size, flags) __jbd_kmalloc(__FUNCTION__, (size), (flags), 1) argument
|
/bionic/libstdc++/src/ |
D | new.cpp | 6 void* operator new(std::size_t size) in operator new() argument 8 void* p = malloc(size); in operator new() 15 void* operator new[](std::size_t size) in operator new[]() argument 17 void* p = malloc(size); in operator new[]() 34 void* operator new(std::size_t size, const std::nothrow_t&) in operator new() argument 36 return malloc(size); in operator new() 39 void* operator new[](std::size_t size, const std::nothrow_t&) in operator new[]() argument 41 return malloc(size); in operator new[]()
|
/bionic/libc/kernel/common/asm-generic/bitops/ |
D | find.h | 15 #define find_first_bit(addr, size) find_next_bit((addr), (size), 0) argument 16 #define find_first_zero_bit(addr, size) find_next_zero_bit((addr), (size), 0) argument
|
D | le.h | 33 #define generic_find_next_zero_le_bit(addr, size, offset) find_next_zero_bit(addr, size, offset) argument 51 #define generic_find_first_zero_le_bit(addr, size) generic_find_next_zero_le_bit((addr), (size), … argument
|
/bionic/libc/kernel/common/asm-generic/ |
D | ioctl.h | 34 #define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr)… argument 40 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument 41 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 42 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
|
/bionic/libc/stdio/ |
D | setvbuf.c | 43 setvbuf(FILE *fp, char *buf, int mode, size_t size) in setvbuf() argument 55 if ((mode != _IOFBF && mode != _IOLBF) || (int)size < 0) in setvbuf() 85 if (size == 0) { in setvbuf() 87 size = iosize; in setvbuf() 92 if ((buf = malloc(size)) == NULL) { in setvbuf() 98 if (size != iosize) { in setvbuf() 99 size = iosize; in setvbuf() 100 buf = malloc(size); in setvbuf() 121 if (size != iosize) in setvbuf() 132 fp->_bf._size = size; in setvbuf() [all …]
|
D | fwrite.c | 43 fwrite(const void *buf, size_t size, size_t count, FILE *fp) in fwrite() argument 50 uio.uio_resid = iov.iov_len = n = count * size; in fwrite() 61 return ((n - uio.uio_resid) / size); in fwrite()
|
D | setbuffer.c | 37 setbuffer(FILE *fp, char *buf, int size) in setbuffer() argument 40 (void)setvbuf(fp, buf, buf ? _IOFBF : _IONBF, size); in setbuffer()
|
D | makebuf.c | 53 size_t size; in __smakebuf() local 61 flags = __swhatbuf(fp, &size, &couldbetty); in __smakebuf() 62 if ((p = malloc(size)) == NULL) { in __smakebuf() 71 fp->_bf._size = size; in __smakebuf()
|
/bionic/libc/unistd/ |
D | getcwd.c | 30 extern int __getcwd(char * buf, size_t size); 32 char *getcwd(char *buf, size_t size) in getcwd() argument 34 return ( __getcwd(buf, size) < 0 ) ? NULL : buf; in getcwd()
|
D | mmap.c | 35 void* mmap( void* addr, size_t size, int prot, int flags, int fd, long offset ) in mmap() argument 42 return __mmap2(addr, size, prot, flags, fd, (size_t)offset >> MMAP2_SHIFT); in mmap()
|
/bionic/libc/kernel/arch-sh/asm/ |
D | uaccess.h | 24 #define __access_ok(addr, size) (__addr_ok((addr) + (size))) argument 25 #define access_ok(type, addr, size) (__chk_user_ptr(addr), __access_ok((unsigned long __force)(… argument 36 …size) ({ long __gu_err; unsigned long __gu_val; const __typeof__(*(ptr)) __user *__gu_addr … argument 38 …size) ({ long __gu_err = -EFAULT; unsigned long __gu_val = 0; const __typeof__(*(ptr)) *__g… argument 40 …size) ({ long __pu_err; __typeof__(*(ptr)) __user *__pu_addr = (ptr); __typeof__(*(ptr)) __… argument 42 …size) ({ long __pu_err = -EFAULT; __typeof__(*(ptr)) __user *__pu_addr = (ptr); __typeof__(… argument
|
D | uaccess_64.h | 15 #define __get_user_size(x,ptr,size,retval) do { retval = 0; switch (size) { case 1: retval… argument 17 #define __put_user_size(x,ptr,size,retval) do { retval = 0; switch (size) { case 1: retval… argument
|
D | uaccess_32.h | 15 #define __get_user_size(x,ptr,size,retval) do { retval = 0; switch (size) { case 1: __get_… argument 19 #define __put_user_size(x,ptr,size,retval) do { retval = 0; switch (size) { case 1: __put_… argument
|
D | io_trapped.h | 32 #define __ioremap_trapped(offset, size) NULL argument 33 #define __ioport_map_trapped(offset, size) NULL argument
|
/bionic/libc/include/ |
D | alloca.h | 31 #define alloca(size) __builtin_alloca(size) argument
|
/bionic/libc/inet/ |
D | inet_ntop.c | 34 static const char *inet_ntop4(const u_char *src, char *dst, size_t size); 35 static const char *inet_ntop6(const u_char *src, char *dst, size_t size); 46 inet_ntop(int af, const void *src, char *dst, size_t size) in inet_ntop() argument 50 return (inet_ntop4(src, dst, size)); in inet_ntop() 52 return (inet_ntop6(src, dst, size)); in inet_ntop() 72 inet_ntop4(const u_char *src, char *dst, size_t size) in inet_ntop4() argument 78 l = snprintf(tmp, size, fmt, src[0], src[1], src[2], src[3]); in inet_ntop4() 79 if (l <= 0 || (size_t)l >= size) { in inet_ntop4() 83 strlcpy(dst, tmp, size); in inet_ntop4() 94 inet_ntop6(const u_char *src, char *dst, size_t size) in inet_ntop6() argument [all …]
|
/bionic/libc/stdlib/ |
D | bsearch.c | 49 bsearch(const void *key, const void *base0, size_t nmemb, size_t size, in bsearch() argument 57 p = base + (lim >> 1) * size; in bsearch() 60 base = (char *)p + size; in bsearch()
|
/bionic/libc/kernel/arch-x86/asm/ |
D | uaccess_32.h | 37 …size) ({ unsigned long flag,roksum; __chk_user_ptr(addr); asm("addl %3,%1 ; sbbl %0,%0; cmpl… argument 39 #define access_ok(type,addr,size) (likely(__range_ok(addr,size) == 0)) argument 46 #define __get_user_x(size,ret,x,ptr) __asm__ __volatile__("call __get_user_" #size :"=a" (ret),… argument 62 #define __put_user_nocheck(x,ptr,size) ({ long __pu_err; __put_user_size((x),(ptr),(size),__pu… argument 66 …size(x,ptr,size,retval,errret) do { __typeof__(*(ptr)) __pus_tmp = x; retval = 0; if(unli… argument 73 …efine __get_user_nocheck(x,ptr,size) ({ long __gu_err; unsigned long __gu_val; __get_user_s… argument 75 #define __get_user_size(x,ptr,size,retval,errret) do { retval = 0; __chk_user_ptr(ptr); swit… argument
|
/bionic/libc/netbsd/resolv/ |
D | res_debug.h | 25 # define DprintQ(cond, args, query, size) /*empty*/ argument 30 # define DprintQ(cond, args, query, size) if (cond) {\ argument 32 res_pquery(statp, query, size, stdout);\
|
/bionic/libc/bionic/ |
D | malloc_debug_leak.c | 111 intptr_t* backtrace, size_t numEntries, size_t size) in find_entry() argument 121 if (entry->size == size && entry->numEntries == numEntries && in find_entry() 132 static HashEntry* record_backtrace(intptr_t* backtrace, size_t numEntries, size_t size) in record_backtrace() argument 137 if (size & SIZE_FLAG_MASK) { in record_backtrace() 138 debug_log("malloc_debug: allocation %zx exceeds bit width\n", size); in record_backtrace() 143 size |= SIZE_FLAG_ZYGOTE_CHILD; in record_backtrace() 145 HashEntry* entry = find_entry(&gHashTable, slot, backtrace, numEntries, size); in record_backtrace() 159 entry->size = size; in record_backtrace() 389 size_t size; in chk_free() local 392 if (chk_mem_check(mem, &size, "FREE") == 0) { in chk_free() [all …]
|
/bionic/libc/kernel/common/linux/netfilter_arp/ |
D | arp_tables.h | 117 unsigned int size; member 129 unsigned int size; member 149 unsigned int size; member 158 …ITERATE(entries, size, fn, args...) ({ unsigned int __i; int __ret = 0; struct arpt_entry *… argument
|