Searched refs:tmpbuf (Results 1 - 25 of 88) sorted by relevance

1234

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/compile/
H A Dpr19121.c6 char tmpbuf[3] = ""; local
9 s = tmpbuf;
H A D20070129.c66 unsigned char tmpbuf[6 + 1], *foldbuf; local
77 for (foldbuf = tmpbuf; foldlen; foldlen -= numlen)
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/compile/
H A Dpr19121.c6 char tmpbuf[3] = ""; local
9 s = tmpbuf;
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/
H A Dget_args.c73 char tmpbuf[1024]; local
93 xsnprintf(tmpbuf, sizeof(tmpbuf), "%s version %s (build %d).\n",
95 xstrlcat(vers, tmpbuf, len);
96 xsnprintf(tmpbuf, sizeof(tmpbuf), "Report bugs to %s.\n", PACKAGE_BUGREPORT);
97 xstrlcat(vers, tmpbuf, len);
98 xsnprintf(tmpbuf, sizeof(tmpbuf), "Configured by %s@%s on date %s.\n",
100 xstrlcat(vers, tmpbuf, le
[all...]
/netbsd-6-1-5-RELEASE/distrib/utils/edlabel/
H A Dedlabel.c91 char tmpbuf[64]; variable
121 strlcpy(tmpbuf, (char*)cp, sizeof(tmpbuf));
122 printf("%s", tmpbuf);
133 tmpbuf[0] = '\0';
134 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL)
136 if ((tmpbuf[0] == '\0') || (tmpbuf[0] == '\n')) {
143 if (sscanf(tmpbuf, "
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/des/
H A Denc_read.c102 static unsigned char *tmpbuf=NULL;
107 if (tmpbuf == NULL)
109 tmpbuf=OPENSSL_malloc(BSIZE);
110 if (tmpbuf == NULL) return(-1);
217 DES_pcbc_encrypt(net,tmpbuf,num,sched,iv,
220 DES_cbc_encrypt(net,tmpbuf,num,sched,iv,
225 memcpy(buf,tmpbuf,num);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/lib/libdes/
H A Doenc_read.c98 static unsigned char *tmpbuf=NULL; local
103 if (tmpbuf == NULL)
105 tmpbuf=OPENSSL_malloc(BSIZE);
106 if (tmpbuf == NULL) return(-1);
205 des_pcbc_encrypt(net,tmpbuf,num,sched,iv,
208 des_cbc_encrypt(net,tmpbuf,num,sched,iv,
213 memcpy(buf,tmpbuf,num);
/netbsd-6-1-5-RELEASE/usr.sbin/bootp/bootptest/
H A Dgetether.c198 char tmpbuf[sizeof(union DL_primitives) + 16];
231 memset(tmpbuf, 0, sizeof(tmpbuf));
232 dlp = (union DL_primitives *) tmpbuf;
235 cbuf.buf = tmpbuf;
242 cbuf.buf = tmpbuf;
243 cbuf.maxlen = sizeof(tmpbuf);
273 memset(tmpbuf, 0, sizeof(tmpbuf));
274 dlp = (union DL_primitives *) tmpbuf;
195 char tmpbuf[sizeof(union DL_primitives) + 16]; local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/inet/
H A Dnsap_addr.c85 char *tmpbuf = inet_nsap_ntoa_tmpbuf; local
91 ascii = tmpbuf;
92 start = tmpbuf;
/netbsd-6-1-5-RELEASE/external/bsd/tre/dist/tests/
H A Dbench.c103 regex_t *reobj, char *str, char *tmpbuf)
116 tre_regerror(errcode, reobj, tmpbuf, 255);
117 printf("error: %s\n", tmpbuf);
142 char tmpbuf[256]; local
195 run_tests(len, samples, sample_data, repeats, &reobj, str, tmpbuf);
215 run_tests(len, samples, sample_data, repeats, &reobj, str, tmpbuf);
234 run_tests(len, samples, sample_data, repeats, &reobj, str, tmpbuf);
254 run_tests(len, samples, sample_data, repeats, &reobj, str, tmpbuf);
271 tmpbuf[0] = '(';
273 tmpbuf[
102 run_tests(int len, int samples, double *sample_data, int repeats, regex_t *reobj, char *str, char *tmpbuf) argument
[all...]
/netbsd-6-1-5-RELEASE/tests/lib/libcurses/slave/
H A Dslave.c60 char *cmdbuf, *tmpbuf, **args, **tmpargs; local
78 if ((tmpbuf = realloc(cmdbuf, maxlen)) == NULL)
81 cmdbuf = tmpbuf;
127 ret = asprintf(&tmpbuf,
134 args[argslen] = tmpbuf;
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/shell-backends/
H A Dpasswd-shell.c53 static char tmpbuf[ MAXLINELEN * 2 ]; variable
156 i = snprintf( tmpbuf, sizeof( tmpbuf ), "cn=%s, %s", pw->pw_name, op->ldop_suffixes[ 0 ] );
161 i = snprintf( tmpbuf, sizeof( tmpbuf ), "%s@%s", pw->pw_name, op->ldop_suffixes[ 0 ] );
164 if ( i < 0 || i >= sizeof( tmpbuf ) ) {
169 entry->lde_dn = estrdup( tmpbuf );
/netbsd-6-1-5-RELEASE/sys/arch/x86/x86/
H A Dplatform.c191 char tmpbuf[128]; /* XXX is this long enough? */ local
193 if (smbios_get_string(tbl, idx, tmpbuf, 128) != NULL) {
195 pmf_set_platform(key, tmpbuf);
229 char tmpbuf[128], datestr[9]; local
231 if (smbios_get_string(tbl, idx, tmpbuf, 128) == NULL)
233 if (platform_scan_date(tmpbuf, &month, &day, &year) != 3)
252 char tmpbuf[UUID_STR_LEN]; local
255 uuid_snprintf(tmpbuf, sizeof(tmpbuf), &uuid);
257 pmf_set_platform(key, tmpbuf);
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/
H A Dcommands.c591 char tmpbuf[20]; local
594 newval = readline(tmpbuf, 8, Yes);
624 char tmpbuf[20]; local
627 if (readline(tmpbuf, 8, No) > 0)
629 newval = atof(tmpbuf);
657 char tmpbuf[20]; local
663 if ((i = readline(tmpbuf, 10, Yes)) > 0)
694 char tmpbuf[MAX_COLS]; local
700 if (readline(tmpbuf, sizeof(tmpbuf), N
787 char tmpbuf[MAX_COLS]; local
801 char tmpbuf[MAX_COLS]; local
817 char tmpbuf[MAX_COLS]; local
[all...]
/netbsd-6-1-5-RELEASE/lib/libc/inet/
H A Dnsap_addr.c100 char *tmpbuf = inet_nsap_ntoa_tmpbuf; local
108 ascii = tmpbuf;
109 start = tmpbuf;
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpq/
H A Dlibntpq.c62 char* tmpbuf = srcbuf; local
64 while ( *tmpbuf != 0 )
66 if ( *tmpbuf == '\"' )
68 tmpbuf++;
72 if ( *tmpbuf == '\\' )
74 tmpbuf++;
75 switch ( *tmpbuf )
86 tmpbuf++;
91 *resultbuf++ = *tmpbuf++;
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/stand/pbsdboot/
H A Dmain.c535 TCHAR tmpbuf[PATHBUFLEN]; local
536 wsprintf(tmpbuf, TEXT("%s%S"), path_list[0].name, "netbsd");
548 wstrcpy(pref.kernel_name, tmpbuf);
563 TCHAR tmpbuf[1024]; local
564 wsprintf(tmpbuf, TEXT("%s%S"),
567 CB_ADDSTRING, 0, (LPARAM)tmpbuf);
838 TCHAR tmpbuf[PATHBUFLEN]; local
859 wsprintf(tmpbuf, TEXT("%X"), fbs->addr);
860 SetDlgItemText(hWnd, IDC_FB_ADDR, tmpbuf);
861 wsprintf(tmpbuf, TEX
910 TCHAR tmpbuf[100]; local
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/patch/
H A Dutil.c322 char *tmpbuf; local
324 if ((tmpbuf = strdup(filename)) == NULL)
328 char *s = strrchr(tmpbuf, '/');
330 free(tmpbuf);
335 if (mkpath(tmpbuf) != 0)
336 pfatal("creation of %s failed", tmpbuf);
337 free(tmpbuf);
399 char *filebase, *filedir, tmpbuf[MAXPATHLEN]; local
406 (snprintf(tmpbuf, sizeof tmpbuf,
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/engines/
H A De_cswift.c549 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
551 sprintf(tmpbuf, "%ld", sw_status);
552 ERR_add_error_data(2, "CryptoSwift error number is ",tmpbuf);
566 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
568 sprintf(tmpbuf, "%ld", sw_status);
569 ERR_add_error_data(2, "CryptoSwift error number is ",tmpbuf);
694 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
696 sprintf(tmpbuf, "%ld", sw_status);
697 ERR_add_error_data(2, "CryptoSwift error number is ",tmpbuf);
711 char tmpbuf[DECIMAL_SIZ local
876 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
894 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
987 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
1009 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
1074 char tmpbuf[20]; local
1090 char tmpbuf[20]; local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/irs/
H A Dirpmarshall.c242 char tmpbuf[24]; local
243 char *tb = &tmpbuf[0];
264 tb = tmpbuf;
265 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL ||
269 t = strtol(tmpbuf, &tb, 10);
281 tb = tmpbuf;
282 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL ||
286 t = strtol(tmpbuf, &tb, 10);
306 tb = tmpbuf;
307 if (getfield(&tb, sizeof tmpbuf,
486 char tmpbuf[24]; local
652 char tmpbuf[24]; local
805 char tmpbuf[24]; local
1003 char tmpbuf[24]; local
1389 char tmpbuf[24]; local
1563 char tmpbuf[24]; local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/bind9/
H A Dgetaddresses.c92 char tmpbuf[128], *d; local
95 strcpy(tmpbuf, hostname);
96 d = strchr(tmpbuf, '%');
100 if (inet_pton(AF_INET6, tmpbuf, &in6) == 1) {
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/rand/
H A Drand_unix.c252 unsigned char tmpbuf[ENTROPY_NEEDED]; local
357 r = read(fd,(unsigned char *)tmpbuf+n, ENTROPY_NEEDED-n);
393 r = RAND_query_egd_bytes(*egdsocket, (unsigned char *)tmpbuf+n,
403 RAND_add(tmpbuf,sizeof tmpbuf,(double)n);
404 OPENSSL_cleanse(tmpbuf,n);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/
H A Drefclock_neoclock4x.c730 char tmpbuf[80]; local
735 snprintf(tmpbuf, sizeof(tmpbuf)-1,
740 tt = add_var(&out->kv_list, sizeof(tmpbuf)-1, RO|DEF);
741 snprintf(tt, sizeof(tmpbuf)-1, "calc_utc=\"%s\"", tmpbuf);
905 char tmpbuf[256]; local
922 memset(tmpbuf, 0x00, sizeof(tmpbuf));
936 strcpy(tmpbuf, "unknow
[all...]
/netbsd-6-1-5-RELEASE/lib/libedit/
H A Dsearch.c457 Char tmpbuf[EL_BUFSIZ]; local
461 tmpbuf[0] = '.';
462 tmpbuf[1] = '*';
468 tmplen = c_gets(el, &tmpbuf[LEN],
474 ch = tmpbuf[tmplen];
475 tmpbuf[tmplen] = '\0';
488 (void) Strncpy(tmpbuf, el->el_search.patbuf,
489 sizeof(tmpbuf) / sizeof(*tmpbuf) - 1);
492 (void) Strncpy(&el->el_search.patbuf[2], tmpbuf,
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gprof/
H A Dbasic_blocks.c342 char tmpbuf[NBBS * 30];
350 p = tmpbuf;
398 if (p > tmpbuf)
412 if (bb_annotate_all_lines && p == tmpbuf)
434 strcpy (tmpbuf, "#####");
435 p = tmpbuf + 5;
441 len = p - tmpbuf;
444 strncpy (buf, tmpbuf, width);
451 strcpy (buf + width - len, tmpbuf);
341 char tmpbuf[NBBS * 30]; local

Completed in 402 milliseconds

1234