Home
last modified time | relevance | path

Searched refs:ssize_t (Results 1 – 25 of 124) sorted by relevance

12345

/external/dhcpcd/
Dnet.h159 ssize_t make_udp_packet(uint8_t **, const uint8_t *, size_t,
161 ssize_t get_udp_data(const uint8_t **, const uint8_t *);
165 ssize_t send_packet(const struct interface *, struct in_addr,
166 const uint8_t *, ssize_t);
167 ssize_t send_raw_packet(const struct interface *, int,
168 const void *, ssize_t);
169 ssize_t get_raw_packet(struct interface *, int, void *, ssize_t);
Dlpf.c121 ssize_t
123 const void *data, ssize_t len) in send_raw_packet()
154 ssize_t
155 get_raw_packet(struct interface *iface, int protocol, void *data, ssize_t len) in get_raw_packet()
157 ssize_t bytes; in get_raw_packet()
Ddhcp.c214 ssize_t sz; in valid_length()
376 static ssize_t
377 decode_rfc3397(char *out, ssize_t len, int pl, const uint8_t *p) in decode_rfc3397()
408 if ((ssize_t)l + 1 > len) { in decode_rfc3397()
435 static ssize_t
436 decode_rfc3442(char *out, ssize_t len, int pl, const uint8_t *p) in decode_rfc3442()
439 ssize_t bytes = 0; in decode_rfc3442()
440 ssize_t b; in decode_rfc3442()
746 ssize_t
938 ssize_t
[all …]
Dbpf.c137 ssize_t
139 const void *data, ssize_t len) in send_raw_packet()
161 ssize_t
163 void *data, ssize_t len) in get_raw_packet()
167 ssize_t bytes; in get_raw_packet()
Ddhcp.h168 ssize_t configure_env(char **, const char *, const struct dhcp_message *,
171 ssize_t make_message(struct dhcp_message **,
176 ssize_t write_lease(const struct interface *, const struct dhcp_message *);
Dcommon.c59 ssize_t
269 ssize_t len; in writepid()
275 if (len != (ssize_t)strlen(spid)) in writepid()
/external/e2fsprogs/lib/ext2fs/
Dimager.c37 typedef int ssize_t; typedef
66 ssize_t actual; in ext2fs_image_inode_write()
113 if (actual != (ssize_t) (fs->blocksize * d)) { in ext2fs_image_inode_write()
140 ssize_t actual; in ext2fs_image_inode_read()
163 if (actual != (ssize_t) (fs->blocksize * c)) { in ext2fs_image_inode_read()
189 ssize_t actual; in ext2fs_image_super_write()
206 if (actual != (ssize_t) fs->blocksize) { in ext2fs_image_super_write()
220 if (actual != (ssize_t) (fs->blocksize * fs->desc_blocks)) { in ext2fs_image_super_write()
239 ssize_t actual, size; in ext2fs_image_super_read()
283 ssize_t actual; in ext2fs_image_bitmap_write()
[all …]
/external/dropbear/
Datomicio.c35 ssize_t
37 ssize_t (*f) ();
43 ssize_t res;
Datomicio.h36 ssize_t atomicio(ssize_t (*)(), int, void *, size_t);
/external/qemu/
Dnet.h11 typedef ssize_t (NetReceive)(VLANClientState *, const uint8_t *, size_t);
12 typedef ssize_t (NetReceiveIOV)(VLANClientState *, const struct iovec *, int);
66 ssize_t qemu_sendv_packet(VLANClientState *vc, const struct iovec *iov,
68 ssize_t qemu_sendv_packet_async(VLANClientState *vc, const struct iovec *iov,
71 ssize_t qemu_send_packet_async(VLANClientState *vc, const uint8_t *buf,
Dnet-android.c426 ssize_t len; in qemu_deliver_packet()
485 ssize_t qemu_send_packet_async(VLANClientState *sender, in qemu_send_packet_async()
521 static ssize_t vc_sendv_compat(VLANClientState *vc, const struct iovec *iov, in vc_sendv_compat()
539 static ssize_t calc_iov_length(const struct iovec *iov, int iovcnt) in calc_iov_length()
558 ssize_t len; in qemu_deliver_packet_iov()
583 static ssize_t qemu_enqueue_packet_iov(VLANClientState *sender, in qemu_enqueue_packet_iov()
611 ssize_t qemu_sendv_packet_async(VLANClientState *sender, in qemu_sendv_packet_async()
636 ssize_t
775 static ssize_t slirp_receive(VLANClientState *vc, const uint8_t *buf, size_t size) in slirp_receive()
1119 static ssize_t tap_receive_iov(VLANClientState *vc, const struct iovec *iov, in tap_receive_iov()
[all …]
Dnet.c421 ssize_t len; in qemu_deliver_packet()
480 ssize_t qemu_send_packet_async(VLANClientState *sender, in qemu_send_packet_async()
516 static ssize_t vc_sendv_compat(VLANClientState *vc, const struct iovec *iov, in vc_sendv_compat()
534 static ssize_t calc_iov_length(const struct iovec *iov, int iovcnt) in calc_iov_length()
553 ssize_t len; in qemu_deliver_packet_iov()
578 static ssize_t qemu_enqueue_packet_iov(VLANClientState *sender, in qemu_enqueue_packet_iov()
606 ssize_t qemu_sendv_packet_async(VLANClientState *sender, in qemu_sendv_packet_async()
631 ssize_t
694 static ssize_t slirp_receive(VLANClientState *vc, const uint8_t *buf, size_t size) in slirp_receive()
1034 static ssize_t tap_receive_iov(VLANClientState *vc, const struct iovec *iov, in tap_receive_iov()
[all …]
/external/iptables/libipq/
Dlibipq.c88 static ssize_t ipq_netlink_sendto(const struct ipq_handle *h,
91 static ssize_t ipq_netlink_recvfrom(const struct ipq_handle *h,
95 static ssize_t ipq_netlink_sendmsg(const struct ipq_handle *h,
101 static ssize_t ipq_netlink_sendto(const struct ipq_handle *h, in ipq_netlink_sendto()
111 static ssize_t ipq_netlink_sendmsg(const struct ipq_handle *h, in ipq_netlink_sendmsg()
121 static ssize_t ipq_netlink_recvfrom(const struct ipq_handle *h, in ipq_netlink_recvfrom()
289 ssize_t ipq_read(const struct ipq_handle *h, in ipq_read()
/external/bluetooth/bluez/sbc/
Dsbc.h86 ssize_t sbc_parse(sbc_t *sbc, const void *input, size_t input_len);
89 ssize_t sbc_decode(sbc_t *sbc, const void *input, size_t input_len,
93 ssize_t sbc_encode(sbc_t *sbc, const void *input, size_t input_len,
Dsbcinfo.c152 static ssize_t __read(int fd, void *buf, size_t count) in __read()
154 ssize_t len, pos = 0; in __read()
178 ssize_t len; in analyze_file()
/external/qemu/hw/
Dbt-sdp.c44 static ssize_t sdp_datalen(const uint8_t **element, ssize_t *left) in sdp_datalen()
84 const uint8_t *uuid, ssize_t datalen) in sdp_uuid_match()
114 const uint8_t **req, ssize_t *len) in sdp_svc_match()
136 static ssize_t sdp_svc_search(struct bt_l2cap_sdp_state_s *sdp, in sdp_svc_search()
137 uint8_t *rsp, const uint8_t *req, ssize_t len) in sdp_svc_search()
139 ssize_t seqlen; in sdp_svc_search()
210 const uint8_t **req, ssize_t *len) in sdp_attr_match()
244 static ssize_t sdp_attr_get(struct bt_l2cap_sdp_state_s *sdp, in sdp_attr_get()
245 uint8_t *rsp, const uint8_t *req, ssize_t len) in sdp_attr_get()
247 ssize_t seqlen; in sdp_attr_get()
[all …]
/external/bluetooth/bluez/tools/
Davinfo.c448 static ssize_t avdtp_send(int sk, void *data, int len) in avdtp_send()
450 ssize_t ret; in avdtp_send()
468 static ssize_t avdtp_receive(int sk, void *data, int len) in avdtp_receive()
470 ssize_t ret; in avdtp_receive()
483 static ssize_t avdtp_get_caps(int sk, int seid) in avdtp_get_caps()
488 ssize_t ret; in avdtp_get_caps()
514 static ssize_t avdtp_discover(int sk) in avdtp_discover()
520 ssize_t ret; in avdtp_discover()
/external/openssl/crypto/bio/
Dbss_bio.c280 static ssize_t bio_nread0(BIO *bio, char **buf) in bio_nread0()
283 ssize_t num; in bio_nread0()
318 static ssize_t bio_nread(BIO *bio, char **buf, size_t num_) in bio_nread()
321 ssize_t num, available; in bio_nread()
326 num = (ssize_t)num_; in bio_nread()
431 static ssize_t bio_nwrite0(BIO *bio, char **buf) in bio_nwrite0()
479 static ssize_t bio_nwrite(BIO *bio, char **buf, size_t num_) in bio_nwrite()
482 ssize_t num, space; in bio_nwrite()
487 num = (ssize_t)num_; in bio_nwrite()
/external/oprofile/libutil/
Dop_deviceio.c28 ssize_t op_read_device(fd_t devfd, void * buf, size_t size) in op_read_device()
30 ssize_t count; in op_read_device()
/external/tesseract/liblept/
D_stdio.h27 ssize_t (*read)(void *, char *, size_t);
28 ssize_t (*write)(void *, const char *, size_t);
D_fopencookie.c94 ssize_t (*readfn)(void *, char *, size_t);
95 ssize_t (*writefn)(void *, const char *, size_t);
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dproduct-weight.h72 ssize_t Hash() const { in Hash()
73 ssize_t h1 = value1_.Hash(); in Hash()
74 ssize_t h2 = value2_.Hash(); in Hash()
76 int rshift = sizeof(ssize_t) - 5; in Hash()
/external/openssl/
De_os.h102 typedef long ssize_t; typedef
302 # define ssize_t long macro
425 # define ssize_t int /* ditto */ macro
577 # ifndef ssize_t
578 # define ssize_t int macro
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c370 static ssize_t read_all(int fd, char *buf, size_t count) in read_all()
372 ssize_t ret; in read_all()
373 ssize_t c = 0; in read_all()
402 ssize_t ret; in get_uuid_via_daemon()
/external/oprofile/daemon/
Dinit.c139 static void opd_do_samples(char const * opd_buf, ssize_t count) in opd_do_samples()
208 ssize_t count = -1; in opd_do_read()

12345