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

12345

/bionic/libc/bionic/
H A Dftruncate.cpp25 // 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 Dsync_file_range.cpp34 int sync_file_range(int fd, off64_t offset, off64_t length, unsigned int flags) { argument
36 return __sync_file_range2(fd, flags, offset, length);
38 return __sync_file_range(fd, offset, length, flags);
H A Dlockf.cpp35 int lockf64(int fd, int cmd, off64_t length) { argument
41 fl.l_len = length;
71 int lockf(int fd, int cmd, off_t length) { argument
72 return lockf64(fd, cmd, length);
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 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 Dbionic_systrace.cpp98 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 Dstrerror_r.cpp54 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) {
H A Dlegacy_32_bit_support.cpp101 int fallocate(int fd, int mode, off_t offset, off_t length) { argument
102 return fallocate64(fd, mode, static_cast<off64_t>(offset), static_cast<off64_t>(length));
/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.h131 __be16 length; member in struct:pppoe_hdr
/bionic/libc/versioner-dependencies/common/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
/bionic/libc/kernel/android/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
/bionic/libc/versioner-dependencies/common/kernel_android_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
/bionic/libc/kernel/uapi/sound/
H A Dusb_stream.h26 unsigned length; member in struct:usb_stream_packet
/bionic/libc/versioner-dependencies/common/kernel_uapi/sound/
H A Dusb_stream.h26 unsigned length; member in struct:usb_stream_packet
/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.h54 __u16 kind, length; member in struct:xt_osf_opt
/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

Completed in 558 milliseconds

12345