/bionic/libc/bionic/ |
H A D | getdomainname.cpp | 34 int getdomainname(char* name, size_t len) { argument 38 // Note: getdomainname()'s behavior varies across implementations when len is 40 // instead of glibc's policy of copying the first len bytes without a NULL 42 if (strlen(uts.domainname) >= len) { 47 strncpy(name, uts.domainname, len);
|
H A D | __cmsg_nxthdr.cpp | 34 size_t len = reinterpret_cast<char*>(ptr+1) - reinterpret_cast<char*>(msg->msg_control); local 35 if (len > msg->msg_controllen) {
|
H A D | posix_madvise.cpp | 34 int posix_madvise(void* addr, size_t len, int advice) { argument 41 return (madvise(addr, len, advice) == 0 ? 0 : errno);
|
H A D | recv.cpp | 31 ssize_t recv(int socket, void *buf, size_t len, int flags) { argument 32 return recvfrom(socket, buf, len, flags, NULL, 0);
|
H A D | send.cpp | 31 ssize_t send(int socket, const void* buf, size_t len, int flags) { argument 32 return sendto(socket, buf, len, flags, NULL, 0);
|
H A D | __bionic_get_shell_path.cpp | 46 ssize_t len = readlink("/proc/self/exe", exe_path, sizeof(exe_path)); local 47 if (len != -1 && !strncmp(exe_path, VENDOR_PREFIX, strlen(VENDOR_PREFIX))) {
|
H A D | libgen.cpp | 42 int len; local 48 len = 1; 61 len = 1; 71 len = endp - startp +1; 74 result = len; 78 if (len > static_cast<int>(buffer_size) - 1) { 79 len = buffer_size - 1; 84 if (len >= 0) { 85 memcpy(buffer, startp, len); 86 buffer[len] 98 int len; local [all...] |
H A D | sysinfo.cpp | 69 size_t len = 0; local 70 if (getline(&line, &len, fp) != -1) {
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
H A D | wcsdup.c | 37 size_t len; local 39 len = wcslen(s) + 1; 40 if ((copy = malloc(len * sizeof(wchar_t))) == NULL) 42 return (wmemcpy(copy, s, len));
|
H A D | wcsnlen.c | 35 size_t len; local 37 for (len = 0; len < maxlen; len++, s++) { 41 return (len);
|
H A D | wcsstr.c | 50 size_t len; local 53 len = wcslen(find); 59 } while (wcsncmp(s, find, len) != 0);
|
/bionic/libc/kernel/uapi/linux/tc_ematch/ |
H A D | tc_em_nbyte.h | 25 __u16 len : 12; member in struct:tcf_em_nbyte
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
H A D | strndup.c | 29 size_t len; local 31 len = strnlen(str, maxlen); 32 copy = malloc(len + 1); 34 (void)memcpy(copy, str, len); 35 copy[len] = '\0';
|
H A D | strstr.c | 43 size_t len; local 46 len = strlen(find); 52 } while (strncmp(s, find, len) != 0);
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/tc_ematch/ |
H A D | tc_em_nbyte.h | 25 __u16 len : 12; member in struct:tcf_em_nbyte
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/tc_ematch/ |
H A D | tc_em_nbyte.h | 25 __u16 len : 12; member in struct:tcf_em_nbyte
|
/bionic/libc/upstream-netbsd/lib/libc/string/ |
H A D | strcasestr.c | 52 size_t len; local 59 len = strlen(find); 65 } while (strncasecmp(s, find, len) != 0);
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | tempnam.c | 45 int sverrno, len; local 55 len = snprintf(name, PATH_MAX, "%s%s%sXXXXXXXXXX", f, 57 if (len < 0 || len >= PATH_MAX) { 67 len = snprintf(name, PATH_MAX, "%s%s%sXXXXXXXXXX", f, 69 if (len < 0 || len >= PATH_MAX) { 78 len = snprintf(name, PATH_MAX, "%s%sXXXXXXXXX", f, pfx); 79 if (len < 0 || len > [all...] |
H A D | vsscanf.c | 39 eofread(void *cookie, char *buf, int len) argument
|
/bionic/libc/include/netinet/ |
H A D | udp.h | 48 u_int16_t len; member in struct:udphdr::__anon96::__anon98
|
/bionic/libc/system_properties/ |
H A D | context_node.cpp | 53 int len = async_safe_format_buffer(filename, sizeof(filename), "%s/%s", filename_, context_); local 54 if (len < 0 || len > PROP_FILENAME_MAX) { 88 int len = async_safe_format_buffer(filename, sizeof(filename), "%s/%s", filename_, context_); local 89 if (len < 0 || len > PROP_FILENAME_MAX) {
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
H A D | getenv.c | 34 char *__findenv(const char *name, int len, int *offset); 47 __findenv(const char *name, int len, int *offset) argument 57 for (np = name, i = len; i && *cp; i--)
|
/bionic/tools/versioner/current/netinet/ |
H A D | udp.h | 48 u_int16_t len; member in struct:udphdr::__anon2510::__anon2512
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
H A D | xt_NFLOG.h | 27 __u32 len; member in struct:xt_nflog_info
|
/bionic/libc/kernel/uapi/linux/netfilter_bridge/ |
H A D | ebt_nflog.h | 28 __u32 len; member in struct:ebt_nflog_info
|