/external/icu/icu4c/source/common/ |
D | cstring.cpp | 159 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 …]
|
/external/strace/tests/ |
D | times.c | 92 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/tests-mx32/ |
D | times.c | 92 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/tests-m32/ |
D | times.c | 92 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/ |
D | times.c | 43 tms_t tbuf; in SYS_FUNC() local 48 if (!umove_or_printaddr(tcp, tcp->u_arg[0], &tbuf)) { in SYS_FUNC() 50 zero_extend_signed_to_ull(tbuf.tms_utime), in SYS_FUNC() 51 zero_extend_signed_to_ull(tbuf.tms_stime)); in SYS_FUNC() 53 zero_extend_signed_to_ull(tbuf.tms_cutime), in SYS_FUNC() 54 zero_extend_signed_to_ull(tbuf.tms_cstime)); in SYS_FUNC()
|
/external/javassist/src/main/javassist/compiler/ |
D | Lex.java | 126 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/libvpx/libvpx/vpx_dsp/x86/ |
D | transpose_sse2.h | 226 __m128i tbuf[8]; in transpose_16bit_16x16() local 228 transpose_16bit_8x8(right, tbuf); in transpose_16bit_16x16() 232 left[8] = tbuf[0]; in transpose_16bit_16x16() 233 left[9] = tbuf[1]; in transpose_16bit_16x16() 234 left[10] = tbuf[2]; in transpose_16bit_16x16() 235 left[11] = tbuf[3]; in transpose_16bit_16x16() 236 left[12] = tbuf[4]; in transpose_16bit_16x16() 237 left[13] = tbuf[5]; in transpose_16bit_16x16() 238 left[14] = tbuf[6]; in transpose_16bit_16x16() 239 left[15] = tbuf[7]; in transpose_16bit_16x16()
|
/external/boringssl/src/crypto/evp/ |
D | p_rsa.c | 89 uint8_t *tbuf; member 155 OPENSSL_free(rctx->tbuf); in pkey_rsa_cleanup() 161 if (ctx->tbuf) { in setup_tbuf() 164 ctx->tbuf = OPENSSL_malloc(EVP_PKEY_size(pk->pkey)); in setup_tbuf() 165 if (!ctx->tbuf) { in setup_tbuf() 232 !RSA_verify_raw(rsa, &rslen, rctx->tbuf, key_len, sig, siglen, in pkey_rsa_verify() 235 CRYPTO_memcmp(tbs, rctx->tbuf, rslen) != 0) { in pkey_rsa_verify() 283 if (!RSA_verify_raw(rsa, &rslen, rctx->tbuf, key_len, sig, sig_len, in pkey_rsa_verify_recover() 287 CRYPTO_memcmp(rctx->tbuf, asn1_prefix, asn1_prefix_len - hash_len) != 0) { in pkey_rsa_verify_recover() 300 OPENSSL_memcpy(out, rctx->tbuf + rslen - hash_len, hash_len); in pkey_rsa_verify_recover() [all …]
|
/external/eigen/unsupported/test/ |
D | FFTW.cpp | 86 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( T(fft_rmse(freqBuf,tbuf)) < test_precision<T>() );// gross check in test_scalar_generic() 99 fft.fwd( freqBuf,tbuf); in test_scalar_generic() 101 VERIFY( T(fft_rmse(freqBuf,tbuf)) < test_precision<T>() );// gross check in test_scalar_generic() 108 VERIFY( T(dif_rmse(tbuf,tbuf2)) < test_precision<T>() );// gross check in test_scalar_generic() 124 VERIFY( T(dif_rmse(tbuf,tbuf3)) < test_precision<T>() );// gross check in test_scalar_generic() 129 VERIFY( T(dif_rmse(tbuf,tbuf2)) < test_precision<T>() );// gross check in test_scalar_generic()
|
/external/ipsec-tools/src/racoon/ |
D | logger.c | 82 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);
|
D | security.c | 72 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;
|
D | racoonctl.c | 1099 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);
|
D | logger.h | 41 time_t *tbuf; member
|
/external/pdfium/third_party/libtiff/ |
D | tif_luv.c | 166 uint8* tbuf; /* translation buffer */ member 211 tp = (int16*) sp->tbuf; in LogL16Decode() 284 tp = (uint32 *) sp->tbuf; in LogLuvDecode24() 345 tp = (uint32*) sp->tbuf; in LogLuvDecode32() 459 tp = (int16*) sp->tbuf; in LogL16Encode() 552 tp = (uint32*) sp->tbuf; in LogLuvEncode24() 610 tp = (uint32*) sp->tbuf; in LogLuvEncode32() 784 int16* l16 = (int16*) sp->tbuf; in L16toY() 794 int16* l16 = (int16*) sp->tbuf; in L16toGry() 806 int16* l16 = (int16*) sp->tbuf; in L16fromY() [all …]
|
D | tif_pixarlog.c | 463 uint16 *tbuf; member 699 sp->tbuf = (uint16 *) _TIFFmalloc(tbuf_size); in PixarLogSetupDecode() 700 if (sp->tbuf == NULL) in PixarLogSetupDecode() 706 _TIFFfree(sp->tbuf); in PixarLogSetupDecode() 707 sp->tbuf = NULL; in PixarLogSetupDecode() 716 _TIFFfree(sp->tbuf); in PixarLogSetupDecode() 717 sp->tbuf = NULL; in PixarLogSetupDecode() 791 sp->stream.next_out = (unsigned char *) sp->tbuf; in PixarLogDecode() 839 up = sp->tbuf; in PixarLogDecode() 917 sp->tbuf = (uint16 *) _TIFFmalloc(tbuf_size); in PixarLogSetupEncode() [all …]
|
/external/libusb/libusb/ |
D | descriptor.c | 1143 unsigned char tbuf[255]; /* Some devices choke on size > 255 */ in libusb_get_string_descriptor_ascii() local 1159 r = libusb_get_string_descriptor(dev_handle, 0, 0, tbuf, sizeof(tbuf)); in libusb_get_string_descriptor_ascii() 1166 langid = tbuf[2] | (tbuf[3] << 8); in libusb_get_string_descriptor_ascii() 1168 r = libusb_get_string_descriptor(dev_handle, desc_index, langid, tbuf, in libusb_get_string_descriptor_ascii() 1169 sizeof(tbuf)); in libusb_get_string_descriptor_ascii() 1173 if (tbuf[1] != LIBUSB_DT_STRING) in libusb_get_string_descriptor_ascii() 1176 if (tbuf[0] > r) in libusb_get_string_descriptor_ascii() 1179 for (di = 0, si = 2; si < tbuf[0]; si += 2) { in libusb_get_string_descriptor_ascii() 1183 if ((tbuf[si] & 0x80) || (tbuf[si + 1])) /* non-ASCII */ in libusb_get_string_descriptor_ascii() 1186 data[di++] = tbuf[si]; in libusb_get_string_descriptor_ascii()
|
/external/libcxx/src/experimental/filesystem/ |
D | operations.cpp | 601 struct ::timeval tbuf[2]; in __last_write_time() local 602 tbuf[0].tv_sec = atime.tv_sec; in __last_write_time() 603 tbuf[0].tv_usec = duration_cast<microseconds>(nanoseconds(atime.tv_nsec)).count(); in __last_write_time() 605 &tbuf[1].tv_sec, &tbuf[1].tv_usec, new_time); in __last_write_time() 612 if (::utimes(p.c_str(), tbuf) == -1) { in __last_write_time() 616 struct ::timespec tbuf[2]; in __last_write_time() local 617 tbuf[0].tv_sec = 0; in __last_write_time() 618 tbuf[0].tv_nsec = UTIME_OMIT; in __last_write_time() 621 &tbuf[1].tv_sec, &tbuf[1].tv_nsec, new_time); in __last_write_time() 627 if (::utimensat(AT_FDCWD, p.c_str(), tbuf, 0) == -1) { in __last_write_time()
|
/external/oj-libjdwp/src/share/back/ |
D | log_messages.c | 57 get_time_stamp(char *tbuf, size_t ltbuf) in get_time_stamp() argument 69 (void)snprintf(tbuf, ltbuf, format, (int)(millisecs)); in get_time_stamp()
|
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
D | APIInfo.java | 444 StringBuilder tbuf = new StringBuilder(); in format() local 448 tbuf.append(sig.substring(i)); in format() 451 tbuf.append(sig.substring(i, n)); in format() 454 xsig = tbuf.toString(); in format()
|
/external/tcpdump/ |
D | util-print.c | 686 u_char *tbuf, size_t tbuflen) in fetch_token() argument 711 tbuf[toklen] = *(pptr + idx); in fetch_token() 718 tbuf[toklen] = '\0'; in fetch_token()
|
/external/toybox/kconfig/lxdialog/ |
D | textbox.c | 51 int dialog_textbox(const char *title, const char *tbuf, in dialog_textbox() argument 63 buf = tbuf; in dialog_textbox()
|
/external/mksh/src/ |
D | expr.c | 176 char tbuf[2]; in evalerr() local 193 tbuf[0] = *es->tokp; in evalerr() 194 tbuf[1] = '\0'; in evalerr() 195 s = tbuf; in evalerr()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_atheros.c | 1365 u8 tbuf[IW_PRIV_SIZE_MASK]; /* max size is 2047 bytes */ in fetch_pending_big_events() local 1375 iwr.u.data.pointer = (void *) tbuf; in fetch_pending_big_events() 1376 iwr.u.data.length = sizeof(tbuf); in fetch_pending_big_events() 1393 (u8 *) tbuf, data_len); in fetch_pending_big_events() 1398 os_memcpy(&freq, tbuf, sizeof(freq)); in fetch_pending_big_events() 1399 os_memcpy(&frame_type, &tbuf[sizeof(freq)], in fetch_pending_big_events() 1401 mgmt = (void *) &tbuf[sizeof(freq) + sizeof(frame_type)]; in fetch_pending_big_events()
|
/external/one-true-awk/ |
D | run.c | 108 char *tbuf; in adjbuf() local 114 tbuf = (char *) realloc(*pbuf, minlen); in adjbuf() 115 dprintf( ("adjbuf %s: %d %d (pbuf=%p, tbuf=%p)\n", whatrtn, *psiz, minlen, *pbuf, tbuf) ); in adjbuf() 116 if (tbuf == NULL) { in adjbuf() 121 *pbuf = tbuf; in adjbuf() 124 *pbptr = tbuf + boff; in adjbuf()
|
/external/ppp/pppd/ |
D | eap.c | 319 char tbuf[9]; in pncrypt_setkey() local 330 strftime(tbuf, sizeof (tbuf), "%Y%m%d", tp); in pncrypt_setkey() 331 SHA1Update(&ctxt, tbuf, strlen(tbuf)); in pncrypt_setkey()
|