/external/elfutils/libasm/ |
asm_abort.c | 39 asm_abort (ctx) 40 AsmCtx_t *ctx; 42 if (ctx == NULL) 46 if (likely (! ctx->textp)) 48 (void) elf_end (ctx->out.elf); 51 if (ctx->fd != -1) 52 (void) unlink (ctx->tmp_fname); 55 __libasm_finictx (ctx);
|
asm_getelf.c | 37 asm_getelf (ctx) 38 AsmCtx_t *ctx; 40 return ctx != NULL ? ctx->out.elf : NULL;
|
disasm_end.c | 37 disasm_end (DisasmCtx_t *ctx) 39 free (ctx);
|
/external/openssl/crypto/evp/ |
pmeth_fn.c | 66 #define M_check_autoarg(ctx, arg, arglen, err) \ 67 if (ctx->pmeth->flags & EVP_PKEY_FLAG_AUTOARGLEN) \ 69 size_t pksize = (size_t)EVP_PKEY_size(ctx->pkey); \ 82 int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx) 85 if (!ctx || !ctx->pmeth || !ctx->pmeth->sign) 91 ctx->operation = EVP_PKEY_OP_SIGN; 92 if (!ctx->pmeth->sign_init) 94 ret = ctx->pmeth->sign_init(ctx) [all...] |
bio_b64.c | 114 BIO_B64_CTX *ctx; local 116 ctx=(BIO_B64_CTX *)OPENSSL_malloc(sizeof(BIO_B64_CTX)); 117 if (ctx == NULL) return(0); 119 ctx->buf_len=0; 120 ctx->tmp_len=0; 121 ctx->tmp_nl=0; 122 ctx->buf_off=0; 123 ctx->cont=1; 124 ctx->start=1; 125 ctx->encode=0 147 BIO_B64_CTX *ctx; local 378 BIO_B64_CTX *ctx; local 493 BIO_B64_CTX *ctx; local [all...] |
digest.c | 124 void EVP_MD_CTX_init(EVP_MD_CTX *ctx) 126 memset(ctx,'\0',sizeof *ctx); 131 EVP_MD_CTX *ctx=OPENSSL_malloc(sizeof *ctx); local 133 if (ctx) 134 EVP_MD_CTX_init(ctx); 136 return ctx; 139 int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type) 141 EVP_MD_CTX_init(ctx); 354 EVP_MD_CTX ctx; local [all...] |
bio_ok.c | 179 BIO_OK_CTX *ctx; local 181 ctx=(BIO_OK_CTX *)OPENSSL_malloc(sizeof(BIO_OK_CTX)); 182 if (ctx == NULL) return(0); 184 ctx->buf_len=0; 185 ctx->buf_off=0; 186 ctx->buf_len_save=0; 187 ctx->buf_off_save=0; 188 ctx->cont=1; 189 ctx->finished=0; 190 ctx->blockout= 0 216 BIO_OK_CTX *ctx; local 301 BIO_OK_CTX *ctx; local 365 BIO_OK_CTX *ctx; local 481 BIO_OK_CTX *ctx; local 514 BIO_OK_CTX *ctx; local 558 BIO_OK_CTX *ctx; local 585 BIO_OK_CTX *ctx; local [all...] |
/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);
|
crypto_internal.c | 34 struct crypto_hash *ctx; local 39 ctx = os_zalloc(sizeof(*ctx)); 40 if (ctx == NULL) 43 ctx->alg = alg; 47 MD5Init(&ctx->u.md5); 50 SHA1Init(&ctx->u.sha1); 54 sha256_init(&ctx->u.sha256); 59 MD5Init(&ctx->u.md5); 60 MD5Update(&ctx->u.md5, key, key_len) [all...] |
/external/emma/core/java12/com/vladium/emma/report/ |
AbstractItemVisitor.java | 20 public Object visit (final AllItem item, final Object ctx) 22 return ctx; 25 public Object visit (final PackageItem item, final Object ctx) 27 return ctx; 30 public Object visit (final SrcFileItem item, final Object ctx) 32 return ctx; 35 public Object visit (final ClassItem item, final Object ctx) 37 return ctx; 40 public Object visit (final MethodItem item, final Object ctx) 42 return ctx; [all...] |
/external/e2fsprogs/e2fsck/ |
dx_dirinfo.c | 16 void e2fsck_add_dx_dir(e2fsck_t ctx, ext2_ino_t ino, int num_blocks) 26 if (!ctx->dx_dir_info) { 27 ctx->dx_dir_info_count = 0; 28 ctx->dx_dir_info_size = 100; /* Guess */ 29 ctx->dx_dir_info = (struct dx_dir_info *) 30 e2fsck_allocate_memory(ctx, ctx->dx_dir_info_size 35 if (ctx->dx_dir_info_count >= ctx->dx_dir_info_size) { 36 old_size = ctx->dx_dir_info_size * sizeof(struct dx_dir_info) [all...] |
e2fsck.c | 54 errcode_t e2fsck_reset_context(e2fsck_t ctx) 58 ctx->flags &= E2F_RESET_FLAGS; 59 ctx->lost_and_found = 0; 60 ctx->bad_lost_and_found = 0; 61 if (ctx->inode_used_map) { 62 ext2fs_free_inode_bitmap(ctx->inode_used_map); 63 ctx->inode_used_map = 0; 65 if (ctx->inode_dir_map) { 66 ext2fs_free_inode_bitmap(ctx->inode_dir_map); 67 ctx->inode_dir_map = 0 [all...] |
pass4.c | 27 static int disconnect_inode(e2fsck_t ctx, ext2_ino_t i, 30 ext2_filsys fs = ctx->fs; 36 e2fsck_read_inode_full(ctx, i, inode,EXT2_INODE_SIZE(fs->super), 40 e2fsck_read_inode(ctx, i, inode, "pass4: disconnect_inode"); 57 if (fix_problem(ctx, PR_4_ZERO_LEN_INODE, &pctx)) { 58 e2fsck_clear_inode(ctx, i, inode, 0, 63 e2fsck_read_bitmaps(ctx); 73 if (fix_problem(ctx, PR_4_UNATTACHED_INODE, &pctx)) { 74 if (e2fsck_reconnect_file(ctx, i)) 89 void e2fsck_pass4(e2fsck_t ctx) [all...] |
/external/emma/core/java12/com/vladium/jcd/cls/ |
AbstractClassDefVisitor.java | 22 public Object visit (final ClassDef cls, final Object ctx) 24 visit (cls.getConstants (), ctx); local 25 visit (cls.getInterfaces (), ctx); local 26 visit (cls.getFields (), ctx); local 27 visit (cls.getMethods (), ctx); local 28 visit (cls.getAttributes (), ctx); local 30 return ctx; 33 public Object visit (final IAttributeCollection attributes, final Object ctx) 35 return ctx; 38 public Object visit (final IConstantCollection constants, final Object ctx) [all...] |
/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/libvpx/libvpx/vpx/src/ |
vpx_codec.c | 21 #define SAVE_STATUS(ctx,var) (ctx?(ctx->err = var):var) 75 const char *vpx_codec_error(vpx_codec_ctx_t *ctx) 77 return (ctx) ? vpx_codec_err_to_string(ctx->err) 81 const char *vpx_codec_error_detail(vpx_codec_ctx_t *ctx) 83 if (ctx && ctx->err) 84 return ctx->priv ? ctx->priv->err_detail : ctx->err_detail [all...] |
/external/openssl/crypto/ |
LPdir_win.c | 50 WIN32_FIND_DATA ctx; member in struct:LP_dir_context_st 55 const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) 57 if (ctx == NULL || directory == NULL) 64 if (*ctx == NULL) 66 *ctx = (LP_DIR_CTX *)malloc(sizeof(LP_DIR_CTX)); 67 if (*ctx == NULL) 72 memset(*ctx, '\0', sizeof(LP_DIR_CTX)); 83 free(*ctx); 84 *ctx = NULL; 95 (*ctx)->handle = FindFirstFile(wdir, &(*ctx)->ctx) [all...] |
LPdir_unix.c | 65 const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) 69 if (ctx == NULL || directory == NULL) 76 if (*ctx == NULL) 78 *ctx = (LP_DIR_CTX *)malloc(sizeof(LP_DIR_CTX)); 79 if (*ctx == NULL) 84 memset(*ctx, '\0', sizeof(LP_DIR_CTX)); 86 (*ctx)->dir = opendir(directory); 87 if ((*ctx)->dir == NULL) 90 free(*ctx); 91 *ctx = NULL [all...] |
/device/generic/goldfish/opengl/system/GLESv2_enc/ |
gl2_client_proc.h | 12 typedef void (gl2_APIENTRY *glActiveTexture_client_proc_t) (void * ctx, GLenum); 13 typedef void (gl2_APIENTRY *glAttachShader_client_proc_t) (void * ctx, GLuint, GLuint); 14 typedef void (gl2_APIENTRY *glBindAttribLocation_client_proc_t) (void * ctx, GLuint, GLuint, const GLchar*); 15 typedef void (gl2_APIENTRY *glBindBuffer_client_proc_t) (void * ctx, GLenum, GLuint); 16 typedef void (gl2_APIENTRY *glBindFramebuffer_client_proc_t) (void * ctx, GLenum, GLuint); 17 typedef void (gl2_APIENTRY *glBindRenderbuffer_client_proc_t) (void * ctx, GLenum, GLuint); 18 typedef void (gl2_APIENTRY *glBindTexture_client_proc_t) (void * ctx, GLenum, GLuint); 19 typedef void (gl2_APIENTRY *glBlendColor_client_proc_t) (void * ctx, GLclampf, GLclampf, GLclampf, GLclampf); 20 typedef void (gl2_APIENTRY *glBlendEquation_client_proc_t) (void * ctx, GLenum); 21 typedef void (gl2_APIENTRY *glBlendEquationSeparate_client_proc_t) (void * ctx, GLenum, GLenum) [all...] |
/external/wpa_supplicant_8/src/utils/ |
edit.h | 12 int edit_init(void (*cmd_cb)(void *ctx, char *cmd), 13 void (*eof_cb)(void *ctx), 14 char ** (*completion_cb)(void *ctx, const char *cmd, int pos), 15 void *ctx, const char *history_file, const char *ps); 17 int (*filter_cb)(void *ctx, const char *cmd));
|
/external/openssl/crypto/cmac/ |
cmac.c | 99 CMAC_CTX *ctx; local 100 ctx = OPENSSL_malloc(sizeof(CMAC_CTX)); 101 if (!ctx) 103 EVP_CIPHER_CTX_init(&ctx->cctx); 104 ctx->nlast_block = -1; 105 return ctx; 108 void CMAC_CTX_cleanup(CMAC_CTX *ctx) 111 if (FIPS_mode() && !ctx->cctx.engine) 113 FIPS_cmac_ctx_cleanup(ctx); 117 EVP_CIPHER_CTX_cleanup(&ctx->cctx) [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
lookahead.c | 30 pop(struct lookahead_ctx *ctx, 34 struct lookahead_entry *buf = ctx->buf + index; 36 assert(index < ctx->max_sz); 37 if(++index >= ctx->max_sz) 38 index -= ctx->max_sz; 45 vp8_lookahead_destroy(struct lookahead_ctx *ctx) 47 if(ctx) 49 if(ctx->buf) 53 for(i = 0; i < ctx->max_sz; i++) 54 vp8_yv12_de_alloc_frame_buffer(&ctx->buf[i].img) 67 struct lookahead_ctx *ctx = NULL; local [all...] |
/device/generic/goldfish/opengl/system/renderControl_enc/ |
renderControl_client_proc.h | 12 typedef GLint (renderControl_APIENTRY *rcGetRendererVersion_client_proc_t) (void * ctx); 13 typedef EGLint (renderControl_APIENTRY *rcGetEGLVersion_client_proc_t) (void * ctx, EGLint*, EGLint*); 14 typedef EGLint (renderControl_APIENTRY *rcQueryEGLString_client_proc_t) (void * ctx, EGLenum, void*, EGLint); 15 typedef EGLint (renderControl_APIENTRY *rcGetGLString_client_proc_t) (void * ctx, EGLenum, void*, EGLint); 16 typedef EGLint (renderControl_APIENTRY *rcGetNumConfigs_client_proc_t) (void * ctx, uint32_t*); 17 typedef EGLint (renderControl_APIENTRY *rcGetConfigs_client_proc_t) (void * ctx, uint32_t, GLuint*); 18 typedef EGLint (renderControl_APIENTRY *rcChooseConfig_client_proc_t) (void * ctx, EGLint*, uint32_t, uint32_t*, uint32_t); 19 typedef EGLint (renderControl_APIENTRY *rcGetFBParam_client_proc_t) (void * ctx, EGLint); 20 typedef uint32_t (renderControl_APIENTRY *rcCreateContext_client_proc_t) (void * ctx, uint32_t, uint32_t, uint32_t); 21 typedef void (renderControl_APIENTRY *rcDestroyContext_client_proc_t) (void * ctx, uint32_t) [all...] |
/external/openssh/ |
gss-genr.c | 50 ssh_gssapi_check_oid(Gssctxt *ctx, void *data, size_t len) 52 return (ctx != NULL && ctx->oid != GSS_C_NO_OID && 53 ctx->oid->length == len && 54 memcmp(ctx->oid->elements, data, len) == 0); 59 ssh_gssapi_set_oid_data(Gssctxt *ctx, void *data, size_t len) 61 if (ctx->oid != GSS_C_NO_OID) { 62 xfree(ctx->oid->elements); 63 xfree(ctx->oid); 65 ctx->oid = xmalloc(sizeof(gss_OID_desc)) 95 OM_uint32 ctx; local [all...] |
/external/openssl/crypto/asn1/ |
bio_asn1.c | 122 static int asn1_bio_init(BIO_ASN1_BUF_CTX *ctx, int size); 123 static int asn1_bio_flush_ex(BIO *b, BIO_ASN1_BUF_CTX *ctx, 125 static int asn1_bio_setup_ex(BIO *b, BIO_ASN1_BUF_CTX *ctx, 152 BIO_ASN1_BUF_CTX *ctx; local 153 ctx = OPENSSL_malloc(sizeof(BIO_ASN1_BUF_CTX)); 154 if (!ctx) 156 if (!asn1_bio_init(ctx, DEFAULT_ASN1_BUF_SIZE)) 159 b->ptr = (char *)ctx; 164 static int asn1_bio_init(BIO_ASN1_BUF_CTX *ctx, int size) 166 ctx->buf = OPENSSL_malloc(size) 184 BIO_ASN1_BUF_CTX *ctx; local 199 BIO_ASN1_BUF_CTX *ctx; local 373 BIO_ASN1_BUF_CTX *ctx; local [all...] |