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

123

/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dpassutils.c68 char *tmpbuf = NULL; local
79 tmpbuf = getpassphrase(prompt);
80 if (tmpbuf == NULL)
83 if (strnlen(tmpbuf, min_psize) >= min_psize)
96 databuf = strdup(tmpbuf);
97 (void) memset(tmpbuf, 0, strlen(tmpbuf)); /* clean up */
108 tmpbuf = getpassphrase(prompt);
109 if (tmpbuf == NULL) {
116 if (strcmp(databuf, tmpbuf) !
[all...]
/osnet-11/usr/src/lib/libpp/common/
H A Dppdata.c65 static char tmpbuf[MAXTOKEN+1]; /* very temporary buffer */ variable
171 &tmpbuf[0], /* tmpbuf */
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/ODBM_File/
H A DODBM_File.xs89 char *tmpbuf;
95 New(0, tmpbuf, strlen(filename) + 5, char);
96 SAVEFREEPV(tmpbuf);
97 sprintf(tmpbuf,"%s.dir",filename);
98 if (stat(tmpbuf, &PL_statbuf) < 0) {
100 if (mode < 0 || close(creat(tmpbuf,mode)) < 0)
102 sprintf(tmpbuf,"%s.pag",filename);
103 if (close(creat(tmpbuf,mode)) < 0)
/osnet-11/usr/src/lib/libresolv2/common/inet/
H A Dnsap_addr.c83 char *tmpbuf = inet_nsap_ntoa_tmpbuf; local
89 ascii = tmpbuf;
90 start = tmpbuf;
/osnet-11/usr/src/lib/libc/port/print/
H A Dsnprintf.c51 unsigned char tmpbuf[1]; /* dummy buffer for _doprnt() if NULL string */ local
69 * When n==0, string may be NULL, so always use tmpbuf to
71 * the buffer when n==0, so using tmpbuf instead of string
74 siop._base = siop._ptr = tmpbuf;
H A Dvsnprintf.c64 unsigned char tmpbuf[1]; /* dummy buffer for _doprnt() if NULL string */ local
82 * When n==0, string may be NULL, so always use tmpbuf to
84 * the buffer when n==0, so using tmpbuf instead of string
87 siop._base = siop._ptr = tmpbuf;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dutf8.c928 U8 tmpbuf[UTF8_MAXLEN+1]; local
929 uvchr_to_utf8(tmpbuf, c);
930 return is_utf8_alnum(tmpbuf);
936 U8 tmpbuf[UTF8_MAXLEN+1]; local
937 uvchr_to_utf8(tmpbuf, c);
938 return is_utf8_alnumc(tmpbuf);
944 U8 tmpbuf[UTF8_MAXLEN+1]; local
945 uvchr_to_utf8(tmpbuf, c);
946 return is_utf8_idfirst(tmpbuf);
952 U8 tmpbuf[UTF8_MAXLE local
960 U8 tmpbuf[UTF8_MAXLEN+1]; local
968 U8 tmpbuf[UTF8_MAXLEN+1]; local
976 U8 tmpbuf[UTF8_MAXLEN+1]; local
984 U8 tmpbuf[UTF8_MAXLEN+1]; local
992 U8 tmpbuf[UTF8_MAXLEN+1]; local
1000 U8 tmpbuf[UTF8_MAXLEN+1]; local
1008 U8 tmpbuf[UTF8_MAXLEN+1]; local
1016 U8 tmpbuf[UTF8_MAXLEN+1]; local
1024 U8 tmpbuf[UTF8_MAXLEN+1]; local
1032 U8 tmpbuf[UTF8_MAXLEN_UCLC+1]; local
1157 U8 tmpbuf[UTF8_MAXLEN_UCLC+1]; local
1167 U8 tmpbuf[UTF8_MAXLEN_UCLC+1]; local
1177 U8 tmpbuf[UTF8_MAXLEN_UCLC+1]; local
1391 U8 tmpbuf[UTF8_MAXLEN_FOLD+1]; local
[all...]
H A Dgv.c68 char *tmpbuf; local
77 tmpbuf = smallbuf;
79 New(603, tmpbuf, tmplen + 1, char);
81 tmpbuf[0] = '_';
82 tmpbuf[1] = '<';
83 strcpy(tmpbuf + 2, name);
84 gv = *(GV**)hv_fetch(PL_defstash, tmpbuf, tmplen, TRUE);
86 gv_init(gv, PL_defstash, tmpbuf, tmplen, FALSE);
91 if (tmpbuf != smallbuf)
92 Safefree(tmpbuf);
598 char *tmpbuf; local
667 char *tmpbuf; local
[all...]
H A Dutil.c2609 char tmpbuf[MAXPATHLEN]; local
2653 tmpbuf[0] = '\0';
2673 (!hasdir && my_trnlnm("DCL$PATH",tmpbuf,idx++)) )
2677 *tmpbuf = '\0';
2679 if ((strlen(tmpbuf) + strlen(scriptname)
2680 + MAX_EXT_LEN) >= sizeof tmpbuf)
2682 strcat(tmpbuf, scriptname);
2712 if (len+MAX_EXT_LEN+1 >= sizeof(tmpbuf))
2714 cur = strcpy(tmpbuf, scriptname);
2717 && strcpy(tmpbuf
[all...]
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dirpmarshall.c240 char tmpbuf[24]; local
241 char *tb = &tmpbuf[0];
262 tb = tmpbuf;
263 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL ||
267 t = strtol(tmpbuf, &tb, 10);
279 tb = tmpbuf;
280 if (getfield(&tb, sizeof tmpbuf, &p, fieldsep) == NULL ||
284 t = strtol(tmpbuf, &tb, 10);
304 tb = tmpbuf;
305 if (getfield(&tb, sizeof tmpbuf,
484 char tmpbuf[24]; local
650 char tmpbuf[24]; local
803 char tmpbuf[24]; local
1001 char tmpbuf[24]; local
1387 char tmpbuf[24]; local
1561 char tmpbuf[24]; local
[all...]
/osnet-11/usr/src/lib/libdhcpsvc/private/
H A Dconfopt.c261 char *tmpbuf; local
292 tmpbuf = alloca(size);
295 (void) snprintf(tmpbuf, size, "%s=%s\n", ddp[i].co_key,
298 (void) snprintf(tmpbuf, size, "#%s\n",
301 bytes = write(tdd, tmpbuf, strlen(tmpbuf));
304 if (bytes != strlen(tmpbuf)) {
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus_hba.c42 char *tmpbuf; local
44 if (di_prop_lookup_strings(DDI_DEV_T_ANY, din, dpnm, &tmpbuf) == 1)
46 TOPO_PROP_IMMUTABLE, tmpbuf, &err);
53 char *tmpbuf; local
55 if (di_path_prop_lookup_strings(din, dpnm, &tmpbuf) == 1)
57 TOPO_PROP_IMMUTABLE, tmpbuf, &err);
H A Ddid_props.c803 char *tmpbuf; local
811 if ((tmpbuf = topo_mod_alloc(mp, sz + 1)) == NULL)
814 bcopy(typbuf, tmpbuf, sz);
815 tmpbuf[sz] = 0;
817 tpgrp, tpnm, TOPO_PROP_IMMUTABLE, tmpbuf, &err);
818 topo_mod_free(mp, tmpbuf, sz + 1);
/osnet-11/usr/src/lib/nsswitch/files/common/
H A Dnetmasks.c90 char tmpbuf[NSS_LINELEN_NETMASKS]; local
97 argp->buf.buffer = tmpbuf;
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdlether.c205 char tmpbuf[DLADM_STRSIZE]; local
232 (void) snprintf(tmpbuf, DLADM_STRSIZE, "%d%c",
236 (void) strncat(buf, tmpbuf, buflen);
H A Dpropfuncs.c68 char tmpbuf[MAXLINELEN]; local
69 char *ptr, *lim = tmpbuf + MAXLINELEN;
81 ptr = tmpbuf;
101 (void) snprintf(buf, MAXLINELEN, "%s\n", tmpbuf);
H A Dsecobj.c326 char tmpbuf[MAXLINELEN]; local
328 char *ptr = tmpbuf, *lim = tmpbuf + MAXLINELEN;
346 (void) snprintf(buf, MAXLINELEN, "%s\n", tmpbuf);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsendto_kdc.c143 char tmpbuf[max(NI_MAXHOST + NI_MAXSERV + 30, 200)]; local
156 #define putf(FMT,X) (snprintf(tmpbuf,sizeof(tmpbuf),FMT,X),putstr(tmpbuf))
179 snprintf(tmpbuf, sizeof(tmpbuf), "%lu/", (unsigned long) kerr);
180 putstr(tmpbuf);
192 if (strerror_r(err, tmpbuf, sizeof(tmpbuf)) == 0)
193 p = tmpbuf;
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetut.c304 struct utmp tmpbuf; local
312 tmpbuf = *entry;
337 if (_compat_getutid(&tmpbuf) == NULL) {
342 if (_compat_getutid(&tmpbuf) == NULL) {
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg.c306 char tmpbuf[CFG_MAX_BUF]; local
313 bzero(tmpbuf, CFG_MAX_BUF);
317 strncpy(tmpbuf, buf, CFG_MAX_BUF);
318 if (tmpbuf[CFG_MAX_BUF - 1] != '\0')
320 ptr = strtok(tmpbuf, " ");
342 char tmpbuf[CFG_MAX_BUF]; local
347 bzero(tmpbuf, CFG_MAX_BUF);
348 strcpy(tmpbuf, " ");
354 cfg_fld_mov(tmpbuf, buf, 1, (fld - 1));
356 strcat(tmpbuf, cf
372 char tmpbuf[CFG_MAX_BUF]; local
760 char tmpbuf[CFG_MAX_BUF]; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Data/Dumper/
H A DDumper.xs243 char tmpbuf[128];
788 (void) sprintf(tmpbuf, "%"UVuf, SvUV(val));
790 (void) sprintf(tmpbuf, "%"IVdf, SvIV(val));
791 len = strlen(tmpbuf);
798 if (pvlen != len || memNE(pv, tmpbuf, len))
804 sv_catpvf(retval, "'%s'", tmpbuf);
806 sv_catpvn(retval, tmpbuf, len);
932 char tmpbuf[1024];
1073 (void) sprintf(tmpbuf, "%"IVdf, (IV)(i+1));
1074 nchars = strlen(tmpbuf);
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/x2p/
H A Da2py.c1256 char tmpbuf[128]; local
1261 sprintf(tmpbuf,"%s:%d",ops[name+1].cval,prevargs);
1262 fprintf(stderr,"Adding %s\n",tmpbuf);
1265 hstore(curarghash,tmpbuf,str);
1290 char *tmpbuf = (char *) safemalloc(strlen(name) + (sizeof(prevargs) * 3) + 5); local
1291 sprintf(tmpbuf,"%s:%d",name,prevargs);
1292 str = hfetch(curarghash,tmpbuf);
1293 safefree(tmpbuf);
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_crypto.c235 char *tmpbuf = NULL; local
264 tmpbuf = getpassphrase(prompt);
265 if (tmpbuf == NULL && errno == ENXIO)
267 if (tmpbuf == NULL || strlen(tmpbuf) < min_psize) {
273 *passphrase = strdup(tmpbuf);
274 tmpbuf = NULL;
284 tmpbuf = getpassphrase(prompt);
285 if (tmpbuf == NULL ||
286 strcmp(*passphrase, tmpbuf) !
[all...]
/osnet-11/usr/src/lib/pam_modules/krb5/
H A Dkrb5_authenticate.c390 char tmpbuf[PAM_MAX_MSG_SIZE]; local
433 if (snprintf(tmpbuf, sizeof (tmpbuf), "%s: ",
437 msgs[i].msg = strdup(tmpbuf);
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c471 blkptr_t *bp, *tmpbuf; local
476 tmpbuf = (blkptr_t *)stack;
483 tmpbuf = buf;
488 } else if (errnum = zio_read(bp, tmpbuf, stack)) {
492 bp_array = tmpbuf;
1524 char *tmpbuf; local

Completed in 79 milliseconds

123