Searched refs:ctx (Results 76 - 100 of 1435) sorted by relevance

1234567891011>>

/external/e2fsprogs/e2fsck/
H A Dpass3.c44 static void check_root(e2fsck_t ctx);
45 static int check_directory(e2fsck_t ctx, ext2_ino_t ino,
47 static void fix_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent);
52 void e2fsck_pass3(e2fsck_t ctx) argument
54 ext2_filsys fs = ctx->fs;
63 init_resource_track(&rtrack, ctx->fs->io);
70 if (!(ctx->options & E2F_OPT_PREEN))
71 fix_problem(ctx, PR_3_PASS_HEADER, &pctx);
80 fix_problem(ctx, PR_3_ALLOCATE_IBITMAP_ERROR, &pctx);
81 ctx
141 check_root(e2fsck_t ctx) argument
259 check_directory(e2fsck_t ctx, ext2_ino_t dir, struct problem_context *pctx) argument
354 e2fsck_get_lost_and_found(e2fsck_t ctx, int fix) argument
500 e2fsck_reconnect_file(e2fsck_t ctx, ext2_ino_t ino) argument
551 e2fsck_adjust_inode_count(e2fsck_t ctx, ext2_ino_t ino, int adj) argument
597 e2fsck_t ctx; member in struct:fix_dotdot_struct
639 fix_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent) argument
683 e2fsck_t ctx; member in struct:expand_dir_struct
698 e2fsck_t ctx; local
750 e2fsck_expand_directory(e2fsck_t ctx, ext2_ino_t dir, int num, int guaranteed_size) argument
[all...]
H A Ddirinfo.c37 static void e2fsck_put_dir_info(e2fsck_t ctx, struct dir_info *dir);
39 static void setup_tdb(e2fsck_t ctx, ext2_ino_t num_dirs) argument
41 struct dir_info_db *db = ctx->dir_info;
47 profile_get_string(ctx->profile, "scratch_files", "directory", 0, 0,
49 profile_get_uint(ctx->profile, "scratch_files",
51 profile_get_boolean(ctx->profile, "scratch_files",
62 uuid_unparse(ctx->fs->super->s_uuid, uuid);
70 static void setup_db(e2fsck_t ctx) argument
77 e2fsck_allocate_memory(ctx, sizeof(struct dir_info_db),
82 ctx
109 e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent) argument
175 e2fsck_get_dir_info(e2fsck_t ctx, ext2_ino_t ino) argument
256 e2fsck_put_dir_info(e2fsck_t ctx, struct dir_info *dir) argument
287 e2fsck_free_dir_info(e2fsck_t ctx) argument
309 e2fsck_get_num_dirinfo(e2fsck_t ctx) argument
314 e2fsck_dir_info_iter_begin(e2fsck_t ctx) argument
339 e2fsck_dir_info_iter(e2fsck_t ctx, struct dir_info_iter *iter) argument
385 e2fsck_dir_info_set_parent(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent) argument
402 e2fsck_dir_info_set_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t dotdot) argument
419 e2fsck_dir_info_get_parent(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t *parent) argument
435 e2fsck_dir_info_get_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t *dotdot) argument
[all...]
/external/openssl/crypto/pkcs7/
H A Dbio_ber.c129 BIO_BER_CTX *ctx; local
131 ctx=(BIO_BER_CTX *)OPENSSL_malloc(sizeof(BIO_BER_CTX));
132 if (ctx == NULL) return(0);
134 memset((char *)ctx,0,sizeof(BIO_BER_CTX));
137 bi->ptr=(char *)ctx;
156 int bio_ber_get_header(BIO *bio, BIO_BER_CTX *ctx) argument
170 if (ctx->buf_off != 0)
172 p=ctx->buf;
173 j=ctx->buf_off;
174 n=ctx
229 BIO_BER_CTX *ctx; local
276 BIO_ENC_CTX *ctx; local
331 BIO_ENC_CTX *ctx,*dctx; local
451 BIO_ENC_CTX *ctx; local
[all...]
/external/openssl/crypto/hmac/
H A Dhmac.c68 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, argument
78 if ((impl || ctx->i_ctx.engine)
79 && !(ctx->i_ctx.flags & EVP_CIPH_FLAG_NON_FIPS_ALLOW))
87 if (!impl && !ctx->i_ctx.engine)
88 return FIPS_hmac_init_ex(ctx, key, len, md, NULL);
95 ctx->md=md;
98 md=ctx->md;
104 OPENSSL_assert(j <= (int)sizeof(ctx->key));
107 if (!EVP_DigestInit_ex(&ctx->md_ctx,md, impl))
109 if (!EVP_DigestUpdate(&ctx
149 HMAC_Init(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md) argument
156 HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len) argument
165 HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len) argument
187 HMAC_CTX_init(HMAC_CTX *ctx) argument
210 HMAC_CTX_cleanup(HMAC_CTX *ctx) argument
246 HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags) argument
[all...]
/external/openssl/crypto/evp/
H A De_xcbc_d.c69 static int desx_cbc_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
71 static int desx_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
82 #define data(ctx) ((DESX_CBC_KEY *)(ctx)->cipher_data)
104 static int desx_cbc_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, argument
109 DES_set_key_unchecked(deskey,&data(ctx)->ks);
110 memcpy(&data(ctx)->inw[0],&key[8],8);
111 memcpy(&data(ctx)->outw[0],&key[16],8);
116 static int desx_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, argument
121 DES_xcbc_encrypt(in,out,(long)EVP_MAXCHUNK,&data(ctx)
[all...]
H A Devp_lib.c123 int EVP_CIPHER_type(const EVP_CIPHER *ctx) argument
127 nid = EVP_CIPHER_nid(ctx);
186 int EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx) argument
188 return ctx->cipher->block_size;
191 int EVP_Cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) argument
193 return ctx->cipher->do_cipher(ctx,out,in,inl);
196 const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx) argument
198 return ctx->cipher;
206 unsigned long EVP_CIPHER_CTX_flags(const EVP_CIPHER_CTX *ctx) argument
211 EVP_CIPHER_CTX_get_app_data(const EVP_CIPHER_CTX *ctx) argument
216 EVP_CIPHER_CTX_set_app_data(EVP_CIPHER_CTX *ctx, void *data) argument
226 EVP_CIPHER_CTX_iv_length(const EVP_CIPHER_CTX *ctx) argument
236 EVP_CIPHER_CTX_key_length(const EVP_CIPHER_CTX *ctx) argument
246 EVP_CIPHER_CTX_nid(const EVP_CIPHER_CTX *ctx) argument
281 EVP_MD_CTX_md(const EVP_MD_CTX *ctx) argument
288 EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags) argument
293 EVP_MD_CTX_clear_flags(EVP_MD_CTX *ctx, int flags) argument
298 EVP_MD_CTX_test_flags(const EVP_MD_CTX *ctx, int flags) argument
303 EVP_CIPHER_CTX_set_flags(EVP_CIPHER_CTX *ctx, int flags) argument
308 EVP_CIPHER_CTX_clear_flags(EVP_CIPHER_CTX *ctx, int flags) argument
313 EVP_CIPHER_CTX_test_flags(const EVP_CIPHER_CTX *ctx, int flags) argument
[all...]
H A Dm_sigver.c66 static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, argument
70 if (ctx->pctx == NULL)
71 ctx->pctx = EVP_PKEY_CTX_new(pkey, e);
72 if (ctx->pctx == NULL)
90 if (ctx->pctx->pmeth->verifyctx_init)
92 if (ctx->pctx->pmeth->verifyctx_init(ctx->pctx, ctx) <=0)
94 ctx->pctx->operation = EVP_PKEY_OP_VERIFYCTX;
96 else if (EVP_PKEY_verify_init(ctx
119 EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey) argument
125 EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey) argument
131 EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen) argument
174 EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, unsigned char *sig, size_t siglen) argument
[all...]
H A De_bf.c67 static int bf_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
75 #define data(ctx) EVP_C_DATA(EVP_BF_KEY,ctx)
81 static int bf_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, argument
84 BF_set_key(&data(ctx)->ks,EVP_CIPHER_CTX_key_length(ctx),key);
H A De_cast.c68 static int cast_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
76 #define data(ctx) EVP_C_DATA(EVP_CAST_KEY,ctx)
83 static int cast_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, argument
86 CAST_set_key(&data(ctx)->ks,EVP_CIPHER_CTX_key_length(ctx),key);
H A Dm_ecdsa.c121 static int init(EVP_MD_CTX *ctx) argument
122 { return SHA1_Init(ctx->md_data); }
124 static int update(EVP_MD_CTX *ctx,const void *data,size_t count) argument
125 { return SHA1_Update(ctx->md_data,data,count); }
127 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument
128 { return SHA1_Final(md,ctx->md_data); }
H A Dm_wp.c14 static int init(EVP_MD_CTX *ctx) argument
15 { return WHIRLPOOL_Init(ctx->md_data); }
17 static int update(EVP_MD_CTX *ctx,const void *data,size_t count) argument
18 { return WHIRLPOOL_Update(ctx->md_data,data,count); }
20 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument
21 { return WHIRLPOOL_Final(md,ctx->md_data); }
/external/emma/core/java12/com/vladium/jcd/cls/attribute/
H A DIAttributeVisitor.java20 Object visit (GenericAttribute_info attribute, Object ctx); argument
22 Object visit (CodeAttribute_info attribute, Object ctx); argument
23 Object visit (ConstantValueAttribute_info attribute, Object ctx); argument
24 Object visit (ExceptionsAttribute_info attribute, Object ctx); argument
25 Object visit (LineNumberTableAttribute_info attribute, Object ctx); argument
26 Object visit (SourceFileAttribute_info attribute, Object ctx); argument
27 Object visit (SyntheticAttribute_info attribute, Object ctx); argument
28 Object visit (BridgeAttribute_info attribute, Object ctx); argument
29 Object visit (InnerClassesAttribute_info attribute, Object ctx); argument
/external/openssh/
H A Dgss-serv.c78 ssh_gssapi_acquire_cred(Gssctxt *ctx) argument
85 gss_add_oid_set_member(&status, ctx->oid, &oidset);
92 if (GSS_ERROR(ssh_gssapi_import_name(ctx, lname))) {
94 return (ctx->major);
97 if ((ctx->major = gss_acquire_cred(&ctx->minor,
98 ctx->name, 0, oidset, GSS_C_ACCEPT, &ctx->creds, NULL, NULL)))
99 ssh_gssapi_error(ctx);
102 return (ctx
107 ssh_gssapi_server_ctx(Gssctxt **ctx, gss_OID oid) argument
149 ssh_gssapi_accept_ctx(Gssctxt *ctx, gss_buffer_desc *recv_tok, gss_buffer_desc *send_tok, OM_uint32 *flags) argument
189 ssh_gssapi_parse_ename(Gssctxt *ctx, gss_buffer_t ename, gss_buffer_t name) argument
249 ssh_gssapi_getclient(Gssctxt *ctx, ssh_gssapi_client *client) argument
359 ssh_gssapi_checkmic(Gssctxt *ctx, gss_buffer_t gssbuf, gss_buffer_t gssmic) argument
[all...]
/external/elfutils/libasm/
H A Ddisasm_begin.c49 DisasmCtx_t *ctx = (DisasmCtx_t *) malloc (sizeof (DisasmCtx_t)); local
50 if (ctx == NULL)
56 ctx->ebl = ebl;
57 ctx->elf = elf;
58 ctx->symcb = symcb;
60 return ctx;
H A Dasm_newscngrp.c41 asm_newscngrp (ctx, grpname, signature, flags)
42 AsmCtx_t *ctx;
50 if (ctx == NULL)
70 result->strent = ebl_strtabadd (ctx->section_strtab, result->name,
73 if (unlikely (ctx->textp))
78 result->scn = elf_newscn (ctx->out.elf);
89 if (ctx->ngroups == 0)
91 assert (ctx->groups == NULL);
92 ctx->groups = result->next = result;
96 result->next = ctx
[all...]
/external/webkit/Source/JavaScriptCore/API/
H A DJSValueRef.h62 @param ctx The execution context to use.
66 JS_EXPORT JSType JSValueGetType(JSContextRef ctx, JSValueRef value);
71 @param ctx The execution context to use.
75 JS_EXPORT bool JSValueIsUndefined(JSContextRef ctx, JSValueRef value);
80 @param ctx The execution context to use.
84 JS_EXPORT bool JSValueIsNull(JSContextRef ctx, JSValueRef value);
89 @param ctx The execution context to use.
93 JS_EXPORT bool JSValueIsBoolean(JSContextRef ctx, JSValueRef value);
98 @param ctx The execution context to use.
102 JS_EXPORT bool JSValueIsNumber(JSContextRef ctx, JSValueRe
[all...]
/external/compiler-rt/lib/tsan/rtl_tests/
H A Dtsan_posix.cc102 CondContext &ctx = *static_cast<CondContext*>(p); local
104 EXPECT_EQ(pthread_mutex_lock(&ctx.m), 0);
105 EXPECT_EQ(ctx.data, 0);
106 ctx.data = 1;
107 EXPECT_EQ(pthread_cond_signal(&ctx.c), 0);
108 EXPECT_EQ(pthread_mutex_unlock(&ctx.m), 0);
110 EXPECT_EQ(pthread_mutex_lock(&ctx.m), 0);
111 while (ctx.data != 2)
112 EXPECT_EQ(pthread_cond_wait(&ctx.c, &ctx
124 CondContext ctx; local
[all...]
/external/libxml2/include/libxml/
H A DSAX.h27 getPublicId (void *ctx);
29 getSystemId (void *ctx);
31 setDocumentLocator (void *ctx,
35 getLineNumber (void *ctx);
37 getColumnNumber (void *ctx);
40 isStandalone (void *ctx);
42 hasInternalSubset (void *ctx);
44 hasExternalSubset (void *ctx);
47 internalSubset (void *ctx,
52 externalSubset (void *ctx,
[all...]
/external/openssl/crypto/cmac/
H A Dcm_pmeth.c63 static int pkey_cmac_init(EVP_PKEY_CTX *ctx) argument
65 ctx->data = CMAC_CTX_new();
66 if (!ctx->data)
68 ctx->keygen_info_count = 0;
81 static void pkey_cmac_cleanup(EVP_PKEY_CTX *ctx) argument
83 CMAC_CTX_free(ctx->data);
86 static int pkey_cmac_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) argument
89 CMAC_CTX *cmctx = ctx->data;
102 static int int_update(EVP_MD_CTX *ctx,const void *data,size_t count) argument
104 if (!CMAC_Update(ctx
109 cmac_signctx_init(EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx) argument
116 cmac_signctx(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, EVP_MD_CTX *mctx) argument
122 pkey_cmac_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) argument
155 pkey_cmac_ctrl_str(EVP_PKEY_CTX *ctx, const char *type, const char *value) argument
[all...]
/external/openssl/crypto/x509/
H A Dx509_vfy.h144 int (*new_item)(X509_LOOKUP *ctx);
145 void (*free)(X509_LOOKUP *ctx);
146 int (*init)(X509_LOOKUP *ctx);
147 int (*shutdown)(X509_LOOKUP *ctx);
148 int (*ctrl)(X509_LOOKUP *ctx,int cmd,const char *argc,long argl,
150 int (*get_by_subject)(X509_LOOKUP *ctx,int type,X509_NAME *name,
152 int (*get_by_issuer_serial)(X509_LOOKUP *ctx,int type,X509_NAME *name,
154 int (*get_by_fingerprint)(X509_LOOKUP *ctx,int type,
157 int (*get_by_alias)(X509_LOOKUP *ctx,int type,char *str,int len,
195 int (*verify)(X509_STORE_CTX *ctx); /* calle
232 X509_STORE *ctx; member in struct:x509_store_ctx_st
486 STACK_OF(X509) *X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx); variable
487 STACK_OF(X509) *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx); variable
[all...]
/external/openssl/include/openssl/
H A Dx509_vfy.h144 int (*new_item)(X509_LOOKUP *ctx);
145 void (*free)(X509_LOOKUP *ctx);
146 int (*init)(X509_LOOKUP *ctx);
147 int (*shutdown)(X509_LOOKUP *ctx);
148 int (*ctrl)(X509_LOOKUP *ctx,int cmd,const char *argc,long argl,
150 int (*get_by_subject)(X509_LOOKUP *ctx,int type,X509_NAME *name,
152 int (*get_by_issuer_serial)(X509_LOOKUP *ctx,int type,X509_NAME *name,
154 int (*get_by_fingerprint)(X509_LOOKUP *ctx,int type,
157 int (*get_by_alias)(X509_LOOKUP *ctx,int type,char *str,int len,
195 int (*verify)(X509_STORE_CTX *ctx); /* calle
232 X509_STORE *ctx; member in struct:x509_store_ctx_st
486 STACK_OF(X509) *X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx); variable
487 STACK_OF(X509) *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx); variable
[all...]
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dext_password_i.h17 void (*deinit)(void *ctx);
18 struct wpabuf * (*get)(void *ctx, const char *name);
/external/wpa_supplicant_8/src/utils/
H A Dext_password_i.h17 void (*deinit)(void *ctx);
18 struct wpabuf * (*get)(void *ctx, const char *name);
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dext_password_i.h17 void (*deinit)(void *ctx);
18 struct wpabuf * (*get)(void *ctx, const char *name);
/external/libvpx/vp8/
H A Dvp8_dx_iface.c143 static void vp8_init_ctx(vpx_codec_ctx_t *ctx, const vpx_codec_mmap_t *mmap) argument
147 ctx->priv = mmap->base;
148 ctx->priv->sz = sizeof(*ctx->priv);
149 ctx->priv->iface = ctx->iface;
150 ctx->priv->alg_priv = mmap->base;
152 for (i = 0; i < NELEMENTS(ctx->priv->alg_priv->mmaps); i++)
153 ctx->priv->alg_priv->mmaps[i].id = vp8_mem_req_segs[i].id;
155 ctx
167 mmap_lkup(vpx_codec_alg_priv_t *ctx, unsigned int id) argument
177 vp8_finalize_mmaps(vpx_codec_alg_priv_t *ctx) argument
182 vp8_init(vpx_codec_ctx_t *ctx) argument
213 vp8_destroy(vpx_codec_alg_priv_t *ctx) argument
270 vp8_get_si(vpx_codec_alg_priv_t *ctx, vpx_codec_stream_info_t *si) argument
289 update_error_state(vpx_codec_alg_priv_t *ctx, const struct vpx_internal_error_info *error) argument
303 vp8_decode(vpx_codec_alg_priv_t *ctx, const uint8_t *data, unsigned int data_sz, void *user_priv, long deadline) argument
447 vp8_get_frame(vpx_codec_alg_priv_t *ctx, vpx_codec_iter_t *iter) argument
469 vp8_xma_get_mmap(const vpx_codec_ctx_t *ctx, vpx_codec_mmap_t *mmap, vpx_codec_iter_t *iter) argument
506 vp8_xma_set_mmap(vpx_codec_ctx_t *ctx, const vpx_codec_mmap_t *mmap) argument
573 vp8_set_reference(vpx_codec_alg_priv_t *ctx, int ctr_id, va_list args) argument
595 vp8_get_reference(vpx_codec_alg_priv_t *ctx, int ctr_id, va_list args) argument
617 vp8_set_postproc(vpx_codec_alg_priv_t *ctx, int ctr_id, va_list args) argument
638 vp8_set_dbg_options(vpx_codec_alg_priv_t *ctx, int ctrl_id, va_list args) argument
661 vp8_get_last_ref_updates(vpx_codec_alg_priv_t *ctx, int ctrl_id, va_list args) argument
681 vp8_get_frame_corrupted(vpx_codec_alg_priv_t *ctx, int ctrl_id, va_list args) argument
[all...]

Completed in 323 milliseconds

1234567891011>>