/external/webkit/Source/WebCore/inspector/front-end/ |
H A D | SummaryBar.js | 97 var ctx = canvas.getContext("2d"); 100 ctx.fillStyle = color; 101 ctx.fillRect(0, 0, 13, 13); 103 var gradient = ctx.createLinearGradient(0, 0, 13, 13); 107 ctx.fillStyle = gradient; 108 ctx.fillRect(0, 0, 13, 13); 110 gradient = ctx.createLinearGradient(13, 13, 0, 0); 114 ctx.fillStyle = gradient; 115 ctx.fillRect(0, 0, 13, 13); 117 ctx [all...] |
/external/openssl/crypto/evp/ |
H A D | bio_enc.c | 110 BIO_ENC_CTX *ctx; local 112 ctx=(BIO_ENC_CTX *)OPENSSL_malloc(sizeof(BIO_ENC_CTX)); 113 if (ctx == NULL) return(0); 114 EVP_CIPHER_CTX_init(&ctx->cipher); 116 ctx->buf_len=0; 117 ctx->buf_off=0; 118 ctx->cont=1; 119 ctx->finished=0; 120 ctx->ok=1; 123 bi->ptr=(char *)ctx; 146 BIO_ENC_CTX *ctx; local 234 BIO_ENC_CTX *ctx; local 289 BIO_ENC_CTX *ctx,*dctx; local 413 BIO_ENC_CTX *ctx; local [all...] |
H A D | e_des.c | 68 static int des_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 74 static int des_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, argument 78 DES_ecb_encrypt((DES_cblock *)(in + i), (DES_cblock *)(out + i), ctx->cipher_data, ctx->encrypt); 82 static int des_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, argument 87 DES_ofb64_encrypt(in, out, (long)EVP_MAXCHUNK, ctx->cipher_data, 88 (DES_cblock *)ctx->iv, &ctx->num); 94 DES_ofb64_encrypt(in, out, (long)inl, ctx->cipher_data, 95 (DES_cblock *)ctx 99 des_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) argument 116 des_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) argument 135 des_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) argument 162 des_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) argument 195 des_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument [all...] |
H A D | evp_enc.c | 73 #define M_do_cipher(ctx, out, in, inl) FIPS_cipher(ctx, out, in, inl) 75 #define M_do_cipher(ctx, out, in, inl) ctx->cipher->do_cipher(ctx, out, in, inl) 81 void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx) argument 83 memset(ctx,0,sizeof(EVP_CIPHER_CTX)); 84 /* ctx->cipher=NULL; */ 89 EVP_CIPHER_CTX *ctx=OPENSSL_malloc(sizeof *ctx); local 95 EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv, int enc) argument 103 EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv, int enc) argument 261 EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl) argument 269 EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) argument 276 EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) argument 283 EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv) argument 289 EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv) argument 295 EVP_DecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv) argument 301 EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv) argument 307 EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl) argument 380 EVP_EncryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) argument 387 EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) argument 433 EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl) argument 494 EVP_DecryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) argument 501 EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) argument 560 EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx) argument 610 EVP_CIPHER_CTX_set_padding(EVP_CIPHER_CTX *ctx, int pad) argument 617 EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) argument 638 EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx, unsigned char *key) argument [all...] |
H A D | e_des3.c | 70 static int des_ede_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 73 static int des_ede3_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 85 #define data(ctx) ((DES_EDE_KEY *)(ctx)->cipher_data) 89 static int des_ede_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, argument 95 &data(ctx)->ks1, &data(ctx)->ks2, 96 &data(ctx)->ks3, 97 ctx->encrypt); 101 static int des_ede_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigne argument 121 des_ede_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) argument 151 des_ede_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) argument 172 des_ede3_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) argument 191 des_ede3_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) argument 239 des_ede_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument 256 des_ede3_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument [all...] |
/external/openssl/crypto/bio/ |
H A D | bf_buff.c | 95 BIO_F_BUFFER_CTX *ctx; local 97 ctx=(BIO_F_BUFFER_CTX *)OPENSSL_malloc(sizeof(BIO_F_BUFFER_CTX)); 98 if (ctx == NULL) return(0); 99 ctx->ibuf=(char *)OPENSSL_malloc(DEFAULT_BUFFER_SIZE); 100 if (ctx->ibuf == NULL) { OPENSSL_free(ctx); return(0); } 101 ctx->obuf=(char *)OPENSSL_malloc(DEFAULT_BUFFER_SIZE); 102 if (ctx->obuf == NULL) { OPENSSL_free(ctx->ibuf); OPENSSL_free(ctx); retur 134 BIO_F_BUFFER_CTX *ctx; local 200 BIO_F_BUFFER_CTX *ctx; local 273 BIO_F_BUFFER_CTX *ctx; local 458 BIO_F_BUFFER_CTX *ctx; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
H A D | wpa_i.h | 50 struct wpa_sm_ctx *ctx; member in struct:wpa_sm 114 WPA_ASSERT(sm->ctx->set_state); 115 sm->ctx->set_state(sm->ctx->ctx, state); 120 WPA_ASSERT(sm->ctx->get_state); 121 return sm->ctx->get_state(sm->ctx->ctx); 126 WPA_ASSERT(sm->ctx [all...] |
/external/e2fsprogs/e2fsck/ |
H A D | unix.c | 77 static void usage(e2fsck_t ctx) argument 84 ctx->program_name); 104 static void show_stats(e2fsck_t ctx) argument 106 ext2_filsys fs = ctx->fs; 114 dir_links = 2 * ctx->fs_directory_count - 1; 115 num_files = ctx->fs_total_count - dir_links; 116 num_links = ctx->fs_links_count - dir_links; 124 frag_percent_file = (10000 * ctx->fs_fragmented) / inodes_used; 127 frag_percent_dir = (10000 * ctx->fs_fragmented_dir) / inodes_used; 130 frag_percent_total = ((10000 * (ctx 202 check_mount(e2fsck_t ctx) argument 290 check_if_skip(e2fsck_t ctx) argument 413 e2fsck_clear_progbar(e2fsck_t ctx) argument 424 e2fsck_simple_progress(e2fsck_t ctx, const char *label, float percent, unsigned int dpynum) argument 493 e2fsck_update_progress(e2fsck_t ctx, int pass, unsigned long cur, unsigned long max) argument 537 e2fsck_t ctx = e2fsck_global_ctx; local 547 e2fsck_t ctx = e2fsck_global_ctx; local 558 e2fsck_t ctx = e2fsck_global_ctx; local 567 parse_extended_opts(e2fsck_t ctx, const char *opts) argument 647 e2fsck_t ctx; local 935 try_open_fs(e2fsck_t ctx, int flags, io_manager io_ptr, ext2_filsys *ret_fs) argument 979 e2fsck_t ctx; local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | dblist_dir.c | 38 struct dir_context ctx; local 42 ctx.dir = 0; 43 ctx.flags = flags; 45 ctx.buf = block_buf; 47 retval = ext2fs_get_mem(dblist->fs->blocksize, &ctx.buf); 51 ctx.func = func; 52 ctx.priv_data = priv_data; 53 ctx.errcode = 0; 55 retval = ext2fs_dblist_iterate(dblist, db_dir_proc, &ctx); 58 ext2fs_free_mem(&ctx 67 struct dir_context *ctx; local [all...] |
H A D | block.c | 39 #define check_for_ro_violation_return(ctx, ret) \ 41 if (((ctx)->flags & BLOCK_FLAG_READ_ONLY) && \ 43 (ctx)->errcode = EXT2_ET_RO_BLOCK_ITERATE; \ 49 #define check_for_ro_violation_goto(ctx, ret, label) \ 51 if (((ctx)->flags & BLOCK_FLAG_READ_ONLY) && \ 53 (ctx)->errcode = EXT2_ET_RO_BLOCK_ITERATE; \ 60 int ref_offset, struct block_context *ctx) 66 limit = ctx->fs->blocksize >> 2; 67 if (!(ctx->flags & BLOCK_FLAG_DEPTH_TRAVERSE) && 68 !(ctx 59 block_iterate_ind(blk_t *ind_block, blk_t ref_block, int ref_offset, struct block_context *ctx) argument 137 block_iterate_dind(blk_t *dind_block, blk_t ref_block, int ref_offset, struct block_context *ctx) argument 216 block_iterate_tind(blk_t *tind_block, blk_t ref_block, int ref_offset, struct block_context *ctx) argument 311 struct block_context ctx; local [all...] |
/external/emma/core/java12/com/vladium/util/ |
H A D | IClassLoadStrategy.java | 28 ClassLoader getClassLoader (ClassLoadContext ctx); argument
|
/external/webkit/Source/JavaScriptCore/API/ |
H A D | JSProfilerPrivate.cpp | 35 void JSStartProfiling(JSContextRef ctx, JSStringRef title) argument 37 Profiler::profiler()->startProfiling(toJS(ctx), title->ustring()); 40 void JSEndProfiling(JSContextRef ctx, JSStringRef title) argument 42 ExecState* exec = toJS(ctx);
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
H A D | aes.h | 19 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt); 20 void aes_encrypt_deinit(void *ctx); 22 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain); 23 void aes_decrypt_deinit(void *ctx);
|
/external/wpa_supplicant_8/hostapd/ |
H A D | dump_state.h | 12 int handle_dump_state_iface(struct hostapd_iface *iface, void *ctx);
|
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | aes.h | 15 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt); 16 void aes_encrypt_deinit(void *ctx); 18 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain); 19 void aes_decrypt_deinit(void *ctx);
|
/external/wpa_supplicant_8/src/crypto/ |
H A D | aes.h | 15 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt); 16 void aes_encrypt_deinit(void *ctx); 18 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain); 19 void aes_decrypt_deinit(void *ctx);
|
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | aes.h | 15 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt); 16 void aes_encrypt_deinit(void *ctx); 18 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain); 19 void aes_decrypt_deinit(void *ctx);
|
/external/openssl/crypto/cmac/ |
H A D | cmac.h | 68 void CMAC_CTX_cleanup(CMAC_CTX *ctx); 69 void CMAC_CTX_free(CMAC_CTX *ctx); 70 EVP_CIPHER_CTX *CMAC_CTX_get0_cipher_ctx(CMAC_CTX *ctx); 73 int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen, 75 int CMAC_Update(CMAC_CTX *ctx, const void *data, size_t dlen); 76 int CMAC_Final(CMAC_CTX *ctx, unsigned char *out, size_t *poutlen); 77 int CMAC_resume(CMAC_CTX *ctx);
|
/external/openssl/include/openssl/ |
H A D | cmac.h | 68 void CMAC_CTX_cleanup(CMAC_CTX *ctx); 69 void CMAC_CTX_free(CMAC_CTX *ctx); 70 EVP_CIPHER_CTX *CMAC_CTX_get0_cipher_ctx(CMAC_CTX *ctx); 73 int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen, 75 int CMAC_Update(CMAC_CTX *ctx, const void *data, size_t dlen); 76 int CMAC_Final(CMAC_CTX *ctx, unsigned char *out, size_t *poutlen); 77 int CMAC_resume(CMAC_CTX *ctx);
|
/external/openssl/crypto/modes/ |
H A D | ccm128.c | 63 void CRYPTO_ccm128_init(CCM128_CONTEXT *ctx, argument 66 memset(ctx->nonce.c,0,sizeof(ctx->nonce.c)); 67 ctx->nonce.c[0] = ((u8)(L-1)&7) | (u8)(((M-2)/2)&7)<<3; 68 ctx->blocks = 0; 69 ctx->block = block; 70 ctx->key = key; 76 int CRYPTO_ccm128_setiv(CCM128_CONTEXT *ctx, argument 79 unsigned int L = ctx->nonce.c[0]&7; /* the L parameter */ 84 ctx 104 CRYPTO_ccm128_aad(CCM128_CONTEXT *ctx, const unsigned char *aad,size_t alen) argument 170 CRYPTO_ccm128_encrypt(CCM128_CONTEXT *ctx, const unsigned char *inp, unsigned char *out, size_t len) argument 245 CRYPTO_ccm128_decrypt(CCM128_CONTEXT *ctx, const unsigned char *inp, unsigned char *out, size_t len) argument 324 CRYPTO_ccm128_encrypt_ccm64(CCM128_CONTEXT *ctx, const unsigned char *inp, unsigned char *out, size_t len,ccm128_f stream) argument 381 CRYPTO_ccm128_decrypt_ccm64(CCM128_CONTEXT *ctx, const unsigned char *inp, unsigned char *out, size_t len,ccm128_f stream) argument 434 CRYPTO_ccm128_tag(CCM128_CONTEXT *ctx,unsigned char *tag,size_t len) argument [all...] |
/external/openssl/crypto/engine/ |
H A D | eng_dyn.c | 73 static int dynamic_load(ENGINE *e, dynamic_data_ctx *ctx); 169 dynamic_data_ctx *ctx = (dynamic_data_ctx *)ptr; local 170 if(ctx->dynamic_dso) 171 DSO_free(ctx->dynamic_dso); 172 if(ctx->DYNAMIC_LIBNAME) 173 OPENSSL_free((void*)ctx->DYNAMIC_LIBNAME); 174 if(ctx->engine_id) 175 OPENSSL_free((void*)ctx->engine_id); 176 if(ctx->dirs) 177 sk_OPENSSL_STRING_pop_free(ctx 186 dynamic_set_data_ctx(ENGINE *e, dynamic_data_ctx **ctx) argument 234 dynamic_data_ctx *ctx; local 317 dynamic_data_ctx *ctx = dynamic_get_data_ctx(e); local 406 int_load(dynamic_data_ctx *ctx) argument 433 dynamic_load(ENGINE *e, dynamic_data_ctx *ctx) argument [all...] |
/external/elfutils/tests/ |
H A D | sha1-tst.c | 38 struct sha1_ctx ctx; local 39 sha1_init_ctx (&ctx); 40 sha1_process_bytes ("abc", 3, &ctx); 41 sha1_finish_ctx (&ctx, buf); 51 sha1_init_ctx (&ctx); 53 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq", 56, &ctx); 54 sha1_finish_ctx (&ctx, buf); 64 sha1_init_ctx (&ctx); 67 sha1_process_bytes (buf, sizeof (buf), &ctx); 68 sha1_finish_ctx (&ctx, bu [all...] |
/external/openssl/crypto/jpake/ |
H A D | jpake.c | 28 BN_CTX *ctx; member in struct:JPAKE_CTX 74 static void JPAKE_CTX_init(JPAKE_CTX *ctx, const char *name, argument 79 ctx->p.name = OPENSSL_strdup(name); 80 ctx->p.peer_name = OPENSSL_strdup(peer_name); 81 ctx->p.p = BN_dup(p); 82 ctx->p.g = BN_dup(g); 83 ctx->p.q = BN_dup(q); 84 ctx->secret = BN_dup(secret); 86 ctx->p.gxc = BN_new(); 87 ctx 95 JPAKE_CTX_release(JPAKE_CTX *ctx) argument 119 JPAKE_CTX *ctx = OPENSSL_malloc(sizeof *ctx); local 126 JPAKE_CTX_free(JPAKE_CTX *ctx) argument 186 generate_zkp(JPAKE_STEP_PART *p, const BIGNUM *x, const BIGNUM *zkpg, JPAKE_CTX *ctx) argument 214 verify_zkp(const JPAKE_STEP_PART *p, const BIGNUM *zkpg, JPAKE_CTX *ctx) argument 247 generate_step_part(JPAKE_STEP_PART *p, const BIGNUM *x, const BIGNUM *g, JPAKE_CTX *ctx) argument 255 genrand(JPAKE_CTX *ctx) argument 276 JPAKE_STEP1_generate(JPAKE_STEP1 *send, JPAKE_CTX *ctx) argument 286 is_legal(const BIGNUM *gx, const JPAKE_CTX *ctx) argument 302 JPAKE_STEP1_process(JPAKE_CTX *ctx, const JPAKE_STEP1 *received) argument 345 JPAKE_STEP2_generate(JPAKE_STEP2 *send, JPAKE_CTX *ctx) argument 381 compute_key(JPAKE_CTX *ctx, const BIGNUM *gx) argument 414 JPAKE_STEP2_process(JPAKE_CTX *ctx, const JPAKE_STEP2 *received) argument 456 JPAKE_STEP3A_generate(JPAKE_STEP3A *send, JPAKE_CTX *ctx) argument 464 JPAKE_STEP3A_process(JPAKE_CTX *ctx, const JPAKE_STEP3A *received) argument 484 JPAKE_STEP3B_generate(JPAKE_STEP3B *send, JPAKE_CTX *ctx) argument 491 JPAKE_STEP3B_process(JPAKE_CTX *ctx, const JPAKE_STEP3B *received) argument 507 JPAKE_get_shared_key(JPAKE_CTX *ctx) argument [all...] |
/external/emma/core/java12/com/vladium/emma/report/ |
H A D | IItemVisitor.java | 19 Object visit (AllItem item, Object ctx); argument 20 Object visit (PackageItem item, Object ctx); argument 21 Object visit (SrcFileItem item, Object ctx); argument 22 Object visit (ClassItem item, Object ctx); argument 23 Object visit (MethodItem item, Object ctx); argument
|
/external/mesa3d/src/talloc/ |
H A D | hieralloc.h | 19 #define hieralloc(ctx, type) (type *)hieralloc_allocate(ctx, sizeof(type), #type) 20 #define hieralloc_size(ctx, size) hieralloc_allocate(ctx, size, "sz:"__location__) 21 #define hieralloc_new(ctx) hieralloc_allocate(ctx, 0, "nw:" __location__) 22 #define hieralloc_zero(ctx, type) (type *)_hieralloc_zero(ctx, sizeof(type), "zr:"#type) 23 #define hieralloc_zero_size(ctx, size) _hieralloc_zero(ctx, siz [all...] |