Home
last modified time | relevance | path

Searched refs:tbuf (Results 1 – 25 of 32) sorted by relevance

12

/third_party/iowow/src/utils/
Diwxstr.c132 char *tmp, tbuf[128]; in iwxstr_vaprintf() local
141 tlen = sprintf(tbuf, cbuf, va_arg(ap, long long)); in iwxstr_vaprintf()
143 tlen = sprintf(tbuf, cbuf, va_arg(ap, long)); in iwxstr_vaprintf()
145 tlen = sprintf(tbuf, cbuf, va_arg(ap, int)); in iwxstr_vaprintf()
147 rc = iwxstr_cat(xstr, tbuf, (size_t) tlen); in iwxstr_vaprintf()
155 tlen = sprintf(tbuf, cbuf, va_arg(ap, unsigned long long)); in iwxstr_vaprintf()
157 tlen = sprintf(tbuf, cbuf, va_arg(ap, unsigned long)); in iwxstr_vaprintf()
159 tlen = sprintf(tbuf, cbuf, va_arg(ap, unsigned int)); in iwxstr_vaprintf()
161 rc = iwxstr_cat(xstr, tbuf, (size_t) tlen); in iwxstr_vaprintf()
169 tlen = snprintf(tbuf, sizeof(tbuf), cbuf, va_arg(ap, long double)); in iwxstr_vaprintf()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dcstring.cpp159 char tbuf[30]; in T_CString_integerToString() local
160 int32_t tbx = sizeof(tbuf); in T_CString_integerToString()
173 tbx = sizeof(tbuf)-1; in T_CString_integerToString()
174 tbuf[tbx] = 0; /* We are generating the digits backwards. Null term the end. */ in T_CString_integerToString()
177 tbuf[--tbx] = (char)(T_CString_itosOffset(digit)); in T_CString_integerToString()
182 uprv_strcpy(buffer+length, tbuf+tbx); in T_CString_integerToString()
183 length += sizeof(tbuf) - tbx -1; in T_CString_integerToString()
197 char tbuf[30]; in T_CString_int64ToString() local
198 int32_t tbx = sizeof(tbuf); in T_CString_int64ToString()
211 tbx = sizeof(tbuf)-1; in T_CString_int64ToString()
[all …]
/third_party/icu/icu4c/source/common/
Dcstring.cpp159 char tbuf[30]; in T_CString_integerToString() local
160 int32_t tbx = sizeof(tbuf); in T_CString_integerToString()
173 tbx = sizeof(tbuf)-1; in T_CString_integerToString()
174 tbuf[tbx] = 0; /* We are generating the digits backwards. Null term the end. */ in T_CString_integerToString()
177 tbuf[--tbx] = (char)(T_CString_itosOffset(digit)); in T_CString_integerToString()
182 uprv_strcpy(buffer+length, tbuf+tbx); in T_CString_integerToString()
183 length += sizeof(tbuf) - tbx -1; in T_CString_integerToString()
197 char tbuf[30]; in T_CString_int64ToString() local
198 int32_t tbx = sizeof(tbuf); in T_CString_int64ToString()
211 tbx = sizeof(tbuf)-1; in T_CString_int64ToString()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dcstring.cpp159 char tbuf[30]; in T_CString_integerToString() local
160 int32_t tbx = sizeof(tbuf); in T_CString_integerToString()
173 tbx = sizeof(tbuf)-1; in T_CString_integerToString()
174 tbuf[tbx] = 0; /* We are generating the digits backwards. Null term the end. */ in T_CString_integerToString()
177 tbuf[--tbx] = (char)(T_CString_itosOffset(digit)); in T_CString_integerToString()
182 uprv_strcpy(buffer+length, tbuf+tbx); in T_CString_integerToString()
183 length += sizeof(tbuf) - tbx -1; in T_CString_integerToString()
197 char tbuf[30]; in T_CString_int64ToString() local
198 int32_t tbx = sizeof(tbuf); in T_CString_int64ToString()
211 tbx = sizeof(tbuf)-1; in T_CString_int64ToString()
[all …]
/third_party/node/deps/icu-small/source/common/
Dcstring.cpp159 char tbuf[30]; in T_CString_integerToString() local
160 int32_t tbx = sizeof(tbuf); in T_CString_integerToString()
173 tbx = sizeof(tbuf)-1; in T_CString_integerToString()
174 tbuf[tbx] = 0; /* We are generating the digits backwards. Null term the end. */ in T_CString_integerToString()
177 tbuf[--tbx] = (char)(T_CString_itosOffset(digit)); in T_CString_integerToString()
182 uprv_strcpy(buffer+length, tbuf+tbx); in T_CString_integerToString()
183 length += sizeof(tbuf) - tbx -1; in T_CString_integerToString()
197 char tbuf[30]; in T_CString_int64ToString() local
198 int32_t tbx = sizeof(tbuf); in T_CString_int64ToString()
211 tbx = sizeof(tbuf)-1; in T_CString_int64ToString()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dtextoverlay.c854 GstBuffer *inbuffer, *outbuffer, *tbuf; in GST_START_TEST() local
870 tbuf = create_text_buffer ("XLX", 1 * GST_SECOND, 5 * GST_SECOND); in GST_START_TEST()
871 gst_buffer_ref (tbuf); in GST_START_TEST()
872 ASSERT_BUFFER_REFCOUNT (tbuf, "tbuf", 2); in GST_START_TEST()
875 fail_unless (gst_pad_push (mytextsrcpad, tbuf) == GST_FLOW_OK); in GST_START_TEST()
899 ASSERT_MINI_OBJECT_REFCOUNT (gst_buffer_peek_memory (tbuf, 0), "tbuf-mem", 2); in GST_START_TEST()
922 ASSERT_MINI_OBJECT_REFCOUNT (gst_buffer_peek_memory (tbuf, 0), "tbuf-mem", 2); in GST_START_TEST()
950 ASSERT_MINI_OBJECT_REFCOUNT (gst_buffer_peek_memory (tbuf, 0), "tbuf-mem", 1); in GST_START_TEST()
988 ASSERT_BUFFER_REFCOUNT (tbuf, "tbuf", 1); in GST_START_TEST()
989 gst_buffer_unref (tbuf); in GST_START_TEST()
[all …]
/third_party/openssl/crypto/rsa/
Drsa_pmeth.c44 unsigned char *tbuf; member
104 if (ctx->tbuf != NULL) in setup_tbuf()
106 if ((ctx->tbuf = OPENSSL_malloc(EVP_PKEY_size(pk->pkey))) == NULL) { in setup_tbuf()
118 OPENSSL_free(rctx->tbuf); in pkey_rsa_cleanup()
157 memcpy(rctx->tbuf, tbs, tbslen); in pkey_rsa_sign()
158 rctx->tbuf[tbslen] = RSA_X931_hash_id(EVP_MD_type(rctx->md)); in pkey_rsa_sign()
159 ret = RSA_private_encrypt(tbslen + 1, rctx->tbuf, in pkey_rsa_sign()
172 rctx->tbuf, tbs, in pkey_rsa_sign()
176 ret = RSA_private_encrypt(RSA_size(rsa), rctx->tbuf, in pkey_rsa_sign()
203 rctx->tbuf, ctx->pkey->pkey.rsa, in pkey_rsa_verifyrecover()
[all …]
/third_party/iowow/src/log/
Diwlog.c314 char tbuf[TBUF_SZ]; in _default_logfn() local
368 sz = strftime(tbuf, TBUF_SZ, "%d %b %H:%M:%S", &timeinfo); in _default_logfn()
370 tbuf[0] = '\0'; in _default_logfn()
372 tbuf[sz] = '.'; in _default_logfn()
373 sz2 = snprintf((char *) tbuf + sz + 1, 4, "%03d", (int)(ts % 1000)); in _default_logfn()
375 tbuf[sz] = '\0'; in _default_logfn()
447 …fprintf(out, "%s %s %s:%d %" PRIu64 "|%d|%d|%s|%s|%s: ", tbuf, cat, fname, line, ecode, errno_code, in _default_logfn()
451 fprintf(out, "%s %s %" PRIu64 "|%d|%d|%s|%s|%s: ", tbuf, cat, ecode, errno_code, werror_code, in _default_logfn()
456 fprintf(out, "%s %s %s:%d: ", tbuf, cat, fname, line); in _default_logfn()
458 fprintf(out, "%s %s: ", tbuf, cat); in _default_logfn()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_transfer_queue.c245 if (queue->tbuf) { in add_internal()
252 iter.data = queue->tbuf; in add_internal()
255 vws->submit_cmd(vws, queue->tbuf, NULL); in add_internal()
277 queue->tbuf = vs->vws->cmd_buf_create(vs->vws, VIRGL_MAX_TBUF_DWORDS); in virgl_transfer_queue_init()
279 queue->tbuf = NULL; in virgl_transfer_queue_init()
292 if (queue->tbuf) in virgl_transfer_queue_fini()
293 vws->cmd_buf_destroy(queue->tbuf); in virgl_transfer_queue_fini()
297 queue->tbuf = NULL; in virgl_transfer_queue_fini()
328 if (queue->tbuf) { in virgl_transfer_queue_clear()
Dvirgl_transfer_queue.h39 struct virgl_cmd_buf *tbuf; member
/third_party/openssl/crypto/asn1/
Da_int.c334 unsigned char tbuf[sizeof(r)]; in asn1_string_set_int64() local
344 off = asn1_put_uint64(tbuf, 0 - (uint64_t)r); in asn1_string_set_int64()
347 off = asn1_put_uint64(tbuf, r); in asn1_string_set_int64()
350 return ASN1_STRING_set(a, tbuf + off, sizeof(tbuf) - off); in asn1_string_set_int64()
373 unsigned char tbuf[sizeof(r)]; in asn1_string_set_uint64() local
377 off = asn1_put_uint64(tbuf, r); in asn1_string_set_uint64()
378 return ASN1_STRING_set(a, tbuf + off, sizeof(tbuf) - off); in asn1_string_set_uint64()
/third_party/openssl/crypto/objects/
Dobj_dat.c403 char tbuf[DECIMAL_SIZE(i) + DECIMAL_SIZE(l) + 2]; in OBJ_obj2txt() local
506 BIO_snprintf(tbuf, sizeof(tbuf), ".%lu", l); in OBJ_obj2txt()
507 i = strlen(tbuf); in OBJ_obj2txt()
509 OPENSSL_strlcpy(buf, tbuf, buf_len); in OBJ_obj2txt()
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DAPIInfo.java448 StringBuilder tbuf = new StringBuilder(); in format() local
452 tbuf.append(sig.substring(i)); in format()
455 tbuf.append(sig.substring(i, n)); in format()
463 xsig = tbuf.toString(); in format()
/third_party/toybox/kconfig/lxdialog/
Dtextbox.c51 int dialog_textbox(const char *title, const char *tbuf, in dialog_textbox() argument
63 buf = tbuf; in dialog_textbox()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_threaded_context.c649 tc_is_buffer_busy(struct threaded_context *tc, struct threaded_resource *tbuf, in tc_is_buffer_busy() argument
655 uint32_t id_hash = tbuf->buffer_id_unique & TC_BUFFER_ID_MASK; in tc_is_buffer_busy()
669 return tc->options.is_resource_busy(tc->pipe->screen, tbuf->latest, map_usage); in tc_is_buffer_busy()
1974 struct threaded_resource *tbuf) in tc_invalidate_buffer() argument
1976 if (!tc_is_buffer_busy(tc, tbuf, PIPE_MAP_READ_WRITE)) { in tc_invalidate_buffer()
1983 if (!tc_is_buffer_bound_for_write(tc, tbuf->buffer_id_unique)) in tc_invalidate_buffer()
1984 util_range_set_empty(&tbuf->valid_buffer_range); in tc_invalidate_buffer()
1992 if (tbuf->is_shared || in tc_invalidate_buffer()
1993 tbuf->is_user_ptr || in tc_invalidate_buffer()
1994 tbuf->b.flags & PIPE_RESOURCE_FLAG_SPARSE) in tc_invalidate_buffer()
[all …]
/third_party/mksh/
Dexpr.c176 char tbuf[2]; in evalerr() local
193 tbuf[0] = *es->tokp; in evalerr()
194 tbuf[1] = '\0'; in evalerr()
195 s = tbuf; in evalerr()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc424 std::vector<char> tbuf(len); in Load() local
425 if (zip->Read(tbuf.data(), len) != len) return false; in Load()
426 const char* bp = tbuf.data(); in Load()
486 assert(bp == tbuf.data() + tbuf.size()); in Load()
/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc423 std::vector<char> tbuf(len); in Load() local
424 if (zip->Read(tbuf.data(), len) != len) return false; in Load()
425 const char* bp = tbuf.data(); in Load()
485 assert(bp == tbuf.data() + tbuf.size()); in Load()
/third_party/libcoap/src/
Dcoap_tinydtls.c738 uint8_t *tbuf = coap_malloc(size); in pem_base64_decode() local
756 tbuf[nb64bytes++] = data[i]; in pem_base64_decode()
768 ptr = tbuf; in pem_base64_decode()
790 coap_free(tbuf); in pem_base64_decode()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_atheros.c1404 u8 tbuf[IW_PRIV_SIZE_MASK]; /* max size is 2047 bytes */ in fetch_pending_big_events() local
1414 iwr.u.data.pointer = (void *) tbuf; in fetch_pending_big_events()
1415 iwr.u.data.length = sizeof(tbuf); in fetch_pending_big_events()
1432 (u8 *) tbuf, data_len); in fetch_pending_big_events()
1437 os_memcpy(&freq, tbuf, sizeof(freq)); in fetch_pending_big_events()
1438 os_memcpy(&frame_type, &tbuf[sizeof(freq)], in fetch_pending_big_events()
1440 mgmt = (void *) &tbuf[sizeof(freq) + sizeof(frame_type)]; in fetch_pending_big_events()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_atheros.c1393 u8 tbuf[IW_PRIV_SIZE_MASK]; /* max size is 2047 bytes */ in fetch_pending_big_events() local
1403 iwr.u.data.pointer = (void *) tbuf; in fetch_pending_big_events()
1404 iwr.u.data.length = sizeof(tbuf); in fetch_pending_big_events()
1421 (u8 *) tbuf, data_len); in fetch_pending_big_events()
1426 os_memcpy(&freq, tbuf, sizeof(freq)); in fetch_pending_big_events()
1427 os_memcpy(&frame_type, &tbuf[sizeof(freq)], in fetch_pending_big_events()
1429 mgmt = (void *) &tbuf[sizeof(freq) + sizeof(frame_type)]; in fetch_pending_big_events()
/third_party/libwebsockets/lib/roles/http/server/
Dserver.c2192 char tbuf[128], *p; in lws_handshake_server() local
2443 n = lws_b64_decode_string(p, tbuf, sizeof(tbuf)); in lws_handshake_server()
2470 lws_h2_settings(wsi, &wsi->h2.h2n->peer_set, (uint8_t *)tbuf, n); in lws_handshake_server()
2476 strcpy(tbuf, "HTTP/1.1 101 Switching Protocols\x0d\x0a" in lws_handshake_server()
2479 m = (int)strlen(tbuf); in lws_handshake_server()
2480 n = lws_issue_raw(wsi, (unsigned char *)tbuf, (unsigned int)m); in lws_handshake_server()
/third_party/popt/src/
Dpopt.c856 char *tbuf = NULL; in poptSaveBits() local
864 te = tbuf = xstrdup(s); in poptSaveBits()
883 tbuf = _free(tbuf); in poptSaveBits()
/third_party/ltp/testcases/kernel/io/aio/
Daio01.c84 char tbuf[80]; variable
/third_party/lwip/src/netif/ppp/
Deap.c318 char tbuf[9]; in pncrypt_setkey() local
329 strftime(tbuf, sizeof (tbuf), "%Y%m%d", tp); in pncrypt_setkey()
330 SHA1Update(&ctxt, tbuf, strlen(tbuf)); in pncrypt_setkey()

12