Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 63) sorted by relevance

123

/bionic/libc/upstream-openbsd/lib/libc/string/
Dmemmove.c49 memmove(void *dst0, const void *src0, size_t length) in memmove() argument
55 if (length == 0 || dst == src) /* nothing to do */ in memmove()
74 if ((t ^ (long)dst) & wmask || length < wsize) in memmove()
75 t = length; in memmove()
78 length -= t; in memmove()
84 t = length / wsize; in memmove()
86 t = length & wmask; in memmove()
94 src += length; in memmove()
95 dst += length; in memmove()
98 if ((t ^ (long)dst) & wmask || length <= wsize) in memmove()
[all …]
/bionic/libc/bionic/
Dc32rtomb.cpp68 size_t length; in c32rtomb() local
71 length = 1; in c32rtomb()
74 length = 2; in c32rtomb()
77 length = 3; in c32rtomb()
80 length = 4; in c32rtomb()
90 for (size_t i = length - 1; i > 0; i--) { in c32rtomb()
96 return length; in c32rtomb()
Dposix_fadvise.cpp37 int posix_fadvise(int fd, off_t offset, off_t length, int advice) { in posix_fadvise() argument
38 return posix_fadvise64(fd, offset, length, advice); in posix_fadvise()
42 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { in posix_fadvise64() argument
44 return (__arm_fadvise64_64(fd, advice, offset, length) == 0) ? 0 : errno; in posix_fadvise64()
47 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { in posix_fadvise64() argument
49 return (__fadvise64(fd, offset, length, advice) == 0) ? 0 : errno; in posix_fadvise64()
Dposix_fallocate.cpp33 int posix_fallocate(int fd, off_t offset, off_t length) { in posix_fallocate() argument
35 return (fallocate(fd, 0, offset, length) == 0) ? 0 : errno; in posix_fallocate()
38 int posix_fallocate64(int fd, off64_t offset, off64_t length) { in posix_fallocate64() argument
40 return (fallocate64(fd, 0, offset, length) == 0) ? 0 : errno; in posix_fallocate64()
Dmbrtoc32.cpp70 size_t length; in mbrtoc32() local
85 length = 1; in mbrtoc32()
89 length = 2; in mbrtoc32()
93 length = 3; in mbrtoc32()
97 length = 4; in mbrtoc32()
105 size_t bytes_wanted = length - bytes_so_far; in mbrtoc32()
121 for (i = 1; i < length; i++) { in mbrtoc32()
Dstrerror_r.cpp54 size_t length; in strerror_r() local
58 length = strlcpy(buf, error_name, buf_len); in strerror_r()
60 length = __libc_format_buffer(buf, buf_len, "Unknown error %d", error_number); in strerror_r()
62 if (length >= buf_len) { in strerror_r()
87 size_t length = snprintf(buf, buf_len, "%s signal %d", prefix, signal_number); in __strsignal() local
88 if (length >= buf_len) { in __strsignal()
Dlockf.cpp35 int lockf64(int fd, int cmd, off64_t length) { in lockf64() argument
41 fl.l_len = length; in lockf64()
71 int lockf(int fd, int cmd, off_t length) { in lockf() argument
72 return lockf64(fd, cmd, length); in lockf()
Dftruncate.cpp28 int ftruncate(int filedes, off_t length) { in ftruncate() argument
29 return ftruncate64(filedes, length); in ftruncate()
Dbionic_systrace.cpp96 int length = strlen(message); in ScopedTrace() local
97 char buf[length + WRITE_OFFSET]; in ScopedTrace()
98 size_t len = snprintf(buf, length + WRITE_OFFSET, "B|%d|%s", getpid(), message); in ScopedTrace()
Dlegacy_32_bit_support.cpp101 int fallocate(int fd, int mode, off_t offset, off_t length) { in fallocate() argument
102 return fallocate64(fd, mode, static_cast<off64_t>(offset), static_cast<off64_t>(length)); in fallocate()
/bionic/libc/kernel/uapi/linux/usb/
Df_mtp.h27 int64_t length; member
34 size_t length; member
Dfunctionfs.h54 __le32 length; member
60 __le32 length; member
99 __le32 length; member
/bionic/libc/kernel/uapi/mtd/
Dmtd-abi.h25 __u32 length; member
30 __u64 length; member
35 __u32 length; member
42 __u32 length; member
116 __u32 length; member
159 __u32 length; member
/bionic/libc/kernel/uapi/linux/
Dfirewire-cdev.h60 __u32 length; member
71 __u32 length; member
87 __u32 length; member
120 __u32 length; member
181 __u32 length; member
191 __u32 length; member
200 __u32 length; member
220 __u32 length; member
310 __u32 length; member
Dndctl.h72 __u64 length; member
80 __u64 length; member
91 __u64 length; member
100 __u64 length; member
Dreiserfs_xattr.h32 size_t length; member
Dblkpg.h41 long long length; member
Datm_tcp.h30 __u32 length; member
/bionic/libc/malloc_debug/
DAndroid.mk40 -Wno-error=format-zero-length \
77 -Wno-error=format-zero-length \
107 -Wno-error=format-zero-length \
/bionic/libc/kernel/uapi/rdma/
Dib_user_mad.h31 __u32 length; member
54 __u32 length; member
/bionic/libc/kernel/uapi/sound/
Dusb_stream.h26 unsigned length; member
Dfirewire.h45 __be32 length; member
/bionic/libc/kernel/uapi/linux/dvb/
Dca.h56 unsigned int length; member
Dvideo.h151 int length; member
156 int length; member
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_osf.h51 __u16 kind, length; member

123