Searched refs:length (Results 1 - 25 of 62) sorted by relevance

123

/bionic/libc/bionic/
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 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 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 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 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 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 Dbionic_systrace.cpp96 int length = strlen(message); local
97 char buf[length + WRITE_OFFSET];
98 size_t len = snprintf(buf, length + WRITE_OFFSET, "B|%d|%s", getpid(), message);
/bionic/libc/upstream-openbsd/lib/libc/string/
H A Dmemmove.c49 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/linux/
H A Dreiserfs_xattr.h32 size_t length; member in struct:reiserfs_security_handle
H A Dblkpg.h41 long long length; member in struct:blkpg_partition
H A Datm_tcp.h30 __u32 length; member in struct:atmtcp_hdr
H A Dfirewire-cdev.h60 __u32 length; member in struct:fw_cdev_event_response
71 __u32 length; member in struct:fw_cdev_event_request
87 __u32 length; member in struct:fw_cdev_event_request2
120 __u32 length; member in struct:fw_cdev_event_phy_packet
181 __u32 length; member in struct:fw_cdev_send_request
191 __u32 length; member in struct:fw_cdev_send_response
200 __u32 length; member in struct:fw_cdev_allocate
220 __u32 length; member in struct:fw_cdev_add_descriptor
310 __u32 length; member in struct:fw_cdev_send_stream_packet
H A Dndctl.h72 __u64 length; member in struct:nd_cmd_ars_cap
80 __u64 length; member in struct:nd_cmd_ars_start
91 __u64 length; member in struct:nd_cmd_ars_status
100 __u64 length; member in struct:nd_cmd_ars_status::nd_ars_record
H A Ddlm_device.h81 __u32 length; member in struct:dlm_lock_result
/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.h54 __le32 length; member in struct:usb_functionfs_descs_head_v2
60 __le32 length; member in struct:usb_functionfs_descs_head
99 __le32 length; member in struct:usb_functionfs_strings_head
/bionic/libc/kernel/uapi/mtd/
H A Dmtd-abi.h25 __u32 length; member in struct:erase_info_user
30 __u64 length; member in struct:erase_info_user64
35 __u32 length; member in struct:mtd_oob_buf
42 __u32 length; member in struct:mtd_oob_buf64
116 __u32 length; member in struct:otp_info
159 __u32 length; member in struct:nand_oobfree
/bionic/libc/malloc_debug/
H A DAndroid.mk36 # -Wno-error=format-zero-length needed for gcc to compile.
40 -Wno-error=format-zero-length \
72 # -Wno-error=format-zero-length needed for gcc to compile.
77 -Wno-error=format-zero-length \
107 -Wno-error=format-zero-length \
/bionic/libc/kernel/uapi/sound/
H A Dusb_stream.h26 unsigned length; member in struct:usb_stream_packet
H A Dfirewire.h45 __be32 length; member in struct:snd_efw_transaction
/bionic/libc/kernel/uapi/linux/dvb/
H A Dca.h56 unsigned int length; member in struct:ca_msg
H A Dvideo.h151 int length; member in struct:video_spu_palette
156 int length; member in struct:video_navi_pack
/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/netfilter/
H A Dxt_osf.h51 __u16 kind, length; member in struct:xt_osf_opt

Completed in 3504 milliseconds

123