/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/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/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/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));
|
H A D | getprm.c | 196 wchar_t tmpbuf[MAXFULLNAME]; local 230 (void) wcsncpy(tmpbuf, n, cl-n); 231 tmpbuf[cl-n] = NULLCHAR; 232 (void) wcstombs(sys, tmpbuf, MAXFULLNAME); 237 wcsncpy(tmpbuf, cl+1, cr-cl-1); 238 tmpbuf[cr-cl-1] = NULL; 239 (void) wcstombs(fwd, tmpbuf, MAXFULLNAME);
|
/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/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/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/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/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/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/cmd/audio/utilities/ |
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 | 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 | 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/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/common/net/wanboot/crypt/ |
H A D | des3.c | 111 uint64_t tmpbuf[3]; local 157 currentkey = tmpbuf;
|
/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/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/lib/libc/port/gen/ |
H A D | getut.c | 307 struct utmp tmpbuf; local 315 tmpbuf = *entry; 340 if (_compat_getutid(&tmpbuf) == NULL) { 345 if (_compat_getutid(&tmpbuf) == NULL) {
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_vget.c | 687 unsigned char tmpbuf[BUFSIZE]; local 699 strcpy(tmpbuf, vmacp); 705 strcat(vmacbuf, tmpbuf);
|
H A D | ex_vmain.c | 322 unsigned char tmpbuf[BUFSIZE]; local 324 regbuf(c, tmpbuf, sizeof (vmacbuf)); 325 macpush(tmpbuf, 1);
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | fsys_tftp.c | 724 uint8_t *tmpbuf; local
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_svcout.c | 206 char tmpbuf[32]; local 212 (void) snprintf(tmpbuf, sizeof (tmpbuf), "%s\t\t", sp); 213 print_err_message(tmpbuf, "cannot find %s netid.", transp); 219 print_err_message(tmpbuf, "cannot create %s service.", transp); 237 print_err_message(tmpbuf, 1127 char tmpbuf[32]; local 1149 (void) snprintf(tmpbuf, sizeof (tmpbuf), "%s\t\t", sp); 1150 print_err_message(tmpbuf, "canno [all...] |