Home
last modified time | relevance | path

Searched refs:ibuf (Results 1 – 25 of 82) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dser_ctx.c343 krb5_int32 ibuf; in krb5_context_internalize() local
355 if (ibuf != KV5M_CONTEXT) in krb5_context_internalize()
368 if (ibuf) { in krb5_context_internalize()
376 (size_t) ibuf, &bp, &remain); in krb5_context_internalize()
380 context->default_realm[ibuf] = '\0'; in krb5_context_internalize()
407 context->tgs_ktype_count = (int) ibuf; in krb5_context_internalize()
504 if (ibuf != KV5M_CONTEXT) { in krb5_context_internalize()
585 krb5_int32 ibuf; in krb5_oscontext_internalize() local
595 ibuf = 0; in krb5_oscontext_internalize()
596 if (ibuf == KV5M_OS_CONTEXT) { in krb5_oscontext_internalize()
[all …]
H A Dser_cksum.c146 krb5_int32 ibuf; in krb5_checksum_internalize() local
154 if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) in krb5_checksum_internalize()
155 ibuf = 0; in krb5_checksum_internalize()
156 if (ibuf == KV5M_CHECKSUM) { in krb5_checksum_internalize()
170 checksum->length = (int) ibuf; in krb5_checksum_internalize()
174 if (ibuf) in krb5_checksum_internalize()
176 MALLOC((size_t) (ibuf)); in krb5_checksum_internalize()
178 if (!ibuf || in krb5_checksum_internalize()
181 (size_t) ibuf, in krb5_checksum_internalize()
185 kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain); in krb5_checksum_internalize()
[all …]
H A Dser_adata.c145 krb5_int32 ibuf; in krb5_authdata_internalize() local
153 if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) in krb5_authdata_internalize()
154 ibuf = 0; in krb5_authdata_internalize()
155 if (ibuf == KV5M_AUTHDATA) { in krb5_authdata_internalize()
164 (void) krb5_ser_unpack_int32(&ibuf, &bp, &remain); in krb5_authdata_internalize()
165 authdata->ad_type = (krb5_authdatatype) ibuf; in krb5_authdata_internalize()
169 authdata->length = (int) ibuf; in krb5_authdata_internalize()
174 MALLOC((size_t) (ibuf)); in krb5_authdata_internalize()
177 (size_t) ibuf, in krb5_authdata_internalize()
180 ibuf = 0; in krb5_authdata_internalize()
[all …]
H A Dser_addr.c147 krb5_int32 ibuf; in krb5_address_internalize() local
155 if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) in krb5_address_internalize()
156 ibuf = 0; in krb5_address_internalize()
157 if (ibuf == KV5M_ADDRESS) { in krb5_address_internalize()
168 (void) krb5_ser_unpack_int32(&ibuf, &bp, &remain); in krb5_address_internalize()
169 address->addrtype = (krb5_addrtype) ibuf; in krb5_address_internalize()
172 (void) krb5_ser_unpack_int32(&ibuf, &bp, &remain); in krb5_address_internalize()
173 address->length = (int) ibuf; in krb5_address_internalize()
180 (size_t) ibuf, in krb5_address_internalize()
184 ibuf = 0; in krb5_address_internalize()
[all …]
H A Dser_key.c145 krb5_int32 ibuf; in krb5_keyblock_internalize() local
153 if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) in krb5_keyblock_internalize()
154 ibuf = 0; in krb5_keyblock_internalize()
155 if (ibuf == KV5M_KEYBLOCK) { in krb5_keyblock_internalize()
164 (void) krb5_ser_unpack_int32(&ibuf, &bp, &remain); in krb5_keyblock_internalize()
165 keyblock->enctype = (krb5_enctype) ibuf; in krb5_keyblock_internalize()
168 (void) krb5_ser_unpack_int32(&ibuf, &bp, &remain); in krb5_keyblock_internalize()
169 keyblock->length = (int) ibuf; in krb5_keyblock_internalize()
176 (size_t) ibuf, in krb5_keyblock_internalize()
178 kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain); in krb5_keyblock_internalize()
[all …]
H A Dser_princ.c141 krb5_int32 ibuf; in krb5_principal_internalize() local
151 if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) in krb5_principal_internalize()
152 ibuf = 0; in krb5_principal_internalize()
153 if (ibuf == KV5M_PRINCIPAL) { in krb5_principal_internalize()
157 if (!(kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain))) { in krb5_principal_internalize()
160 tmpsize = ibuf+1; in krb5_principal_internalize()
164 (size_t) ibuf, in krb5_principal_internalize()
166 tmpname[ibuf] = '\0'; in krb5_principal_internalize()
172 kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain); in krb5_principal_internalize()
173 if (!kret && (ibuf == KV5M_PRINCIPAL)) { in krb5_principal_internalize()
H A Dser_auth.c234 krb5_int32 ibuf; in krb5_authenticator_internalize() local
245 if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) in krb5_authenticator_internalize()
246 ibuf = 0; in krb5_authenticator_internalize()
247 if (ibuf == KV5M_AUTHENTICATOR) { in krb5_authenticator_internalize()
257 (void) krb5_ser_unpack_int32(&ibuf, &bp, &remain); in krb5_authenticator_internalize()
258 authenticator->ctime = (krb5_timestamp) ibuf; in krb5_authenticator_internalize()
262 authenticator->cusec = ibuf; in krb5_authenticator_internalize()
266 authenticator->seq_number = ibuf; in krb5_authenticator_internalize()
306 nadata = ibuf; in krb5_authenticator_internalize()
327 kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain); in krb5_authenticator_internalize()
[all …]
H A Dser_actx.c365 krb5_int32 ibuf; in krb5_auth_context_internalize() local
375 if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) in krb5_auth_context_internalize()
376 ibuf = 0; in krb5_auth_context_internalize()
377 if (ibuf == KV5M_AUTH_CONTEXT) { in krb5_auth_context_internalize()
387 (void) krb5_ser_unpack_int32(&ibuf, &bp, &remain); in krb5_auth_context_internalize()
388 auth_context->auth_context_flags = ibuf; in krb5_auth_context_internalize()
391 (void) krb5_ser_unpack_int32(&ibuf, &bp, &remain); in krb5_auth_context_internalize()
392 auth_context->remote_seq_number = ibuf; in krb5_auth_context_internalize()
396 auth_context->local_seq_number = ibuf; in krb5_auth_context_internalize()
534 kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain); in krb5_auth_context_internalize()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dser_sctx.c90 krb5_int32 ibuf; local
101 if (ibuf != KV5M_GSS_OID)
111 oid->length = ibuf;
131 if (ibuf != KV5M_GSS_OID) {
194 krb5_int32 ibuf; local
533 krb5_int32 ibuf; local
549 ibuf = 0;
550 if (ibuf == KG_CONTEXT) {
672 ctx->proto = ibuf;
675 ctx->cksumtype = ibuf;
[all …]
/illumos-gate/usr/src/cmd/mailx/
H A Dfio.c119 fclose(ibuf); in setptr()
271 fclose(ibuf); in setptr()
281 fclose(ibuf); in setptr()
319 fclose(ibuf); in setptr()
331 FILE *ibuf; in setclen() local
404 clearerr(ibuf); in readline()
405 c = getc(ibuf); in readline()
531 fclose(ibuf); in edstop()
537 fclose(ibuf); in edstop()
592 fclose(ibuf); in edstop()
[all …]
H A Dlex.c69 FILE *ibuf; in setfile() local
123 fclose(ibuf); in setfile()
139 fclose(ibuf); in setfile()
213 setptr(ibuf); in setfile()
215 fclose(ibuf); in setfile()
298 FILE *ibuf; in commands() local
354 setptr(ibuf); in commands()
356 fclose(ibuf); in commands()
956 FILE *ibuf; in inc() local
984 setptr(ibuf); in inc()
[all …]
H A Dcollect.c121 newi = ibuf; in collect()
675 ibuf = newi; in collect()
676 newi = ibuf; in collect()
705 rewind(ibuf); in collect()
708 return(ibuf); in collect()
717 rewind(ibuf); in collect()
860 rewind(ibuf); in mesedit()
983 newi = ibuf; in mesedit()
1005 newi = ibuf; in mespipe()
1019 rewind(ibuf); in mespipe()
[all …]
H A Dquit.c68 FILE *ibuf, *obuf, *fbuf, *readstat; in quit() local
179 if ((ibuf = fopen(tempQuit, "r")) == NULL) { in quit()
194 fclose(ibuf); in quit()
202 fclose(ibuf); in quit()
220 fclose(ibuf); in quit()
237 rewind(ibuf); in quit()
238 c = getc(ibuf); in quit()
243 c = getc(ibuf); in quit()
245 fclose(ibuf); in quit()
H A Dedit.c100 FILE *ibuf, *obuf; in edit1() local
213 if ((ibuf = fopen(tempZedit, "r")) == NULL) { in edit1()
225 while ((c = getc(ibuf)) != EOF) { in edit1()
246 fclose(ibuf); in edit1()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dser_cc.c161 krb5_int32 ibuf; in krb5_ccache_internalize() local
170 if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) in krb5_ccache_internalize()
171 ibuf = 0; in krb5_ccache_internalize()
172 if (ibuf == KV5M_CCACHE) { in krb5_ccache_internalize()
176 kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain); in krb5_ccache_internalize()
179 (ccname = (char *) malloc((size_t) (ibuf+1))) && in krb5_ccache_internalize()
181 (size_t) ibuf, in krb5_ccache_internalize()
183 ccname[ibuf] = '\0'; in krb5_ccache_internalize()
185 !(kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain)) && in krb5_ccache_internalize()
186 (ibuf == KV5M_CCACHE)) { in krb5_ccache_internalize()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Dser_rc.c168 krb5_int32 ibuf; in krb5_rcache_internalize() local
177 if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) in krb5_rcache_internalize()
178 ibuf = 0; in krb5_rcache_internalize()
179 if (ibuf == KV5M_RCACHE) { in krb5_rcache_internalize()
183 kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain); in krb5_rcache_internalize()
186 (rcname = (char *) malloc((size_t) (ibuf+1))) && in krb5_rcache_internalize()
188 (size_t) ibuf, in krb5_rcache_internalize()
190 rcname[ibuf] = '\0'; in krb5_rcache_internalize()
194 !(kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain)) && in krb5_rcache_internalize()
195 (ibuf == KV5M_RCACHE)) { in krb5_rcache_internalize()
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dmakemap.c104 char ibuf[BUFSIZE]; local
393 while (sm_io_fgets(smioin, SM_TIME_DEFAULT, ibuf, sizeof ibuf)
404 p = strchr(ibuf, '\n');
412 (long) sizeof ibuf);
417 if (ibuf[0] == '\0' || ibuf[0] == comment)
419 if (sep == '\0' && isascii(ibuf[0]) && isspace(ibuf[0]))
430 db_key.data = ibuf;
432 for (p = ibuf; *p != '\0' && !(ISSEP(*p)); p++)
437 db_key.size = p - ibuf;
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_utf8.c364 char *ibuf = (char *)oems; in smb_oemtombs() local
371 rc = kiconv(ic, &ibuf, &ilen, &obuf, &olen, &err); in smb_oemtombs()
374 const char *ibuf = (char *)oems; in smb_oemtombs() local
379 rc = iconv(ic, &ibuf, &ilen, &obuf, &olen); in smb_oemtombs()
442 char *ibuf = (char *)mbs; in smb_mbstooem() local
449 rc = kiconv(ic, &ibuf, &ilen, &obuf, &olen, &err); in smb_mbstooem()
452 const char *ibuf = mbs; in smb_mbstooem() local
457 rc = iconv(ic, &ibuf, &ilen, &obuf, &olen); in smb_mbstooem()
/illumos-gate/usr/src/lib/libwrap/
H A Dpercent_m.c23 char *percent_m(obuf, ibuf) in percent_m() argument
25 char *ibuf;
28 char *cp = ibuf;
/illumos-gate/usr/src/cmd/iconv/
H A Diconv_main.c183 static char ibuf[IBUFSIZ]; in iconv_file() local
194 iptr = ibuf + MB_LEN_MAX; in iconv_file()
196 while ((nr = fread(ibuf+MB_LEN_MAX, 1, BUFSIZ, fp)) > 0) { in iconv_file()
198 assert(iptr <= ibuf+MB_LEN_MAX); in iconv_file()
246 char *p = ibuf+MB_LEN_MAX-ileft; in iconv_file()
290 iptr = ibuf + MB_LEN_MAX; in iconv_file()
/illumos-gate/usr/src/cmd/expand/
H A Dexpand.c66 static char ibuf[BUFSIZ]; local
137 p1 = p2 = ibuf;
140 p1 = ibuf;
202 ibuf[n] = *p1++;
203 p1 = ibuf;
/illumos-gate/usr/src/cmd/troff/
H A Dn1.c182 eibuf = roff_sprintf(ibuf+strlen(ibuf), in main()
343 ibuf[0] = 0; in init0()
398 eibuf = roff_sprintf(ibuf+strlen(ibuf), ".ds .T %s\n", devname); in init2()
400 cpushback(ibuf); in init2()
401 ibufp = ibuf; in init2()
1054 ibufp = ibuf; in getch0()
1055 eibuf = ibuf + j; in getch0()
1231 q = ibuf; in popf()
1241 eibuf = ibuf + i; in popf()
1242 ibufp = ibuf; in popf()
[all …]
/illumos-gate/usr/src/ucbcmd/sed/
H A Dsed1.c40 char ibuf[BUFSIZ]; variable
121 ebp = ibuf; in execute()
122 cbp = ibuf; in execute()
611 if(f < 0 || (c = read(f, ibuf, BUFSIZ)) == 0) {
619 p2 = ibuf;
620 ebp = ibuf+c;
624 if(f < 0 || (c = read(f, ibuf, BUFSIZ)) == 0) {
638 p2 = ibuf;
639 ebp = ibuf + c;
/illumos-gate/usr/src/uts/common/io/fcoe/
H A Dfcoe.c112 void **ibuf, void **abuf, void **obuf);
563 void **ibuf, void **abuf, void **obuf) in fcoe_copyin_iocdata() argument
567 *ibuf = NULL; in fcoe_copyin_iocdata()
612 if (*ibuf) { in fcoe_copyin_iocdata()
614 *ibuf = NULL; in fcoe_copyin_iocdata()
643 void *ibuf = NULL; in fcoe_iocmd() local
674 (fcoeio_create_port_param_t *)ibuf; in fcoe_iocmd()
770 (fcoeio_delete_port_param_t *)ibuf; in fcoe_iocmd()
841 if (ibuf != NULL) { in fcoe_iocmd()
842 kmem_free(ibuf, fcoeio->fcoeio_ilen); in fcoe_iocmd()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Dpk0.c251 pkread(ibuf, icount) in pkread() argument
252 char *ibuf; in pkread()
288 memcpy(ibuf, cp, cc);
289 ibuf += cc;
317 pkwrite(ibuf, icount) in pkwrite() argument
318 char *ibuf; in pkwrite()
360 memcpy(cp, ibuf, cc);
361 ibuf += cc;

1234