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

123

/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 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 Ddlmalloc.c31 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 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 Dlegacy_32_bit_support.cpp81 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 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) {
/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.h75 unsigned int length; member in struct:ncp_lock_ioctl
H A Dppp-ioctl.h70 __u32 length; member in struct:ppp_option_data
/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.h52 __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 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/sound/
H A Dfirewire.h44 __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
/bionic/libc/kernel/uapi/linux/netfilter/
H A Dxt_osf.h51 __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 1218 milliseconds

123