Searched refs:ctx (Results 201 - 225 of 1435) sorted by relevance

1234567891011>>

/external/libxml2/include/libxml/
H A Dnanohttp.h54 xmlNanoHTTPReturnCode (void *ctx);
56 xmlNanoHTTPAuthHeader (void *ctx);
58 xmlNanoHTTPRedir (void *ctx);
60 xmlNanoHTTPContentLength( void * ctx );
62 xmlNanoHTTPEncoding (void *ctx);
64 xmlNanoHTTPMimeType (void *ctx);
66 xmlNanoHTTPRead (void *ctx,
75 xmlNanoHTTPClose (void *ctx);
/external/openssh/
H A Dcipher-bf1.c67 static void bf_ssh1_init (EVP_CIPHER_CTX * ctx, const unsigned char *key, argument
71 memcpy (&(ctx->oiv[0]), iv, 8);
72 memcpy (&(ctx->iv[0]), &(ctx->oiv[0]), 8);
74 BF_set_key (&(ctx->c.bf_ks), EVP_CIPHER_CTX_key_length (ctx),
83 bf_ssh1_cipher(EVP_CIPHER_CTX *ctx, u_char *out, const u_char *in, argument
89 ret = (*orig_bf)(ctx, out, out, len);
/external/openssl/apps/
H A Dgenpkey.c70 static int genpkey_cb(EVP_PKEY_CTX *ctx);
86 EVP_PKEY_CTX *ctx = NULL; local
135 if (!init_keygen_file(bio_err, &ctx, *args, e))
151 if (!init_gen_str(bio_err, &ctx, *(++args),e, do_param))
158 if (!ctx)
163 else if (pkey_ctrl_string(ctx, *(++args)) <= 0)
172 if (ctx)
193 if (!ctx)
244 EVP_PKEY_CTX_set_cb(ctx, genpkey_cb);
245 EVP_PKEY_CTX_set_app_data(ctx, bio_er
320 EVP_PKEY_CTX *ctx = NULL; local
366 EVP_PKEY_CTX *ctx = NULL; local
424 genpkey_cb(EVP_PKEY_CTX *ctx) argument
[all...]
/external/openssl/crypto/evp/
H A De_idea.c68 static int idea_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
75 static int idea_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, argument
79 idea_ecb_encrypt(in + i, out + i, ctx->cipher_data);
98 static int idea_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, argument
102 if (EVP_CIPHER_CTX_mode(ctx) == EVP_CIPH_OFB_MODE) enc = 1;
103 else if (EVP_CIPHER_CTX_mode(ctx) == EVP_CIPH_CFB_MODE) enc = 1;
105 if (enc) idea_set_encrypt_key(key,ctx->cipher_data);
111 idea_set_decrypt_key(&tmp,ctx->cipher_data);
H A Dp_open.c69 int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, argument
77 EVP_CIPHER_CTX_init(ctx);
78 if(!EVP_DecryptInit_ex(ctx,type,NULL, NULL,NULL)) return 0;
99 if ((i <= 0) || !EVP_CIPHER_CTX_set_key_length(ctx, i))
104 if(!EVP_DecryptInit_ex(ctx,NULL,NULL,key,iv)) goto err;
113 int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) argument
117 i=EVP_DecryptFinal_ex(ctx,out,outl);
119 i = EVP_DecryptInit_ex(ctx,NULL,NULL,NULL,NULL);
H A Dp_verify.c65 int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, argument
75 if (!EVP_MD_CTX_copy_ex(&tmp_ctx,ctx))
81 if (ctx->digest->flags & EVP_MD_FLAG_PKEY_METHOD_SIGNATURE)
89 if (EVP_PKEY_CTX_set_signature_md(pkctx, ctx->digest) <= 0)
99 v=ctx->digest->required_pkey_type[i];
112 if (ctx->digest->verify == NULL)
118 return(ctx->digest->verify(ctx->digest->type,m,m_len,
/external/skia/src/gpu/
H A DGrAddPathRenderers_default.cpp13 void GrPathRenderer::AddPathRenderers(GrContext* ctx, argument
18 if (GrPathRenderer* pr = GrAAHairLinePathRenderer::Create(ctx)) {
/external/webkit/Source/JavaScriptCore/API/
H A DJSProfilerPrivate.h42 @param ctx The execution context to use.
46 JS_EXPORT void JSStartProfiling(JSContextRef ctx, JSStringRef title);
51 @param ctx The execution context to use.
57 JS_EXPORT void JSEndProfiling(JSContextRef ctx, JSStringRef title);
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Ddh_group5.c31 struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public, argument
38 void dh5_free(void *ctx) argument
H A Ddh_group5.h14 struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public,
16 void dh5_free(void *ctx);
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dedit_simple.c22 static void (*edit_cmd_cb)(void *ctx, char *cmd);
23 static void (*edit_eof_cb)(void *ctx);
58 int edit_init(void (*cmd_cb)(void *ctx, char *cmd), argument
59 void (*eof_cb)(void *ctx),
60 char ** (*completion_cb)(void *ctx, const char *cmd, int pos),
61 void *ctx, const char *history_file, const char *ps)
63 edit_cb_ctx = ctx;
77 int (*filter_cb)(void *ctx, const char *cmd))
76 edit_deinit(const char *history_file, int (*filter_cb)(void *ctx, const char *cmd)) argument
/external/wpa_supplicant_8/src/crypto/
H A Ddh_group5.c31 struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public, argument
38 void dh5_free(void *ctx) argument
H A Ddh_group5.h14 struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public,
16 void dh5_free(void *ctx);
/external/wpa_supplicant_8/src/utils/
H A Dedit_simple.c22 static void (*edit_cmd_cb)(void *ctx, char *cmd);
23 static void (*edit_eof_cb)(void *ctx);
58 int edit_init(void (*cmd_cb)(void *ctx, char *cmd), argument
59 void (*eof_cb)(void *ctx),
60 char ** (*completion_cb)(void *ctx, const char *cmd, int pos),
61 void *ctx, const char *history_file, const char *ps)
63 edit_cb_ctx = ctx;
77 int (*filter_cb)(void *ctx, const char *cmd))
76 edit_deinit(const char *history_file, int (*filter_cb)(void *ctx, const char *cmd)) argument
/external/wpa_supplicant_8/wpa_supplicant/
H A Dpreauth_test.c88 static void _wpa_supplicant_set_state(void *ctx, enum wpa_states state) argument
90 struct wpa_supplicant *wpa_s = ctx;
95 static enum wpa_states _wpa_supplicant_get_state(void *ctx) argument
97 struct wpa_supplicant *wpa_s = ctx;
171 static void wpa_supplicant_set_config_blob(void *ctx, argument
174 struct wpa_supplicant *wpa_s = ctx;
180 wpa_supplicant_get_config_blob(void *ctx, const char *name) argument
182 struct wpa_supplicant *wpa_s = ctx;
228 struct wpa_sm_ctx *ctx; local
233 ctx
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Ddh_group5.c31 struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public, argument
38 void dh5_free(void *ctx) argument
H A Ddh_group5.h14 struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public,
16 void dh5_free(void *ctx);
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dedit_simple.c22 static void (*edit_cmd_cb)(void *ctx, char *cmd);
23 static void (*edit_eof_cb)(void *ctx);
58 int edit_init(void (*cmd_cb)(void *ctx, char *cmd), argument
59 void (*eof_cb)(void *ctx),
60 char ** (*completion_cb)(void *ctx, const char *cmd, int pos),
61 void *ctx, const char *history_file, const char *ps)
63 edit_cb_ctx = ctx;
77 int (*filter_cb)(void *ctx, const char *cmd))
76 edit_deinit(const char *history_file, int (*filter_cb)(void *ctx, const char *cmd)) argument
/external/e2fsprogs/e2fsck/
H A Dsuper.c25 static void check_super_value(e2fsck_t ctx, const char *descr, argument
36 fix_problem(ctx, PR_0_MISC_CORRUPT_SUPER, &pctx);
37 ctx->flags |= E2F_FLAG_ABORT; /* never get here! */
45 e2fsck_t ctx; member in struct:process_block_struct
64 e2fsck_t ctx; local
70 ctx = pb->ctx;
81 fix_problem(ctx, PR_0_ORPHAN_ILLEGAL_BLOCK_NUM, pctx);
88 fix_problem(ctx, PR_0_ORPHAN_ALREADY_CLEARED_BLOCK, pctx);
153 static int release_inode_blocks(e2fsck_t ctx, ext2_ino_ argument
224 release_orphan_inodes(e2fsck_t ctx) argument
307 check_resize_inode(e2fsck_t ctx) argument
429 e2fsck_fix_dirhash_hint(e2fsck_t ctx) argument
454 check_super_block(e2fsck_t ctx) argument
899 check_backup_super_block(e2fsck_t ctx) argument
[all...]
/external/openssl/crypto/ec/
H A Dec2_smpl.c198 const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
230 int ec_GF2m_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) argument
266 int ec_GF2m_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) argument
272 if (ctx == NULL)
274 ctx = new_ctx = BN_CTX_new();
275 if (ctx == NULL)
281 BN_CTX_start(ctx);
282 b = BN_CTX_get(ctx);
295 if (ctx != NULL)
296 BN_CTX_end(ctx);
197 ec_GF2m_simple_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument
358 ec_GF2m_simple_point_set_affine_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) argument
385 ec_GF2m_simple_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) argument
420 ec_GF2m_simple_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) argument
522 ec_GF2m_simple_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx) argument
528 ec_GF2m_simple_invert(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) argument
550 ec_GF2m_simple_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx) argument
605 ec_GF2m_simple_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) argument
650 ec_GF2m_simple_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) argument
686 ec_GF2m_simple_points_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx) argument
700 ec_GF2m_simple_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument
707 ec_GF2m_simple_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) argument
714 ec_GF2m_simple_field_div(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument
[all...]
/external/linux-tools-perf/util/
H A Dparse-options.c302 void parse_options_start(struct parse_opt_ctx_t *ctx, argument
305 memset(ctx, 0, sizeof(*ctx));
306 ctx->argc = argc - 1;
307 ctx->argv = argv + 1;
308 ctx->out = argv;
309 ctx->cpidx = ((flags & PARSE_OPT_KEEP_ARGV0) != 0);
310 ctx->flags = flags;
319 int parse_options_step(struct parse_opt_ctx_t *ctx, argument
323 int internal_help = !(ctx
404 parse_options_end(struct parse_opt_ctx_t *ctx) argument
414 struct parse_opt_ctx_t ctx; local
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap.h127 * eap_peer_sm_init() call will be used as the ctx parameter for these
133 * @ctx: eapol_ctx from eap_peer_sm_init() call
135 struct eap_peer_config * (*get_config)(void *ctx);
142 Boolean (*get_bool)(void *ctx, enum eapol_bool_var variable);
146 * @ctx: eapol_ctx from eap_peer_sm_init() call
150 void (*set_bool)(void *ctx, enum eapol_bool_var variable,
155 * @ctx: eapol_ctx from eap_peer_sm_init() call
159 unsigned int (*get_int)(void *ctx, enum eapol_int_var variable);
163 * @ctx: eapol_ctx from eap_peer_sm_init() call
167 void (*set_int)(void *ctx, enu
[all...]
/external/wpa_supplicant_8/src/eap_peer/
H A Deap.h127 * eap_peer_sm_init() call will be used as the ctx parameter for these
133 * @ctx: eapol_ctx from eap_peer_sm_init() call
135 struct eap_peer_config * (*get_config)(void *ctx);
142 Boolean (*get_bool)(void *ctx, enum eapol_bool_var variable);
146 * @ctx: eapol_ctx from eap_peer_sm_init() call
150 void (*set_bool)(void *ctx, enum eapol_bool_var variable,
155 * @ctx: eapol_ctx from eap_peer_sm_init() call
159 unsigned int (*get_int)(void *ctx, enum eapol_int_var variable);
163 * @ctx: eapol_ctx from eap_peer_sm_init() call
167 void (*set_int)(void *ctx, enu
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap.h127 * eap_peer_sm_init() call will be used as the ctx parameter for these
133 * @ctx: eapol_ctx from eap_peer_sm_init() call
135 struct eap_peer_config * (*get_config)(void *ctx);
142 Boolean (*get_bool)(void *ctx, enum eapol_bool_var variable);
146 * @ctx: eapol_ctx from eap_peer_sm_init() call
150 void (*set_bool)(void *ctx, enum eapol_bool_var variable,
155 * @ctx: eapol_ctx from eap_peer_sm_init() call
159 unsigned int (*get_int)(void *ctx, enum eapol_int_var variable);
163 * @ctx: eapol_ctx from eap_peer_sm_init() call
167 void (*set_int)(void *ctx, enu
[all...]
/external/qemu/target-mips/
H A Dtranslate.c507 ctx->pc, ctx->opcode , ## __VA_ARGS__)
516 MIPS_DEBUG("Invalid %s %03x %03x %03x", op, ctx->opcode >> 26, \
517 ctx->opcode & 0x3F, ((ctx->opcode >> 16) & 0x1F)); \
615 static inline void gen_load_fpr64 (DisasContext *ctx, TCGv_i64 t, int reg) argument
617 if (ctx->hflags & MIPS_HFLAG_F64) {
630 static inline void gen_store_fpr64 (DisasContext *ctx, TCGv_i64 t, int reg) argument
632 if (ctx->hflags & MIPS_HFLAG_F64) {
751 static inline void save_cpu_state (DisasContext *ctx, in argument
773 restore_cpu_state(CPUState *env, DisasContext *ctx) argument
788 generate_exception_err(DisasContext *ctx, int excp, int err) argument
799 generate_exception(DisasContext *ctx, int excp) argument
806 gen_op_addr_add(DisasContext *ctx, TCGv ret, TCGv arg0, TCGv arg1) argument
821 check_cp0_enabled(DisasContext *ctx) argument
827 check_cp1_enabled(DisasContext *ctx) argument
837 check_cop1x(DisasContext *ctx) argument
846 check_cp1_64bitmode(DisasContext *ctx) argument
863 check_cp1_registers(DisasContext *ctx, int regs) argument
871 check_insn(CPUState *env, DisasContext *ctx, int flags) argument
879 check_mips_64(DisasContext *ctx) argument
980 gen_ldst(DisasContext *ctx, uint32_t opc, int rt, int base, int16_t offset) argument
1137 gen_st_cond(DisasContext *ctx, uint32_t opc, int rt, int base, int16_t offset) argument
1178 gen_flt_ldst(DisasContext *ctx, uint32_t opc, int ft, int base, int16_t offset) argument
1250 gen_arith_imm(CPUState *env, DisasContext *ctx, uint32_t opc, int rt, int rs, int16_t imm) argument
1407 gen_shift_imm(CPUState *env, DisasContext *ctx, uint32_t opc, int rt, int rs, int16_t imm) argument
1546 gen_arith(CPUState *env, DisasContext *ctx, uint32_t opc, int rd, int rs, int rt) argument
1855 gen_shift(CPUState *env, DisasContext *ctx, uint32_t opc, int rd, int rs, int rt) argument
1966 gen_HILO(DisasContext *ctx, uint32_t opc, int reg) argument
2002 gen_muldiv(DisasContext *ctx, uint32_t opc, int rs, int rt) argument
2237 gen_mul_vr54xx(DisasContext *ctx, uint32_t opc, int rd, int rs, int rt) argument
2317 gen_cl(DisasContext *ctx, uint32_t opc, int rd, int rs) argument
2355 gen_trap(DisasContext *ctx, uint32_t opc, int rs, int rt, int16_t imm) argument
2448 gen_goto_tb(DisasContext *ctx, int n, target_ulong dest) argument
2468 gen_compute_branch(DisasContext *ctx, uint32_t opc, int rs, int rt, int32_t offset) argument
2704 gen_bitops(DisasContext *ctx, uint32_t opc, int rt, int rs, int lsb, int msb) argument
2796 gen_bshfl(DisasContext *ctx, uint32_t op2, int rt, int rd) argument
2898 gen_mfc0(CPUState *env, DisasContext *ctx, TCGv arg, int reg, int sel) argument
3475 gen_mtc0(CPUState *env, DisasContext *ctx, TCGv arg, int reg, int sel) argument
4071 gen_dmfc0(CPUState *env, DisasContext *ctx, TCGv arg, int reg, int sel) argument
4637 gen_dmtc0(CPUState *env, DisasContext *ctx, TCGv arg, int reg, int sel) argument
5224 gen_mftr(CPUState *env, DisasContext *ctx, int rt, int rd, int u, int sel, int h) argument
5388 gen_mttr(CPUState *env, DisasContext *ctx, int rd, int rt, int u, int sel, int h) argument
5552 gen_cp0(CPUState *env, DisasContext *ctx, uint32_t opc, int rt, int rd) argument
5675 gen_compute_branch1(CPUState *env, DisasContext *ctx, uint32_t op, int32_t cc, int32_t offset) argument
5793 gen_cp1(DisasContext *ctx, uint32_t opc, int rt, int fs) argument
5876 gen_movci(DisasContext *ctx, int rd, int rs, int cc, int tf) argument
5924 gen_movcf_d(DisasContext *ctx, int fs, int fd, int cc, int tf) argument
5973 gen_farith(DisasContext *ctx, uint32_t op1, int ft, int fs, int fd, int cc) argument
7243 gen_flt3_ldst(DisasContext *ctx, uint32_t opc, int fd, int fs, int base, int index) argument
7345 gen_flt3_arith(DisasContext *ctx, uint32_t opc, int fd, int fr, int fs, int ft) argument
7628 decode_opc(CPUState *env, DisasContext *ctx) argument
8282 DisasContext ctx; local
[all...]

Completed in 462 milliseconds

1234567891011>>