Searched defs:code (Results 276 - 300 of 584) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_encode.c673 krb5int_asn1_do_full_encode(const void *rep, krb5_data **code, argument
681 *code = NULL;
696 *code = d;
H A Dasn1buf.c76 asn1_error_code asn1buf_wrap_data(asn1buf *buf, const krb5_data *code) argument
78 if(code == NULL || code->data == NULL) return ASN1_MISSING_FIELD;
79 buf->next = buf->base = code->data;
80 buf->bound = code->data + code->length - 1;
255 asn1_error_code asn12krb5_buf(const asn1buf *buf, krb5_data **code) argument
258 *code = (krb5_data*)calloc(1,sizeof(krb5_data));
259 if(*code == NULL) return ENOMEM;
260 (*code)
[all...]
H A Dldap_key_seq.c138 krb5_data **code)
145 *code = NULL;
205 ret = asn12krb5_buf (buf, code); checkerr;
210 if (ret != 0 && *code != NULL) {
211 if ((*code)->data != NULL)
212 free ((*code)->data);
213 free (*code);
135 asn1_encode_sequence_of_keys(krb5_key_data *key_data, krb5_int16 n_key_data, krb5_int32 mkvno, krb5_data **code) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_solaris.c45 krb5_error_code code; local
51 if ((code = krb5_kt_default_name(ctx, buf, sizeof (buf))) != 0)
52 return (code);
76 krb5_error_code code; local
84 if ((code = krb5_principal2salt(ctx, svc_princ, &salt)) != 0) {
85 return (code);
95 code = krb5_kt_add_entry(ctx, kt, &entry);
102 return (code);
166 krb5_error_code code; local
173 if ((code
276 krb5_error_code code; local
422 krb5_error_code code; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgic_opt.c149 krb5_error_code code; local
156 code = krb5int_gic_opte_private_alloc(context, opte);
157 if (code) {
158 krb5int_set_error(&context->err, code,
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dchangepw.c62 krb5_error_code code; local
65 code = krb5int_locate_server (context, realm, addrlist,
68 if (code == KRB5_REALM_CANT_RESOLVE || code == KRB5_REALM_UNKNOWN) {
69 code = krb5int_locate_server (context, realm, addrlist,
71 if (!code) {
84 return (code);
89 * This routine is used for a callback in sendto_kdc.c code. Simply
104 krb5_error_code code = 0; local
119 code
202 krb5_error_code code = 0; local
373 krb5_error_code code; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Daccept_sec_context.c128 * subkey, so this code works fine against a JCSI client.) Up to the
129 * present, though, GSSAPI clients linked against the MIT code (which
135 * unencrypted. (The MIT code doesn't actually send the KRB_CRED
296 krb5_error_code code; local
327 code = krb5int_accessor (&kaccess, KRB5INT_ACCESS_VERSION);
328 if (code) {
329 *minor_status = code;
333 code = krb5_gss_init_context(&context);
334 if (code) {
335 *minor_status = code;
[all...]
H A Dutil_errmap.c51 OM_uint32 code; member in struct:mecherror
68 if (m1.code < m2.code)
70 if (m1.code > m2.code)
117 fprintf(f, "%lu@", (unsigned long) value.code);
194 me.code = minor;
216 /* Is this status code already mapped to something else
284 *mech_minor = p->code;
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dchangepw.c97 krb5_error_code code = 0; local
116 if ((code = krb5_auth_con_init(context, &auth_context)))
119 if (code = krb5_mk_req_extended(context, &auth_context,
132 code = KRB5_REALM_CANT_RESOLVE;
163 code = errno;
169 code = errno;
185 code = errno;
197 code = errno;
237 code = errno;
263 if (code
377 kadm5_ret_t code; local
[all...]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dhash.c94 static HashNode *_new_HashNode(HashTable *hash, const char *name, int code,
323 * code int An application-specific code to be stored in
332 * with the 'code' and 'data' arguments given
340 Symbol *_new_HashSymbol(HashTable *hash, const char *name, int code, argument
366 node->symbol.data = node->symbol.del_fn(hash->app_data, node->symbol.code,
373 node = _new_HashNode(hash, name, code, fn, data, del_fn);
471 * code int A user-supplied context code.
478 static HashNode *_new_HashNode(HashTable *hash, const char *name, int code, argument
[all...]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dm_cc.c266 int code; local
274 code = mbtowc(wcp, &mb, 1) < 0 ? ERR : OK;
276 return code;
611 int nx, width, code = ERR; local
660 code = OK;
665 return __m_return_code("__m_cc_add", code);
H A Dsetup.c317 "__m_setupterm error code passed back in %p = %d.",
347 int code; local
352 code = __m_setupterm(term, STDIN_FILENO, out, err);
354 return __m_return_code("setupterm", code);
525 "restartterm() error code passed back in %p = %d.",
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dslk.c60 int code = ERR; local
65 code = OK;
68 return (code);
74 int code = OK; local
77 code = wattron(__m_screen->_slk._w, (int) at);
79 return (code);
85 int code = OK; local
88 code = wattroff(__m_screen->_slk._w, (int) at);
90 return (code);
96 int code local
107 int code = OK; local
118 int code = OK; local
129 int code = OK; local
140 int code = OK; local
151 int code = OK; local
193 int code = ERR; local
241 int code; local
252 int code; local
280 int code; local
320 int code = ERR; local
335 int i, width, code = ERR; local
[all...]
H A Dwgetn_ws.c71 wint_t code; member in struct:t_key_entry
149 key_table[EOL_KEY].code = (wint_t) wc;
151 key_table[EOF_KEY].code = (wint_t) wc;
154 key_table[KILL_KEY].code = (wint_t) wc;
156 key_table[ERASE_KEY].code = (wint_t) wc;
177 if (k->type == type && k->code == fld_key) {
336 int code; local
338 code = __m_wgetn_wstr(w, (void *) s, n, 1);
340 return (code);
346 int code; local
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirp.c160 int code; local
235 code = irs_irp_read_response(pvt, text, sizeof text);
236 if (code != IRPD_WELCOME_CODE) {
359 * FP. 0 on failure(0 is not a legal response code). The
367 int code; local
379 if (sscanf(line, "%d", &code) != 1) {
380 code = 0;
390 return (code);
464 * int irs_irp_get_full_response(struct irp_p *pvt, int *code,
468 * there's a body to follow(code
481 irs_irp_get_full_response(struct irp_p *pvt, int *code, char *text, size_t textlen, char **body, size_t *bodylen) argument
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dwait.c31 * Portions of this source code were derived from Berkeley 4.3 BSD
242 * Convert the status code to old style wait status
245 wstat(int code, int status) argument
249 switch (code) {
255 if (code == CLD_DUMPED)
/illumos-gate/usr/src/lib/libc/amd64/unwind/
H A Deh_frame.c221 uint64_t code; local
228 code = (uint64_t)(*((uint32_t *)data));
239 code = (uint64_t)(*((uint64_t *)data));
250 code = (uint64_t)(int64_t)(*((int32_t *)data));
261 code = (uint64_t)(*((int64_t *)data));
276 code += (uint64_t)data + reloc;
282 code += base;
291 *codep = code;
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dfex_log.c102 unsigned long code; member in struct:exc_list
121 static int check_exc_list(char *addr, unsigned long code, char *stk, argument
130 if (l->addr != addr || l->code != code)
155 l->code = code;
173 * In the following code, the use of sprintf+write rather than fprintf
181 * different threads aren't interspersed). Therefore, if the code
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyp_b_svc.c30 * Portions of this source code were derived from Berkeley
616 * This code was taken from the SunOS version of ypbind.
620 unregister(int code) argument
624 signal(code, SIG_DFL); /* to prevent recursive calls to unregister */
625 fprintf(stderr, "ypbind: goind down on signal %d\n", code);
630 kill(getpid(), code); /* throw signal again */ local
/illumos-gate/usr/src/common/net/dhcp/
H A Ddhcp_impl.h84 * of the standalone code. This needs to go away someday.
92 uint8_t code; member in struct:__anon2011
103 * Generic DHCP packet list. Ensure that _REENTRANT bracketed code stays at
/illumos-gate/usr/src/lib/brand/shared/brand/common/
H A Dbrand_util.c243 brand_indir(sysret_t *rv, int code, argument
247 brand_sysent_table_t *sst = &(brand_sysent_table[code]);
249 brand_assert(code < NSYSCALL);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dupap.c340 u_char code, id; local
344 * Parse header (code, id and length).
352 GETCHAR(code, inp);
363 * Action depends on code.
365 switch (code) {
379 warn("Unknown PAP code (%d) received.", code);
635 upap_sresp(u, code, id, msg, msglen)
637 u_char code, id;
648 PUTCHAR(code, out
670 int code, id, len; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Denc_des.c19 * 1. Redistributions of source code must retain the above copyright
114 krb5_error_code code; local
126 code = krb5_c_encrypt(telnet_context, &stp->str_key, NULL, NULL,
128 if (code)
130 "Error encrypting stream data (%s)\r\n"), code);
201 krb5_error_code code; local
206 code = krb5_c_random_make_octets(telnet_context, &d);
207 if (code != 0)
473 * the original version of this code uses des ecb mode, but
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dfw.h76 u_long code; member in struct:Op_err
H A Dsnoop_pppoe.c95 uint8_t code = poep->poep_code; local
105 pppoe_codetoname(code, B_FALSE));
117 "Code = %d (%s)", code, pppoe_codetoname(code, B_TRUE));
192 pppoe_codetoname(int code, boolean_t verbose) argument
196 switch (code) {

Completed in 161 milliseconds

<<11121314151617181920>>