Home
last modified time | relevance | path

Searched refs:ebuf (Results 1 - 25 of 43) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/nftw/
H A Dtools.c32 extern char ebuf[ERR_BUF_SIZ];
73 sprintf(ebuf, "Can't mkdir ./tmp"); in setup_path()
74 perror(ebuf); in setup_path()
81 sprintf(ebuf, "Can't mkdir %s %d", in setup_path()
83 perror(ebuf); in setup_path()
91 sprintf(ebuf, "Can't symlink %s ", in setup_path()
93 perror(ebuf); in setup_path()
102 sprintf(ebuf, "Can't open %s", pathdat[i].name); in setup_path()
103 perror(ebuf); in setup_path()
124 sprintf(ebuf, "Ca in setup_path()
[all...]
H A Dtools64.c32 extern char ebuf[ERR_BUF_SIZ];
72 sprintf(ebuf, "Can't mkdir ./tmp"); in setup_path()
73 perror(ebuf); in setup_path()
80 sprintf(ebuf, "Can't mkdir %s %d", in setup_path()
82 perror(ebuf); in setup_path()
90 sprintf(ebuf, "Can't symlink %s ", in setup_path()
92 perror(ebuf); in setup_path()
101 sprintf(ebuf, "Can't open %s", pathdat[i].name); in setup_path()
102 perror(ebuf); in setup_path()
123 sprintf(ebuf, "Ca in setup_path()
[all...]
/third_party/libwebsockets/lib/roles/mqtt/
H A Dops-mqtt.c32 struct lws_tokens ebuf; in rops_handle_POLLIN_mqtt() local
52 ebuf.token = NULL; in rops_handle_POLLIN_mqtt()
53 ebuf.len = 0; in rops_handle_POLLIN_mqtt()
93 ebuf.len = (int)lws_buflist_next_segment_len(&wsi->buflist, &ebuf.token); in rops_handle_POLLIN_mqtt()
94 if (ebuf.len) { in rops_handle_POLLIN_mqtt()
95 lwsl_info("draining buflist (len %d)\n", ebuf.len); in rops_handle_POLLIN_mqtt()
121 ebuf.token = pt->serv_buf; in rops_handle_POLLIN_mqtt()
122 ebuf.len = (int)wsi->a.context->pt_serv_buf_size; in rops_handle_POLLIN_mqtt()
124 if ((unsigned int)ebuf in rops_handle_POLLIN_mqtt()
[all...]
/third_party/libwebsockets/lib/roles/mqtt/client/
H A Dclient-mqtt.c193 struct lws_tokens ebuf; in lws_mqtt_client_socket_service() local
310 ebuf.token = pt->serv_buf; in lws_mqtt_client_socket_service()
311 ebuf.len = (int)wsi->a.context->pt_serv_buf_size; in lws_mqtt_client_socket_service()
313 if ((unsigned int)ebuf.len > wsi->a.context->pt_serv_buf_size) in lws_mqtt_client_socket_service()
314 ebuf.len = (int)wsi->a.context->pt_serv_buf_size; in lws_mqtt_client_socket_service()
316 if ((int)pending > ebuf.len) in lws_mqtt_client_socket_service()
317 pending = (char)ebuf.len; in lws_mqtt_client_socket_service()
319 ebuf.len = lws_ssl_capable_read(wsi, ebuf.token, in lws_mqtt_client_socket_service()
321 ebuf in lws_mqtt_client_socket_service()
[all...]
/third_party/libwebsockets/lib/core-net/
H A Dservice.c385 struct lws_tokens *ebuf, char fr, const char *hint) in lws_buflist_aware_read()
394 if (!ebuf->token) in lws_buflist_aware_read()
395 ebuf->token = pt->serv_buf + LWS_PRE; in lws_buflist_aware_read()
396 if (!ebuf->len || in lws_buflist_aware_read()
397 (unsigned int)ebuf->len > wsi->a.context->pt_serv_buf_size - LWS_PRE) in lws_buflist_aware_read()
398 ebuf->len = (int)(wsi->a.context->pt_serv_buf_size - LWS_PRE); in lws_buflist_aware_read()
400 e = ebuf->len; in lws_buflist_aware_read()
401 ep = ebuf->token; in lws_buflist_aware_read()
410 bns = (int)lws_buflist_next_segment_len(&wsi->buflist, &ebuf->token); in lws_buflist_aware_read()
411 b = ebuf in lws_buflist_aware_read()
384 lws_buflist_aware_read(struct lws_context_per_thread *pt, struct lws *wsi, struct lws_tokens *ebuf, char fr, const char *hint) lws_buflist_aware_read() argument
472 lws_buflist_aware_finished_consuming(struct lws *wsi, struct lws_tokens *ebuf, int used, int buffered, const char *hint) lws_buflist_aware_finished_consuming() argument
[all...]
/third_party/libwebsockets/lib/roles/raw-proxy/
H A Dops-raw-proxy.c31 struct lws_tokens ebuf; in rops_handle_POLLIN_raw_proxy() local
60 ebuf.token = NULL; in rops_handle_POLLIN_raw_proxy()
61 ebuf.len = 0; in rops_handle_POLLIN_raw_proxy()
62 buffered = lws_buflist_aware_read(pt, wsi, &ebuf, 1, __func__); in rops_handle_POLLIN_raw_proxy()
66 switch (ebuf.len) { in rops_handle_POLLIN_raw_proxy()
90 wsi->user_space, ebuf.token, in rops_handle_POLLIN_raw_proxy()
91 (size_t)ebuf.len); in rops_handle_POLLIN_raw_proxy()
97 if (lws_buflist_aware_finished_consuming(wsi, &ebuf, ebuf.len, in rops_handle_POLLIN_raw_proxy()
/third_party/libwebsockets/lib/roles/raw-skt/
H A Dops-raw-skt.c85 struct lws_tokens ebuf; local
174 ebuf.token = NULL;
175 ebuf.len = 0;
177 buffered = lws_buflist_aware_read(pt, wsi, &ebuf, 1, __func__);
178 switch (ebuf.len) {
203 n = ebuf.len;
210 wsi->user_space, ebuf.token,
211 (unsigned int)ebuf.len);
220 if (lws_buflist_aware_finished_consuming(wsi, &ebuf, ebuf
[all...]
/third_party/openssl/test/
H A Dafalgtest.c32 unsigned char ebuf[BUFFER_SIZE + 32]; in test_afalg_aes_cbc() local
62 OPENSSL_cleanse(ebuf, sizeof(ebuf)); in test_afalg_aes_cbc()
86 || !TEST_true(EVP_CipherUpdate(ctx, ebuf, &encl, in, BUFFER_SIZE)) in test_afalg_aes_cbc()
87 || !TEST_true(EVP_CipherFinal_ex(ctx, ebuf + encl, &encf))) in test_afalg_aes_cbc()
91 if (!TEST_mem_eq(enc_result, BUFFER_SIZE, ebuf, BUFFER_SIZE)) in test_afalg_aes_cbc()
96 || !TEST_true(EVP_CipherUpdate(ctx, dbuf, &decl, ebuf, encl)) in test_afalg_aes_cbc()
/third_party/backends/backend/
H A Dcanon.c632 u_char ibuf[36], ebuf[74], mbuf[12]; in attach() local
725 memset (ebuf, 0, sizeof (ebuf)); in attach()
726 buf_size = sizeof (ebuf); in attach()
728 status = get_scan_mode (fd, TRANSPARENCY_UNIT, ebuf, &buf_size); in attach()
736 DBG(3, "scan mode trans byte[%d] = %d\n", i, ebuf[i]); in attach()
740 memset (ebuf, 0, sizeof (ebuf)); in attach()
741 buf_size = sizeof (ebuf); in attach()
742 status = get_scan_mode (fd, SCAN_CONTROL_CONDITIONS, ebuf, in attach()
1826 u_char ebuf[74]; do_focus() local
[all...]
H A Dcanon-sane.c1110 u_char wbuf[72], dbuf[28], ebuf[72]; in sane_start() local
1197 memset (ebuf, 0, sizeof (ebuf)); in sane_start()
1200 ebuf, &buf_size); in sane_start()
1208 DBG (3, "scan mode control byte[%d] = %d\n", (int) i, ebuf[i]); in sane_start()
1213 memset (ebuf, 0, sizeof (ebuf)); in sane_start()
1216 ebuf, &buf_size); in sane_start()
1225 ebuf[i]); in sane_start()
1484 memset (ebuf, in sane_start()
[all...]
/third_party/libwebsockets/lib/roles/ws/ext/
H A Dextension.c249 struct lws_tokens ebuf; in lws_issue_raw_ext_access() local
252 ebuf.token = buf; in lws_issue_raw_ext_access()
253 ebuf.len = (int)len; in lws_issue_raw_ext_access()
269 &ebuf, 0); in lws_issue_raw_ext_access()
275 if (buf != ebuf.token) in lws_issue_raw_ext_access()
284 if (ebuf.len) { in lws_issue_raw_ext_access()
285 n = lws_issue_raw(wsi, ebuf.token, (size_t)ebuf.len); in lws_issue_raw_ext_access()
305 ebuf.token = NULL; in lws_issue_raw_ext_access()
306 ebuf in lws_issue_raw_ext_access()
[all...]
/third_party/libwebsockets/lib/roles/h2/
H A Dops-h2.c101 struct lws_tokens ebuf; in rops_handle_POLLIN_h2() local
203 ebuf.len = (int)lws_buflist_next_segment_len(&wsi->buflist, in rops_handle_POLLIN_h2()
204 &ebuf.token); in rops_handle_POLLIN_h2()
205 if (ebuf.len) { in rops_handle_POLLIN_h2()
206 lwsl_info("draining buflist (len %d)\n", ebuf.len); in rops_handle_POLLIN_h2()
230 ebuf.token = pt->serv_buf; in rops_handle_POLLIN_h2()
231 ebuf.len = lws_ssl_capable_read(wsi, in rops_handle_POLLIN_h2()
232 ebuf.token, in rops_handle_POLLIN_h2()
234 switch (ebuf.len) { in rops_handle_POLLIN_h2()
246 // lwsl_notice("%s: Actual RX %d\n", __func__, ebuf in rops_handle_POLLIN_h2()
[all...]
/third_party/node/deps/ngtcp2/nghttp3/lib/
H A Dnghttp3_qpack.h281 * stream into |rbuf| and writes encoder stream into |ebuf|. |nv| is
294 nghttp3_buf *rbuf, nghttp3_buf *ebuf,
424 * Reference to |ebuf|. |absidx| is an absolute index into static
434 nghttp3_buf *ebuf,
440 * Reference to |ebuf|. |absidx| is an absolute index into dynamic
450 nghttp3_buf *ebuf,
456 * |ebuf|. |absidx| is an absolute index into dynamic table to
466 nghttp3_buf *ebuf,
471 * Literal Name to |ebuf|. |nv| is a header field to insert.
480 nghttp3_buf *ebuf,
[all...]
H A Dnghttp3_qpack.c1141 nghttp3_buf *ebuf, int64_t stream_id, in nghttp3_qpack_encoder_encode()
1155 rv = nghttp3_qpack_encoder_process_dtable_update(encoder, ebuf); in nghttp3_qpack_encoder_encode()
1174 ebuf, &nva[i], base, allow_blocking); in nghttp3_qpack_encoder_encode()
1236 nghttp3_buf *ebuf) { in nghttp3_qpack_encoder_process_dtable_update()
1247 rv = nghttp3_qpack_encoder_write_set_dtable_cap(encoder, ebuf, in nghttp3_qpack_encoder_process_dtable_update()
1255 encoder, ebuf, encoder->last_max_dtable_update); in nghttp3_qpack_encoder_process_dtable_update()
1268 nghttp3_buf *ebuf, size_t cap) { in nghttp3_qpack_encoder_write_set_dtable_cap()
1270 return qpack_write_number(ebuf, 0x20, cap, 5, encoder->ctx.mem); in nghttp3_qpack_encoder_write_set_dtable_cap()
1417 nghttp3_buf *rbuf, nghttp3_buf *ebuf, in nghttp3_qpack_encoder_encode_nv()
1474 rv = nghttp3_qpack_encoder_write_duplicate_insert(encoder, ebuf, in nghttp3_qpack_encoder_encode_nv()
1139 nghttp3_qpack_encoder_encode(nghttp3_qpack_encoder *encoder, nghttp3_buf *pbuf, nghttp3_buf *rbuf, nghttp3_buf *ebuf, int64_t stream_id, const nghttp3_nv *nva, size_t nvlen) nghttp3_qpack_encoder_encode() argument
1235 nghttp3_qpack_encoder_process_dtable_update(nghttp3_qpack_encoder *encoder, nghttp3_buf *ebuf) nghttp3_qpack_encoder_process_dtable_update() argument
1267 nghttp3_qpack_encoder_write_set_dtable_cap(nghttp3_qpack_encoder *encoder, nghttp3_buf *ebuf, size_t cap) nghttp3_qpack_encoder_write_set_dtable_cap() argument
1415 nghttp3_qpack_encoder_encode_nv(nghttp3_qpack_encoder *encoder, uint64_t *pmax_cnt, uint64_t *pmin_cnt, nghttp3_buf *rbuf, nghttp3_buf *ebuf, const nghttp3_nv *nv, uint64_t base, int allow_blocking) nghttp3_qpack_encoder_encode_nv() argument
1966 nghttp3_qpack_encoder_write_static_insert(nghttp3_qpack_encoder *encoder, nghttp3_buf *ebuf, uint64_t absidx, const nghttp3_nv *nv) nghttp3_qpack_encoder_write_static_insert() argument
1976 nghttp3_qpack_encoder_write_dynamic_insert(nghttp3_qpack_encoder *encoder, nghttp3_buf *ebuf, uint64_t absidx, const nghttp3_nv *nv) nghttp3_qpack_encoder_write_dynamic_insert() argument
1987 nghttp3_qpack_encoder_write_duplicate_insert(nghttp3_qpack_encoder *encoder, nghttp3_buf *ebuf, uint64_t absidx) nghttp3_qpack_encoder_write_duplicate_insert() argument
2014 nghttp3_qpack_encoder_write_literal_insert(nghttp3_qpack_encoder *encoder, nghttp3_buf *ebuf, const nghttp3_nv *nv) nghttp3_qpack_encoder_write_literal_insert() argument
[all...]
H A Dnghttp3_stream.c436 &conn->tx.qpack.ebuf, NGHTTP3_FRAME_HEADERS, fr->nva, fr->nvlen); in nghttp3_stream_write_headers()
442 nghttp3_buf *rbuf, nghttp3_buf *ebuf, in nghttp3_stream_write_header_block()
456 rv = nghttp3_qpack_encoder_encode(qenc, &pbuf, rbuf, ebuf, in nghttp3_stream_write_header_block()
464 ebuflen = nghttp3_buf_len(ebuf); in nghttp3_stream_write_header_block()
516 nghttp3_typed_buf_init(&tbuf, ebuf, NGHTTP3_BUF_TYPE_PRIVATE); in nghttp3_stream_write_header_block()
521 nghttp3_buf_init(ebuf); in nghttp3_stream_write_header_block()
533 chunk->last = nghttp3_cpymem(chunk->last, ebuf->pos, ebuflen); in nghttp3_stream_write_header_block()
540 nghttp3_buf_reset(ebuf); in nghttp3_stream_write_header_block()
545 assert(0 == nghttp3_buf_len(ebuf)); in nghttp3_stream_write_header_block()
439 nghttp3_stream_write_header_block(nghttp3_stream *stream, nghttp3_qpack_encoder *qenc, nghttp3_stream *qenc_stream, nghttp3_buf *rbuf, nghttp3_buf *ebuf, int64_t frame_type, const nghttp3_nv *nva, size_t nvlen) nghttp3_stream_write_header_block() argument
/third_party/libwebsockets/lib/roles/h1/
H A Dops-h1.c334 struct lws_tokens ebuf; in lws_h1_server_socket_service() local
392 ebuf.token = NULL; in lws_h1_server_socket_service()
393 ebuf.len = 0; in lws_h1_server_socket_service()
394 buffered = lws_buflist_aware_read(pt, wsi, &ebuf, 0, __func__); in lws_h1_server_socket_service()
395 switch (ebuf.len) { in lws_h1_server_socket_service()
431 if (lws_buflist_aware_finished_consuming(wsi, &ebuf, 0, in lws_h1_server_socket_service()
444 n = lws_read_h2(wsi, ebuf.token, (unsigned int)ebuf.len); in lws_h1_server_socket_service()
447 n = lws_read_h1(wsi, ebuf.token, (unsigned int)ebuf in lws_h1_server_socket_service()
[all...]
/third_party/libwebsockets/lib/roles/ws/
H A Dops-ws.c608 // lwsl_hexdump_notice(ebuf.token, ebuf.len); in lws_ws_rx_sm()
613 lwsl_debug("%s: ext says %d / ebuf.len %d\n", __func__, in lws_ws_rx_sm()
620 * ebuf may be pointing somewhere completely different in lws_ws_rx_sm()
636 lwsl_debug("%s: post ext ret %d, ebuf in %d / out %d\n", in lws_ws_rx_sm()
944 struct lws_tokens ebuf; in rops_handle_POLLIN_ws() local
970 ebuf.token = NULL; in rops_handle_POLLIN_ws()
971 ebuf.len = 0; in rops_handle_POLLIN_ws()
1089 ebuf.len = (int)lws_buflist_next_segment_len(&wsi->buflist, in rops_handle_POLLIN_ws()
1090 &ebuf in rops_handle_POLLIN_ws()
[all...]
/third_party/glfw/deps/
H A Dnuklear_glfw_gl2.h129 struct nk_buffer vbuf, ebuf; in nk_glfw3_render() local
153 nk_buffer_init_default(&ebuf); in nk_glfw3_render()
154 nk_convert(&glfw.ctx, &dev->cmds, &vbuf, &ebuf, &config); in nk_glfw3_render()
163 offset = (const nk_draw_index*)nk_buffer_memory_const(&ebuf); in nk_glfw3_render()
178 nk_buffer_free(&ebuf); in nk_glfw3_render()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
H A Dtime_zone_info.cc689 char ebuf[52]; // covers entry.unused too in Open() local
692 const std::size_t zonecnt = index_size / sizeof(ebuf); in Open()
693 if (zonecnt * sizeof(ebuf) != index_size) continue; in Open()
695 if (fread(ebuf, 1, sizeof(ebuf), fp.get()) != sizeof(ebuf)) break; in Open()
696 const std::int_fast32_t start = data_offset + Decode32(ebuf + 40); in Open()
697 const std::int_fast32_t length = Decode32(ebuf + 44); in Open()
699 ebuf[40] = '\0'; // ensure zone name is NUL terminated in Open()
700 if (strcmp(name.c_str() + pos, ebuf) in Open()
[all...]
/third_party/musl/src/stdio/
H A Dvfprintf.c198 char ebuf0[3*sizeof(int)], *ebuf=&ebuf0[3*sizeof(int)], *estr; in fmt_fp() local
246 estr=fmt_u(e2<0 ? -e2 : e2, ebuf); in fmt_fp()
247 if (estr==ebuf) *--estr='0'; in fmt_fp()
259 if (p > INT_MAX-2-(ebuf-estr)-pl) in fmt_fp()
262 l = (p+2) + (ebuf-estr); in fmt_fp()
264 l = (s-buf) + (ebuf-estr); in fmt_fp()
270 pad(f, '0', l-(ebuf-estr)-(s-buf), 0, 0); in fmt_fp()
271 out(f, estr, ebuf-estr); in fmt_fp()
380 estr=fmt_u(e<0 ? -e : e, ebuf); in fmt_fp()
381 while(ebuf in fmt_fp()
[all...]
/third_party/musl/porting/liteos_a/kernel/src/stdio/
H A Dvfprintf.c194 char ebuf0[3*sizeof(int)], *ebuf=&ebuf0[3*sizeof(int)], *estr; in fmt_fp() local
242 estr=fmt_u(e2<0 ? -e2 : e2, ebuf); in fmt_fp()
243 if (estr==ebuf) *--estr='0'; in fmt_fp()
255 if (p > INT_MAX-2-(ebuf-estr)-pl) in fmt_fp()
258 l = (p+2) + (ebuf-estr); in fmt_fp()
260 l = (s-buf) + (ebuf-estr); in fmt_fp()
266 pad(f, '0', l-(ebuf-estr)-(s-buf), 0, 0); in fmt_fp()
267 out(f, estr, ebuf-estr); in fmt_fp()
376 estr=fmt_u(e<0 ? -e : e, ebuf); in fmt_fp()
377 while(ebuf in fmt_fp()
[all...]
/third_party/musl/porting/linux/user/src/stdio/
H A Dvfprintf.c200 char ebuf0[3*sizeof(int)], *ebuf=&ebuf0[3*sizeof(int)], *estr; in fmt_fp() local
248 estr=fmt_u(e2<0 ? -e2 : e2, ebuf); in fmt_fp()
249 if (estr==ebuf) *--estr='0'; in fmt_fp()
261 if (p > INT_MAX-2-(ebuf-estr)-pl) in fmt_fp()
264 l = (p+2) + (ebuf-estr); in fmt_fp()
266 l = (s-buf) + (ebuf-estr); in fmt_fp()
272 pad(f, '0', l-(ebuf-estr)-(s-buf), 0, 0); in fmt_fp()
273 out(f, estr, ebuf-estr); in fmt_fp()
382 estr=fmt_u(e<0 ? -e : e, ebuf); in fmt_fp()
383 while(ebuf in fmt_fp()
[all...]
/third_party/musl/porting/liteos_m/kernel/src/stdio/
H A Dvfprintf.c194 char ebuf0[3*sizeof(int)], *ebuf=&ebuf0[3*sizeof(int)]; in fmt_fp() local
243 estr=fmt_u(e2<0 ? -e2 : e2, ebuf); in fmt_fp()
244 if (estr==ebuf) *--estr='0'; in fmt_fp()
256 if (p > INT_MAX-2-(ebuf-estr)-pl) in fmt_fp()
259 l = (p+2) + (ebuf-estr); in fmt_fp()
261 l = (s-buf) + (ebuf-estr); in fmt_fp()
267 pad(f, '0', l-(ebuf-estr)-(s-buf), 0, 0); in fmt_fp()
268 out(f, estr, ebuf-estr); in fmt_fp()
377 estr=fmt_u(e<0 ? -e : e, ebuf); in fmt_fp()
378 while(ebuf in fmt_fp()
[all...]
/third_party/musl/porting/uniproton/kernel/src/stdio/
H A Dvfprintf.c194 char ebuf0[3*sizeof(int)], *ebuf=&ebuf0[3*sizeof(int)]; in fmt_fp() local
243 estr=fmt_u(e2<0 ? -e2 : e2, ebuf); in fmt_fp()
244 if (estr==ebuf) *--estr='0'; in fmt_fp()
256 if (p > INT_MAX-2-(ebuf-estr)-pl) in fmt_fp()
259 l = (p+2) + (ebuf-estr); in fmt_fp()
261 l = (s-buf) + (ebuf-estr); in fmt_fp()
267 pad(f, '0', l-(ebuf-estr)-(s-buf), 0, 0); in fmt_fp()
268 out(f, estr, ebuf-estr); in fmt_fp()
377 estr=fmt_u(e<0 ? -e : e, ebuf); in fmt_fp()
378 while(ebuf in fmt_fp()
[all...]
/third_party/libwebsockets/lib/tls/mbedtls/
H A Dmbedtls-client.c285 lws_tls_client_confirm_peer_cert(struct lws *wsi, char *ebuf, size_t ebuf_len) in lws_tls_client_confirm_peer_cert() argument
301 lws_snprintf(ebuf, ebuf_len, "no peer cert"); in lws_tls_client_confirm_peer_cert()
354 lws_snprintf(ebuf, ebuf_len, in lws_tls_client_confirm_peer_cert()
359 lwsl_info("%s\n", ebuf); in lws_tls_client_confirm_peer_cert()

Completed in 21 milliseconds

12