Searched refs:context (Results 126 - 150 of 3914) sorted by relevance

1234567891011>>

/macosx-10.9.5/xar-202/xar/lib/
H A Dhash.c124 int32_t xar_hash_unarchived(xar_t x, xar_file_t f, xar_prop_t p, void **in, size_t *inlen, void **context) { argument
125 return xar_hash_unarchived_out(x,f,p,*in,*inlen,context);
128 int32_t xar_hash_unarchived_out(xar_t x, xar_file_t f, xar_prop_t p, void *in, size_t inlen, void **context) { argument
147 if(!CONTEXT(context)){
148 *context = calloc(1,sizeof(struct _hash_context));
154 if( !CONTEXT(context)->unarchived ){
157 CONTEXT(context)->unarchived_cts = digestRef_from_name(opt, &CONTEXT(context)->unarchived_digest_size);
158 if (NULL == CONTEXT(context)->unarchived_cts) return -1;
159 strncpy((char *)(CONTEXT(context)
181 xar_hash_archived(xar_t x, xar_file_t f, xar_prop_t p, void **in, size_t *inlen, void **context) argument
186 xar_hash_archived_in(xar_t x, xar_file_t f, xar_prop_t p, void *in, size_t inlen, void **context) argument
236 xar_hash_done(xar_t x, xar_file_t f, xar_prop_t p, void **context) argument
334 xar_hash_out_done(xar_t x, xar_file_t f, xar_prop_t p, void **context) argument
[all...]
H A Dlzmaxar.c82 int xar_lzma_fromheap_done(xar_t x, xar_file_t f, xar_prop_t p, void **context) { argument
85 if( !context || !LZMA_CONTEXT(context) )
88 if( LZMA_CONTEXT(context)->lzmacompressed){
89 lzma_end(&LZMA_CONTEXT(context)->lzma);
92 /* free the context */
93 free(LZMA_CONTEXT(context));
94 *context = NULL;
100 int xar_lzma_fromheap_in(xar_t x, xar_file_t f, xar_prop_t p, void **in, size_t *inlen, void **context) { argument
108 /* on first run, we init the context an
186 xar_lzma_toheap_done(xar_t x, xar_file_t f, xar_prop_t p, void **context) argument
211 xar_lzma_toheap_in(xar_t x, xar_file_t f, xar_prop_t p, void **in, size_t *inlen, void **context) argument
[all...]
/macosx-10.9.5/Heimdal-323.92.1/kdc/
H A Dhpropd.c73 krb5_context context; local
87 ret = krb5_init_context(&context);
91 ret = krb5_openlog(context, "hpropd", &fac);
94 krb5_set_warn_dest(context, fac);
100 krb5_set_default_realm(context, local_realm);
116 database = hdb_default_db(context);
141 mini_inetd (krb5_getportbyname (context, "hprop", "tcp",
146 krb5_err(context, 1, errno, "getpeername");
155 krb5_log(context, fac, 0, "Connection from %s", addr_name);
157 ret = krb5_kt_register(context,
[all...]
H A Dlog.c43 kdc_openlog(krb5_context context, argument
48 krb5_initlog(context, service, &config->logf);
49 s = krb5_config_get_strings(context, NULL, service, "logging", NULL);
51 s = krb5_config_get_strings(context, NULL, "logging", service, NULL);
54 krb5_addlog_dest(context, config->logf, *p);
59 krb5_addlog_dest(context, config->logf, ss);
62 krb5_set_warn_dest(context, config->logf);
66 kdc_log_msg_va(krb5_context context, argument
71 krb5_vlog_msg(context, config->logf, &msg, level, fmt, ap);
76 kdc_log_msg(krb5_context context, argument
89 kdc_log(krb5_context context, krb5_kdc_configuration *config, int level, const char *fmt, ...) argument
[all...]
/macosx-10.9.5/Heimdal-323.92.1/admin/
H A Dcopy.c59 ret = krb5_kt_resolve (context, from, &src_keytab);
61 krb5_warn (context, ret, "resolving src keytab `%s'", from);
65 ret = krb5_kt_resolve (context, to, &dst_keytab);
67 krb5_kt_close (context, src_keytab);
68 krb5_warn (context, ret, "resolving dst keytab `%s'", to);
72 ret = krb5_kt_start_seq_get (context, src_keytab, &cursor);
74 krb5_warn (context, ret, "krb5_kt_start_seq_get %s", keytab_string);
81 while((ret = krb5_kt_next_entry(context, src_keytab,
85 ret = krb5_unparse_name (context, entry.principal, &name_str);
87 krb5_warn(context, re
[all...]
H A Ddestroy.c45 ret = krb5_kt_destroy (context, keytab);
47 krb5_warn (context, ret, "destroy keytab failed");
/macosx-10.9.5/Heimdal-323.92.1/kuser/
H A Dkdecode_ticket.c41 print_and_decode_tkt (krb5_context context, argument
56 krb5_err (context, 1, ret, "decode_Ticket");
58 ret = krb5_string_to_key (context, enctype, "foo", server, &key);
60 krb5_err (context, 1, ret, "krb5_string_to_key");
62 ret = krb5_crypto_init(context, &key, 0, &crypto);
64 krb5_err (context, 1, ret, "krb5_crypto_init");
66 ret = krb5_decrypt_EncryptedData (context, crypto, KRB5_KU_TICKET,
68 krb5_crypto_destroy (context, crypto);
70 krb5_err (context, 1, ret, "krb5_decrypt_EncryptedData");
75 krb5_err (context,
100 krb5_context context; local
[all...]
H A Dkgetcred.c83 krb5_context context; local
93 ret = krb5_init_context (&context);
115 ret = krb5_cc_resolve(context, cache_str, &cache);
117 krb5_err (context, 1, ret, "%s", cache_str);
119 ret = krb5_cc_default (context, &cache);
121 krb5_err (context, 1, ret, "krb5_cc_resolve");
124 ret = krb5_get_creds_opt_alloc(context, &opt);
126 krb5_err (context, 1, ret, "krb5_get_creds_opt_alloc");
131 ret = krb5_string_to_enctype(context, etype_str, &enctype);
133 krb5_errx (context,
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/
H A Dtest_get_cred.c69 krb5_context context; local
93 ret = krb5_init_context(&context);
99 krb5_initlog(context, "libkrb5", &log);
100 krb5_addlog_dest(context, log, "0-/STDERR");
101 krb5_set_debug_dest(context, log);
105 ret = krb5_cc_resolve(context, ccache_string, &id);
107 ret = krb5_cc_default(context, &id);
110 krb5_err(context, 1, ret, "krb5_cc_%s",
128 ret = krb5_cc_get_principal(context, id, &incred.client);
130 krb5_err(context,
[all...]
H A Dtest_addr.c37 print_addr(krb5_context context, const char *addr) argument
46 ret = krb5_parse_address(context, addr, &addresses);
48 krb5_err(context, 1, ret, "krb5_parse_address");
51 krb5_err(context, 1, ret, "too few addresses");
59 krb5_err(context, 1, ret, "len %d larger then buf %d",
66 krb5_err(context, 1, ret, "len %d larger then buf %d",
70 krb5_free_addresses(context, &addresses);
75 truncated_addr(krb5_context context, const char *addr, argument
85 ret = krb5_parse_address(context, addr, &addresses);
87 krb5_err(context,
122 check_truncation(krb5_context context, const char *addr) argument
133 match_addr(krb5_context context, const char *range_addr, const char *one_addr, int match) argument
195 krb5_context context; local
[all...]
H A Drecvauth.c47 krb5_recvauth(krb5_context context, argument
56 return krb5_recvauth_match_version(context, auth_context, p_fd,
63 krb5_recvauth_match_version(krb5_context context, argument
89 ret = krb5_auth_con_init (context, auth_context);
94 ret = krb5_auth_con_setaddrs_from_fd (context,
101 n = krb5_net_read (context, p_fd, &len, 4);
104 krb5_set_error_message(context, ret, "read: %s", strerror(ret));
108 krb5_set_error_message(context, KRB5_SENDAUTH_BADAUTHVERS,
114 || krb5_net_read (context, p_fd, her_version, len) != len
117 krb5_net_write (context, p_f
[all...]
H A Dtime.c41 * @param context Keberos 5 context.
51 krb5_set_real_time (krb5_context context, argument
59 context->kdc_sec_offset = (uint32_t)(sec - tv.tv_sec);
66 context->kdc_usec_offset = usec - tv.tv_usec;
68 if (context->kdc_usec_offset < 0) {
69 context->kdc_sec_offset--;
70 context->kdc_usec_offset += 1000000;
73 context->kdc_usec_offset = tv.tv_usec;
83 krb5_timeofday (krb5_context context, argument
97 krb5_us_timeofday(krb5_context context, krb5_timestamp *sec, int32_t *usec) argument
113 krb5_format_time(krb5_context context, time_t t, char *s, size_t len, krb5_boolean include_time) argument
[all...]
H A Dread_message.c37 krb5_read_message (krb5_context context, argument
48 sret = krb5_net_read (context, p_fd, buf, 4);
51 krb5_clear_error_message (context);
55 krb5_clear_error_message(context);
61 krb5_clear_error_message(context);
64 if (krb5_net_read (context, p_fd, data->data, len) != len) {
67 krb5_clear_error_message (context);
74 krb5_read_priv_message(krb5_context context, argument
82 ret = krb5_read_message(context, p_fd, &packet);
85 ret = krb5_rd_priv (context, a
91 krb5_read_safe_message(krb5_context context, krb5_auth_context ac, krb5_pointer p_fd, krb5_data *data) argument
[all...]
H A Dtest_renew.c62 krb5_context context; local
90 ret = krb5_init_context(&context);
92 krb5_err(context, 1, ret, "krb5_init_context");
94 ret = krb5_cc_default(context, &id);
96 krb5_err(context, 1, ret, "krb5_cc_default");
98 ret = krb5_cc_get_principal(context, id, &client);
100 krb5_err(context, 1, ret, "krb5_cc_default");
102 ret = krb5_get_renewed_creds(context,
109 krb5_err(context, 1, ret, "krb5_get_renewed_creds");
111 if (krb5_principal_compare(context, ou
[all...]
H A Dsendauth.c64 krb5_sendauth(krb5_context context, argument
92 if (krb5_net_write (context, p_fd, &net_len, 4) != 4
93 || krb5_net_write (context, p_fd, version, len) != len) {
95 krb5_set_error_message (context, ret, "write: %s", strerror(ret));
101 if (krb5_net_write (context, p_fd, &net_len, 4) != 4
102 || krb5_net_write (context, p_fd, appl_version, len) != len) {
104 krb5_set_error_message (context, ret, "write: %s", strerror(ret));
108 sret = krb5_net_read (context, p_fd, &repl, sizeof(repl));
111 krb5_set_error_message (context, ret, "read: %s", strerror(ret));
114 krb5_clear_error_message (context);
[all...]
H A Dcache.c66 krb5_context context;
72 if (krb5_init_context (&context) != 0)
75 ret = krb5_cc_default (context, &id);
77 krb5_err(context, 1, ret, "krb5_cc_default");
79 ret = krb5_cc_start_seq_get(context, id, &cursor);
81 krb5_err(context, 1, ret, "krb5_cc_start_seq_get");
83 while ((ret = krb5_cc_next_cred(context, id, &cursor, &creds)) == 0){
86 krb5_unparse_name(context, creds.server, &principal);
89 krb5_free_cred_contents (context, &creds);
91 ret = krb5_cc_end_seq_get(context, i
118 krb5_cc_register(krb5_context context, const krb5_cc_ops *ops, krb5_boolean override) argument
159 _krb5_cc_allocate(krb5_context context, const krb5_cc_ops *ops, krb5_ccache *id) argument
183 allocate_ccache(krb5_context context, const krb5_cc_ops *ops, const char *residual, krb5_ccache *id) argument
257 krb5_cc_resolve(krb5_context context, const char *name, krb5_ccache *id) argument
297 krb5_cc_new_unique(krb5_context context, const char *type, const char *hint, krb5_ccache *id) argument
329 krb5_cc_get_name(krb5_context context, krb5_ccache id) argument
343 krb5_cc_get_type(krb5_context context, krb5_ccache id) argument
363 krb5_cc_get_full_name(krb5_context context, krb5_ccache id, char **str) argument
401 krb5_cc_get_ops(krb5_context context, krb5_ccache id) argument
411 _krb5_expand_default_cc_name(krb5_context context, const char *str, char **res) argument
422 environment_changed(krb5_context context) argument
466 krb5_cc_switch(krb5_context context, krb5_ccache id) argument
485 krb5_cc_support_switch(krb5_context context, const char *type) argument
507 krb5_cc_set_default_name(krb5_context context, const char *name) argument
621 krb5_cc_default_name(krb5_context context) argument
639 krb5_cc_default(krb5_context context, krb5_ccache *id) argument
661 krb5_cc_initialize(krb5_context context, krb5_ccache id, krb5_principal primary_principal) argument
679 krb5_cc_destroy(krb5_context context, krb5_ccache id) argument
699 krb5_cc_close(krb5_context context, krb5_ccache id) argument
718 krb5_cc_store_cred(krb5_context context, krb5_ccache id, krb5_creds *creds) argument
730 retrieve_cred(krb5_context context, krb5_ccache id, krb5_flags whichfields, const krb5_creds *mcreds, krb5_creds *creds) argument
772 krb5_cc_retrieve_cred(krb5_context context, krb5_ccache id, krb5_flags whichfields, const krb5_creds *mcreds, krb5_creds *creds) argument
820 krb5_cc_get_principal(krb5_context context, krb5_ccache id, krb5_principal *principal) argument
838 krb5_cc_start_seq_get(krb5_context context, const krb5_ccache id, krb5_cc_cursor *cursor) argument
856 krb5_cc_next_cred(krb5_context context, const krb5_ccache id, krb5_cc_cursor *cursor, krb5_creds *creds) argument
872 krb5_cc_end_seq_get(krb5_context context, const krb5_ccache id, krb5_cc_cursor *cursor) argument
887 krb5_cc_remove_cred(krb5_context context, krb5_ccache id, krb5_flags which, krb5_creds *cred) argument
910 krb5_cc_set_flags(krb5_context context, krb5_ccache id, krb5_flags flags) argument
924 krb5_cc_get_flags(krb5_context context, krb5_ccache id, krb5_flags *flags) argument
949 krb5_cc_copy_match_f(krb5_context context, const krb5_ccache from, krb5_ccache to, krb5_boolean (*match)(krb5_context, void *, const krb5_creds *), void *matchctx, unsigned int *matched) argument
1002 krb5_cc_copy_cache(krb5_context context, const krb5_ccache from, krb5_ccache to) argument
1017 krb5_cc_get_version(krb5_context context, const krb5_ccache id) argument
1053 krb5_cc_get_prefix_ops(krb5_context context, const char *prefix) argument
1102 krb5_cc_cache_get_first(krb5_context context, const char *type, krb5_cc_cache_cursor *cursor) argument
1160 krb5_cc_cache_next(krb5_context context, krb5_cc_cache_cursor cursor, krb5_ccache *id) argument
1177 krb5_cc_cache_end_seq_get(krb5_context context, krb5_cc_cache_cursor cursor) argument
1207 krb5_cc_cache_match(krb5_context context, krb5_principal client, krb5_ccache *id) argument
1295 krb5_cc_move(krb5_context context, krb5_ccache from, krb5_ccache to) argument
1318 build_conf_principals(krb5_context context, krb5_ccache id, krb5_const_principal principal, const char *name, krb5_creds *cred) argument
1363 krb5_is_config_principal(krb5_context context, krb5_const_principal principal) argument
1391 krb5_cc_set_config(krb5_context context, krb5_ccache id, krb5_const_principal principal, const char *name, krb5_data *data) argument
1439 krb5_cc_get_config(krb5_context context, krb5_ccache id, krb5_const_principal principal, const char *name, krb5_data *data) argument
1488 krb5_cccol_cursor_new(krb5_context context, krb5_cccol_cursor *cursor) argument
1519 krb5_cccol_cursor_next(krb5_context context, krb5_cccol_cursor cursor, krb5_ccache *cache) argument
1592 krb5_cccol_cursor_free(krb5_context context, krb5_cccol_cursor *cursor) argument
1621 krb5_cc_last_change_time(krb5_context context, krb5_ccache id, krb5_timestamp *mtime) argument
1644 krb5_cccol_last_change_time(krb5_context context, const char *type, krb5_timestamp *mtime) argument
1685 krb5_cc_get_friendly_name(krb5_context context, krb5_ccache id, char **name) argument
1722 krb5_cc_set_friendly_name(krb5_context context, krb5_ccache id, const char *name) argument
1749 krb5_cc_get_lifetime(krb5_context context, krb5_ccache id, time_t *t) argument
1816 krb5_cc_set_kdc_offset(krb5_context context, krb5_ccache id, krb5_deltat offset) argument
1841 krb5_cc_get_kdc_offset(krb5_context context, krb5_ccache id, krb5_deltat *offset) argument
1851 krb5_cc_hold(krb5_context context, krb5_ccache id) argument
1859 krb5_cc_unhold(krb5_context context, krb5_ccache id) argument
1867 krb5_cc_get_uuid(krb5_context context, krb5_ccache id, krb5_uuid uuid) argument
1879 krb5_cc_resolve_by_uuid(krb5_context context, const char *type, krb5_ccache *id, krb5_uuid uuid) argument
1915 krb5_cc_set_acl(krb5_context context, krb5_ccache id, const char *type, void *ptr) argument
1926 _krb5_get_default_cc_name_from_registry(krb5_context context) argument
1948 _krb5_set_default_cc_name_to_registry(krb5_context context, krb5_ccache id) argument
[all...]
/macosx-10.9.5/bless-98/libbless/
H A Dbless.h60 * have their own bless context, which is the first argument
62 * should be performed with a given context at the same time,
65 * be called with a null context, or a non-null context with
266 * @param context Bless Library context
270 int BLCreateVolumeInformationDictionary(BLContextPtr context,
280 * @param context Bless Library context
285 int BLGetFinderFlag(BLContextPtr context,
[all...]
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Quartz/Examples/Programming with Quartz/BasicDrawing/
H A DUtilities.py200 def myCGContextAddEllipseInRect(context, r):
202 CGContextAddEllipseInRect(context, r)
209 CGContextSaveGState(context)
212 CGContextTranslateCTM(context,
217 CGContextScaleCTM(context, r.size.width/2, r.size.height/2)
222 CGContextMoveToPoint(context, 1, 0)
229 CGContextAddArc(context, 0, 0, 1, 0, 2*math.pi, 1)
230 CGContextClosePath(context)
231 CGContextRestoreGState(context)
235 def drawPoint(context,
[all...]
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Quartz/Examples/Programming with Quartz/BasicDrawing/
H A DUtilities.py200 def myCGContextAddEllipseInRect(context, r):
202 CGContextAddEllipseInRect(context, r)
209 CGContextSaveGState(context)
212 CGContextTranslateCTM(context,
217 CGContextScaleCTM(context, r.size.width/2, r.size.height/2)
222 CGContextMoveToPoint(context, 1, 0)
229 CGContextAddArc(context, 0, 0, 1, 0, 2*math.pi, 1)
230 CGContextClosePath(context)
231 CGContextRestoreGState(context)
235 def drawPoint(context,
[all...]
/macosx-10.9.5/WebCore-7537.78.1/rendering/svg/
H A DRenderSVGResourceSolidColor.cpp44 bool RenderSVGResourceSolidColor::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext*& context, unsigned short resourceMode) argument
49 ASSERT(context);
61 context->setAlpha(svgStyle->fillOpacity());
63 context->setAlpha(1);
64 context->setFillColor(m_color, colorSpace);
66 context->setFillRule(svgStyle ? svgStyle->fillRule() : RULE_NONZERO);
69 context->setTextDrawingMode(TextModeFill);
73 context->setAlpha(svgStyle ? svgStyle->strokeOpacity() : 1);
74 context->setStrokeColor(m_color, colorSpace);
77 SVGRenderSupport::applyStrokeStyleToContext(context, styl
86 postApplyResource(RenderObject*, GraphicsContext*& context, unsigned short resourceMode, const Path* path, const RenderSVGShape* shape) argument
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/kadm5/
H A Dtest_pw_quality.c56 krb5_context context; local
61 krb5_program_setup(&context, argc, argv, args, num_args, NULL);
71 krb5_errx(context, 1, "no principal given");
73 krb5_errx(context, 1, "no password given");
75 ret = krb5_parse_name(context, principal, &p);
77 krb5_errx(context, 1, "krb5_parse_name: %s", principal);
82 kadm5_setup_passwd_quality_check (context, NULL, NULL);
83 ret = kadm5_add_passwd_quality_verifier(context, NULL);
85 krb5_errx(context, 1, "kadm5_add_passwd_quality_verifier");
87 s = kadm5_check_password_quality (context,
[all...]
H A Dipropd_slave.c47 connect_to_master (krb5_context context, const char *master, argument
66 krb5_warnx(context, "Failed to get address of to %s: %s",
83 krb5_warn(context, errno, "connection failed to %s[%s]",
88 krb5_warnx(context, "connection successful "
101 get_creds(krb5_context context, const char *keytab_str, argument
113 ret = krb5_kt_default_name (context, keytab_buf, sizeof(keytab_buf));
115 krb5_err (context, 1, ret, "krb5_kt_default_name");
119 ret = krb5_kt_resolve(context, keytab_str, &keytab);
121 krb5_err(context, 1, ret, "%s", keytab_str);
124 ret = krb5_sname_to_principal (context, slave_st
158 ihave(krb5_context context, krb5_auth_context auth_context, int fd, uint32_t version) argument
180 receive_loop(krb5_context context, krb5_storage *sp, kadm5_server_context *server_context) argument
299 receive(krb5_context context, krb5_storage *sp, kadm5_server_context *server_context) argument
319 send_im_here(krb5_context context, int fd, krb5_auth_context auth_context) argument
344 receive_everything(krb5_context context, int fd, kadm5_server_context *server_context, krb5_auth_context auth_context) argument
496 krb5_context context; local
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/ntlm/
H A Dheim-auth.h92 heim_digest_init_set_key(heim_digest_t context, const char *key, const char *value);
95 heim_digest_generate_challenge(heim_digest_t context);
98 heim_digest_parse_challenge(heim_digest_t context, const char *challenge);
101 heim_digest_parse_response(heim_digest_t context, const char *response);
104 heim_digest_get_key(heim_digest_t context, const char *key);
107 heim_digest_set_key(heim_digest_t context, const char *key, const char *value);
110 heim_digest_set_user_password(heim_digest_t context, const char *password);
113 heim_digest_set_user_h1hash(heim_digest_t context, void *ptr, size_t size);
116 heim_digest_verify(heim_digest_t context, char **response);
119 heim_digest_create_response(heim_digest_t context, cha
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/trf/trf/generic/
H A Dcrc_zlib.c47 static void MDcrcz_Start _ANSI_ARGS_ ((VOID* context));
48 static void MDcrcz_Update _ANSI_ARGS_ ((VOID* context, unsigned int character));
49 static void MDcrcz_UpdateBuf _ANSI_ARGS_ ((VOID* context, unsigned char* buffer, int bufLen));
50 static void MDcrcz_Final _ANSI_ARGS_ ((VOID* context, VOID* digest));
68 #define CRC (*((uLong*) context))
117 MDcrcz_Start (context)
118 VOID* context;
146 MDcrcz_Update (context, character)
147 VOID* context;
178 MDcrcz_UpdateBuf (context, buffe
[all...]
/macosx-10.9.5/Heimdal-323.92.1/appl/test/
H A Duu_server.c37 krb5_context context; variable
63 status = krb5_auth_con_init (context, &auth_context);
65 krb5_err(context, 1, status, "krb5_auth_con_init");
75 status = krb5_auth_con_setaddrs (context,
80 krb5_err(context, 1, status, "krb5_auth_con_setaddr");
82 status = krb5_read_message(context, &sock, &client_name);
84 krb5_err(context, 1, status, "krb5_read_message");
87 status = krb5_cc_default(context, &ccache);
89 krb5_err(context, 1, status, "krb5_cc_default");
90 status = krb5_cc_get_principal(context, ccach
[all...]

Completed in 292 milliseconds

1234567891011>>