/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-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/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/ |
D | times.c | 43 tms_t tbuf; in SYS_FUNC() local 45 if (exiting(tcp) && !umove_or_printaddr(tcp, tcp->u_arg[0], &tbuf)) { in SYS_FUNC() 47 zero_extend_signed_to_ull(tbuf.tms_utime), in SYS_FUNC() 48 zero_extend_signed_to_ull(tbuf.tms_stime)); in SYS_FUNC() 50 zero_extend_signed_to_ull(tbuf.tms_cutime), in SYS_FUNC() 51 zero_extend_signed_to_ull(tbuf.tms_cstime)); in SYS_FUNC()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | psock_snd.c | 52 static char tbuf[TEST_SZ], rbuf[TEST_SZ]; variable 157 off += build_vnet_header(tbuf); in build_packet() 158 off += build_eth_header(tbuf + off); in build_packet() 159 off += build_ipv4_header(tbuf + off, payload_len); in build_packet() 160 off += build_udp_header(tbuf + off, payload_len); in build_packet() 162 if (off + payload_len > sizeof(tbuf)) in build_packet() 165 memset(tbuf + off, DATA_CHAR, payload_len); in build_packet() 243 do_send(fd, tbuf, len); in do_tx() 374 tbuf + sizeof(struct virtio_net_hdr)); in run_test() 376 do_rx(fdr, cfg_payload_len, tbuf + total_len - cfg_payload_len); in run_test()
|
/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/openssh/ |
D | sftp-common.c | 219 char buf[1024], mode[11+1], tbuf[12+1], ubuf[11+1], gbuf[11+1]; in ls_file() local 240 sz = strftime(tbuf, sizeof tbuf, "%b %e %H:%M", ltime); in ls_file() 242 sz = strftime(tbuf, sizeof tbuf, "%b %e %Y", ltime); in ls_file() 245 tbuf[0] = '\0'; in ls_file() 252 sbuf, tbuf, name); in ls_file() 256 (unsigned long long)st->st_size, tbuf, name); in ls_file()
|
/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/libaom/libaom/aom_dsp/x86/ |
D | transpose_sse2.h | 279 __m128i tbuf[8]; in transpose_16bit_16x16() local 281 transpose_16bit_8x8(right, tbuf); in transpose_16bit_16x16() 285 left[8] = tbuf[0]; in transpose_16bit_16x16() 286 left[9] = tbuf[1]; in transpose_16bit_16x16() 287 left[10] = tbuf[2]; in transpose_16bit_16x16() 288 left[11] = tbuf[3]; in transpose_16bit_16x16() 289 left[12] = tbuf[4]; in transpose_16bit_16x16() 290 left[13] = tbuf[5]; in transpose_16bit_16x16() 291 left[14] = tbuf[6]; in transpose_16bit_16x16() 292 left[15] = tbuf[7]; in transpose_16bit_16x16()
|
/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/openssh/openbsd-compat/ |
D | vis.c | 177 char tbuf[5]; in strnvis() local 196 i = vis(tbuf, c, flag, *++src) - tbuf; in strnvis() 198 memcpy(dst, tbuf, i); in strnvis() 211 dst += vis(tbuf, c, flag, *++src) - tbuf; in strnvis()
|
/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/u-boot/common/ |
D | usb.c | 799 unsigned char *tbuf; in usb_string() local 806 tbuf = &mybuf[0]; in usb_string() 810 err = usb_string_sub(dev, 0, 0, tbuf); in usb_string() 815 } else if (tbuf[0] < 4) { in usb_string() 820 dev->string_langid = tbuf[2] | (tbuf[3] << 8); in usb_string() 828 err = usb_string_sub(dev, dev->string_langid, index, tbuf); in usb_string() 836 if (tbuf[u+1]) /* high byte */ in usb_string() 839 buf[idx++] = tbuf[u]; in usb_string()
|
/external/u-boot/cmd/ |
D | ubi.c | 333 void *tbuf; in ubi_volume_read() local 367 tbuf = malloc_cache_aligned(tbuf_size); in ubi_volume_read() 368 if (!tbuf) { in ubi_volume_read() 382 err = ubi_eba_read_leb(ubi, vol, lnum, tbuf, off, len, 0); in ubi_volume_read() 397 memcpy(buf, tbuf, len); in ubi_volume_read() 406 free(tbuf); in ubi_volume_read()
|
/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 | 448 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()
|
/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()
|