Searched refs:ctx (Results 226 - 250 of 1435) sorted by relevance

1234567891011>>

/external/chromium-trace/trace-viewer/src/tracks/
H A Dtimeline_viewport_track.js78 drawLine_: function(ctx, x1, y1, x2, y2, color) {
79 ctx.beginPath();
80 ctx.moveTo(x1, y1);
81 ctx.lineTo(x2, y2);
82 ctx.closePath();
83 ctx.strokeStyle = color;
84 ctx.stroke();
87 drawArrow_: function(ctx, x1, y1, x2, y2, arrowWidth, color) {
89 this.drawLine_(ctx, x1, y1, x2, y2, color);
102 ctx
[all...]
/external/elfutils/lib/
H A Dmd5.h61 extern void md5_init_ctx (struct md5_ctx *ctx);
68 struct md5_ctx *ctx);
75 struct md5_ctx *ctx);
84 extern void *md5_finish_ctx (struct md5_ctx *ctx, void *resbuf);
93 extern void *md5_read_ctx (const struct md5_ctx *ctx, void *resbuf);
H A Dsha1.h56 extern void sha1_init_ctx (struct sha1_ctx *ctx);
63 struct sha1_ctx *ctx);
70 struct sha1_ctx *ctx);
79 extern void *sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf);
88 extern void *sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf);
H A Dmd5.c55 md5_init_ctx (ctx)
56 struct md5_ctx *ctx;
58 ctx->A = 0x67452301;
59 ctx->B = 0xefcdab89;
60 ctx->C = 0x98badcfe;
61 ctx->D = 0x10325476;
63 ctx->total[0] = ctx->total[1] = 0;
64 ctx->buflen = 0;
73 md5_read_ctx (ctx, resbu
130 struct md5_ctx ctx; local
189 struct md5_ctx ctx; local
[all...]
/external/mesa3d/src/glsl/
H A Dir_expression_flattening.cpp81 void *ctx = hieralloc_parent(ir); local
83 var = new(ctx) ir_variable(ir->type, "flattening_tmp", ir_var_temporary);
86 assign = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(var),
91 *rvalue = new(ctx) ir_dereference_variable(var);
H A Dglsl_compiler.cpp42 initialize_context(struct gl_context *ctx, gl_api api) argument
44 memset(ctx, 0, sizeof(*ctx));
46 ctx->API = api;
48 ctx->Extensions.ARB_draw_buffers = GL_TRUE;
49 ctx->Extensions.ARB_fragment_coord_conventions = GL_TRUE;
50 ctx->Extensions.EXT_texture_array = GL_TRUE;
51 ctx->Extensions.NV_texture_rectangle = GL_TRUE;
54 ctx->Const.MaxLights = 8;
55 ctx
76 load_text_file(void *ctx, const char *file_name) argument
150 compile_shader(struct gl_context *ctx, struct gl_shader *shader) argument
224 struct gl_context *ctx = &local_ctx; local
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-ctr.c27 void *ctx; local
33 ctx = aes_encrypt_init(key, 16);
34 if (ctx == NULL)
39 aes_encrypt(ctx, counter, buf);
53 aes_encrypt_deinit(ctx);
H A Daes-unwrap.c29 void *ctx; local
36 ctx = aes_decrypt_init(kek, 16);
37 if (ctx == NULL)
54 aes_decrypt(ctx, b, b);
60 aes_decrypt_deinit(ctx);
H A Daes-wrap.c29 void *ctx; local
38 ctx = aes_encrypt_init(kek, 16);
39 if (ctx == NULL)
54 aes_encrypt(ctx, b, b);
61 aes_encrypt_deinit(ctx);
H A Dcrypto_nss.c28 HASHContext *ctx; local
32 ctx = HASH_Create(type);
33 if (ctx == NULL)
36 HASH_Begin(ctx);
38 HASH_Update(ctx, addr[i], len[i]);
39 HASH_End(ctx, mac, &reslen, max_res_len);
40 HASH_Destroy(ctx);
48 PK11Context *ctx = NULL; local
88 ctx = PK11_CreateContextBySymKey(CKM_DES_ECB, CKA_ENCRYPT,
90 if (ctx
144 aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
149 aes_encrypt_deinit(void *ctx) argument
160 aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
165 aes_decrypt_deinit(void *ctx) argument
191 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
198 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
205 crypto_cipher_deinit(struct crypto_cipher *ctx) argument
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Daes-ctr.c27 void *ctx; local
33 ctx = aes_encrypt_init(key, 16);
34 if (ctx == NULL)
39 aes_encrypt(ctx, counter, buf);
53 aes_encrypt_deinit(ctx);
H A Daes-unwrap.c29 void *ctx; local
36 ctx = aes_decrypt_init(kek, 16);
37 if (ctx == NULL)
54 aes_decrypt(ctx, b, b);
60 aes_decrypt_deinit(ctx);
H A Daes-wrap.c29 void *ctx; local
38 ctx = aes_encrypt_init(kek, 16);
39 if (ctx == NULL)
54 aes_encrypt(ctx, b, b);
61 aes_encrypt_deinit(ctx);
H A Dcrypto_nss.c28 HASHContext *ctx; local
32 ctx = HASH_Create(type);
33 if (ctx == NULL)
36 HASH_Begin(ctx);
38 HASH_Update(ctx, addr[i], len[i]);
39 HASH_End(ctx, mac, &reslen, max_res_len);
40 HASH_Destroy(ctx);
48 PK11Context *ctx = NULL; local
88 ctx = PK11_CreateContextBySymKey(CKM_DES_ECB, CKA_ENCRYPT,
90 if (ctx
144 aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
149 aes_encrypt_deinit(void *ctx) argument
160 aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
165 aes_decrypt_deinit(void *ctx) argument
191 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
198 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
205 crypto_cipher_deinit(struct crypto_cipher *ctx) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Daes-ctr.c27 void *ctx; local
33 ctx = aes_encrypt_init(key, 16);
34 if (ctx == NULL)
39 aes_encrypt(ctx, counter, buf);
53 aes_encrypt_deinit(ctx);
H A Daes-unwrap.c29 void *ctx; local
36 ctx = aes_decrypt_init(kek, 16);
37 if (ctx == NULL)
54 aes_decrypt(ctx, b, b);
60 aes_decrypt_deinit(ctx);
H A Daes-wrap.c29 void *ctx; local
38 ctx = aes_encrypt_init(kek, 16);
39 if (ctx == NULL)
54 aes_encrypt(ctx, b, b);
61 aes_encrypt_deinit(ctx);
H A Dcrypto_nss.c28 HASHContext *ctx; local
32 ctx = HASH_Create(type);
33 if (ctx == NULL)
36 HASH_Begin(ctx);
38 HASH_Update(ctx, addr[i], len[i]);
39 HASH_End(ctx, mac, &reslen, max_res_len);
40 HASH_Destroy(ctx);
48 PK11Context *ctx = NULL; local
88 ctx = PK11_CreateContextBySymKey(CKM_DES_ECB, CKA_ENCRYPT,
90 if (ctx
144 aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
149 aes_encrypt_deinit(void *ctx) argument
160 aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
165 aes_decrypt_deinit(void *ctx) argument
191 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
198 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
205 crypto_cipher_deinit(struct crypto_cipher *ctx) argument
[all...]
/external/webkit/Source/JavaScriptCore/API/
H A DJSObjectRef.h82 @param ctx The execution context to use.
86 void Initialize(JSContextRef ctx, JSObjectRef object);
92 (*JSObjectInitializeCallback) (JSContextRef ctx, JSObjectRef object);
115 @param ctx The execution context to use.
121 bool HasProperty(JSContextRef ctx, JSObjectRef object, JSStringRef propertyName);
130 (*JSObjectHasPropertyCallback) (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName);
135 @param ctx The execution context to use.
142 JSValueRef GetProperty(JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception);
147 (*JSObjectGetPropertyCallback) (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception);
152 @param ctx Th
[all...]
/external/wpa_supplicant_6/wpa_supplicant/
H A Dpreauth_test.c93 static void _wpa_supplicant_set_state(void *ctx, wpa_states state) argument
95 struct wpa_supplicant *wpa_s = ctx;
100 static wpa_states _wpa_supplicant_get_state(void *ctx) argument
102 struct wpa_supplicant *wpa_s = ctx;
176 static void wpa_supplicant_set_config_blob(void *ctx, argument
179 struct wpa_supplicant *wpa_s = ctx;
185 wpa_supplicant_get_config_blob(void *ctx, const char *name) argument
187 struct wpa_supplicant *wpa_s = ctx;
233 struct wpa_sm_ctx *ctx; local
238 ctx
[all...]
/external/openssl/crypto/jpake/
H A Djpake.h61 void JPAKE_CTX_free(JPAKE_CTX *ctx);
68 int JPAKE_STEP1_generate(JPAKE_STEP1 *send, JPAKE_CTX *ctx);
69 int JPAKE_STEP1_process(JPAKE_CTX *ctx, const JPAKE_STEP1 *received);
77 int JPAKE_STEP2_generate(JPAKE_STEP2 *send, JPAKE_CTX *ctx);
78 int JPAKE_STEP2_process(JPAKE_CTX *ctx, const JPAKE_STEP2 *received);
87 int JPAKE_STEP3A_generate(JPAKE_STEP3A *send, JPAKE_CTX *ctx);
88 int JPAKE_STEP3A_process(JPAKE_CTX *ctx, const JPAKE_STEP3A *received);
92 int JPAKE_STEP3B_generate(JPAKE_STEP3B *send, JPAKE_CTX *ctx);
93 int JPAKE_STEP3B_process(JPAKE_CTX *ctx, const JPAKE_STEP3B *received);
98 * ctx i
[all...]
/external/libvpx/nestegg/src/
H A Dnestegg.c676 ne_read_string(nestegg * ctx, char ** val, uint64_t length) argument
683 str = ne_pool_alloc(length + 1, ctx->alloc_pool);
684 r = ne_io_read(ctx->io, (unsigned char *) str, length);
693 ne_read_binary(nestegg * ctx, struct ebml_binary * val, uint64_t length) argument
697 val->data = ne_pool_alloc(length, ctx->alloc_pool);
699 return ne_io_read(ctx->io, val->data, length);
780 ne_ctx_push(nestegg * ctx, struct ebml_element_desc * ancestor, void * data) argument
785 item->previous = ctx->ancestor;
788 ctx->ancestor = item;
792 ne_ctx_pop(nestegg * ctx) argument
802 ne_ctx_save(nestegg * ctx, struct saved_state * s) argument
814 ne_ctx_restore(nestegg * ctx, struct saved_state * s) argument
828 ne_peek_element(nestegg * ctx, uint64_t * id, uint64_t * size) argument
857 ne_read_element(nestegg * ctx, uint64_t * id, uint64_t * size) argument
872 ne_read_master(nestegg * ctx, struct ebml_element_desc * desc) argument
901 ne_read_single_master(nestegg * ctx, struct ebml_element_desc * desc) argument
914 ne_read_simple(nestegg * ctx, struct ebml_element_desc * desc, size_t length) argument
963 ne_parse(nestegg * ctx, struct ebml_element_desc * top_level) argument
1151 ne_get_timecode_scale(nestegg * ctx) argument
1162 ne_find_track_entry(nestegg * ctx, unsigned int track) argument
1180 ne_read_block(nestegg * ctx, uint64_t block_id, uint64_t block_size, nestegg_packet ** data) argument
1404 ne_null_log_callback(nestegg * ctx, unsigned int severity, char const * fmt, ...) argument
1417 nestegg * ctx = NULL; local
1494 nestegg_destroy(nestegg * ctx) argument
1504 nestegg_duration(nestegg * ctx, uint64_t * duration) argument
1519 nestegg_tstamp_scale(nestegg * ctx, uint64_t * scale) argument
1526 nestegg_track_count(nestegg * ctx, unsigned int * tracks) argument
1533 nestegg_track_seek(nestegg * ctx, unsigned int track, uint64_t tstamp) argument
1635 nestegg_track_type(nestegg * ctx, unsigned int track) argument
1657 nestegg_track_codec_id(nestegg * ctx, unsigned int track) argument
1679 nestegg_track_codec_data_count(nestegg * ctx, unsigned int track, unsigned int * count) argument
1711 nestegg_track_codec_data(nestegg * ctx, unsigned int track, unsigned int item, unsigned char ** data, size_t * length) argument
1760 nestegg_track_video_params(nestegg * ctx, unsigned int track, nestegg_video_params * params) argument
1811 nestegg_track_audio_params(nestegg * ctx, unsigned int track, nestegg_audio_params * params) argument
1841 nestegg_read_packet(nestegg * ctx, nestegg_packet ** pkt) argument
[all...]
/external/mesa3d/src/pixelflinger2/
H A Dscanline.cpp214 //memcpy(ctx->glCtx->CurrentProgram->ValuesVertexOutput, start, sizeof(*start));
216 //VertexOutput & vertex(*(VertexOutput*)ctx->glCtx->CurrentProgram->ValuesVertexOutput);
248 GGL_GET_CONST_CONTEXT(ctx, iface);
249 GGLScanLine(ctx->CurrentProgram, ctx->frameSurface.format, ctx->frameSurface.data,
250 (int *)ctx->depthSurface.data, (unsigned char *)ctx->stencilSurface.data,
251 ctx->frameSurface.width, ctx
[all...]
/external/openssl/crypto/bn/
H A Dbn_sqrt.c62 BIGNUM *BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx) argument
114 BN_CTX_start(ctx);
115 A = BN_CTX_get(ctx);
116 b = BN_CTX_get(ctx);
117 q = BN_CTX_get(ctx);
118 t = BN_CTX_get(ctx);
119 x = BN_CTX_get(ctx);
120 y = BN_CTX_get(ctx);
128 if (!BN_nnmod(A, a, p, ctx)) goto end;
148 if (!BN_mod_exp(ret, A, q, p, ctx)) got
[all...]
/external/openssl/crypto/evp/
H A Devp_locl.h65 bl = ctx->cipher->block_size;\
71 static int cname##_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) \
74 cprefix##_ecb_encrypt(in + i, out + i, &((kstruct *)ctx->cipher_data)->ksched, ctx->encrypt);\
81 static int cname##_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) \
85 cprefix##_ofb##cbits##_encrypt(in, out, (long)EVP_MAXCHUNK, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, &ctx->num);\
91 cprefix##_ofb##cbits##_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx
[all...]

Completed in 595 milliseconds

1234567891011>>