Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/common/
Dcstring.c157 char tbuf[30]; in T_CString_integerToString() local
158 int32_t tbx = sizeof(tbuf); in T_CString_integerToString()
171 tbx = sizeof(tbuf)-1; in T_CString_integerToString()
172 tbuf[tbx] = 0; /* We are generating the digits backwards. Null term the end. */ in T_CString_integerToString()
175 tbuf[--tbx] = (char)(T_CString_itosOffset(digit)); in T_CString_integerToString()
180 uprv_strcpy(buffer+length, tbuf+tbx); in T_CString_integerToString()
181 length += sizeof(tbuf) - tbx -1; in T_CString_integerToString()
195 char tbuf[30]; in T_CString_int64ToString() local
196 int32_t tbx = sizeof(tbuf); in T_CString_int64ToString()
209 tbx = sizeof(tbuf)-1; in T_CString_int64ToString()
[all …]
/external/strace/tests/
Dtimes.c92 struct tms tbuf; in main() local
108 long res = syscall(__NR_times, &tbuf); in main()
115 register long arg asm("rdi") = (long) &tbuf; in main()
123 clock_t res = times(&tbuf); in main()
134 (unsigned long long) tbuf.tms_utime, in main()
135 (unsigned long long) tbuf.tms_stime); in main()
137 (unsigned long long) tbuf.tms_cutime, in main()
138 (unsigned long long) tbuf.tms_cstime, in main()
/external/strace/
Dtimes.c42 tms_t tbuf; in SYS_FUNC() local
47 if (!umove_or_printaddr(tcp, tcp->u_arg[0], &tbuf)) { in SYS_FUNC()
49 (unsigned long long) tbuf.tms_utime, in SYS_FUNC()
50 (unsigned long long) tbuf.tms_stime); in SYS_FUNC()
52 (unsigned long long) tbuf.tms_cutime, in SYS_FUNC()
53 (unsigned long long) tbuf.tms_cstime); in SYS_FUNC()
/external/javassist/src/main/javassist/compiler/
DLex.java126 StringBuffer tbuf = textBuffer; in readLine() local
127 tbuf.setLength(0); in readLine()
128 tbuf.append('.'); in readLine()
129 return readDouble(tbuf, c, token); in readLine()
211 StringBuffer tbuf = textBuffer; in readStringL() local
212 tbuf.setLength(0); in readStringL()
222 tbuf.append((char)c); in readStringL()
239 token.textValue = tbuf.toString(); in readStringL()
297 StringBuffer tbuf = textBuffer; in readNumber() local
298 tbuf.setLength(0); in readNumber()
[all …]
/external/boringssl/src/crypto/evp/
Dp_rsa.c88 uint8_t *tbuf; member
149 OPENSSL_free(rctx->tbuf); in pkey_rsa_cleanup()
155 if (ctx->tbuf) { in setup_tbuf()
158 ctx->tbuf = OPENSSL_malloc(EVP_PKEY_size(pk->pkey)); in setup_tbuf()
159 if (!ctx->tbuf) { in setup_tbuf()
204 !RSA_padding_add_PKCS1_PSS_mgf1(rsa, rctx->tbuf, tbs, rctx->md, in pkey_rsa_sign()
206 !RSA_sign_raw(rsa, siglen, sig, *siglen, rctx->tbuf, key_len, in pkey_rsa_sign()
235 !RSA_verify_raw(rsa, &rslen, rctx->tbuf, key_len, sig, siglen, in pkey_rsa_verify()
238 rctx->tbuf, rctx->saltlen)) { in pkey_rsa_verify()
249 !RSA_verify_raw(rsa, &rslen, rctx->tbuf, key_len, sig, siglen, in pkey_rsa_verify()
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dinv_txfm_sse2.h77 __m128i tbuf[8]; in array_transpose_16x16() local
79 array_transpose_8x8(res1, tbuf); in array_transpose_16x16()
83 res0[8] = tbuf[0]; in array_transpose_16x16()
84 res0[9] = tbuf[1]; in array_transpose_16x16()
85 res0[10] = tbuf[2]; in array_transpose_16x16()
86 res0[11] = tbuf[3]; in array_transpose_16x16()
87 res0[12] = tbuf[4]; in array_transpose_16x16()
88 res0[13] = tbuf[5]; in array_transpose_16x16()
89 res0[14] = tbuf[6]; in array_transpose_16x16()
90 res0[15] = tbuf[7]; in array_transpose_16x16()
/external/eigen/unsupported/test/
DFFTW.cpp86 ScalarVector tbuf(nfft); in test_scalar_generic() local
89 tbuf[k]= (T)( rand()/(double)RAND_MAX - .5); in test_scalar_generic()
94 fft.fwd( freqBuf,tbuf); in test_scalar_generic()
96 VERIFY( fft_rmse(freqBuf,tbuf) < test_precision<T>() );// gross check in test_scalar_generic()
99 fft.fwd( freqBuf,tbuf); in test_scalar_generic()
101 VERIFY( fft_rmse(freqBuf,tbuf) < test_precision<T>() );// gross check in test_scalar_generic()
108 VERIFY( dif_rmse(tbuf,tbuf2) < test_precision<T>() );// gross check in test_scalar_generic()
124 VERIFY( dif_rmse(tbuf,tbuf3) < test_precision<T>() );// gross check in test_scalar_generic()
129 VERIFY( dif_rmse(tbuf,tbuf2) < test_precision<T>() );// gross check in test_scalar_generic()
/external/ipsec-tools/src/racoon/
Dlogger.c82 p->tbuf = (time_t *)racoon_malloc(sizeof(time_t *) * siz);
83 if (p->tbuf == NULL) {
88 memset(p->tbuf, 0, sizeof(time_t *) * siz);
111 p->tbuf[p->head] = time(NULL);
197 tm = localtime(&p->tbuf[j]);
220 racoon_free(p->tbuf);
Dsecurity.c72 vchar_t *tbuf = NULL; local
117 tbuf = isakmp_parsewoh(ISAKMP_NPTYPE_T, (struct isakmp_gen *)bp, len);
118 if (tbuf == NULL)
121 ta = (struct isakmp_parse_t *)tbuf->v;
Dracoonctl.c1099 char tbuf[56]; local
1195 strftime(tbuf, sizeof(tbuf), "%Y-%m-%d %T", tm);
1197 snprintf(tbuf, sizeof(tbuf), " ");
1198 printf("%s ", tbuf);
1314 char tbuf[56]; local
1325 strftime(tbuf, sizeof(tbuf), "%Y-%m-%d %T", tm);
1331 tbuf);
Dlogger.h41 time_t *tbuf; member
/external/libusb/libusb/
Ddescriptor.c678 unsigned char tbuf[255]; /* Some devices choke on size > 255 */ in libusb_get_string_descriptor_ascii() local
686 r = libusb_get_string_descriptor(dev, 0, 0, tbuf, sizeof(tbuf)); in libusb_get_string_descriptor_ascii()
693 langid = tbuf[2] | (tbuf[3] << 8); in libusb_get_string_descriptor_ascii()
695 r = libusb_get_string_descriptor(dev, desc_index, langid, tbuf, in libusb_get_string_descriptor_ascii()
696 sizeof(tbuf)); in libusb_get_string_descriptor_ascii()
700 if (tbuf[1] != LIBUSB_DT_STRING) in libusb_get_string_descriptor_ascii()
703 if (tbuf[0] > r) in libusb_get_string_descriptor_ascii()
706 for (di = 0, si = 2; si < tbuf[0]; si += 2) { in libusb_get_string_descriptor_ascii()
710 if (tbuf[si + 1]) /* high byte */ in libusb_get_string_descriptor_ascii()
713 data[di++] = tbuf[si]; in libusb_get_string_descriptor_ascii()
/external/pdfium/third_party/libtiff/
Dtif_luv.c165 uint8* tbuf; /* translation buffer */ member
206 tp = (int16*) sp->tbuf; in LogL16Decode()
272 tp = (uint32 *) sp->tbuf; in LogLuvDecode24()
329 tp = (uint32*) sp->tbuf; in LogLuvDecode32()
435 tp = (int16*) sp->tbuf; in LogL16Encode()
523 tp = (uint32*) sp->tbuf; in LogLuvEncode24()
576 tp = (uint32*) sp->tbuf; in LogLuvEncode32()
742 int16* l16 = (int16*) sp->tbuf; in L16toY()
752 int16* l16 = (int16*) sp->tbuf; in L16toGry()
764 int16* l16 = (int16*) sp->tbuf; in L16fromY()
[all …]
Dtif_pixarlog.c460 uint16 *tbuf; member
692 sp->tbuf = (uint16 *) _TIFFmalloc(tbuf_size); in PixarLogSetupDecode()
693 if (sp->tbuf == NULL) in PixarLogSetupDecode()
773 sp->stream.next_out = (unsigned char *) sp->tbuf; in PixarLogDecode()
812 up = sp->tbuf; in PixarLogDecode()
890 sp->tbuf = (uint16 *) _TIFFmalloc(tbuf_size); in PixarLogSetupEncode()
891 if (sp->tbuf == NULL) in PixarLogSetupEncode()
1135 for (i = 0, up = sp->tbuf; i < n; i += llen, up += llen) { in PixarLogEncode()
1160 sp->stream.next_in = (unsigned char *) sp->tbuf; in PixarLogEncode()
1266 if (sp->tbuf) in PixarLogCleanup()
[all …]
/external/opencv3/3rdparty/libtiff/
Dtif_luv.c165 uint8* tbuf; /* translation buffer */ member
206 tp = (int16*) sp->tbuf; in LogL16Decode()
272 tp = (uint32 *) sp->tbuf; in LogLuvDecode24()
329 tp = (uint32*) sp->tbuf; in LogLuvDecode32()
429 tp = (int16*) sp->tbuf; in LogL16Encode()
517 tp = (uint32*) sp->tbuf; in LogLuvEncode24()
570 tp = (uint32*) sp->tbuf; in LogLuvEncode32()
728 int16* l16 = (int16*) sp->tbuf; in L16toY()
738 int16* l16 = (int16*) sp->tbuf; in L16toGry()
750 int16* l16 = (int16*) sp->tbuf; in L16fromY()
[all …]
Dtif_pixarlog.c460 uint16 *tbuf; member
676 sp->tbuf = (uint16 *) _TIFFmalloc(tbuf_size+sizeof(uint16)); in PixarLogSetupDecode()
677 if (sp->tbuf == NULL) in PixarLogSetupDecode()
757 sp->stream.next_out = (unsigned char *) sp->tbuf; in PixarLogDecode()
796 up = sp->tbuf; in PixarLogDecode()
874 sp->tbuf = (uint16 *) _TIFFmalloc(tbuf_size); in PixarLogSetupEncode()
875 if (sp->tbuf == NULL) in PixarLogSetupEncode()
1119 for (i = 0, up = sp->tbuf; i < n; i += llen, up += llen) { in PixarLogEncode()
1144 sp->stream.next_in = (unsigned char *) sp->tbuf; in PixarLogEncode()
1250 if (sp->tbuf) in PixarLogCleanup()
[all …]
/external/boringssl/src/crypto/obj/
Dobj.c413 char tbuf[DECIMAL_SIZE(i) + DECIMAL_SIZE(l) + 2]; in OBJ_obj2txt() local
529 BIO_snprintf(tbuf, sizeof(tbuf), ".%lu", l); in OBJ_obj2txt()
530 i = strlen(tbuf); in OBJ_obj2txt()
532 BUF_strlcpy(out, tbuf, out_len); in OBJ_obj2txt()
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DAPIInfo.java442 StringBuilder tbuf = new StringBuilder(); in format() local
446 tbuf.append(sig.substring(i)); in format()
449 tbuf.append(sig.substring(i, n)); in format()
452 xsig = tbuf.toString(); in format()
/external/tcpdump/
Dutil.c511 u_char *tbuf, size_t tbuflen) in fetch_token() argument
536 tbuf[toklen] = *(pptr + idx); in fetch_token()
543 tbuf[toklen] = '\0'; in fetch_token()
/external/toybox/kconfig/lxdialog/
Dtextbox.c51 int dialog_textbox(const char *title, const char *tbuf, in dialog_textbox() argument
63 buf = tbuf; in dialog_textbox()
/external/mksh/src/
Dexpr.c253 char tbuf[2]; in evalerr() local
270 tbuf[0] = *es->tokp; in evalerr()
271 tbuf[1] = '\0'; in evalerr()
272 s = tbuf; in evalerr()
/external/libnfc-nci/src/gki/ulinux/
Dgki_ulinux.c1031 INT8 *GKI_get_time_stamp (INT8 *tbuf) in GKI_get_time_stamp() argument
1037 INT8 *p_out = tbuf; in GKI_get_time_stamp()
1063 return (tbuf); in GKI_get_time_stamp()
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/
Dgki_ulinux.c1054 INT8 *GKI_get_time_stamp (INT8 *tbuf) in GKI_get_time_stamp() argument
1060 INT8 *p_out = tbuf; in GKI_get_time_stamp()
1086 return (tbuf); in GKI_get_time_stamp()
/external/wpa_supplicant_8/src/drivers/
Ddriver_atheros.c1308 u8 tbuf[IW_PRIV_SIZE_MASK]; /* max size is 2047 bytes */ in fetch_pending_big_events() local
1318 iwr.u.data.pointer = (void *) tbuf; in fetch_pending_big_events()
1319 iwr.u.data.length = sizeof(tbuf); in fetch_pending_big_events()
1336 (u8 *) tbuf, data_len); in fetch_pending_big_events()
1341 os_memcpy(&freq, tbuf, sizeof(freq)); in fetch_pending_big_events()
1342 os_memcpy(&frame_type, &tbuf[sizeof(freq)], in fetch_pending_big_events()
1344 mgmt = (void *) &tbuf[sizeof(freq) + sizeof(frame_type)]; in fetch_pending_big_events()
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_dct_sse2.c1197 __m128i tbuf[8]; in array_transpose_16x16() local
1199 array_transpose_8x8(res1, tbuf); in array_transpose_16x16()
1203 res0[8] = tbuf[0]; in array_transpose_16x16()
1204 res0[9] = tbuf[1]; in array_transpose_16x16()
1205 res0[10] = tbuf[2]; in array_transpose_16x16()
1206 res0[11] = tbuf[3]; in array_transpose_16x16()
1207 res0[12] = tbuf[4]; in array_transpose_16x16()
1208 res0[13] = tbuf[5]; in array_transpose_16x16()
1209 res0[14] = tbuf[6]; in array_transpose_16x16()
1210 res0[15] = tbuf[7]; in array_transpose_16x16()

12