Searched refs:tbuf (Results 1 - 25 of 35) sorted by relevance

12

/external/ipsec-tools/src/racoon/
H A Dlogger.h41 time_t *tbuf; member in struct:log
H A 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);
H A 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;
H A 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);
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Dcstring.c157 char tbuf[30]; local
158 int32_t tbx = sizeof(tbuf);
171 tbx = sizeof(tbuf)-1;
172 tbuf[tbx] = 0; /* We are generating the digits backwards. Null term the end. */
175 tbuf[--tbx] = (char)(T_CString_itosOffset(digit));
180 uprv_strcpy(buffer+length, tbuf+tbx);
181 length += sizeof(tbuf) - tbx -1;
195 char tbuf[30]; local
196 int32_t tbx = sizeof(tbuf);
209 tbx = sizeof(tbuf)
[all...]
/external/icu/icu4c/source/common/
H A Dcstring.c157 char tbuf[30]; local
158 int32_t tbx = sizeof(tbuf);
171 tbx = sizeof(tbuf)-1;
172 tbuf[tbx] = 0; /* We are generating the digits backwards. Null term the end. */
175 tbuf[--tbx] = (char)(T_CString_itosOffset(digit));
180 uprv_strcpy(buffer+length, tbuf+tbx);
181 length += sizeof(tbuf) - tbx -1;
195 char tbuf[30]; local
196 int32_t tbx = sizeof(tbuf);
209 tbx = sizeof(tbuf)
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/evp/
H A Dp_rsa.c82 /* tbuf is a buffer which is either NULL, or is the size of the RSA modulus.
84 uint8_t *tbuf; member in struct:__anon11631
149 if (rctx->tbuf) {
150 OPENSSL_free(rctx->tbuf);
159 if (ctx->tbuf) {
162 ctx->tbuf = OPENSSL_malloc(EVP_PKEY_size(pk->pkey));
163 if (!ctx->tbuf) {
208 !RSA_padding_add_PKCS1_PSS_mgf1(rsa, rctx->tbuf, tbs, rctx->md,
210 !RSA_encrypt(rsa, siglen, sig, *siglen, rctx->tbuf, key_len,
239 !RSA_verify_raw(rsa, &rslen, rctx->tbuf, key_le
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/x86/
H A Dvp9_idct_intrin_sse2.h75 __m128i tbuf[8]; local
77 array_transpose_8x8(res1, tbuf);
81 res0[8] = tbuf[0];
82 res0[9] = tbuf[1];
83 res0[10] = tbuf[2];
84 res0[11] = tbuf[3];
85 res0[12] = tbuf[4];
86 res0[13] = tbuf[5];
87 res0[14] = tbuf[6];
88 res0[15] = tbuf[
[all...]
/external/openssl/crypto/rsa/
H A Drsa_pmeth.c93 unsigned char *tbuf; member in struct:__anon28355
107 rctx->tbuf = NULL;
139 if (ctx->tbuf)
141 ctx->tbuf = OPENSSL_malloc(EVP_PKEY_size(pk->pkey));
142 if (!ctx->tbuf)
154 if (rctx->tbuf)
155 OPENSSL_free(rctx->tbuf);
242 memcpy(rctx->tbuf, tbs, tbslen);
243 rctx->tbuf[tbslen] =
245 ret = RSA_private_encrypt(tbslen + 1, rctx->tbuf,
[all...]
/external/eigen/unsupported/test/
H A DFFTW.cpp86 ScalarVector tbuf(nfft);
89 tbuf[k]= (T)( rand()/(double)RAND_MAX - .5);
94 fft.fwd( freqBuf,tbuf);
96 VERIFY( fft_rmse(freqBuf,tbuf) < test_precision<T>() );// gross check
99 fft.fwd( freqBuf,tbuf);
101 VERIFY( fft_rmse(freqBuf,tbuf) < test_precision<T>() );// gross check
108 VERIFY( dif_rmse(tbuf,tbuf2) < test_precision<T>() );// gross check
121 //for (size_t i=0;i<(size_t) tbuf.size();++i)
122 // cout << "freqBuf=" << freqBuf[i] << " in2=" << tbuf3[i] << " - in=" << tbuf[i] << " => " << (tbuf3[i] - tbuf[
[all...]
/external/strace/
H A Dresource.c356 struct tms tbuf; local
363 else if (umove(tcp, tcp->u_arg[0], &tbuf) < 0)
367 (unsigned long long) tbuf.tms_utime,
368 (unsigned long long) tbuf.tms_stime);
370 (unsigned long long) tbuf.tms_cutime,
371 (unsigned long long) tbuf.tms_cstime);
/external/libusb/libusb/
H A Ddescriptor.c678 unsigned char tbuf[255]; /* Some devices choke on size > 255 */ local
686 r = libusb_get_string_descriptor(dev, 0, 0, tbuf, sizeof(tbuf));
693 langid = tbuf[2] | (tbuf[3] << 8);
695 r = libusb_get_string_descriptor(dev, desc_index, langid, tbuf,
696 sizeof(tbuf));
700 if (tbuf[1] != LIBUSB_DT_STRING)
703 if (tbuf[0] > r)
706 for (di = 0, si = 2; si < tbuf[
[all...]
/external/chromium_org/third_party/libusb/src/libusb/
H A Ddescriptor.c1151 unsigned char tbuf[255]; /* Some devices choke on size > 255 */ local
1167 r = libusb_get_string_descriptor(dev, 0, 0, tbuf, sizeof(tbuf));
1174 langid = tbuf[2] | (tbuf[3] << 8);
1176 r = libusb_get_string_descriptor(dev, desc_index, langid, tbuf,
1177 sizeof(tbuf));
1181 if (tbuf[1] != LIBUSB_DT_STRING)
1184 if (tbuf[0] > r)
1187 for (di = 0, si = 2; si < tbuf[
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/obj/
H A Dobj.c413 char tbuf[DECIMAL_SIZE(i) + DECIMAL_SIZE(l) + 2]; local
529 BIO_snprintf(tbuf, sizeof(tbuf), ".%lu", l);
530 i = strlen(tbuf);
532 BUF_strlcpy(out, tbuf, out_len);
/external/openssl/crypto/objects/
H A Dobj_dat.c472 char tbuf[DECIMAL_SIZE(i)+DECIMAL_SIZE(l)+2]; local
600 BIO_snprintf(tbuf,sizeof tbuf,".%lu",l);
601 i=strlen(tbuf);
604 BUF_strlcpy(buf,tbuf,buf_len);
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/
H A Dgki_ulinux.c1044 ** Parameters: tbuf - (output) the address to the memory containing the
1053 INT8 *GKI_get_time_stamp (INT8 *tbuf) argument
1059 INT8 *p_out = tbuf;
1085 return (tbuf);
/external/libnfc-nci/src/gki/ulinux/
H A Dgki_ulinux.c1021 ** Parameters: tbuf - (output) the address to the memory containing the
1030 INT8 *GKI_get_time_stamp (INT8 *tbuf) argument
1036 INT8 *p_out = tbuf;
1062 return (tbuf);
/external/chromium_org/third_party/skia/src/opts/
H A DSkBlitRow_opts_arm_neon.cpp1184 char tbuf[32]; local
1189 sprintf(tbuf, " %02x", pc[i]);
1190 strcat(buf, tbuf);
1197 char tbuf[32]; local
1203 sprintf(tbuf, " %04x", pc[i]);
1204 strcat(buf, tbuf);
/external/skia/src/opts/
H A DSkBlitRow_opts_arm_neon.cpp1086 char tbuf[32]; local
1091 sprintf(tbuf, " %02x", pc[i]);
1092 strcat(buf, tbuf);
1099 char tbuf[32]; local
1105 sprintf(tbuf, " %04x", pc[i]);
1106 strcat(buf, tbuf);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc247 PRE_SYSCALL(times)(void *tbuf) {}
249 POST_SYSCALL(times)(long res, void *tbuf) {
251 if (tbuf) POST_WRITE(tbuf, struct_tms_sz);
/external/mksh/src/
H A Dexpr.c253 char tbuf[2]; local
270 tbuf[0] = *es->tokp;
271 tbuf[1] = '\0';
272 s = tbuf;
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_atheros.c1406 u8 tbuf[IW_PRIV_SIZE_MASK]; /* max size is 2047 bytes */ local
1416 iwr.u.data.pointer = (void *) tbuf;
1417 iwr.u.data.length = sizeof(tbuf);
1434 (u8 *) tbuf, data_len);
1439 os_memcpy(&freq, tbuf, sizeof(freq));
1440 os_memcpy(&frame_type, &tbuf[sizeof(freq)],
1442 mgmt = (void *) &tbuf[sizeof(freq) + sizeof(frame_type)];
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_atheros.c1406 u8 tbuf[IW_PRIV_SIZE_MASK]; /* max size is 2047 bytes */ local
1416 iwr.u.data.pointer = (void *) tbuf;
1417 iwr.u.data.length = sizeof(tbuf);
1434 (u8 *) tbuf, data_len);
1439 os_memcpy(&freq, tbuf, sizeof(freq));
1440 os_memcpy(&frame_type, &tbuf[sizeof(freq)],
1442 mgmt = (void *) &tbuf[sizeof(freq) + sizeof(frame_type)];
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_atheros.c1406 u8 tbuf[IW_PRIV_SIZE_MASK]; /* max size is 2047 bytes */ local
1416 iwr.u.data.pointer = (void *) tbuf;
1417 iwr.u.data.length = sizeof(tbuf);
1434 (u8 *) tbuf, data_len);
1439 os_memcpy(&freq, tbuf, sizeof(freq));
1440 os_memcpy(&frame_type, &tbuf[sizeof(freq)],
1442 mgmt = (void *) &tbuf[sizeof(freq) + sizeof(frame_type)];
/external/chromium_org/third_party/libpng/
H A Dpngwrite.c447 struct tm *tbuf; local
451 tbuf = gmtime(&ttime);
452 png_convert_from_struct_tm(ptime, tbuf);

Completed in 4767 milliseconds

12