Home
last modified time | relevance | path

Searched refs:ssize_t (Results 251 - 275 of 1744) sorted by relevance

1...<<11121314151617181920>>...70

/third_party/eudev/src/udev/
H A Dudev-watch.c65 ssize_t len; in udev_watch_restore()
72 if (len <= 0 || len == (ssize_t)sizeof(device)) in udev_watch_restore()
144 ssize_t len; in udev_watch_lookup()
/third_party/libuv/test/
H A Dtest-tcp-read-stop-start.c33 static void on_read2(uv_stream_t* stream, ssize_t nread, const uv_buf_t* buf);
64 static void on_read1(uv_stream_t* stream, ssize_t nread, const uv_buf_t* buf) { in on_read1()
79 static void on_read2(uv_stream_t* stream, ssize_t nread, const uv_buf_t* buf) { in on_read2()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dprocess_vm.c36 ssize_t rev = process_vm_readv(getpid(), &local, 1, &remote, 1, 0); in process_vm_writev_0100()
61 ssize_t rev = process_vm_readv(getpid(), local, 2, remote, 2, 0); in process_vm_writev_0200()
83 ssize_t rev = process_vm_readv(getpid(), &local, 1, &remote, 1, 0); in process_vm_writev_0300()
H A Dsplice.c53 ssize_t result = splice(fromfd, &off, tofd, &off, len, flags); in splice_0100()
98 ssize_t bytes = splice(fromfd, NULL, pipe1[1], NULL, len, flags); in splice_0200()
130 ssize_t bytes = splice(-1, NULL, -1, NULL, -1, -1); in splice_0300()
/third_party/rust/crates/libc/src/unix/newlib/espidf/
H A Dmod.rs100 pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t; in getrandom()
103 pub fn sendmsg(s: ::c_int, msg: *const ::msghdr, flags: ::c_int) -> ::ssize_t; in sendmsg()
105 pub fn recvmsg(s: ::c_int, msg: *mut ::msghdr, flags: ::c_int) -> ::ssize_t; in recvmsg()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
H A DNDKExtractor.cpp106 ssize_t inputIndex = AMediaCodec_dequeueInputBuffer(codec, 2000); in decode()
123 ssize_t sampleSize = AMediaExtractor_readSampleData(extractor, inputBuffer, inputSize); in decode()
149 ssize_t outputIndex = AMediaCodec_dequeueOutputBuffer(codec, &info, 0); in decode()
/third_party/curl/lib/
H A Dhttp2.c110 static ssize_t populate_binsettings(uint8_t *binsettings, in populate_binsettings()
356 static ssize_t nw_in_reader(void *reader_ctx, in nw_in_reader()
366 static ssize_t nw_out_writer(void *writer_ctx, in nw_out_writer()
374 ssize_t nwritten = Curl_conn_cf_send(cf->next, data, in nw_out_writer()
383 static ssize_t send_callback(nghttp2_session *h2,
458 ssize_t binlen; /* length of the binsettings data */ in cf_h2_ctx_init()
548 ssize_t rv; in h2_process_pending_input()
603 ssize_t nread = -1; in http2_connisalive()
661 ssize_t nwritten; in nw_out_flush()
685 static ssize_t send_callbac
[all...]
H A Dcurl_rtmp.c301 static ssize_t rtmp_recv(struct Curl_easy *data, int sockindex, char *buf, in rtmp_recv()
306 ssize_t nread; in rtmp_recv()
323 static ssize_t rtmp_send(struct Curl_easy *data, int sockindex, in rtmp_send()
328 ssize_t num; in rtmp_send()
H A Dcurl_setup_once.h134 #define sread(x,y,z) (ssize_t)read((RECV_TYPE_ARG1)(x), \
161 #define sread(x,y,z) (ssize_t)recv((RECV_TYPE_ARG1)(x), \
176 #define swrite(x,y,z) (ssize_t)write((SEND_TYPE_ARG1)(x), \
181 #define swrite(x,y,z) (ssize_t)send((SEND_TYPE_ARG1)(x), \
/third_party/libcoap/src/
H A Dcoap_ws.c164 ssize_t bytes_size; in coap_ws_log_header()
204 ssize_t
207 ssize_t hdr_len = 2; in coap_ws_write()
208 ssize_t ret; in coap_ws_write()
279 if (ret == (ssize_t)datalen) in coap_ws_write()
497 ssize_t bytes; in coap_ws_rd_http_header()
498 ssize_t rem; in coap_ws_rd_http_header()
579 ssize_t
581 ssize_t bytes_size = 0; in coap_ws_read()
582 ssize_t extra_hdr_le in coap_ws_read()
[all...]
/third_party/exfatprogs/include/
H A Dlibexfat.h140 ssize_t exfat_read(int fd, void *buf, size_t size, off_t offset);
141 ssize_t exfat_write(int fd, void *buf, size_t size, off_t offset);
144 ssize_t exfat_utf16_enc(const char *in_str, __u16 *out_str, size_t out_size);
145 ssize_t exfat_utf16_dec(const __u16 *in_str, size_t in_len,
/third_party/ffmpeg/libavformat/
H A Dtls_libtls.c51 static ssize_t tls_read_callback(struct tls *ctx, void *buf, size_t buflen, void *cb_arg) in tls_read_callback()
62 static ssize_t tls_write_callback(struct tls *ctx, const void *buf, size_t buflen, void *cb_arg) in tls_write_callback()
155 ssize_t ret; in ff_tls_read()
170 ssize_t ret; in ff_tls_write()
/third_party/NuttX/drivers/bch/
H A Dbchdev_driver.c48 static ssize_t bch_read(struct file *filep, char *buffer,
50 static ssize_t bch_write(struct file *filep, const char *buffer,
238 static ssize_t bch_read(struct file *filep, char *buffer, size_t len) in bch_read()
261 static ssize_t bch_write(struct file *filep, const char *buffer, size_t len) in bch_write()
/third_party/musl/porting/liteos_m/kernel/include/
H A Dstdio.h152 ssize_t getdelim(char **__restrict, size_t *__restrict, int, FILE *__restrict);
153 ssize_t getline(char **__restrict, size_t *__restrict, FILE *__restrict);
191 typedef ssize_t (cookie_read_function_t)(void *, char *, size_t);
192 typedef ssize_t (cookie_write_function_t)(void *, const char *, size_t);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dstdio.h154 ssize_t getdelim(char **__restrict, size_t *__restrict, int, FILE *__restrict);
155 ssize_t getline(char **__restrict, size_t *__restrict, FILE *__restrict);
193 typedef ssize_t (cookie_read_function_t)(void *, char *, size_t);
194 typedef ssize_t (cookie_write_function_t)(void *, const char *, size_t);
/third_party/musl/porting/linux/user/include/
H A Dstdio.h155 ssize_t getdelim(char **__restrict, size_t *__restrict, int, FILE *__restrict);
156 ssize_t getline(char **__restrict, size_t *__restrict, FILE *__restrict);
198 typedef ssize_t (cookie_read_function_t)(void *, char *, size_t);
199 typedef ssize_t (cookie_write_function_t)(void *, const char *, size_t);
/third_party/musl/porting/uniproton/kernel/include/
H A Dstdio.h152 ssize_t getdelim(char **__restrict, size_t *__restrict, int, FILE *__restrict);
153 ssize_t getline(char **__restrict, size_t *__restrict, FILE *__restrict);
191 typedef ssize_t (cookie_read_function_t)(void *, char *, size_t);
192 typedef ssize_t (cookie_write_function_t)(void *, const char *, size_t);
/third_party/musl/include/
H A Dstdio.h155 ssize_t getdelim(char **__restrict, size_t *__restrict, int, FILE *__restrict);
156 ssize_t getline(char **__restrict, size_t *__restrict, FILE *__restrict);
198 typedef ssize_t (cookie_read_function_t)(void *, char *, size_t);
199 typedef ssize_t (cookie_write_function_t)(void *, const char *, size_t);
/third_party/curl/lib/vtls/
H A Drustls.c90 ssize_t nread = Curl_conn_cf_recv(io_ctx->cf->next, io_ctx->data, in read_cb()
109 ssize_t nwritten = Curl_conn_cf_send(io_ctx->cf->next, io_ctx->data, in write_cb()
126 static ssize_t tls_recv_more(struct Curl_cfilter *cf, in tls_recv_more()
166 return (ssize_t)tls_bytes_read; in tls_recv_more()
181 static ssize_t
192 ssize_t nread; in cr_recv()
247 nread = (ssize_t)plain_bytes_copied; in cr_recv()
274 static ssize_t
670 ssize_t n = 0; in cr_close()
/base/startup/init/ueventd/
H A Dueventd.c264 void ParseUeventMessage(const char *buffer, ssize_t length, struct Uevent *uevent) in ParseUeventMessage()
278 ssize_t pos = 0; in ParseUeventMessage()
286 pos += (ssize_t)len + 1; in ParseUeventMessage()
294 ssize_t n = 0; in ProcessUevent()
324 ssize_t n = write(fd, "add\n", WRITE_SIZE); in DoTrigger()
/third_party/mesa3d/src/freedreno/afuc/
H A Demu-ui.c108 ssize_t ret = getline(&buf, &n, stdin); in readline()
116 static ssize_t
121 ssize_t ret = readline(&p); in read_two_values()
131 static ssize_t
136 ssize_t ret = readline(&p); in read_one_value()
/third_party/libfuse/example/
H A Dhello_ll_uds.c221 static ssize_t stream_writev(int fd, struct iovec *iov, int count, in stream_writev()
225 ssize_t written = 0; in stream_writev()
244 static ssize_t readall(int fd, void *buf, size_t len) { in readall()
260 static ssize_t stream_read(int fd, void *buf, size_t buf_len, void *userdata) { in stream_read()
280 static ssize_t stream_splice_send(int fdin, off_t *offin, int fdout, in stream_splice_send()
/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_socket.c206 ssize_t ConnSendSocketData(int32_t fd, const char *buf, size_t len, int32_t timeout) in ConnSendSocketData()
222 ssize_t bytes = 0; in ConnSendSocketData()
224 ssize_t rc = SOFTBUS_TEMP_FAILURE_RETRY(SoftBusSocketSend(fd, &buf[bytes], len - bytes, 0)); in ConnSendSocketData()
236 if (bytes == (ssize_t)(len)) { in ConnSendSocketData()
254 static ssize_t OnRecvData(int32_t fd, char *buf, size_t len, int timeout, int flags) in OnRecvData()
269 ssize_t rc = SOFTBUS_TEMP_FAILURE_RETRY(SoftBusSocketRecv(fd, buf, len, flags)); in OnRecvData()
284 ssize_t ConnRecvSocketData(int32_t fd, char *buf, size_t len, int32_t timeout) in ConnRecvSocketData()
/third_party/nghttp2/tests/
H A Dfailmalloc_test.c62 static ssize_t null_send_callback(nghttp2_session *session, const uint8_t *data, in null_send_callback()
69 return (ssize_t)len; in null_send_callback()
72 static ssize_t data_feed_recv_callback(nghttp2_session *session, uint8_t *data, in data_feed_recv_callback()
82 return (ssize_t)wlen; in data_feed_recv_callback()
85 static ssize_t fixed_length_data_source_read_callback( in fixed_length_data_source_read_callback()
104 return (ssize_t)wlen; in fixed_length_data_source_read_callback()
224 ssize_t txdatalen; in run_nghttp2_session_send_server()
/third_party/node/deps/openssl/openssl/providers/implementations/rands/seeding/
H A Drand_unix.c220 static ssize_t sysctl_random(char *buf, size_t buflen) in sysctl_random()
227 * Note: sign conversion between size_t and ssize_t is safe even in sysctl_random()
334 static ssize_t syscall_random(void *buf, size_t buflen) in syscall_random()
343 * between size_t and ssize_t is safe even without a range check. in syscall_random()
365 return (ssize_t)buflen; in syscall_random()
372 return (ssize_t)buflen; in syscall_random()
389 return p_getentropy.f(buf, buflen) == 0 ? (ssize_t)buflen : -1; in syscall_random()
639 ssize_t bytes; in ossl_pool_acquire_entropy()
676 ssize_t bytes = 0; in ossl_pool_acquire_entropy()

Completed in 16 milliseconds

1...<<11121314151617181920>>...70