/external/icu4c/common/ |
D | cstring.c | 157 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/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/openssl/crypto/rsa/ |
D | rsa_pmeth.c | 93 unsigned char *tbuf; member 107 rctx->tbuf = NULL; in pkey_rsa_init() 139 if (ctx->tbuf) in setup_tbuf() 141 ctx->tbuf = OPENSSL_malloc(EVP_PKEY_size(pk->pkey)); in setup_tbuf() 142 if (!ctx->tbuf) in setup_tbuf() 154 if (rctx->tbuf) in pkey_rsa_cleanup() 155 OPENSSL_free(rctx->tbuf); in pkey_rsa_cleanup() 242 memcpy(rctx->tbuf, tbs, tbslen); in pkey_rsa_sign() 243 rctx->tbuf[tbslen] = in pkey_rsa_sign() 245 ret = RSA_private_encrypt(tbslen + 1, rctx->tbuf, in pkey_rsa_sign() [all …]
|
/external/openssh/ |
D | sftp-common.c | 195 char buf[1024], mode[11+1], tbuf[12+1], ubuf[11+1], gbuf[11+1]; in ls_file() local 213 sz = strftime(tbuf, sizeof tbuf, "%b %e %H:%M", ltime); in ls_file() 215 sz = strftime(tbuf, sizeof tbuf, "%b %e %Y", ltime); in ls_file() 218 tbuf[0] = '\0'; in ls_file() 225 sbuf, tbuf, name); in ls_file() 229 (unsigned long long)st->st_size, tbuf, name); in ls_file()
|
/external/openssh/openbsd-compat/ |
D | vis.c | 169 char tbuf[5]; in strnvis() local 189 i = vis(tbuf, c, flag, *++src) - tbuf; in strnvis() 191 memcpy(dst, tbuf, i); in strnvis() 204 dst += vis(tbuf, c, flag, *++src) - tbuf; in strnvis()
|
/external/eigen/unsupported/test/ |
D | FFTW.cpp | 89 ScalarVector tbuf(nfft); in test_scalar_generic() local 92 tbuf[k]= (T)( rand()/(double)RAND_MAX - .5); in test_scalar_generic() 97 fft.fwd( freqBuf,tbuf); in test_scalar_generic() 99 VERIFY( fft_rmse(freqBuf,tbuf) < test_precision<T>() );// gross check in test_scalar_generic() 102 fft.fwd( freqBuf,tbuf); in test_scalar_generic() 104 VERIFY( fft_rmse(freqBuf,tbuf) < test_precision<T>() );// gross check in test_scalar_generic() 111 VERIFY( dif_rmse(tbuf,tbuf2) < test_precision<T>() );// gross check in test_scalar_generic() 127 VERIFY( dif_rmse(tbuf,tbuf3) < test_precision<T>() );// gross check in test_scalar_generic() 132 VERIFY( 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/libusb/libusb/ |
D | descriptor.c | 678 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/libusb_aah/libusb/ |
D | descriptor.c | 681 unsigned char tbuf[255]; /* Some devices choke on size > 255 */ in libusb_get_string_descriptor_ascii() local 697 r = libusb_get_string_descriptor(dev, 0, 0, tbuf, sizeof(tbuf)); in libusb_get_string_descriptor_ascii() 704 langid = tbuf[2] | (tbuf[3] << 8); in libusb_get_string_descriptor_ascii() 706 r = libusb_get_string_descriptor(dev, desc_index, langid, tbuf, in libusb_get_string_descriptor_ascii() 707 sizeof(tbuf)); in libusb_get_string_descriptor_ascii() 711 if (tbuf[1] != LIBUSB_DT_STRING) in libusb_get_string_descriptor_ascii() 714 if (tbuf[0] > r) in libusb_get_string_descriptor_ascii() 717 for (di = 0, si = 2; si < tbuf[0]; si += 2) { in libusb_get_string_descriptor_ascii() 721 if (tbuf[si + 1]) /* high byte */ in libusb_get_string_descriptor_ascii() 724 data[di++] = tbuf[si]; in libusb_get_string_descriptor_ascii()
|
/external/strace/ |
D | resource.c | 457 struct tms tbuf; in sys_times() local 464 else if (umove(tcp, tcp->u_arg[0], &tbuf) < 0) in sys_times() 468 tbuf.tms_utime, tbuf.tms_stime); in sys_times() 470 tbuf.tms_cutime, tbuf.tms_cstime); in sys_times()
|
/external/grub/netboot/ |
D | lance.c | 88 unsigned char tbuf[ETH_FRAME_LEN]; member 345 memcpy(lp->tbuf, d, ETH_ALEN); /* dst */ in lance_transmit() 346 memcpy(&lp->tbuf[ETH_ALEN], nic->node_addr, ETH_ALEN); /* src */ in lance_transmit() 347 lp->tbuf[ETH_ALEN+ETH_ALEN] = t >> 8; /* type */ in lance_transmit() 348 lp->tbuf[ETH_ALEN+ETH_ALEN+1] = t; /* type */ in lance_transmit() 349 memcpy(&lp->tbuf[ETH_HLEN], p, s); in lance_transmit() 353 lp->tbuf[s++] = 0; in lance_transmit() 357 lp->tx_ring.u.base = virt_to_bus(lp->tbuf) & 0xffffff; in lance_transmit()
|
/external/webkit/Source/WebCore/loader/ |
D | FTPDirectoryParser.cpp | 125 char tbuf[4]; in parseOneFTPLine() local 558 tbuf[0] = p[0]; in parseOneFTPLine() 559 tbuf[1] = toASCIILower(p[1]); in parseOneFTPLine() 560 tbuf[2] = toASCIILower(p[2]); in parseOneFTPLine() 564 if (tbuf[0] == month_names[pos+0] && in parseOneFTPLine() 565 tbuf[1] == month_names[pos+1] && in parseOneFTPLine() 566 tbuf[2] == month_names[pos+2]) in parseOneFTPLine() 1387 tbuf[0] = toASCIIUpper(p[0]); in parseOneFTPLine() 1388 tbuf[1] = toASCIILower(p[1]); in parseOneFTPLine() 1389 tbuf[2] = toASCIILower(p[2]); in parseOneFTPLine() [all …]
|
/external/skia/src/opts/ |
D | SkBlitRow_opts_arm_neon.cpp | 606 char tbuf[32]; in showme8() local 611 sprintf(tbuf, " %02x", pc[i]); in showme8() 612 strcat(buf, tbuf); in showme8() 619 char tbuf[32]; in showme16() local 625 sprintf(tbuf, " %04x", pc[i]); in showme16() 626 strcat(buf, tbuf); in showme16()
|
/external/quake/quake/src/WinQuake/ |
D | console.cpp | 156 char tbuf[CON_TEXTSIZE]; in Con_CheckResize() local 186 Q_memcpy (tbuf, con_text, CON_TEXTSIZE); in Con_CheckResize() 194 tbuf[((con_current - i + oldtotallines) % in Con_CheckResize()
|
/external/openssl/crypto/objects/ |
D | obj_dat.c | 472 char tbuf[DECIMAL_SIZE(i)+DECIMAL_SIZE(l)+2]; in OBJ_obj2txt() local 597 BIO_snprintf(tbuf,sizeof tbuf,".%lu",l); in OBJ_obj2txt() 598 i=strlen(tbuf); in OBJ_obj2txt() 601 BUF_strlcpy(buf,tbuf,buf_len); in OBJ_obj2txt()
|
/external/quake/quake/src/QW/client/ |
D | console.c | 158 char tbuf[CON_TEXTSIZE]; in Con_Resize() local 188 Q_memcpy (tbuf, con->text, CON_TEXTSIZE); in Con_Resize() 196 tbuf[((con->current - i + oldtotallines) % in Con_Resize()
|
/external/skia/legacy/src/opts/ |
D | SkBlitRow_opts_arm.cpp | 1420 char tbuf[32]; in showme8() local 1425 sprintf(tbuf, " %02x", pc[i]); in showme8() 1426 strcat(buf, tbuf); in showme8() 1433 char tbuf[32]; in showme16() local 1439 sprintf(tbuf, " %04x", pc[i]); in showme16() 1440 strcat(buf, tbuf); in showme16()
|
/external/mksh/src/ |
D | expr.c | 254 char tbuf[2]; in evalerr() local 271 tbuf[0] = *es->tokp; in evalerr() 272 tbuf[1] = '\0'; in evalerr() 273 s = tbuf; in evalerr()
|
/external/libnfc-nci/src/gki/ulinux/ |
D | gki_ulinux.c | 1030 INT8 *GKI_get_time_stamp (INT8 *tbuf) in GKI_get_time_stamp() argument 1036 INT8 *p_out = tbuf; in GKI_get_time_stamp() 1062 return (tbuf); in GKI_get_time_stamp()
|
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/ |
D | gki_ulinux.c | 1052 INT8 *GKI_get_time_stamp (INT8 *tbuf) in GKI_get_time_stamp() argument 1058 INT8 *p_out = tbuf; in GKI_get_time_stamp() 1084 return (tbuf); in GKI_get_time_stamp()
|
/external/bluetooth/bluedroid/gki/ulinux/ |
D | gki_ulinux.c | 1287 INT8 *GKI_get_time_stamp (INT8 *tbuf) in GKI_get_time_stamp() argument 1293 INT8 *p_out = tbuf; in GKI_get_time_stamp() 1319 return (tbuf); in GKI_get_time_stamp()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_atheros.c | 1329 u8 tbuf[IW_PRIV_SIZE_MASK]; /* max size is 2047 bytes */ in fetch_pending_big_events() local 1339 iwr.u.data.pointer = (void *) tbuf; in fetch_pending_big_events() 1340 iwr.u.data.length = sizeof(tbuf); in fetch_pending_big_events() 1357 (u8 *) tbuf, data_len); in fetch_pending_big_events() 1362 os_memcpy(&freq, tbuf, sizeof(freq)); in fetch_pending_big_events() 1363 os_memcpy(&frame_type, &tbuf[sizeof(freq)], in fetch_pending_big_events() 1365 mgmt = (void *) &tbuf[sizeof(freq) + sizeof(frame_type)]; in fetch_pending_big_events()
|