Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/common/
Dcstring.c159 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-mx32/
Dtimes.c91 struct tms tbuf; in main() local
107 long res = syscall(__NR_times, &tbuf); in main()
114 register long arg asm("rdi") = (long) &tbuf; in main()
122 clock_t res = times(&tbuf); in main()
133 (unsigned long long) tbuf.tms_utime, in main()
134 (unsigned long long) tbuf.tms_stime); in main()
136 (unsigned long long) tbuf.tms_cutime, in main()
137 (unsigned long long) tbuf.tms_cstime, in main()
/external/strace/tests-m32/
Dtimes.c91 struct tms tbuf; in main() local
107 long res = syscall(__NR_times, &tbuf); in main()
114 register long arg asm("rdi") = (long) &tbuf; in main()
122 clock_t res = times(&tbuf); in main()
133 (unsigned long long) tbuf.tms_utime, in main()
134 (unsigned long long) tbuf.tms_stime); in main()
136 (unsigned long long) tbuf.tms_cutime, in main()
137 (unsigned long long) tbuf.tms_cstime, in main()
/external/strace/tests/
Dtimes.c91 struct tms tbuf; in main() local
107 long res = syscall(__NR_times, &tbuf); in main()
114 register long arg asm("rdi") = (long) &tbuf; in main()
122 clock_t res = times(&tbuf); in main()
133 (unsigned long long) tbuf.tms_utime, in main()
134 (unsigned long long) tbuf.tms_stime); in main()
136 (unsigned long long) tbuf.tms_cutime, in main()
137 (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 zero_extend_signed_to_ull(tbuf.tms_utime), in SYS_FUNC()
50 zero_extend_signed_to_ull(tbuf.tms_stime)); in SYS_FUNC()
52 zero_extend_signed_to_ull(tbuf.tms_cutime), in SYS_FUNC()
53 zero_extend_signed_to_ull(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.c89 uint8_t *tbuf; member
150 OPENSSL_free(rctx->tbuf); in pkey_rsa_cleanup()
156 if (ctx->tbuf) { in setup_tbuf()
159 ctx->tbuf = OPENSSL_malloc(EVP_PKEY_size(pk->pkey)); in setup_tbuf()
160 if (!ctx->tbuf) { in setup_tbuf()
205 !RSA_padding_add_PKCS1_PSS_mgf1(rsa, rctx->tbuf, tbs, rctx->md, in pkey_rsa_sign()
207 !RSA_sign_raw(rsa, siglen, sig, *siglen, rctx->tbuf, key_len, in pkey_rsa_sign()
241 !RSA_verify_raw(rsa, &rslen, rctx->tbuf, key_len, sig, siglen, in pkey_rsa_verify()
244 rctx->tbuf, rctx->saltlen)) { in pkey_rsa_verify()
255 !RSA_verify_raw(rsa, &rslen, rctx->tbuf, key_len, sig, siglen, in pkey_rsa_verify()
[all …]
/external/openssh/
Dsftp-common.c219 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/openssh/openbsd-compat/
Dvis.c169 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/pdfium/third_party/libtiff/
D0016-fix-leak-in-pixarlogsetupdecode.patch9 + _TIFFfree(sp->tbuf);
10 + sp->tbuf = NULL;
19 + _TIFFfree(sp->tbuf);
20 + sp->tbuf = NULL;
D0018-fix-leak-in-PredictorSetupDecode.patch9 - _TIFFfree(sp->tbuf);
10 - sp->tbuf = NULL;
19 - _TIFFfree(sp->tbuf);
20 - sp->tbuf = NULL;
Dtif_luv.c165 uint8* tbuf; /* translation buffer */ member
210 tp = (int16*) sp->tbuf; in LogL16Decode()
283 tp = (uint32 *) sp->tbuf; in LogLuvDecode24()
344 tp = (uint32*) sp->tbuf; in LogLuvDecode32()
454 tp = (int16*) sp->tbuf; in LogL16Encode()
547 tp = (uint32*) sp->tbuf; in LogLuvEncode24()
605 tp = (uint32*) sp->tbuf; in LogLuvEncode32()
775 int16* l16 = (int16*) sp->tbuf; in L16toY()
785 int16* l16 = (int16*) sp->tbuf; in L16toGry()
797 int16* l16 = (int16*) sp->tbuf; in L16fromY()
[all …]
D0003-CVE-2015-8781-8782-8783.patch28 tp = (int16*) sp->tbuf;
63 tp = (uint32 *) sp->tbuf;
83 tp = (uint32*) sp->tbuf;
121 tp = (int16*) sp->tbuf;
142 tp = (uint32*) sp->tbuf;
163 tp = (uint32*) sp->tbuf;
D0009-HeapBufferOverflow-PixarLogDecode.patch10 uint16 *tbuf;
14 sp->tbuf = (uint16 *) _TIFFmalloc(tbuf_size);
15 if (sp->tbuf == NULL)
Dtif_pixarlog.c461 uint16 *tbuf; member
693 sp->tbuf = (uint16 *) _TIFFmalloc(tbuf_size); in PixarLogSetupDecode()
694 if (sp->tbuf == NULL) in PixarLogSetupDecode()
775 sp->stream.next_out = (unsigned char *) sp->tbuf; in PixarLogDecode()
820 up = sp->tbuf; in PixarLogDecode()
898 sp->tbuf = (uint16 *) _TIFFmalloc(tbuf_size); in PixarLogSetupEncode()
899 if (sp->tbuf == NULL) in PixarLogSetupEncode()
1143 for (i = 0, up = sp->tbuf; i < n; i += llen, up += llen) { in PixarLogEncode()
1168 sp->stream.next_in = (unsigned char *) sp->tbuf; in PixarLogEncode()
1274 if (sp->tbuf) in PixarLogCleanup()
[all …]
/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( 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/
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/libvpx/libvpx/vpx_dsp/x86/
Dinv_txfm_sse2.h107 __m128i tbuf[8]; in array_transpose_16x16() local
109 array_transpose_8x8(res1, tbuf); in array_transpose_16x16()
113 res0[8] = tbuf[0]; in array_transpose_16x16()
114 res0[9] = tbuf[1]; in array_transpose_16x16()
115 res0[10] = tbuf[2]; in array_transpose_16x16()
116 res0[11] = tbuf[3]; in array_transpose_16x16()
117 res0[12] = tbuf[4]; in array_transpose_16x16()
118 res0[13] = tbuf[5]; in array_transpose_16x16()
119 res0[14] = tbuf[6]; in array_transpose_16x16()
120 res0[15] = tbuf[7]; in array_transpose_16x16()
/external/libusb/libusb/
Ddescriptor.c1143 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/
Doperations.cpp698 struct ::timeval tbuf[2]; in __last_write_time() local
699 tbuf[0].tv_sec = atime.tv_sec; in __last_write_time()
700 tbuf[0].tv_usec = duration_cast<microseconds>(nanoseconds(atime.tv_nsec)).count(); in __last_write_time()
702 &tbuf[1].tv_sec, &tbuf[1].tv_usec, new_time); in __last_write_time()
709 if (::utimes(p.c_str(), tbuf) == -1) { in __last_write_time()
713 struct ::timespec tbuf[2]; in __last_write_time() local
714 tbuf[0].tv_sec = 0; in __last_write_time()
715 tbuf[0].tv_nsec = UTIME_OMIT; in __last_write_time()
718 &tbuf[1].tv_sec, &tbuf[1].tv_nsec, new_time); in __last_write_time()
724 if (::utimensat(AT_FDCWD, p.c_str(), tbuf, 0) == -1) { in __last_write_time()
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DAPIInfo.java444 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/
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()

12