Searched refs:ctx (Results 1 - 25 of 268) sorted by relevance

1234567891011

/osnet-11/usr/src/cmd/sendmail/libmilter/
H A Dhandler.c21 ** ctx -- context structure
28 mi_handle_session(ctx)
29 SMFICTX_PTR ctx;
33 if (ctx == NULL)
35 ctx->ctx_id = (sthread_t) sthread_get_id();
42 if (pthread_detach(ctx->ctx_id) != 0)
45 ret = mi_engine(ctx);
46 mi_clr_ctx(ctx);
47 ctx = NULL;
/osnet-11/usr/src/lib/libndmp/common/
H A Dlibndmp_door_data.c52 ndmp_door_ctx_t *ctx = malloc(sizeof (ndmp_door_ctx_t)); local
53 if (ctx) {
54 ctx->start_ptr = ctx->ptr = ptr;
55 ctx->end_ptr = ptr + size;
56 ctx->status = 0;
58 return (ctx);
62 ndmp_door_decode_finish(ndmp_door_ctx_t *ctx) argument
64 int status = ctx->status;
65 if ((status == 0) && (ctx
75 ndmp_door_ctx_t *ctx = malloc(sizeof (ndmp_door_ctx_t)); local
85 ndmp_door_encode_finish(ndmp_door_ctx_t *ctx, unsigned int *used) argument
101 ndmp_door_get_int32(ndmp_door_ctx_t *ctx) argument
116 ndmp_door_get_uint32(ndmp_door_ctx_t *ctx) argument
122 ndmp_door_get_string(ndmp_door_ctx_t *ctx) argument
152 ndmp_door_put_int32(ndmp_door_ctx_t *ctx, int32_t num) argument
165 ndmp_door_put_uint32(ndmp_door_ctx_t *ctx, uint32_t num) argument
171 ndmp_door_put_string(ndmp_door_ctx_t *ctx, char *buf) argument
201 ndmp_door_get_int64(ndmp_door_ctx_t *ctx) argument
216 ndmp_door_get_uint64(ndmp_door_ctx_t *ctx) argument
223 ndmp_door_put_int64(ndmp_door_ctx_t *ctx, int64_t num) argument
236 ndmp_door_put_uint64(ndmp_door_ctx_t *ctx, uint64_t num) argument
242 ndmp_door_put_short(ndmp_door_ctx_t *ctx, short num) argument
255 ndmp_door_get_short(ndmp_door_ctx_t *ctx) argument
270 ndmp_door_put_ushort(ndmp_door_ctx_t *ctx, unsigned short num) argument
276 ndmp_door_get_ushort(ndmp_door_ctx_t *ctx) argument
282 ndmp_door_put_buf(ndmp_door_ctx_t *ctx, unsigned char *start, int len) argument
296 ndmp_door_get_buf(ndmp_door_ctx_t *ctx, unsigned char *buf, int bufsize) argument
[all...]
/osnet-11/usr/src/lib/auditd_plugins/syslog/
H A Dsystoken.c68 parse_token(parse_context_t *ctx) argument
83 adrm_char(&(ctx->adr), &tokenid, 1);
86 rc = (*tokentable[tokenid].func)(ctx);
98 file_token(parse_context_t *ctx) argument
105 file64_token(parse_context_t *ctx) argument
111 common_header(parse_context_t *ctx) argument
113 adrm_u_int32(&(ctx->adr), &(ctx->out.sf_reclen), 1);
114 ctx->adr.adr_now += sizeof (char); /* version number */
115 adrm_u_short(&(ctx
123 header_token(parse_context_t *ctx) argument
133 header32_ex_token(parse_context_t *ctx) argument
149 header64_ex_token(parse_context_t *ctx) argument
165 header64_token(parse_context_t *ctx) argument
184 trailer_token(parse_context_t *ctx) argument
209 arbitrary_data_token(parse_context_t *ctx) argument
248 opaque_token(parse_context_t *ctx) argument
263 return_value32_token(parse_context_t *ctx) argument
283 return_value64_token(parse_context_t *ctx) argument
303 sequence_token(parse_context_t *ctx) argument
316 text_token(parse_context_t *ctx) argument
367 tid_token(parse_context_t *ctx) argument
393 ip_addr_token(parse_context_t *ctx) argument
408 ip_addr_ex_token(parse_context_t *ctx) argument
434 ip_token(parse_context_t *ctx) argument
449 iport_token(parse_context_t *ctx) argument
464 group_token(parse_context_t *ctx) argument
479 newgroup_token(parse_context_t *ctx) argument
499 argument32_token(parse_context_t *ctx) argument
516 argument64_token(parse_context_t *ctx) argument
532 acl_token(parse_context_t *ctx) argument
548 ace_token(parse_context_t *ctx) argument
567 attribute_token(parse_context_t *ctx) argument
586 attribute32_token(parse_context_t *ctx) argument
605 attribute64_token(parse_context_t *ctx) argument
631 cmd_token(parse_context_t *ctx) argument
658 exit_token(parse_context_t *ctx) argument
677 exec_args_token(parse_context_t *ctx) argument
697 exec_env_token(parse_context_t *ctx) argument
712 liaison_token(parse_context_t *ctx) argument
725 path_token(parse_context_t *ctx) argument
757 path_attr_token(parse_context_t *ctx) argument
804 s5_IPC_perm_token(parse_context_t *ctx) argument
811 common_process(parse_context_t *ctx) argument
839 process32_token(parse_context_t *ctx) argument
868 process32_ex_token(parse_context_t *ctx) argument
896 process64_token(parse_context_t *ctx) argument
926 process64_ex_token(parse_context_t *ctx) argument
949 s5_IPC_token(parse_context_t *ctx) argument
966 socket_token(parse_context_t *ctx) argument
986 socket_ex_token(parse_context_t *ctx) argument
1000 common_subject(parse_context_t *ctx) argument
1027 subject32_token(parse_context_t *ctx) argument
1057 subject32_ex_token(parse_context_t *ctx) argument
1085 subject64_token(parse_context_t *ctx) argument
1115 subject64_ex_token(parse_context_t *ctx) argument
1131 xatom_token(parse_context_t *ctx) argument
1140 xselect_token(parse_context_t *ctx) argument
1242 skip_bytes(parse_context_t *ctx) argument
1251 skip_string(parse_context_t *ctx) argument
1268 get_bytes_to_string(parse_context_t *ctx, size_t *l, char **p, size_t offset) argument
1298 host_token(parse_context_t *ctx) argument
1312 useofauth_token(parse_context_t *ctx) argument
1328 user_token(parse_context_t *ctx) argument
1343 zonename_token(parse_context_t *ctx) argument
1359 fmri_token(parse_context_t *ctx) argument
1367 xcolormap_token(parse_context_t *ctx) argument
1373 xcursor_token(parse_context_t *ctx) argument
1379 xfont_token(parse_context_t *ctx) argument
1385 xgc_token(parse_context_t *ctx) argument
1391 xpixmap_token(parse_context_t *ctx) argument
1397 xwindow_token(parse_context_t *ctx) argument
1409 xgeneric(parse_context_t *ctx) argument
1422 xproperty_token(parse_context_t *ctx) argument
1433 xclient_token(parse_context_t *ctx) argument
1452 privilege_token(parse_context_t *ctx) argument
1469 label_token(parse_context_t *ctx) argument
1489 useofpriv_token(parse_context_t *ctx) argument
[all...]
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dheap.c55 heap_context ctx; local
60 ctx = (heap_context)malloc(sizeof (struct heap_context));
61 if (ctx == NULL)
64 ctx->array_size = 0;
66 ctx->array_size_increment = ARRAY_SIZE_INCREMENT;
68 ctx->array_size_increment = array_size_increment;
69 ctx->heap_size = 0;
70 ctx->heap = NULL;
71 ctx->higher_priority = higher_priority;
72 ctx
77 heap_free(heap_context ctx) argument
91 heap_resize(heap_context ctx) argument
106 float_up(heap_context ctx, int i, void *elt) argument
122 sink_down(heap_context ctx, int i, void *elt) argument
146 heap_insert(heap_context ctx, void *elt) argument
164 heap_delete(heap_context ctx, int i) argument
189 heap_increased(heap_context ctx, int i) argument
201 heap_decreased(heap_context ctx, int i) argument
213 heap_element(heap_context ctx, int i) argument
223 heap_for_each(heap_context ctx, heap_for_each_func action, void *uap) argument
[all...]
H A Dctl_clnt.c60 #define donefunc_p(ctx) ((ctx).donefunc != NULL)
77 struct ctl_cctx * ctx; member in struct:ctl_tran
154 struct ctl_cctx *ctx; local
159 ctx = memget(sizeof *ctx);
160 if (ctx == NULL) {
164 ctx->state = initializing;
165 ctx->ev = lev;
166 ctx
223 ctl_endclient(struct ctl_cctx *ctx) argument
236 ctl_command(struct ctl_cctx *ctx, const char *cmd, size_t len, ctl_clntdone donefunc, void *uap) argument
275 new_tran(struct ctl_cctx *ctx, ctl_clntdone donefunc, void *uap, int w) argument
293 start_write(struct ctl_cctx *ctx) argument
339 destroy(struct ctl_cctx *ctx, int notify) argument
389 error(struct ctl_cctx *ctx) argument
395 new_state(struct ctl_cctx *ctx, enum state new_state) argument
409 struct ctl_cctx *ctx = uap; local
445 struct ctl_cctx *ctx = tran->ctx; local
462 start_read(struct ctl_cctx *ctx) argument
478 stop_read(struct ctl_cctx *ctx) argument
488 struct ctl_cctx *ctx = uap; local
572 start_timer(struct ctl_cctx *ctx) argument
585 stop_timer(struct ctl_cctx *ctx) argument
599 touch_timer(struct ctl_cctx *ctx) argument
608 struct ctl_cctx *ctx = uap; local
[all...]
H A Deventlib.c68 evContext_p *ctx; local
74 OKNEW(ctx);
77 ctx->cur = NULL;
80 ctx->debug = 0;
81 ctx->output = NULL;
84 ctx->conns = NULL;
85 INIT_LIST(ctx->accepts);
88 ctx->files = NULL;
90 ctx->pollfds = NULL;
91 ctx
144 evContext_p *ctx = opaqueCtx.opaque; local
152 evContext_p *ctx = opaqueCtx.opaque; local
212 evContext_p *ctx = opaqueCtx.opaque; local
478 evContext_p *ctx = opaqueCtx.opaque; local
591 evContext_p *ctx = opaqueCtx.opaque; local
667 evContext_p *ctx = opaqueCtx.opaque; local
673 evPrintf(const evContext_p *ctx, int level, const char *fmt, ...) argument
745 evContext_p *ctx; local
813 evPollfdRealloc(evContext_p *ctx, int pollfd_chunk_size, int fd) argument
855 evContext_p *ctx = (evContext_p *)maskp->ctx; local
889 evContext_p *ctx = maskp->ctx; local
920 evContext_p *ctx = maskp->ctx; local
[all...]
H A Dev_files.c42 static evFile *FindFD(const evContext_p *ctx, int fd, int eventmask);
52 evContext_p *ctx = opaqueCtx.opaque; local
56 evPrintf(ctx, 1,
57 "evSelectFD(ctx %p, fd %d, mask 0x%x, func %p, uap %p)\n",
58 ctx, fd, eventmask, func, uap);
62 if (fd > ctx->highestFD)
73 /* Make sure both ctx->pollfds[] and ctx->fdTable[] are large enough */
74 if (fd >= ctx->maxnfds && evPollfdRealloc(ctx,
157 evContext_p *ctx = opaqueCtx.opaque; local
268 FindFD(const evContext_p *ctx, int fd, int eventmask) argument
[all...]
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_ctx.c98 smbfs_ctx_rpc_cleanup(struct smb_ctx *ctx) argument
101 (*close_hook)(ctx);
107 smb_ctx_t *ctx; local
110 ctx = malloc(sizeof (*ctx));
111 if (ctx == NULL)
113 err = smbfs_ctx_init(ctx);
115 free(ctx);
118 *ctx_pp = ctx;
149 smbfs_ctx_getconfigs(struct smb_ctx *ctx) argument
193 smbfs_ctx_init(struct smb_ctx *ctx) argument
233 smbfs_ctx_free(smb_ctx_t *ctx) argument
243 smbfs_ctx_done(struct smb_ctx *ctx) argument
304 smbfs_ctx_parseunc(struct smb_ctx *ctx, const char *unc, int minlevel, int maxlevel, int sharetype, const char **next) argument
466 smbfs_ctx_setauthflags(struct smb_ctx *ctx, int flags) argument
473 smbfs_ctx_setfullserver(struct smb_ctx *ctx, const char *name) argument
486 smbfs_ctx_setserver(struct smb_ctx *ctx, const char *name) argument
494 smbfs_ctx_setuser(struct smb_ctx *ctx, const char *name, int from_cmd) argument
526 smbfs_ctx_setrealm(struct smb_ctx *ctx, const char *name) argument
562 smbfs_ctx_setdomain(struct smb_ctx *ctx, const char *name, int from_cmd) argument
588 smbfs_ctx_setpassword(struct smb_ctx *ctx, const char *passwd, int from_cmd) argument
640 smbfs_ctx_setpwhash(smb_ctx_t *ctx, const uchar_t *nthash, const uchar_t *lmhash) argument
659 smbfs_ctx_setshare(struct smb_ctx *ctx, const char *share, int stype) argument
680 smbfs_ctx_setsigning(struct smb_ctx *ctx, boolean_t required) argument
694 smbfs_ctx_getaddr(struct smb_ctx *ctx) argument
776 smbfs_ctx_resolve(struct smb_ctx *ctx) argument
869 smbfs_ctx_gethandle(struct smb_ctx *ctx) argument
910 smbfs_ctx_get_ssn(struct smb_ctx *ctx) argument
955 smbfs_ctx_get_tree(struct smb_ctx *ctx) argument
1012 smbfs_ctx_flags2(struct smb_ctx *ctx) argument
1079 smbfs_ctx_setnbflags(struct smb_ctx *ctx, int ns_ena, int bc_ena) argument
1094 smbfs_ctx_setwins(struct smb_ctx *ctx, const char *wins1, const char *wins2) argument
1108 smbfs_ctx_setscope(struct smb_ctx *ctx, const char *scope) argument
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dclstdup.c28 needs_duplicating (const FatOpContext* ctx, FatFragment frag) argument
30 FatSpecific* old_fs_info = FAT_SPECIFIC (ctx->old_fs);
31 FatCluster cluster = fat_frag_to_cluster (ctx->old_fs, frag);
37 flag = fat_get_fragment_flag (ctx->old_fs, frag);
46 return fat_op_context_map_static_fragment (ctx, frag) == -1;
56 search_next_fragment (FatOpContext* ctx) argument
58 FatSpecific* fs_info = FAT_SPECIFIC (ctx->old_fs);
60 for (; ctx->buffer_offset < fs_info->frag_count; ctx->buffer_offset++) {
61 if (needs_duplicating (ctx, ct
68 read_marked_fragments(FatOpContext* ctx, FatFragment length) argument
98 fetch_fragments(FatOpContext* ctx) argument
131 get_first_underlay(const FatOpContext* ctx, int first, int last) argument
152 get_last_underlay(const FatOpContext* ctx, int first, int last) argument
175 quick_group_write_read_underlay(FatOpContext* ctx, int first, int last) argument
210 quick_group_write(FatOpContext* ctx, int first, int last) argument
254 slow_group_write(FatOpContext* ctx, int first, int last) argument
281 update_remap(FatOpContext* ctx, int first, int last) argument
297 group_write(FatOpContext* ctx, int first, int last) argument
312 write_fragments(FatOpContext* ctx) argument
369 init_remap(FatOpContext* ctx) argument
379 count_frags_to_dup(FatOpContext* ctx) argument
398 fat_duplicate_clusters(FatOpContext* ctx, PedTimer* timer) argument
[all...]
H A Dclstdup.h25 extern int fat_duplicate_clusters (FatOpContext* ctx, PedTimer* timer);
H A Dcontext.c32 calc_deltas (FatOpContext* ctx) argument
34 PedFileSystem* old_fs = ctx->old_fs;
35 PedFileSystem* new_fs = ctx->new_fs;
46 ctx->start_move_dir = FAT_DIR_FORWARD;
49 ctx->start_move_dir = FAT_DIR_BACKWARD;
63 ctx->start_move_delta = sector_delta / ctx->frag_sectors;
67 (int) ctx->start_move_delta,
68 (ctx->start_move_dir == FAT_DIR_FORWARD)?
80 FatOpContext* ctx; local
120 fat_op_context_destroy(FatOpContext* ctx) argument
128 fat_op_context_map_static_fragment(const FatOpContext* ctx, FatFragment frag) argument
151 fat_op_context_map_static_cluster(const FatOpContext* ctx, FatCluster clst) argument
164 fat_op_context_map_fragment(const FatOpContext* ctx, FatFragment frag) argument
170 fat_op_context_map_cluster(const FatOpContext* ctx, FatCluster clst) argument
198 fat_op_context_create_initial_fat(FatOpContext* ctx) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_spnego/mech/
H A Dspnego_kerrs.c52 spnego_set_error_message (spnego_gss_ctx_id_t ctx, spnego_error_code code, argument
56 if (ctx == NULL)
62 "spnego_set_error_message(ctx=%p/err=%p, code=%ld, ...)\n",
63 ctx, &ctx->err, (long) code);
65 krb5int_vset_error (&ctx->err, code, fmt, args);
68 fprintf(stderr, "->%s\n", ctx->err.msg);
74 spnego_vset_error_message (spnego_gss_ctx_id_t ctx, spnego_error_code code, argument
79 fprintf(stderr, "spnego_vset_error_message(ctx=%p, code=%ld, ...)\n",
80 ctx, (lon
92 spnego_get_error_message(spnego_gss_ctx_id_t ctx, spnego_error_code code) argument
104 spnego_free_error_message(spnego_gss_ctx_id_t ctx, const char *msg) argument
116 spnego_clear_error_message(spnego_gss_ctx_id_t ctx) argument
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Digest/t/
H A Dbase.t32 my $ctx = LenDigest->new;
33 is($ctx->digest, "X0000");
38 is($ctx->hexdigest, "e7f0f0f0f0");
39 is($ctx->b64digest, "5/Dw8PA");
41 is($ctx->hexdigest, "5830303030");
42 is($ctx->b64digest, "WDAwMDA");
45 $ctx->add("foo");
46 is($ctx->digest, "f0003");
48 $ctx->add("foo");
49 is($ctx
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dkerrs.c41 krb5_set_error_message (krb5_context ctx, krb5_error_code code, argument
45 if (ctx == NULL)
51 "krb5_set_error_message(ctx=%p/err=%p, code=%ld, ...)\n",
52 ctx, &ctx->err, (long) code);
54 krb5int_vset_error (&ctx->err, code, fmt, args);
57 fprintf(stderr, "->%s\n", ctx->err.msg);
63 krb5_set_error_message_fl (krb5_context ctx, krb5_error_code code, argument
67 if (ctx == NULL)
73 "krb5_set_error_message(ctx
85 krb5_vset_error_message(krb5_context ctx, krb5_error_code code, const char *fmt, va_list args) argument
117 krb5_get_error_message(krb5_context ctx, krb5_error_code code) argument
129 krb5_free_error_message(krb5_context ctx, const char *msg) argument
141 krb5_clear_error_message(krb5_context ctx) argument
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dsign_mgr.c32 SIGN_VERIFY_CONTEXT * ctx,
45 if (! sess || ! ctx) {
48 if (ctx->active != FALSE) {
95 ctx->context_len = 0;
96 ctx->context = NULL;
126 ctx->context_len = sizeof (RSA_DIGEST_CONTEXT);
127 ctx->context = (CK_BYTE *)malloc(
129 if (! ctx->context) {
132 (void) memset(ctx->context, 0x0,
155 ctx
31 sign_mgr_init(SESSION * sess, SIGN_VERIFY_CONTEXT * ctx, CK_MECHANISM * mech, CK_BBOOL recover_mode, CK_OBJECT_HANDLE key) argument
223 sign_mgr_cleanup(SIGN_VERIFY_CONTEXT *ctx) argument
250 sign_mgr_sign(SESSION * sess, CK_BBOOL length_only, SIGN_VERIFY_CONTEXT * ctx, CK_BYTE * in_data, CK_ULONG in_data_len, CK_BYTE * out_data, CK_ULONG * out_data_len) argument
304 sign_mgr_sign_update(SESSION * sess, SIGN_VERIFY_CONTEXT * ctx, CK_BYTE * in_data, CK_ULONG in_data_len) argument
332 sign_mgr_sign_final(SESSION * sess, CK_BBOOL length_only, SIGN_VERIFY_CONTEXT * ctx, CK_BYTE * signature, CK_ULONG * sig_len) argument
358 sign_mgr_sign_recover(SESSION * sess, CK_BBOOL length_only, SIGN_VERIFY_CONTEXT * ctx, CK_BYTE * in_data, CK_ULONG in_data_len, CK_BYTE * out_data, CK_ULONG * out_data_len) argument
[all...]
H A Dverify_mgr.c32 SIGN_VERIFY_CONTEXT * ctx,
45 if (! sess || ! ctx) {
48 if (ctx->active != FALSE) {
96 ctx->context_len = 0;
97 ctx->context = NULL;
126 ctx->context_len = sizeof (RSA_DIGEST_CONTEXT);
127 ctx->context = (CK_BYTE *)malloc(
129 if (! ctx->context) {
132 (void) memset(ctx->context, 0x0,
152 ctx
31 verify_mgr_init(SESSION * sess, SIGN_VERIFY_CONTEXT * ctx, CK_MECHANISM * mech, CK_BBOOL recover_mode, CK_OBJECT_HANDLE key) argument
208 verify_mgr_cleanup(SIGN_VERIFY_CONTEXT *ctx) argument
231 verify_mgr_verify(SESSION * sess, SIGN_VERIFY_CONTEXT * ctx, CK_BYTE * in_data, CK_ULONG in_data_len, CK_BYTE * signature, CK_ULONG sig_len) argument
282 verify_mgr_verify_update(SESSION * sess, SIGN_VERIFY_CONTEXT * ctx, CK_BYTE * in_data, CK_ULONG in_data_len) argument
310 verify_mgr_verify_final(SESSION * sess, SIGN_VERIFY_CONTEXT * ctx, CK_BYTE * signature, CK_ULONG sig_len) argument
335 verify_mgr_verify_recover(SESSION * sess, CK_BBOOL length_only, SIGN_VERIFY_CONTEXT * ctx, CK_BYTE * signature, CK_ULONG sig_len, CK_BYTE * out_data, CK_ULONG * out_len) argument
[all...]
H A Ddig_mgr.c301 DIGEST_CONTEXT *ctx,
304 if (! sess || ! ctx) {
307 if (ctx->active != FALSE) {
314 ctx->context_len = sizeof (SHA1_CTX);
315 ctx->context.sha1ctx = (SHA1_CTX *)
316 malloc(ctx->context_len);
317 if (!ctx->context.sha1ctx)
319 SHA1Init(ctx->context.sha1ctx);
325 ctx->context_len = sizeof (MD5_CTX);
326 ctx
300 digest_mgr_init(SESSION *sess, DIGEST_CONTEXT *ctx, CK_MECHANISM *mech) argument
349 digest_mgr_cleanup(DIGEST_CONTEXT *ctx) argument
372 digest_mgr_digest(SESSION *sess, CK_BBOOL length_only, DIGEST_CONTEXT *ctx, CK_BYTE *in_data, CK_ULONG in_data_len, CK_BYTE *out_data, CK_ULONG *out_data_len) argument
414 digest_mgr_digest_update(SESSION *sess, DIGEST_CONTEXT *ctx, CK_BYTE *data, CK_ULONG data_len) argument
442 digest_mgr_digest_key(SESSION * sess, DIGEST_CONTEXT *ctx, CK_OBJECT_HANDLE key_handle) argument
478 digest_mgr_digest_final(SESSION *sess, DIGEST_CONTEXT *ctx, CK_BYTE *hash, CK_ULONG *hash_len) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dget_tkt_flags.c42 krb5_gss_ctx_id_rec *ctx; local
45 ctx = (krb5_gss_ctx_id_rec *) context_handle;
47 rep.value = &ctx->krb_flags;
48 rep.length = sizeof(ctx->krb_flags);
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dvalidate.c46 __dh_validate_context(dh_gss_context_t ctx) argument
48 if (ctx && ctx->state != BAD)
58 __dh_install_context(dh_gss_context_t ctx) argument
60 return (ctx ? DH_SUCCESS : DH_BAD_CONTEXT);
68 __dh_remove_context(dh_gss_context_t ctx) argument
70 return (ctx ? DH_SUCCESS : DH_BAD_CONTEXT);
H A Dseq.c58 * gss_context_cntl(OM_uint32 *minor, gss_ctx_id_t ctx, int cmd, void *argp);
67 dh_gss_context_t ctx = (dh_gss_context_t)cntx; local
79 if (ctx) {
80 mutex_lock(&ctx->seqno_lock);
81 ctx->next_seqno = seqno;
82 mutex_unlock(&ctx->seqno_lock);
91 dh_gss_context_t ctx = (dh_gss_context_t)cntx; local
101 *(OM_uint32 *)argp = ctx->next_seqno;
110 dh_gss_context_t ctx = (dh_gss_context_t)cntx; local
123 if (ctx) {
135 dh_gss_context_t ctx = (dh_gss_context_t)cntx; local
207 dh_gss_context_t ctx = (dh_gss_context_t)cntx; local
356 __dh_seq_detection(dh_gss_context_t ctx, OM_uint32 seqno) argument
433 __dh_next_seqno(dh_gss_context_t ctx) argument
449 __dh_init_seq_hist(dh_gss_context_t ctx) argument
462 __dh_destroy_seq_hist(dh_gss_context_t ctx) argument
[all...]
/osnet-11/usr/src/cmd/hal/utils/
H A Dacpi.h19 gboolean battery_update(LibHalContext *ctx, const char *udi, int fd);
20 gboolean ac_adapter_update(LibHalContext *ctx, const char *udi, int fd);
21 gboolean lid_update(LibHalContext *ctx, const char *udi, int fd);
22 gboolean laptop_panel_update(LibHalContext *ctx, const char *udi, int fd);
24 int open_device(LibHalContext *ctx, char *udi);
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dntfscomp.c179 read_block (struct grub_ntfs_rlst *ctx, char *buf, int num) argument
181 int cpb = GRUB_NTFS_COM_SEC / ctx->comp.spc;
187 if ((ctx->target_vcn & 0xF) == 0)
190 if (ctx->comp.comp_head != ctx->comp.comp_tail)
192 ctx->comp.comp_head = ctx->comp.comp_tail = 0;
193 ctx->comp.cbuf_vcn = ctx->target_vcn;
194 ctx
290 ntfscomp(struct grub_ntfs_attr *at, char *dest, grub_uint32_t ofs, grub_uint32_t len, struct grub_ntfs_rlst *ctx, grub_uint32_t vcn) argument
[all...]
/osnet-11/usr/src/lib/libsasl/include/
H A Dprop.h76 * ctx -- context from prop_new()
85 int prop_request(struct propctx *ctx, const char **names);
94 const struct propval *prop_get(struct propctx *ctx);
109 int prop_getnames(struct propctx *ctx, const char **names,
114 * ctx -- property context
117 void prop_clear(struct propctx *ctx, int requests);
122 void prop_erase(struct propctx *ctx, const char *name);
126 * ctx -- is disposed and set to NULL; noop if ctx or *ctx i
[all...]
/osnet-11/usr/src/lib/libadutils/common/
H A Daddisc.h77 ad_disc_get_DomainName(ad_disc_t ctx, boolean_t *auto_discovered);
80 ad_disc_get_DomainController(ad_disc_t ctx,
84 ad_disc_get_SiteName(ad_disc_t ctx, boolean_t *auto_discovered);
87 ad_disc_get_ForestName(ad_disc_t ctx, boolean_t *auto_discovered);
90 ad_disc_get_GlobalCatalog(ad_disc_t ctx, enum ad_disc_req,
94 ad_disc_get_TrustedDomains(ad_disc_t ctx, boolean_t *auto_discovered);
97 ad_disc_get_DomainsInForest(ad_disc_t ctx, boolean_t *auto_discovered);
105 ad_disc_set_DomainName(ad_disc_t ctx, const char *domainName);
108 ad_disc_set_DomainController(ad_disc_t ctx,
112 ad_disc_set_SiteName(ad_disc_t ctx, cons
[all...]
/osnet-11/usr/src/lib/libgss/
H A Dg_imp_sec_context.c82 gss_union_ctx_id_t ctx; local
94 ctx = (gss_union_ctx_id_t)malloc(sizeof (gss_union_ctx_id_desc));
95 if (!ctx)
98 ctx->mech_type = (gss_OID) malloc(sizeof (gss_OID_desc));
99 if (!ctx->mech_type) {
100 free(ctx);
114 free(ctx);
118 ctx->mech_type->length = length;
119 ctx->mech_type->elements = malloc(length);
120 if (!ctx
[all...]

Completed in 121 milliseconds

1234567891011