/bionic/libc/kernel/uapi/linux/ |
D | hidraw.h | 35 #define HIDIOCGRAWNAME(len) _IOC(_IOC_READ, 'H', 0x04, len) argument 36 #define HIDIOCGRAWPHYS(len) _IOC(_IOC_READ, 'H', 0x05, len) argument 37 #define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE | _IOC_READ, 'H', 0x06, len) argument 38 #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE | _IOC_READ, 'H', 0x07, len) argument 39 #define HIDIOCGRAWUNIQ(len) _IOC(_IOC_READ, 'H', 0x08, len) argument
|
D | input.h | 64 __u8 len; member 82 #define EVIOCGNAME(len) _IOC(_IOC_READ, 'E', 0x06, len) argument 83 #define EVIOCGPHYS(len) _IOC(_IOC_READ, 'E', 0x07, len) argument 84 #define EVIOCGUNIQ(len) _IOC(_IOC_READ, 'E', 0x08, len) argument 85 #define EVIOCGPROP(len) _IOC(_IOC_READ, 'E', 0x09, len) argument 86 #define EVIOCGMTSLOTS(len) _IOC(_IOC_READ, 'E', 0x0a, len) argument 87 #define EVIOCGKEY(len) _IOC(_IOC_READ, 'E', 0x18, len) argument 88 #define EVIOCGLED(len) _IOC(_IOC_READ, 'E', 0x19, len) argument 89 #define EVIOCGSND(len) _IOC(_IOC_READ, 'E', 0x1a, len) argument 90 #define EVIOCGSW(len) _IOC(_IOC_READ, 'E', 0x1b, len) argument [all …]
|
D | scif_ioctl.h | 37 __s32 len; member 43 __u64 len; member 51 __u64 len; member 55 __u64 len; member 74 __s32 len; member
|
D | netlink.h | 79 #define NLMSG_ALIGN(len) (((len) + NLMSG_ALIGNTO - 1) & ~(NLMSG_ALIGNTO - 1)) argument 81 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN) argument 82 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) argument 84 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr *) (((char *)… argument 85 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(str… argument 86 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument 156 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) argument
|
D | virtio_ring.h | 39 __virtio32 len; member 50 __virtio32 len; member 74 __le32 len; member
|
D | auto_fs.h | 42 int len; member 47 int len; member 87 int len; member 105 __u32 len; member
|
/bionic/libc/include/ |
D | strings.h | 63 #define bcopy(b1, b2, len) __bionic_bcopy((b1), (b2), (len)) argument 64 static __inline__ __always_inline void __bionic_bcopy(const void* b1, void* b2, size_t len) { in __bionic_bcopy() 69 #define bzero(b, len) __bionic_bzero((b), (len)) argument 70 static __inline__ __always_inline void __bionic_bzero(void* b, size_t len) { in __bionic_bzero()
|
/bionic/libc/include/bits/fortify/ |
D | socket.h | 41 ssize_t recvfrom(int fd, void* const buf __pass_object_size0, size_t len, int flags, struct sockadd… in recvfrom() 56 ssize_t sendto(int fd, const void* const buf __pass_object_size0, size_t len, int flags, const stru… in sendto() 71 ssize_t recv(int socket, void* const buf __pass_object_size0, size_t len, int flags) in recv() 79 ssize_t send(int socket, const void* const buf __pass_object_size0, size_t len, int flags) in send()
|
D | strings.h | 32 void __bionic_bcopy(const void *src, void* const dst __pass_object_size0, size_t len) in __bionic_bcopy() 47 void __bionic_bzero(void* const b __pass_object_size0, size_t len) in __bionic_bzero()
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | nfnetlink_compat.h | 35 #define NFA_ALIGN(len) (((len) + NFA_ALIGNTO - 1) & ~(NFA_ALIGNTO - 1)) argument 36 #define NFA_OK(nfa,len) ((len) > 0 && (nfa)->nfa_len >= sizeof(struct nfattr) && (nfa)->nfa_len <= … argument 38 #define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct nfattr)) + (len)) argument 39 #define NFA_SPACE(len) NFA_ALIGN(NFA_LENGTH(len)) argument
|
/bionic/libc/dns/include/ |
D | hostent.h | 67 #define HENT_ARRAY(dst, anum, ptr, len) \ argument 77 #define HENT_COPY(dst, src, slen, ptr, len) \ argument 87 #define HENT_SCOPY(dst, src, ptr, len) \ argument
|
/bionic/libc/bionic/ |
D | wchar.cpp | 68 size_t mbsnrtowcs(wchar_t* dst, const char** src, size_t nmc, size_t len, mbstate_t* ps) { in mbsnrtowcs() 135 size_t mbsrtowcs(wchar_t* dst, const char** src, size_t len, mbstate_t* ps) { in mbsrtowcs() 147 size_t wcsnrtombs(char* dst, const wchar_t** src, size_t nwc, size_t len, mbstate_t* ps) { in wcsnrtombs() 210 size_t wcsrtombs(char* dst, const wchar_t** src, size_t len, mbstate_t* ps) { in wcsrtombs()
|
D | libgen.cpp | 42 int len; in __basename_r() local 98 int len; in __dirname_r() local
|
D | fts.c | 78 size_t len; in __fts_open() local 179 size_t len; in fts_load() local 544 size_t len, maxlen; in fts_build() local 898 size_t len; in fts_alloc() local 999 size_t len, max; in fts_maxarglen() local
|
D | fortify.cpp | 124 extern char* __getcwd_chk(char* buf, size_t len, size_t actual_size) { in __getcwd_chk() 135 extern "C" void* __memmove_chk(void* dst, const void* src, size_t len, size_t dst_len) { in __memmove_chk() 222 ssize_t __recvfrom_chk(int socket, void* buf, size_t len, size_t buf_size, in __recvfrom_chk() 228 ssize_t __sendto_chk(int socket, const void* buf, size_t len, size_t buflen, in __sendto_chk() 244 extern "C" char* __stpncpy_chk(char* dst, const char* src, size_t len, size_t dst_len) { in __stpncpy_chk() 328 extern "C" char* __strncat_chk(char* dst, const char* src, size_t len, size_t dst_buf_size) { in __strncat_chk() 355 extern "C" char* __strncpy_chk(char* dst, const char* src, size_t len, size_t dst_len) { in __strncpy_chk()
|
D | pty.cpp | 61 int ptsname_r(int fd, char* buf, size_t len) { in ptsname_r() 88 int ttyname_r(int fd, char* buf, size_t len) { in ttyname_r()
|
D | getdomainname.cpp | 34 int getdomainname(char* name, size_t len) { in getdomainname()
|
/bionic/libc/system_properties/ |
D | context_node.cpp | 53 int len = async_safe_format_buffer(filename, sizeof(filename), "%s/%s", filename_, context_); in Open() local 88 int len = async_safe_format_buffer(filename, sizeof(filename), "%s/%s", filename_, context_); in CheckAccess() local
|
/bionic/tests/ |
D | buffer_tests.cpp | 186 static size_t SetIncrement(size_t len) { in SetIncrement() 234 static int MprotectHeap(void* addr, size_t len, int prot) { in MprotectHeap() 252 for (size_t len = 0; len <= max_test_size; len += incr) { in RunSingleBufferAlignTest() local 285 for (size_t len = 0; len <= max_test_size; len += incr) { in RunSrcDstBufferAlignTest() local 323 for (size_t len = 0; len <= max_test_size; len += incr) { in RunCmpBufferAlignTest() local
|
D | string_test.cpp | 214 size_t len[ITER + 1]; member in StringTestState 930 size_t len = 600000; in TEST() local 1043 static void DoMemcpyTest(uint8_t* src, uint8_t* dst, size_t len) { in DoMemcpyTest() 1059 static void DoMemmoveTest(uint8_t* src, uint8_t* dst, size_t len) { in DoMemmoveTest() 1075 static void DoMemsetTest(uint8_t* buf, size_t len) { in DoMemsetTest() 1090 static void DoStrlenTest(uint8_t* buf, size_t len) { in DoStrlenTest() 1106 static void DoStrcpyTest(uint8_t* src, uint8_t* dst, size_t len) { in DoStrcpyTest() 1126 static void DoStrlcpyTest(uint8_t* src, uint8_t* dst, size_t len) { in DoStrlcpyTest() 1155 static void DoStpcpyTest(uint8_t* src, uint8_t* dst, size_t len) { in DoStpcpyTest() 1175 static size_t LargeSetIncrement(size_t len) { in LargeSetIncrement() [all …]
|
D | sys_socket_test.cpp | 107 socklen_t len = sizeof(*addr); in TestAccept4() local 140 socklen_t len = sizeof(*addr); in TestRecvMMsg() local 208 socklen_t len = sizeof(*addr); in TestSendMMsg() local
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | vswscanf.c | 46 eofread(void *cookie, char *buf, int len) in eofread() 59 size_t len, mlen; in vswscanf() local
|
D | open_wmemstream.c | 36 size_t len; /* length of the data */ member 45 size_t nmc, len, end; in wmemstream_write() local
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
D | wcsdup.c | 39 size_t len; in wcsdup() local
|
/bionic/libc/kernel/uapi/asm-arm/asm/ |
D | mman.h | 20 #define arch_mmap_check(addr,len,flags) (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? - E… argument
|