Searched defs:iobuf (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dcrypt.c39 static char *iobuf; local
43 if (iobuf == 0) {
44 iobuf = malloc((unsigned)16);
45 if (iobuf == 0)
56 strcpy(iobuf, salt);
58 iobuf[0] = '\0';
59 return(iobuf);
69 strcpy(iobuf, salt);
71 iobuf[0] = '\0';
72 return(iobuf);
[all...]
H A D_crypt.c153 #define iobuf (_c->_iobuf) macro
419 iobuf[i] = c;
448 iobuf[i+2] = c;
450 iobuf[i+2] = 0;
451 if(iobuf[1]==0)
452 iobuf[1] = iobuf[0];
453 return(iobuf);
/illumos-gate/usr/src/cmd/regcmp/
H A Dregcmp.c41 FILE *iobuf; variable
73 if ((iobuf = fopen(*argv, "r")) == NULL) {
106 while (((c = getc(iobuf)) == '\n') ||
112 while (((*name++ = c = getc(iobuf)) != ' ') &&
115 while (((c = getc(iobuf)) == ' ') || (c == '\n'));
128 while ((c = getc(iobuf)) != '\n');
132 while (gotflg || (c = getc(iobuf)) != EOF) {
138 switch (c = getc(iobuf)) {
170 while (((c = getc(iobuf)) == '\n') || (c == ' '));
194 fclose(iobuf);
[all...]
/illumos-gate/usr/src/cmd/cdrw/
H A Dtrackio.h63 struct iobuf { struct
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/des/
H A Dafsstring2key.c370 char *iobuf)
398 iobuf[i] = c;
423 iobuf[i+2] = c;
425 iobuf[i+2] = 0;
426 if(iobuf[1]==0)
427 iobuf[1] = iobuf[0];
428 return(iobuf);
368 afs_crypt(const char *pw, const char *salt, char *iobuf) argument
/illumos-gate/usr/src/lib/libcrypt/common/
H A Ddes_crypt.c314 char *iobuf; local
318 iobuf = pthread_getspecific(*keyp);
319 if (iobuf == NULL) {
320 if (thr_setspecific(*keyp, (iobuf = malloc(size))) != 0) {
321 if (iobuf)
322 (void) free(iobuf);
323 iobuf = NULL;
326 return (iobuf);
336 char *iobuf = _get_iobuf(&key, IOBUF_SIZE); local
354 iobuf[
[all...]
/illumos-gate/usr/src/uts/common/io/tpm/
H A Dtpm_ddi.h79 uint8_t *iobuf; member in struct:tpm_state
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsdbc_ioctl.h249 int iobuf; member in struct:_sd_cache_param
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c60 char iobuf[BUFSIZ]; /* so we can zap it later */ member in struct:_krb5_ktfile_data
71 #define KTFILEBUFP(id) (((krb5_ktfile_data *)(id)->data)->iobuf)
1195 char iobuf[BUFSIZ];
1226 memset(iobuf, 0, (size_t) len);
1228 xfwrite(iobuf, 1, (size_t) len, KTFILEP(id));
1649 char iobuf[BUFSIZ];
1722 while ((size = xfread(iobuf, 1, sizeof(iobuf), KTFILEP(id)))) {
1723 if (size != sizeof(iobuf)) {
1735 memset(iobuf,
1192 char iobuf[BUFSIZ]; local
1646 char iobuf[BUFSIZ]; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcrypt.c119 static char *_unix_crypt(const char *pw, const char *salt, char *iobuf);
1065 _unix_crypt(const char *pw, const char *salt, char *iobuf) argument
1071 block = iobuf + 16;
1073 if (iobuf == 0) {
1095 iobuf[i] = (char)c;
1125 iobuf[i+2] = (char)c;
1127 iobuf[i+2] = 0;
1128 if (iobuf[1] == 0)
1129 iobuf[1] = iobuf[
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dlofi.c994 void *iobuf = bufaddr; local
998 iobuf = kmem_alloc(len, KM_SLEEP);
999 if (lofi_crypto(lsp, bp, bufaddr, iobuf, len,
1001 kmem_free(iobuf, len);
1009 bcopy(iobuf, bcopy_locn, len);
1012 error = vn_rdwr(UIO_WRITE, lsp->ls_vp, iobuf, len,
1018 kmem_free(iobuf, len);
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c2715 char iobuf[BUFSIZ]; local
2760 while ((nbytes = fread(iobuf, sizeof (char), BUFSIZ, st)) != 0)
2761 (void) fwrite(iobuf, sizeof (char), nbytes, mailpipe);

Completed in 120 milliseconds