/device/generic/goldfish/opengl/system/GLESv1_enc/ |
GLEncoderUtils.cpp | 22 GLEncoder *ctx = (GLEncoder *)self; local 23 return ctx->pixelDataSize(width, height, format, type, pack);
|
/external/chromium/chrome/browser/resources/shared/css/ |
tree.css.js | 8 var ctx = document.getCSSCanvasContext('2d', 'tree-triangle', a + 1, a2 + 2); variable 10 ctx.fillStyle = '#000'; 11 ctx.translate(.5, .5); 13 ctx.beginPath(); 14 ctx.moveTo(0, 0); 15 ctx.lineTo(0, 1); 16 ctx.lineTo(a2, 1 + a2); 17 ctx.lineTo(a, 1); 18 ctx.lineTo(a, 0); 19 ctx.closePath() [all...] |
/external/elfutils/libasm/ |
disasm_begin.c | 49 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;
|
/external/wpa_supplicant_8/src/crypto/ |
aes-encblock.c | 25 void *ctx; local 26 ctx = aes_encrypt_init(key, 16); 27 if (ctx == NULL) 29 aes_encrypt(ctx, in, out); 30 aes_encrypt_deinit(ctx);
|
aes-unwrap.c | 29 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);
|
aes-wrap.c | 29 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);
|
/device/generic/goldfish/opengl/tests/gles_android_wrapper/ |
glesv1_emul_ifc.cpp | 28 gl_wrapper_context_t *ctx = new gl_wrapper_context_t; local 29 if (ctx == NULL) { 33 ctx->initDispatchByName(ApiInitializer::s_getProc, initializer); 36 return ctx;
|
glesv2_emul_ifc.cpp | 28 gl2_wrapper_context_t *ctx = new gl2_wrapper_context_t; local 29 if (ctx == NULL) { 33 ctx->initDispatchByName(ApiInitializer::s_getProc, initializer); 36 return ctx;
|
/external/openssl/crypto/ |
o_dir_test.c | 50 OPENSSL_DIR_CTX *ctx = NULL; local 53 while((result = OPENSSL_DIR_read(&ctx, CURRDIR)) != NULL) 64 if (!OPENSSL_DIR_end(&ctx))
|
/device/generic/goldfish/opengl/system/GLESv2_enc/ |
GL2EncoderUtils.cpp | 23 GL2Encoder *ctx = (GL2Encoder *)self; local 24 assert (ctx->state() != NULL); 25 return ctx->state()->pixelDataSize(width, height, format, type, pack); 36 GL2Encoder * ctx = (GL2Encoder *) self; local 37 assert (ctx->shared() != NULL); 38 return ctx->shared()->getProgramUniformType(program, location);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
stringdigest.cc | 36 MD5_CTX ctx; local 37 MD5Init(&ctx); 38 MD5Update(&ctx, const_cast<unsigned char *>(reinterpret_cast<const unsigned char *>(data.data())), static_cast<unsigned int>(data.size())); 40 MD5Final(digest, &ctx);
|
/external/e2fsprogs/lib/ext2fs/ |
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.buf) 67 struct dir_context *ctx; local [all...] |
/external/srtp/crypto/include/ |
hmac.h | 54 sha1_ctx_t ctx; member in struct:__anon15522
|
/external/wpa_supplicant_8/src/drivers/ |
netlink.h | 16 void *ctx; member in struct:netlink_config 17 void (*newlink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf, 19 void (*dellink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf,
|
rfkill.h | 15 void *ctx; member in struct:rfkill_config 17 void (*blocked_cb)(void *ctx); 18 void (*unblocked_cb)(void *ctx);
|
/external/elfutils/tests/ |
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, buf) [all...] |
asm-tst4.c | 46 AsmCtx_t *ctx; local 59 ctx = asm_begin (fname, ebl, false); 60 if (ctx == NULL) 76 scn = asm_newscn (ctx, buf, SHT_PROGBITS, SHF_ALLOC | SHF_WRITE); 81 asm_abort (ctx); 90 asm_abort (ctx); 96 if (asm_end (ctx) != 0) 99 asm_abort (ctx);
|
asm-tst5.c | 48 AsmCtx_t *ctx; local 61 ctx = asm_begin (fname, ebl, false); 62 if (ctx == NULL) 78 scn = asm_newscn (ctx, buf, SHT_PROGBITS, SHF_ALLOC | SHF_WRITE); 83 asm_abort (ctx); 93 asm_abort (ctx); 102 asm_abort (ctx); 108 if (asm_end (ctx) != 0) 111 asm_abort (ctx);
|
asm-tst6.c | 46 AsmCtx_t *ctx; local 59 ctx = asm_begin (fname, ebl, false); 60 if (ctx == NULL) 74 grp = asm_newscngrp (ctx, buf, NULL, 0); 78 asm_abort (ctx); 82 scn = asm_newscn_ingrp (ctx, ".data", SHT_PROGBITS, 88 asm_abort (ctx); 99 asm_abort (ctx); 108 asm_abort (ctx); 117 asm_abort (ctx); [all...] |
/external/openssl/crypto/dh/ |
dh_check.c | 76 BN_CTX *ctx=NULL; local 81 ctx=BN_CTX_new(); 82 if (ctx == NULL) goto err; 107 if (!BN_is_prime_ex(dh->p,BN_prime_checks,ctx,NULL)) 112 if (!BN_is_prime_ex(q,BN_prime_checks,ctx,NULL)) 117 if (ctx != NULL) BN_CTX_free(ctx);
|
dh_gen.c | 124 BN_CTX *ctx=NULL; local 126 ctx=BN_CTX_new(); 127 if (ctx == NULL) goto err; 128 BN_CTX_start(ctx); 129 t1 = BN_CTX_get(ctx); 130 t2 = BN_CTX_get(ctx); 186 if (ctx != NULL) 188 BN_CTX_end(ctx); 189 BN_CTX_free(ctx);
|
/external/e2fsprogs/e2fsck/ |
ehandler.c | 33 e2fsck_t ctx; local 35 ctx = (e2fsck_t) fs->priv_data; 36 if (ctx->flags & E2F_FLAG_EXITING) 59 preenhalt(ctx); 60 if (ask(ctx, _("Ignore error"), 1)) { 61 if (ask(ctx, _("Force rewrite"), 1)) 80 e2fsck_t ctx; local 82 ctx = (e2fsck_t) fs->priv_data; 83 if (ctx->flags & E2F_FLAG_EXITING) 108 preenhalt(ctx); [all...] |
/external/openssh/ |
rsa.c | 135 BN_CTX *ctx; local 139 if ((ctx = BN_CTX_new()) == NULL) 143 (BN_mod(rsa->dmq1, rsa->d, aux, ctx) == 0) || 145 (BN_mod(rsa->dmp1, rsa->d, aux, ctx) == 0)) 149 BN_CTX_free(ctx);
|
/external/openssl/crypto/dsa/ |
dsa_key.c | 95 BN_CTX *ctx=NULL; local 98 if ((ctx=BN_CTX_new()) == NULL) goto err; 131 if (!BN_mod_exp(pub_key,dsa->g,prk,dsa->p,ctx)) goto err; 141 if (ctx != NULL) BN_CTX_free(ctx);
|
/external/openssl/crypto/rsa/ |
rsa_chk.c | 59 BN_CTX *ctx; local 68 ctx = BN_CTX_new(); 70 m == NULL || ctx == NULL) 98 r = BN_mul(i, key->p, key->q, ctx); 115 r = BN_mul(l, i, j, ctx); 117 r = BN_gcd(m, i, j, ctx); 119 r = BN_div(k, NULL, l, m, ctx); /* remainder is 0 */ 122 r = BN_mod_mul(i, key->d, key->e, k, ctx); 137 r = BN_mod(j, key->d, i, ctx); 151 r = BN_mod(j, key->d, i, ctx); [all...] |