/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | passutils.c | 68 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...] |
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypalias.c | 63 char tmpbuf[MAXNAMLEN] = {NULL}; local 75 strncpy(tmpbuf, result, NAME_MAX); 76 strcpy(result, tmpbuf); 92 char tmpbuf[MAXNAMLEN] = {NULL}; local 105 (void) strncpy(tmpbuf, result, MAXALIASLEN); 106 (void) strcpy(result, tmpbuf);
|
H A D | stdhosts.c | 239 char tmpbuf[OUTPUTSIZ+1]; /* Buffer before writing out */ local 240 char *tmpbufp = tmpbuf; /* Current point in output string */ 317 fputs(tmpbuf, stdout);
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | pkg.c | 119 char *tmpbuf = alloca(2 * MAXPATHLEN); local 122 while (fgets(tmpbuf, 2 * MAXPATHLEN, fp) != NULL) { 124 topo_mod_dprintf(mp, "%s", tmpbuf); 125 else if (strstr(tmpbuf, substr) != NULL) { 137 char *tmpbuf = alloca(BUFLEN); local 143 while (fgets(tmpbuf, BUFLEN, fp) != NULL) { 144 if (strstr(tmpbuf, "VERSION:") != NULL) { 145 token = strtok(tmpbuf, ":"); 148 } else if (strstr(tmpbuf, "BASEDIR:") != NULL) { 149 token = strtok(tmpbuf, " 194 static char tmpbuf[BUFLEN]; local [all...] |
/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | streamio.c | 156 char tmpbuf [MSGMAX + EXCESS_3_2_LEN]; local 160 (void) memmove(tmpbuf + HEAD_SIZE, msgbuf, size); 161 (void) htos(tmpbuf + HEAD_SIZE, size + EXCESS_3_2_LEN); 162 (void) memcpy (tmpbuf + HEAD_AUTHCODE, AuthCode, HEAD_AUTHCODE_LEN); 166 rval = write_fifo(md->writefd, tmpbuf, size + EXCESS_3_2_LEN);
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_subr.c | 140 uchar_t tmpbuf[SMB_MAXFNAMELEN+1]; local 153 if (ctx->f_namesz < sizeof (tmpbuf)) { 160 * so convert into tmpbuf and copy. 162 dst = tmpbuf; 172 ASSERT(outlen < sizeof (tmpbuf)); 173 tmpbuf[outlen] = '\0'; 174 bcopy(tmpbuf, ctx->f_name, outlen + 1);
|
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppdata.c | 65 static char tmpbuf[MAXTOKEN+1]; /* very temporary buffer */ variable 171 &tmpbuf[0], /* tmpbuf */
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | unknown.c | 56 char buf[LOGLEN], *ctoday, *logname, tmpbuf[MAXBASENAME+1]; local 74 (void) strncpy(tmpbuf, argv[1], MAXBASENAME); 75 tmpbuf[MAXBASENAME] = '\0'; 77 ctoday, tmpbuf, (logname == NULL ? "<unknown>" : logname));
|
/illumos-gate/usr/src/lib/libresolv2/common/inet/ |
H A D | nsap_addr.c | 83 char *tmpbuf = inet_nsap_ntoa_tmpbuf; local 89 ascii = tmpbuf; 90 start = tmpbuf;
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioTypeSampleRate.cc | 169 unsigned char *tmpbuf; local 178 tmpbuf = new unsigned char[cnt]; 181 nsamp = resampler.filter(NULL, 0, (short *)tmpbuf); 187 err = outbuf->AppendData(tmpbuf, cnt, pos); 191 delete tmpbuf;
|
H A D | AudioTypeG72X.cc | 248 unsigned char tmpbuf[32]; local 264 tmpbuf, (int *)&cnt, &g72x_state); 268 tmpbuf, (int *)&cnt, &g72x_state); 274 err = outbuf->AppendData(tmpbuf, cnt, pos);
|
H A D | AudioBuffer.cc | 72 void* tmpbuf; local 146 tmpbuf = bufaddr; 157 (void) memcpy(bufaddr, tmpbuf, ncpy); 163 (void) zfree((char *)tmpbuf); 168 (void) free((char *)tmpbuf);
|
/illumos-gate/usr/src/cmd/grpck/ |
H A D | grpck.c | 109 char *buf_off, *tmpbuf; local 166 tmpbuf = realloc(buf, (bufsize + MYBUFSIZE)); 167 if (tmpbuf == NULL) { 172 buf = tmpbuf; 193 if ((tmpbuf = strdup(buf)) == NULL) { 197 tmpbuf[buf_len - 1] = ','; 199 if ((tmpbuf = malloc(buf_len + 2)) == NULL) { 203 (void) strcpy(tmpbuf, buf); 204 tmpbuf[buf_len++] = ','; 205 tmpbuf[buf_le [all...] |
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | mac.c | 86 char tmpbuf[MAXNAMELEN]; local 99 (void) snprintf(tmpbuf, sizeof (tmpbuf), 101 prom_panic(tmpbuf); 121 bzero(tmpbuf, sizeof (tmpbuf)); 127 len < sizeof (tmpbuf)) { 128 (void) prom_getprop(node, netiftype, tmpbuf); 130 len < sizeof (tmpbuf)) { 131 (void) prom_getprop(node, chosen_net, tmpbuf); [all...] |
/illumos-gate/usr/src/lib/libc/port/print/ |
H A D | snprintf.c | 51 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 D | vsnprintf.c | 64 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;
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irpmarshall.c | 240 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...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | str_conv.c | 302 char tmpbuf[MAX_CHARS_FOR_INT_TYPE(int) * 4 + 8]; 311 memset (tmpbuf, 0, sizeof (tmpbuf)); 321 if (tmpbuf[sizeof(tmpbuf)-1] != 0) 325 if (strlen (tmpbuf) > buflen) 328 strncpy (buffer, tmpbuf, buflen); 300 char tmpbuf[MAX_CHARS_FOR_INT_TYPE(int) * 4 + 8]; local
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus_hba.c | 42 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);
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | gnu_lex.c | 52 get_mb(unsigned char *tmpbuf, unsigned char fc) argument 60 tmpbuf[insize++] = fc; /* size of tmpbuf is MB_LEN_MAX+1 */ 64 tmpbuf[insize] = '\0'; 69 inptr = (const char *)tmpbuf; 98 tmpbuf[insize++] = (unsigned char)c; 115 tmpbuf[insize] = '\0';
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | netmasks.c | 93 char tmpbuf[NSS_LINELEN_NETMASKS]; local 100 argp->buf.buffer = tmpbuf;
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | princ_xdr.c | 224 char *tmpbuf; local 259 if ((tmpbuf = (char *) malloc(new_tl_data->tl_data_length)) == NULL) 261 memcpy(tmpbuf, xdralloc_getdata(&xdrs), new_tl_data->tl_data_length); 262 new_tl_data->tl_data_contents = (krb5_octet *)tmpbuf;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | sendto_kdc.c | 135 char tmpbuf[max(NI_MAXHOST + NI_MAXSERV + 30, 200)]; local 145 #define putf(FMT,X) (sprintf(tmpbuf,FMT,X),putstr(tmpbuf)) 163 sprintf(tmpbuf, "%lu/", (unsigned long) kerr); 164 putstr(tmpbuf); 176 if (strerror_r(err, tmpbuf, sizeof(tmpbuf)) == 0) 177 p = tmpbuf; 215 sprintf(tmpbuf, "%ld.%06ld", 217 putstr(tmpbuf); [all...] |
/illumos-gate/usr/src/cmd/csplit/ |
H A D | csplit.c | 58 char tmpbuf[BUFSIZ]; /* Temporary buffer for stdin */ variable 137 while (fread(tmpbuf, 1, BUFSIZ, stdin) != 0) { 138 if (fwrite(tmpbuf, 1, BUFSIZ, infile) == 0) 154 (void) memset(tmpbuf, '\0', sizeof (tmpbuf));
|
/illumos-gate/usr/src/common/net/wanboot/crypt/ |
H A D | des3.c | 111 uint64_t tmpbuf[3]; local 157 currentkey = tmpbuf;
|