Searched defs:length (Results 1 - 25 of 53) sorted by relevance

123

/bionic/libc/bionic/
H A Dposix_fadvise.cpp37 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 Dposix_fallocate.cpp33 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 Dc32rtomb.cpp66 // 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 Ddlmalloc.c30 static void* named_anonymous_mmap(size_t length);
49 static void* named_anonymous_mmap(size_t length) { argument
50 void* map = mmap(NULL, length, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
54 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map, length, "libc_malloc");
H A Dmbrtoc32.cpp70 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 Dlegacy_32_bit_support.cpp93 int fallocate(int fd, int mode, off_t offset, off_t length) { argument
94 return fallocate64(fd, mode, static_cast<off64_t>(offset), static_cast<off64_t>(length));
H A Dstrerror_r.cpp49 size_t length; local
53 length = strlcpy(buf, error_name, buf_len);
55 length = __libc_format_buffer(buf, buf_len, "Unknown error %d", error_number);
57 if (length >= buf_len) {
76 size_t length = snprintf(buf, buf_len, "%s signal %d", prefix, signal_number); local
77 if (length >= buf_len) {
H A Dlibc_logging.cpp187 size_t length = p - buf; local
188 for (size_t i = 0, j = length - 1; i < j; ++i, --j) {
307 /* length modifier */
/bionic/libc/kernel/uapi/linux/
H A Dreiserfs_xattr.h32 size_t length; member in struct:reiserfs_security_handle
H A Datm_tcp.h30 __u32 length; member in struct:atmtcp_hdr
H A Dblkpg.h41 long long length; member in struct:blkpg_partition
H A Ddlm_device.h81 __u32 length; member in struct:dlm_lock_result
H A Dif_pppox.h127 __be16 length; member in struct:pppoe_hdr
H A Dipv6.h80 __u8 length; member in struct:ipv6_destopt_hao
H A Diso_fs.h167 char length [ISODCL (1, 1)]; member in struct:iso_directory_record
H A Dncp_fs.h77 unsigned int length; member in struct:ncp_lock_ioctl
H A Dppp-ioctl.h70 __u32 length; member in struct:ppp_option_data
H A Datm.h172 int length; member in struct:atmif_sioc
/bionic/libc/kernel/uapi/linux/usb/
H A Df_mtp.h27 int64_t length; member in struct:mtp_file_range
34 size_t length; member in struct:mtp_event
H A Dfunctionfs.h42 __le32 length; member in struct:usb_functionfs_descs_head
50 __le32 length; member in struct:usb_functionfs_strings_head
/bionic/libc/upstream-openbsd/lib/libc/string/
H A Dbcopy.c52 memcpy(void *dst0, const void *src0, size_t length) argument
56 memmove(void *dst0, const void *src0, size_t length)
59 bcopy(const void *src0, void *dst0, size_t length)
67 if (length == 0 || dst == src) /* nothing to do */
86 if ((t ^ (long)dst) & wmask || length < wsize)
87 t = length;
90 length -= t;
96 t = length / wsize;
98 t = length & wmask;
106 src += length;
[all...]
/bionic/libc/kernel/uapi/rdma/
H A Dib_user_mad.h31 __u32 length; member in struct:ib_user_mad_hdr_old
54 __u32 length; member in struct:ib_user_mad_hdr
/bionic/libc/kernel/uapi/linux/dvb/
H A Dca.h56 unsigned int length; member in struct:ca_msg
/bionic/libc/kernel/uapi/linux/netfilter/
H A Dxt_osf.h51 __u16 kind, length; member in struct:xt_osf_opt
/bionic/libc/kernel/uapi/drm/
H A Dnouveau_drm.h91 uint64_t length; member in struct:drm_nouveau_gem_pushbuf_push

Completed in 933 milliseconds

123