Searched refs:length (Results 1 - 25 of 55) 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 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 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 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));
/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/dns/resolv/
H A D__dn_comp.c32 u_char **lastdnptr, int length)
35 return __dn_comp(exp_dn, comp_dn, length, dnptrs, lastdnptr);
/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 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 Dncp_fs.h77 unsigned int length; member in struct:ncp_lock_ioctl
/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/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
115 __u32 length; member in struct:otp_info
157 __u32 length; member in struct:nand_oobfree
/bionic/libc/tools/zoneinfo/
H A DZoneCompactor.java52 byte[] nret = new byte[ret.length + nbytes];
53 System.arraycopy(ret, 0, nret, 0, ret.length);
54 System.arraycopy(buf, 0, nret, ret.length, nbytes);
78 long length = sourceFile.length();
80 lengths.put(s, (int) length);
82 offset += length;
131 if (zoneName.length() >= MAXNAME) {
132 throw new RuntimeException("zone filename too long: " + zoneName.length());
170 for (int i = 0; i < 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
H A Dvideo.h152 int length; member in struct:video_spu_palette
157 int length; member in struct:video_navi_pack
/bionic/libc/kernel/uapi/linux/netfilter/
H A Dxt_osf.h51 __u16 kind, length; member in struct:xt_osf_opt

Completed in 637 milliseconds

123