/bionic/libc/bionic/ |
H A D | ftruncate.cpp | 25 // The kernel's implementation of ftruncate uses an unsigned long for the length 28 int ftruncate(int filedes, off_t length) { argument 29 return ftruncate64(filedes, length);
|
H A D | posix_fadvise.cpp | 37 int posix_fadvise(int fd, off_t offset, off_t length, int advice) { argument 38 return posix_fadvise64(fd, offset, length, advice); 42 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { argument 44 return (__arm_fadvise64_64(fd, advice, offset, length) == 0) ? 0 : errno; 47 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { argument 49 return (__fadvise64(fd, offset, length, advice) == 0) ? 0 : errno;
|
H A D | posix_fallocate.cpp | 33 int posix_fallocate(int fd, off_t offset, off_t length) { argument 35 return (fallocate(fd, 0, offset, length) == 0) ? 0 : errno; 38 int posix_fallocate64(int fd, off64_t offset, off64_t length) { argument 40 return (fallocate64(fd, 0, offset, length) == 0) ? 0 : errno;
|
H A D | c32rtomb.cpp | 66 // about the sequence length. 68 size_t length; local 71 length = 1; 74 length = 2; 77 length = 3; 80 length = 4; 88 // a special case because it contains the sequence length 90 for (size_t i = length - 1; i > 0; i--) { 96 return length;
|
H A D | mbrtoc32.cpp | 70 size_t length; local 80 // The first byte in the state (if any) tells the length. 85 length = 1; 89 length = 2; 93 length = 3; 97 length = 4; 105 size_t bytes_wanted = length - bytes_so_far; 121 for (i = 1; i < length; i++) {
|
H A D | dlmalloc.c | 31 static void* named_anonymous_mmap(size_t length); 50 static void* named_anonymous_mmap(size_t length) { argument 51 void* map = mmap(NULL, length, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); 55 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map, length, "libc_malloc");
|
H A D | bionic_systrace.cpp | 98 int length = strlen(message); local 99 char buf[length + WRITE_OFFSET]; 100 size_t len = snprintf(buf, length + WRITE_OFFSET, "B|%d|%s", getpid(), message);
|
H A D | legacy_32_bit_support.cpp | 81 int fallocate(int fd, int mode, off_t offset, off_t length) { argument 82 return fallocate64(fd, mode, static_cast<off64_t>(offset), static_cast<off64_t>(length));
|
H A D | strerror_r.cpp | 54 size_t length; local 58 length = strlcpy(buf, error_name, buf_len); 60 length = __libc_format_buffer(buf, buf_len, "Unknown error %d", error_number); 62 if (length >= buf_len) { 87 size_t length = snprintf(buf, buf_len, "%s signal %d", prefix, signal_number); local 88 if (length >= buf_len) {
|
/bionic/libc/kernel/uapi/linux/ |
H A D | reiserfs_xattr.h | 32 size_t length; member in struct:reiserfs_security_handle
|
H A D | atm_tcp.h | 30 __u32 length; member in struct:atmtcp_hdr
|
H A D | blkpg.h | 41 long long length; member in struct:blkpg_partition
|
H A D | dlm_device.h | 81 __u32 length; member in struct:dlm_lock_result
|
H A D | if_pppox.h | 127 __be16 length; member in struct:pppoe_hdr
|
H A D | ipv6.h | 80 __u8 length; member in struct:ipv6_destopt_hao
|
H A D | iso_fs.h | 167 char length[ISODCL(1, 1)]; member in struct:iso_directory_record
|
H A D | ncp_fs.h | 75 unsigned int length; member in struct:ncp_lock_ioctl
|
H A D | ppp-ioctl.h | 70 __u32 length; member in struct:ppp_option_data
|
/bionic/libc/kernel/uapi/linux/usb/ |
H A D | f_mtp.h | 27 int64_t length; member in struct:mtp_file_range 34 size_t length; member in struct:mtp_event
|
H A D | functionfs.h | 52 __le32 length; member in struct:usb_functionfs_descs_head_v2 59 __le32 length; member in struct:usb_functionfs_descs_head 97 __le32 length; member in struct:usb_functionfs_strings_head
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
H A D | memmove.c | 49 memmove(void *dst0, const void *src0, size_t length) argument 55 if (length == 0 || dst == src) /* nothing to do */ 74 if ((t ^ (long)dst) & wmask || length < wsize) 75 t = length; 78 length -= t; 84 t = length / wsize; 86 t = length & wmask; 94 src += length; 95 dst += length; 98 if ((t ^ (long)dst) & wmask || length < [all...] |
/bionic/libc/kernel/uapi/sound/ |
H A D | firewire.h | 44 __be32 length; member in struct:snd_efw_transaction
|
/bionic/libc/kernel/uapi/linux/dvb/ |
H A D | ca.h | 56 unsigned int length; member in struct:ca_msg
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
H A D | xt_osf.h | 51 __u16 kind, length; member in struct:xt_osf_opt
|
/bionic/libc/kernel/uapi/rdma/ |
H A D | ib_user_mad.h | 31 __u32 length; member in struct:ib_user_mad_hdr_old 54 __u32 length; member in struct:ib_user_mad_hdr
|