/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | memmove.c | 49 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/ |
D | c32rtomb.cpp | 68 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()
|
D | posix_fadvise.cpp | 37 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()
|
D | posix_fallocate.cpp | 33 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()
|
D | mbrtoc32.cpp | 70 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()
|
D | strerror_r.cpp | 54 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()
|
D | ftruncate.cpp | 28 int ftruncate(int filedes, off_t length) { in ftruncate() argument 29 return ftruncate64(filedes, length); in ftruncate()
|
D | dlmalloc.c | 31 static void* named_anonymous_mmap(size_t length); 50 static void* named_anonymous_mmap(size_t length) { in named_anonymous_mmap() argument 51 void* map = mmap(NULL, length, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in named_anonymous_mmap() 55 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map, length, "libc_malloc"); in named_anonymous_mmap()
|
D | bionic_systrace.cpp | 98 int length = strlen(message); in ScopedTrace() local 99 char buf[length + WRITE_OFFSET]; in ScopedTrace() 100 size_t len = snprintf(buf, length + WRITE_OFFSET, "B|%d|%s", getpid(), message); in ScopedTrace()
|
D | legacy_32_bit_support.cpp | 81 int fallocate(int fd, int mode, off_t offset, off_t length) { in fallocate() argument 82 return fallocate64(fd, mode, static_cast<off64_t>(offset), static_cast<off64_t>(length)); in fallocate()
|
/bionic/libc/tools/zoneinfo/ |
D | ZoneCompactor.java | 52 byte[] nret = new byte[ret.length + nbytes]; in copyFile() 53 System.arraycopy(ret, 0, nret, 0, ret.length); in copyFile() 54 System.arraycopy(buf, 0, nret, ret.length, nbytes); in copyFile() 78 long length = sourceFile.length(); in ZoneCompactor() local 80 lengths.put(s, (int) length); in ZoneCompactor() 82 offset += length; in ZoneCompactor() 131 if (zoneName.length() >= MAXNAME) { in ZoneCompactor() 132 throw new RuntimeException("zone filename too long: " + zoneName.length()); in ZoneCompactor() 176 for (int i = 0; i < src.length(); ++i) { in toAscii() 186 if (args.length != 5) { in main()
|
/bionic/libc/kernel/uapi/linux/usb/ |
D | f_mtp.h | 27 int64_t length; member 34 size_t length; member
|
D | functionfs.h | 52 __le32 length; member 59 __le32 length; member 97 __le32 length; member
|
/bionic/libc/kernel/uapi/mtd/ |
D | mtd-abi.h | 25 __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/ |
D | firewire-cdev.h | 60 __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
|
D | reiserfs_xattr.h | 32 size_t length; member
|
D | blkpg.h | 41 long long length; member
|
D | atm_tcp.h | 30 __u32 length; member
|
D | dlm_device.h | 81 __u32 length; member
|
D | som.h | 91 unsigned int length; member
|
/bionic/libc/kernel/uapi/rdma/ |
D | ib_user_mad.h | 31 __u32 length; member 54 __u32 length; member
|
/bionic/libc/kernel/uapi/sound/ |
D | firewire.h | 44 __be32 length; member
|
/bionic/libc/kernel/uapi/linux/dvb/ |
D | ca.h | 56 unsigned int length; member
|
D | video.h | 151 int length; member 156 int length; member
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | xt_osf.h | 51 __u16 kind, length; member
|