Searched refs:tbuf (Results 1 - 25 of 28) 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/icu4c/common/
H A Dcstring.c146 char tbuf[30]; local
147 int32_t tbx = sizeof(tbuf);
160 tbx = sizeof(tbuf)-1;
161 tbuf[tbx] = 0; /* We are generating the digits backwards. Null term the end. */
164 tbuf[--tbx] = (char)(T_CString_itosOffset(digit));
169 uprv_strcpy(buffer+length, tbuf+tbx);
170 length += sizeof(tbuf) - tbx -1;
184 char tbuf[30]; local
185 int32_t tbx = sizeof(tbuf);
198 tbx = sizeof(tbuf)
[all...]
/external/openssh/openbsd-compat/
H A Dvis.c169 char tbuf[5]; local
189 i = vis(tbuf, c, flag, *++src) - tbuf;
191 memcpy(dst, tbuf, i);
204 dst += vis(tbuf, c, flag, *++src) - tbuf;
/external/openssh/
H A Dsftp-common.c195 char buf[1024], mode[11+1], tbuf[12+1], ubuf[11+1], gbuf[11+1]; local
213 sz = strftime(tbuf, sizeof tbuf, "%b %e %H:%M", ltime);
215 sz = strftime(tbuf, sizeof tbuf, "%b %e %Y", ltime);
218 tbuf[0] = '\0';
225 sbuf, tbuf, name);
229 (unsigned long long)st->st_size, tbuf, name);
/external/openssl/crypto/rsa/
H A Drsa_pmeth.c93 unsigned char *tbuf; member in struct:__anon9877
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/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/strace/
H A Dresource.c457 struct tms tbuf; local
464 else if (umove(tcp, tcp->u_arg[0], &tbuf) < 0)
468 tbuf.tms_utime, tbuf.tms_stime);
470 tbuf.tms_cutime, tbuf.tms_cstime);
/external/grub/netboot/
H A Dlance.c88 unsigned char tbuf[ETH_FRAME_LEN]; member in struct:lance_interface
345 memcpy(lp->tbuf, d, ETH_ALEN); /* dst */
346 memcpy(&lp->tbuf[ETH_ALEN], nic->node_addr, ETH_ALEN); /* src */
347 lp->tbuf[ETH_ALEN+ETH_ALEN] = t >> 8; /* type */
348 lp->tbuf[ETH_ALEN+ETH_ALEN+1] = t; /* type */
349 memcpy(&lp->tbuf[ETH_HLEN], p, s);
353 lp->tbuf[s++] = 0;
357 lp->tx_ring.u.base = virt_to_bus(lp->tbuf) & 0xffffff;
/external/webkit/Source/WebCore/loader/
H A DFTPDirectoryParser.cpp125 char tbuf[4]; local
558 tbuf[0] = p[0];
559 tbuf[1] = toASCIILower(p[1]);
560 tbuf[2] = toASCIILower(p[2]);
564 if (tbuf[0] == month_names[pos+0] &&
565 tbuf[1] == month_names[pos+1] &&
566 tbuf[2] == month_names[pos+2])
1387 tbuf[0] = toASCIIUpper(p[0]);
1388 tbuf[1] = toASCIILower(p[1]);
1389 tbuf[
[all...]
/external/quake/quake/src/QW/client/
H A Dconsole.c158 char tbuf[CON_TEXTSIZE]; local
188 Q_memcpy (tbuf, con->text, CON_TEXTSIZE);
196 tbuf[((con->current - i + oldtotallines) %
/external/quake/quake/src/WinQuake/
H A Dconsole.cpp156 char tbuf[CON_TEXTSIZE]; local
186 Q_memcpy (tbuf, con_text, CON_TEXTSIZE);
194 tbuf[((con_current - i + oldtotallines) %
/external/openssl/crypto/objects/
H A Dobj_dat.c472 char tbuf[DECIMAL_SIZE(i)+DECIMAL_SIZE(l)+2]; local
597 BIO_snprintf(tbuf,sizeof tbuf,".%lu",l);
598 i=strlen(tbuf);
601 BUF_strlcpy(buf,tbuf,buf_len);
/external/skia/src/opts/
H A DSkBlitRow_opts_arm.cpp1420 char tbuf[32]; local
1425 sprintf(tbuf, " %02x", pc[i]);
1426 strcat(buf, tbuf);
1433 char tbuf[32]; local
1439 sprintf(tbuf, " %04x", pc[i]);
1440 strcat(buf, tbuf);
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/
H A Dgki_ulinux.c1043 ** Parameters: tbuf - (output) the address to the memory containing the
1052 INT8 *GKI_get_time_stamp (INT8 *tbuf) argument
1058 INT8 *p_out = tbuf;
1084 return (tbuf);
/external/libnfc-nci/src/gki/ulinux/
H A Dgki_ulinux.c1018 ** Parameters: tbuf - (output) the address to the memory containing the
1027 INT8 *GKI_get_time_stamp (INT8 *tbuf) argument
1033 INT8 *p_out = tbuf;
1059 return (tbuf);
/external/mksh/src/
H A Dexpr.c242 char tbuf[2]; local
259 tbuf[0] = *es->tokp;
260 tbuf[1] = '\0';
261 s = tbuf;
H A Dmisc.c591 char tbuf[64]; local
592 char *t = len <= sizeof(tbuf) ? tbuf : alloc(len, ATEMP);
/external/bluetooth/bluedroid/gki/ulinux/
H A Dgki_ulinux.c1278 ** Parameters: tbuf - (output) the address to the memory containing the
1287 INT8 *GKI_get_time_stamp (INT8 *tbuf) argument
1293 INT8 *p_out = tbuf;
1319 return (tbuf);
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_atheros.c1331 u8 tbuf[IW_PRIV_SIZE_MASK]; /* max size is 2047 bytes */ local
1341 iwr.u.data.pointer = (void *) tbuf;
1342 iwr.u.data.length = sizeof(tbuf);
1359 (u8 *) tbuf, data_len);
1364 os_memcpy(&freq, tbuf, sizeof(freq));
1365 os_memcpy(&frame_type, &tbuf[sizeof(freq)],
1367 mgmt = (void *) &tbuf[sizeof(freq) + sizeof(frame_type)];
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_atheros.c1331 u8 tbuf[IW_PRIV_SIZE_MASK]; /* max size is 2047 bytes */ local
1341 iwr.u.data.pointer = (void *) tbuf;
1342 iwr.u.data.length = sizeof(tbuf);
1359 (u8 *) tbuf, data_len);
1364 os_memcpy(&freq, tbuf, sizeof(freq));
1365 os_memcpy(&frame_type, &tbuf[sizeof(freq)],
1367 mgmt = (void *) &tbuf[sizeof(freq) + sizeof(frame_type)];
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_atheros.c1331 u8 tbuf[IW_PRIV_SIZE_MASK]; /* max size is 2047 bytes */ local
1341 iwr.u.data.pointer = (void *) tbuf;
1342 iwr.u.data.length = sizeof(tbuf);
1359 (u8 *) tbuf, data_len);
1364 os_memcpy(&freq, tbuf, sizeof(freq));
1365 os_memcpy(&frame_type, &tbuf[sizeof(freq)],
1367 mgmt = (void *) &tbuf[sizeof(freq) + sizeof(frame_type)];
/external/libpng/
H A Dpngwrite.c447 struct tm *tbuf; local
451 tbuf = gmtime(&ttime);
452 png_convert_from_struct_tm(ptime, tbuf);

Completed in 469 milliseconds

12