Home
last modified time | relevance | path

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

123

/bionic/libc/upstream-openbsd/lib/libc/string/
Dmemmove.c49 memmove(void *dst0, const void *src0, size_t length) __overloadable 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()
Dsync_file_range.cpp34 int sync_file_range(int fd, off64_t offset, off64_t length, unsigned int flags) { in sync_file_range() argument
36 return __sync_file_range2(fd, flags, offset, length); in sync_file_range()
38 return __sync_file_range(fd, offset, length, flags); in sync_file_range()
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.cpp55 size_t length; in strerror_r() local
59 length = strlcpy(buf, error_name, buf_len); in strerror_r()
61 length = async_safe_format_buffer(buf, buf_len, "Unknown error %d", error_number); in strerror_r()
63 if (length >= buf_len) { in strerror_r()
88 size_t length = snprintf(buf, buf_len, "%s signal %d", prefix, signal_number); in __strsignal() local
89 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.cpp67 int length = strlen(message); in bionic_trace_begin() local
68 char buf[length + WRITE_OFFSET]; in bionic_trace_begin()
69 size_t len = snprintf(buf, length + WRITE_OFFSET, "B|%d|%s", getpid(), message); in bionic_trace_begin()
/bionic/libc/arch-mips/string/
Dmemmove.c386 memmove (void *dst0, const void *src0, size_t length) __overloadable in memmove() argument
391 if (length == 0 || dst0 == src0) /* nothing to do */ in memmove()
397 if (length < sizeof (reg_t) * 4) { in memmove()
398 return do_bytes (dst0, src0, length, ret); in memmove()
407 if (bytes > length) in memmove()
408 bytes = length; in memmove()
410 if (length == bytes) in memmove()
412 length -= bytes; in memmove()
418 words = length / sizeof (reg_t); in memmove()
419 bytes = length % sizeof (reg_t); in memmove()
[all …]
/bionic/libc/kernel/android/uapi/linux/usb/
Df_mtp.h27 int64_t length; member
34 size_t length; member
/bionic/libc/kernel/uapi/mtd/
Dmtd-abi.h24 __u32 length; member
28 __u64 length; member
32 __u32 length; member
38 __u32 length; member
97 __u32 length; member
131 __u32 length; member
/bionic/libc/malloc_debug/
DAndroid.bp27 // -Wno-error=format-zero-length needed for gcc to compile.
31 "-Wno-error=format-zero-length",
85 // -Wno-error=format-zero-length needed for gcc to compile.
90 "-Wno-error=format-zero-length",
127 "-Wno-error=format-zero-length",
/bionic/libc/kernel/uapi/linux/
Dfirewire-cdev.h52 __u32 length; member
61 __u32 length; member
74 __u32 length; member
100 __u32 length; member
149 __u32 length; member
157 __u32 length; member
164 __u32 length; member
180 __u32 length; member
252 __u32 length; member
Dreiserfs_xattr.h30 size_t length; member
Dndctl.h97 __u64 length; member
105 __u64 length; member
116 __u64 length; member
126 __u64 length; member
131 __u64 length; member
Dblkpg.h37 long long length; member
Drio_mport_cdev.h28 __u32 length; member
84 __u64 length; member
89 __u64 length; member
123 __u64 length; member
Datm_tcp.h28 __u32 length; member
/bionic/libc/kernel/uapi/linux/usb/
Dfunctionfs.h49 __le32 length; member
54 __le32 length; member
85 __le32 length; member
/bionic/tools/versioner/src/
DUtils.h86 result.resize(result.length() - delimiter.length());
/bionic/libc/kernel/uapi/rdma/
Drdma_user_rxe.h80 __u32 length; member
89 __u32 length; member
Dib_user_mad.h29 __u32 length; member
47 __u32 length; member
/bionic/libc/kernel/uapi/sound/
Dusb_stream.h25 unsigned length; member

123