HomeSort by: relevance | last modified time | path
    Searched refs:context (Results 1 - 25 of 2799) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/crypto/external/bsd/heimdal/dist/lib/kadm5/
destroy_c.c 43 kadm5_client_context *context = server_handle; local
45 free(context->realm);
46 free(context->admin_server);
47 rk_closesocket(context->sock);
48 if (context->client_name)
49 free(context->client_name);
50 if (context->service_name)
51 free(context->service_name);
52 if (context->ac != NULL)
53 krb5_auth_con_free(context->context, context->ac)
    [all...]
delete_s.c 43 kadm5_server_context *context = server_handle; local
48 if (!context->keep_open) {
49 ret = context->db->hdb_open(context->context, context->db, O_RDWR, 0);
51 krb5_warn(context->context, ret, "opening database");
56 ret = kadm5_log_init(context);
60 ret = context->db->hdb_fetch_kvno(context->context, context->db, princ
    [all...]
setkey3_s.c 49 kadm5_server_context *context = server_handle; local
54 if (!context->keep_open)
55 ret = context->db->hdb_open(context->context, context->db, O_RDWR, 0);
59 ret = kadm5_log_init(context);
61 if (!context->keep_open)
62 context->db->hdb_close(context->context, context->db)
    [all...]
send_recv.c 41 _kadm5_client_send(kadm5_client_context *context, krb5_storage *sp)
48 assert(context->sock != rk_INVALID_SOCKET);
53 krb5_clear_error_message(context->context);
59 ret = krb5_mk_priv(context->context, context->ac, &msg, &out, NULL);
64 sock = krb5_storage_from_socket(context->sock);
66 krb5_clear_error_message(context->context);
    [all...]
  /src/external/gpl3/gcc/dist/gcc/
context.cc 0 /* context.cc - Holder for global state
23 #include "context.h"
29 gcc::context *g;
31 gcc::context::context () function in class:gcc::context
37 gcc::context::~context ()
tree-pass.h 68 class context;
99 opt_pass (const pass_data&, gcc::context *);
112 gcc::context *m_ctxt;
119 gimple_opt_pass (const pass_data& data, gcc::context *ctxt)
129 rtl_opt_pass (const pass_data& data, gcc::context *ctxt)
171 ipa_opt_pass_d (const pass_data& data, gcc::context *ctxt,
200 simple_ipa_opt_pass (const pass_data& data, gcc::context *ctxt)
353 extern gimple_opt_pass *make_pass_asan (gcc::context *ctxt);
354 extern gimple_opt_pass *make_pass_asan_O0 (gcc::context *ctxt);
355 extern gimple_opt_pass *make_pass_tsan (gcc::context *ctxt)
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/
context.cc 0 /* context.cc - Holder for global state
23 #include "context.h"
29 gcc::context *g;
31 gcc::context::context () function in class:gcc::context
37 gcc::context::~context ()
tree-pass.h 68 class context;
99 opt_pass (const pass_data&, gcc::context *);
112 gcc::context *m_ctxt;
119 gimple_opt_pass (const pass_data& data, gcc::context *ctxt)
129 rtl_opt_pass (const pass_data& data, gcc::context *ctxt)
171 ipa_opt_pass_d (const pass_data& data, gcc::context *ctxt,
200 simple_ipa_opt_pass (const pass_data& data, gcc::context *ctxt)
350 extern gimple_opt_pass *make_pass_asan (gcc::context *ctxt);
351 extern gimple_opt_pass *make_pass_asan_O0 (gcc::context *ctxt);
352 extern gimple_opt_pass *make_pass_tsan (gcc::context *ctxt)
    [all...]
  /src/crypto/external/bsd/heimdal/dist/lib/krb5/
test_acl.c 49 test_match_string(krb5_context context)
54 ret = krb5_acl_match_string(context, "foo", "s", "foo");
55 RETVAL(context, ret, 0, "single s");
56 ret = krb5_acl_match_string(context, "foo foo", "s", "foo");
57 RETVAL(context, ret, EACCES, "too many strings");
58 ret = krb5_acl_match_string(context, "foo bar", "ss", "foo", "bar");
59 RETVAL(context, ret, 0, "two strings");
60 ret = krb5_acl_match_string(context, "foo bar", "ss", "foo", "bar");
61 RETVAL(context, ret, 0, "two strings double space");
62 ret = krb5_acl_match_string(context, "foo \tbar", "ss", "foo", "bar")
106 krb5_context context; local
    [all...]
crypto-stubs.c 41 krb5_init_context(krb5_context *context)
45 *context = NULL;
56 *context = p;
61 krb5_free_context(krb5_context context)
63 krb5_clear_error_message(context);
65 HEIMDAL_MUTEX_destroy(&context->mutex);
66 if (context->flags & KRB5_CTX_F_SOCKETS_INITIALIZED) {
70 memset(context, 0, sizeof(*context));
71 free(context);
    [all...]
test_time.c 40 check_set_time(krb5_context context)
51 ret = krb5_set_real_time(context, tv.tv_sec + diff, tv.tv_usec);
53 krb5_err(context, 1, ret, "krb5_us_timeofday");
55 ret = krb5_us_timeofday(context, &sec, &usec);
57 krb5_err(context, 1, ret, "krb5_us_timeofday");
62 krb5_errx(context, 1, "set time error: diff: %ld",
71 krb5_context context; local
74 ret = krb5_init_context(&context);
78 check_set_time(context);
79 check_set_time(context);
    [all...]
test_princ.c 44 test_princ(krb5_context context)
56 ret = krb5_parse_name(context, princ, &p);
58 krb5_err(context, 1, ret, "krb5_parse_name");
60 ret = krb5_unparse_name(context, p, &princ_unparsed);
62 krb5_err(context, 1, ret, "krb5_parse_name");
65 krb5_errx(context, 1, "%s != %s", princ, princ_unparsed);
70 ret = krb5_unparse_name_flags(context, p,
74 krb5_err(context, 1, ret, "krb5_parse_name");
77 krb5_errx(context, 1, "%s != %s", princ_short, princ_unparsed);
80 realm = krb5_principal_get_realm(context, p)
351 krb5_context context; local
    [all...]
error_string.c 42 * Clears the error message from the Kerberos 5 context.
44 * @param context The Kerberos 5 context to clear
50 krb5_clear_error_message(krb5_context context)
52 HEIMDAL_MUTEX_lock(&context->mutex);
53 if (context->error_string)
54 free(context->error_string);
55 context->error_code = 0;
56 context->error_string = NULL;
57 HEIMDAL_MUTEX_unlock(&context->mutex)
    [all...]
db_plugin.c 13 db_plugins_plcallback(krb5_context context, const void *plug, void *plugctx,
22 krb5_context context = arg; local
23 (void)_krb5_plugin_run_f(context, "krb5", KRB5_PLUGIN_DB,
29 _krb5_load_db_plugins(krb5_context context)
31 heim_base_once_f(&db_plugins_once, context, db_plugins_init);
context.c 1 /* $NetBSD: context.c,v 1.8 2023/09/11 15:12:12 christos Exp $ */
57 copy_enctypes(krb5_context context,
67 set_etypes (krb5_context context,
74 etypes_str = krb5_config_get_strings(context, NULL, "libdefaults",
82 return krb5_enomem(context);
86 if(krb5_string_to_enctype(context, etypes_str[j], &e) != 0)
88 if (krb5_enctype_valid(context, e) != 0)
100 * read variables from the configuration file and set in `context'
104 init_context_from_config_file(krb5_context context)
111 INIT_FIELD(context, time, max_skew, 5 * 60, "clockskew")
384 krb5_context context = ctx; local
    [all...]
get_default_realm.c 44 krb5_get_default_realms (krb5_context context,
47 if (context->default_realms == NULL) {
48 krb5_error_code ret = krb5_set_default_realm (context, NULL);
53 return krb5_copy_host_realm (context,
54 context->default_realms,
63 krb5_get_default_realm(krb5_context context,
69 if (context->default_realms == NULL
70 || context->default_realms[0] == NULL) {
71 krb5_clear_error_message(context);
72 ret = krb5_set_default_realm (context, NULL)
    [all...]
test_mem.c 49 krb5_context context; local
52 ret = krb5_init_context(&context);
56 krb5_initlog(context, "test-mem", &logfacility);
57 krb5_addlog_dest(context, logfacility, "0/STDERR:");
58 krb5_set_warn_dest(context, logfacility);
60 krb5_free_context(context);
  /src/external/gpl3/gcc/dist/libdecnumber/
decContext.c 1 /* Decimal context module for the decNumber C Library.
27 /* Decimal Context module */
30 /* context structures. */
38 #include "decContext.h" /* context and base types */
60 /* context is the context structure to be queried */
63 /* returns context */
67 decContext *decContextClearStatus(decContext *context, uInt mask) {
68 context->status&=~mask;
69 return context;
    [all...]
  /src/external/gpl3/gcc.old/dist/libdecnumber/
decContext.c 1 /* Decimal context module for the decNumber C Library.
27 /* Decimal Context module */
30 /* context structures. */
38 #include "decContext.h" /* context and base types */
60 /* context is the context structure to be queried */
63 /* returns context */
67 decContext *decContextClearStatus(decContext *context, uInt mask) {
68 context->status&=~mask;
69 return context;
    [all...]
  /src/external/gpl3/gdb/dist/libdecnumber/
decContext.c 1 /* Decimal context module for the decNumber C Library.
27 /* Decimal Context module */
30 /* context structures. */
38 #include "decContext.h" /* context and base types */
60 /* context is the context structure to be queried */
63 /* returns context */
67 decContext *decContextClearStatus(decContext *context, uInt mask) {
68 context->status&=~mask;
69 return context;
    [all...]
  /src/external/gpl3/gdb.old/dist/libdecnumber/
decContext.c 1 /* Decimal context module for the decNumber C Library.
27 /* Decimal Context module */
30 /* context structures. */
38 #include "decContext.h" /* context and base types */
60 /* context is the context structure to be queried */
63 /* returns context */
67 decContext *decContextClearStatus(decContext *context, uInt mask) {
68 context->status&=~mask;
69 return context;
    [all...]
  /src/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/
init.c 45 krb5_context context = ptr; local
47 if (context == NULL)
49 krb5_free_context(context);
53 _gsskrb5_init (krb5_context *context)
69 *context = HEIMDAL_getspecific(context_key);
70 if (*context == NULL) {
72 ret = krb5_init_context(context);
74 HEIMDAL_setspecific(context_key, *context, ret);
76 krb5_free_context(*context);
77 *context = NULL
    [all...]
  /src/crypto/external/bsd/heimdal/dist/admin/
rename.c 49 ret = krb5_parse_name(context, argv[0], &from_princ);
51 krb5_warn(context, ret, "%s", argv[0]);
55 ret = krb5_parse_name(context, argv[1], &to_princ);
57 krb5_free_principal(context, from_princ);
58 krb5_warn(context, ret, "%s", argv[1]);
63 krb5_free_principal(context, from_princ);
64 krb5_free_principal(context, to_princ);
68 ret = krb5_kt_start_seq_get(context, keytab, &cursor);
70 krb5_kt_close(context, keytab);
71 krb5_free_principal(context, from_princ)
    [all...]
  /src/crypto/external/bsd/openssl.old/lib/libcrypto/
libc-sha2xx.c 34 sha512_224_init(SHA512_CTX *context)
36 if (context == NULL)
39 memcpy(context->state, sha512_224_initial_hash_value,
41 memset(context->buffer, 0, (size_t)(SHA512_BLOCK_LENGTH));
42 context->bitcount[0] = context->bitcount[1] = 0;
49 sha512_256_init(SHA512_CTX *context)
51 if (context == NULL)
54 memcpy(context->state, sha512_256_initial_hash_value,
56 memset(context->buffer, 0, (size_t)(SHA512_BLOCK_LENGTH))
    [all...]
  /src/lib/libc/hash/md2/
md2.c 111 MD2Transform(MD2_CTX *context)
116 for (l = context->C[15], j = 0; j < 16; j++) {
117 context->X[32 + j] = context->X[j] ^ context->X[16 + j];
118 l = context->C[j] ^= S[context->X[16 + j] ^ l];
124 t = context->X[k] = (context->X[k] ^ S[t]);
127 context->i = 16
    [all...]

Completed in 32 milliseconds

1 2 3 4 5 6 7 8 91011>>