/external/openssl/crypto/evp/ |
H A D | m_sigver.c | 66 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->pctx) <= 0) 101 if (ctx->pctx 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 [all...] |
H A D | pmeth_lib.c | 252 EVP_PKEY_CTX *EVP_PKEY_CTX_dup(EVP_PKEY_CTX *pctx) argument 255 if (!pctx->pmeth || !pctx->pmeth->copy) 259 if (pctx->engine && !ENGINE_init(pctx->engine)) 269 rctx->pmeth = pctx->pmeth; 271 rctx->engine = pctx->engine; 274 if (pctx->pkey) 275 CRYPTO_add(&pctx->pkey->references,1,CRYPTO_LOCK_EVP_PKEY); 277 rctx->pkey = pctx [all...] |
H A D | digest.c | 218 if (ctx->pctx) 221 r = EVP_PKEY_CTX_ctrl(ctx->pctx, -1, EVP_PKEY_OP_TYPE_SIG, 313 if (in->pctx) 315 out->pctx = EVP_PKEY_CTX_dup(in->pctx); 316 if (!out->pctx) 366 if (ctx->pctx) 367 EVP_PKEY_CTX_free(ctx->pctx);
|
H A D | bio_md.c | 170 EVP_MD_CTX *ctx,*dctx,**pctx; local 198 pctx=ptr; 199 *pctx=ctx;
|
H A D | p_lib.c | 434 int indent, ASN1_PCTX *pctx) 437 return pkey->ameth->pub_print(out, pkey, indent, pctx); 443 int indent, ASN1_PCTX *pctx) 446 return pkey->ameth->priv_print(out, pkey, indent, pctx); 452 int indent, ASN1_PCTX *pctx) 455 return pkey->ameth->param_print(out, pkey, indent, pctx); 433 EVP_PKEY_print_public(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx) argument 442 EVP_PKEY_print_private(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx) argument 451 EVP_PKEY_print_params(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx) argument
|
/external/e2fsprogs/e2fsck/ |
H A D | pass5.c | 26 struct problem_context pctx; local 36 clear_problem_context(&pctx); 39 fix_problem(ctx, PR_5_PASS_HEADER, &pctx); 78 struct problem_context *pctx) 82 if (pctx->blk == pctx->blk2) 83 pctx->blk2 = 0; 88 if (pctx->blk == pctx->blk2) 89 pctx 77 print_bitmap_problem(e2fsck_t ctx, int problem, struct problem_context *pctx) argument 121 struct problem_context pctx; local 322 struct problem_context pctx; local 518 struct problem_context pctx; local 562 struct problem_context pctx; local [all...] |
H A D | pass3.c | 46 struct problem_context *pctx); 59 struct problem_context pctx; local 67 clear_problem_context(&pctx); 74 fix_problem(ctx, PR_3_PASS_HEADER, &pctx); 79 pctx.errcode = ext2fs_allocate_inode_bitmap(fs, _("inode done bitmap"), 81 if (pctx.errcode) { 82 pctx.num = 2; 83 fix_problem(ctx, PR_3_ALLOCATE_IBITMAP_ERROR, &pctx); 114 if (check_directory(ctx, dir->ino, &pctx)) 160 struct problem_context pctx; local 272 check_directory(e2fsck_t ctx, ext2_ino_t dir, struct problem_context *pctx) argument 376 struct problem_context pctx; local 518 struct problem_context pctx; local 621 struct problem_context pctx; local 657 struct problem_context pctx; local [all...] |
H A D | pass1.c | 64 static void check_blocks(e2fsck_t ctx, struct problem_context *pctx, 89 struct problem_context *pctx; member in struct:process_block_struct 213 static void check_immutable(e2fsck_t ctx, struct problem_context *pctx) argument 215 if (!(pctx->inode->i_flags & BAD_SPECIAL_FLAGS)) 218 if (!fix_problem(ctx, PR_1_SET_IMMUTABLE, pctx)) 221 pctx->inode->i_flags &= ~BAD_SPECIAL_FLAGS; 222 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1"); 229 static void check_size(e2fsck_t ctx, struct problem_context *pctx) argument 231 struct ext2_inode *inode = pctx 244 check_ea_in_inode(e2fsck_t ctx, struct problem_context *pctx) argument 323 check_inode_extra_space(e2fsck_t ctx, struct problem_context *pctx) argument 373 check_is_really_dir(e2fsck_t ctx, struct problem_context *pctx, char *buf) argument 479 struct problem_context pctx; local 1055 struct problem_context pctx; local 1111 struct problem_context pctx; local 1135 struct problem_context pctx; local 1155 struct problem_context pctx; local 1179 struct problem_context pctx; local 1214 struct problem_context pctx; local 1251 check_ext_attr(e2fsck_t ctx, struct problem_context *pctx, char *block_buf) argument 1418 handle_htree(e2fsck_t ctx, struct problem_context *pctx, ext2_ino_t ino EXT2FS_ATTR((unused)), struct ext2_inode *inode, char *block_buf) argument 1475 check_blocks(e2fsck_t ctx, struct problem_context *pctx, char *block_buf) argument 1718 struct problem_context *pctx; local 1868 struct problem_context *pctx; local 2029 struct problem_context pctx; local 2122 struct problem_context pctx; local [all...] |
H A D | pass2.c | 68 char *buf, struct problem_context *pctx); 82 struct problem_context pctx; member in struct:check_dir_struct 90 struct problem_context pctx; local 108 clear_problem_context(&cd.pctx); 115 fix_problem(ctx, PR_2_PASS_HEADER, &cd.pctx); 120 cd.pctx.errcode = 0; 122 cd.pctx.errcode = ext2fs_create_icount2(fs, 126 if (cd.pctx.errcode) { 127 fix_problem(ctx, PR_2_ALLOCATE_ICOUNT, &cd.pctx); 152 cd.pctx 350 check_dot(e2fsck_t ctx, struct ext2_dir_entry *dirent, ext2_ino_t ino, struct problem_context *pctx) argument 409 check_dotdot(e2fsck_t ctx, struct ext2_dir_entry *dirent, ext2_ino_t ino, struct problem_context *pctx) argument 453 check_name(e2fsck_t ctx, struct ext2_dir_entry *dirent, ext2_ino_t dir_ino EXT2FS_ATTR((unused)), struct problem_context *pctx) argument 479 check_filetype(e2fsck_t ctx, struct ext2_dir_entry *dirent, ext2_ino_t dir_ino EXT2FS_ATTR((unused)), struct problem_context *pctx) argument 722 struct problem_context pctx; local 1109 struct problem_context pctx; local 1191 struct problem_context pctx; local 1325 allocate_dir_block(e2fsck_t ctx, struct ext2_db_entry *db, char *buf EXT2FS_ATTR((unused)), struct problem_context *pctx) argument [all...] |
H A D | pass4.c | 30 struct problem_context pctx; local 33 clear_problem_context(&pctx); 34 pctx.ino = i; 35 pctx.inode = &inode; 45 if (fix_problem(ctx, PR_4_ZERO_LEN_INODE, &pctx)) { 66 if (fix_problem(ctx, PR_4_UNATTACHED_INODE, &pctx)) { 90 struct problem_context pctx; local 103 clear_problem_context(&pctx); 106 fix_problem(ctx, PR_4_PASS_HEADER, &pctx); 150 pctx [all...] |
H A D | pass1b.c | 210 struct problem_context pctx; local 212 clear_problem_context(&pctx); 214 pctx.errcode = ext2fs_allocate_inode_bitmap(fs, 216 if (pctx.errcode) { 217 fix_problem(ctx, PR_1B_ALLOCATE_IBITMAP_ERROR, &pctx); 247 struct problem_context *pctx; member in struct:process_block_struct 257 struct problem_context pctx; local 259 clear_problem_context(&pctx); 262 fix_problem(ctx, PR_1B_PASS_HEADER, &pctx); 263 pctx 394 struct problem_context pctx; local 422 struct problem_context pctx; local 582 struct problem_context pctx; local 715 struct problem_context pctx; local [all...] |
H A D | super.c | 29 struct problem_context pctx; local 33 clear_problem_context(&pctx); 34 pctx.num = value; 35 pctx.str = descr; 36 fix_problem(ctx, PR_0_MISC_CORRUPT_SUPER, &pctx); 47 struct problem_context *pctx; member in struct:process_block_struct 65 struct problem_context *pctx; local 71 pctx = pb->pctx; 73 pctx 153 release_inode_blocks(e2fsck_t ctx, ext2_ino_t ino, struct ext2_inode *inode, char *block_buf, struct problem_context *pctx) argument 230 struct problem_context pctx; local 312 struct problem_context pctx; local 433 struct problem_context pctx; local 469 struct problem_context pctx; local [all...] |
H A D | journal.c | 225 struct problem_context pctx; local 237 clear_problem_context(&pctx); 349 fix_problem(ctx, PR_0_CANT_FIND_JOURNAL, &pctx); 394 fix_problem(ctx, PR_0_EXT_JOURNAL_BAD_SUPER, &pctx); 401 fix_problem(ctx, PR_0_JOURNAL_BAD_UUID, &pctx); 439 struct problem_context *pctx) 449 pctx->ino = sb->s_journal_inum; 450 if (fix_problem(ctx, PR_0_JOURNAL_BAD_INODE, pctx)) { 463 if (fix_problem(ctx, PR_0_JOURNAL_RECOVER_SET, pctx)) { 476 struct problem_context pctx; local 438 e2fsck_journal_fix_bad_inode(e2fsck_t ctx, struct problem_context *pctx) argument 494 struct problem_context pctx; local 625 e2fsck_journal_fix_corrupt_super(e2fsck_t ctx, journal_t *journal, struct problem_context *pctx) argument 689 struct problem_context pctx; local 887 struct problem_context pctx; local 1009 struct problem_context pctx; local [all...] |
H A D | message.c | 216 struct problem_context *pctx, 232 print_e2fsck_message(ctx, str, pctx, *first, recurse+1); 459 struct problem_context *pctx, int first, 470 expand_at_expression(ctx, *cp, pctx, &first, recurse); 473 expand_inode_expression(*cp, pctx); 476 expand_dirent_expression(*cp, pctx); 479 expand_percent_expression(fs, *cp, pctx); 215 expand_at_expression(e2fsck_t ctx, char ch, struct problem_context *pctx, int *first, int recurse) argument 458 print_e2fsck_message(e2fsck_t ctx, const char *msg, struct problem_context *pctx, int first, int recurse) argument
|
H A D | rehash.c | 335 struct problem_context pctx; local 343 clear_problem_context(&pctx); 344 pctx.ino = ino; 360 pctx.dirent = ent->dir; 362 fix_problem(ctx, PR_2_DUPLICATE_DIRENT, &pctx)) { 383 pctx.str = new_name; 384 if (fix_problem(ctx, PR_2_NON_UNIQUE_FILE, &pctx)) { 780 struct problem_context pctx; local 802 clear_problem_context(&pctx); 813 pctx [all...] |
H A D | unix.c | 887 struct problem_context pctx; local 893 clear_problem_context(&pctx); 1021 fix_problem(ctx, PR_0_SB_CORRUPT, &pctx); 1041 fix_problem(ctx, PR_0_SB_CORRUPT, &pctx); 1061 pctx.errcode = ext2fs_get_device_size(ctx->filesystem_name, 1071 if (pctx.errcode == EBUSY) { 1074 pctx.errcode = 1079 if (pctx.errcode == EXT2_ET_UNIMPLEMENTED) 1081 else if (pctx.errcode) { 1082 fix_problem(ctx, PR_0_GETSIZE_ERROR, &pctx); [all...] |
H A D | problem.c | 1553 struct problem_context pctx; local 1558 clear_problem_context(&pctx); 1559 answer = fix_problem(ctx, ldesc->end_message, &pctx); 1609 int fix_problem(e2fsck_t ctx, problem_t code, struct problem_context *pctx) argument 1658 ans = fix_problem(ctx, ldesc->question, pctx); 1682 print_e2fsck_message(ctx, _(message), pctx, 1, 0); 1723 answer = fix_problem(ctx, ptr->second_code, pctx);
|
/external/openssl/crypto/asn1/ |
H A D | tasn_prn.c | 162 int nohdr, const ASN1_PCTX *pctx); 165 const ASN1_TEMPLATE *tt, const ASN1_PCTX *pctx); 170 const ASN1_PCTX *pctx); 174 const ASN1_PCTX *pctx); 177 const ASN1_ITEM *it, const ASN1_PCTX *pctx) 180 if (pctx == NULL) 181 pctx = &default_pctx; 182 if (pctx->flags & ASN1_PCTX_FLAGS_NO_STRUCT_NAME) 187 NULL, sname, 0, pctx); 193 int nohdr, const ASN1_PCTX *pctx) 176 ASN1_item_print(BIO *out, ASN1_VALUE *ifld, int indent, const ASN1_ITEM *it, const ASN1_PCTX *pctx) argument 190 asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, const ASN1_ITEM *it, const char *fname, const char *sname, int nohdr, const ASN1_PCTX *pctx) argument 339 asn1_template_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, const ASN1_TEMPLATE *tt, const ASN1_PCTX *pctx) argument 400 asn1_print_fsname(BIO *out, int indent, const char *fname, const char *sname, const ASN1_PCTX *pctx) argument 449 asn1_print_boolean_ctx(BIO *out, const int bool, const ASN1_PCTX *pctx) argument 475 asn1_print_integer_ctx(BIO *out, ASN1_INTEGER *str, const ASN1_PCTX *pctx) argument 487 asn1_print_oid_ctx(BIO *out, const ASN1_OBJECT *oid, const ASN1_PCTX *pctx) argument 501 asn1_print_obstring_ctx(BIO *out, ASN1_STRING *str, int indent, const ASN1_PCTX *pctx) argument 519 asn1_primitive_print(BIO *out, ASN1_VALUE **fld, const ASN1_ITEM *it, int indent, const char *fname, const char *sname, const ASN1_PCTX *pctx) argument [all...] |
H A D | asn1_locl.h | 87 ASN1_PCTX *pctx); 92 ASN1_PCTX *pctx); 104 ASN1_PCTX *pctx);
|
H A D | x_long.c | 74 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx); 176 int indent, const ASN1_PCTX *pctx) 175 long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) argument
|
H A D | ameth_lib.c | 398 ASN1_PCTX *pctx), 414 ASN1_PCTX *pctx)) 429 ASN1_PCTX *pctx)) 393 EVP_PKEY_asn1_set_public(EVP_PKEY_ASN1_METHOD *ameth, int (*pub_decode)(EVP_PKEY *pk, X509_PUBKEY *pub), int (*pub_encode)(X509_PUBKEY *pub, const EVP_PKEY *pk), int (*pub_cmp)(const EVP_PKEY *a, const EVP_PKEY *b), int (*pub_print)(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx), int (*pkey_size)(const EVP_PKEY *pk), int (*pkey_bits)(const EVP_PKEY *pk)) argument 410 EVP_PKEY_asn1_set_private(EVP_PKEY_ASN1_METHOD *ameth, int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf), int (*priv_encode)(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pk), int (*priv_print)(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx)) argument 421 EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth, int (*param_decode)(EVP_PKEY *pkey, const unsigned char **pder, int derlen), int (*param_encode)(const EVP_PKEY *pkey, unsigned char **pder), int (*param_missing)(const EVP_PKEY *pk), int (*param_copy)(EVP_PKEY *to, const EVP_PKEY *from), int (*param_cmp)(const EVP_PKEY *a, const EVP_PKEY *b), int (*param_print)(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx)) argument
|
/external/openssl/apps/ |
H A D | genpkey.c | 68 static int init_keygen_file(BIO *err, EVP_PKEY_CTX **pctx, 315 static int init_keygen_file(BIO *err, EVP_PKEY_CTX **pctx, argument 321 if (*pctx) 349 *pctx = ctx; 363 int init_gen_str(BIO *err, EVP_PKEY_CTX **pctx, argument 371 if (*pctx) 412 *pctx = ctx;
|
H A D | dgst.c | 409 EVP_PKEY_CTX *pctx = NULL; local 418 r = EVP_DigestVerifyInit(mctx, &pctx, md, e, sigkey); 420 r = EVP_DigestSignInit(mctx, &pctx, md, e, sigkey); 433 if (pkey_ctrl_string(pctx, sigopt) <= 0)
|
/external/openssl/crypto/pkcs7/ |
H A D | pk7_doit.c | 144 EVP_PKEY_CTX *pctx = NULL; local 155 pctx = EVP_PKEY_CTX_new(pkey, NULL); 156 if (!pctx) 159 if (EVP_PKEY_encrypt_init(pctx) <= 0) 162 if (EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_ENCRYPT, 169 if (EVP_PKEY_encrypt(pctx, NULL, &eklen, key, keylen) <= 0) 180 if (EVP_PKEY_encrypt(pctx, ek, &eklen, key, keylen) <= 0) 191 if (pctx) 192 EVP_PKEY_CTX_free(pctx); 203 EVP_PKEY_CTX *pctx local 859 EVP_PKEY_CTX *pctx; local [all...] |
/external/webkit/WebKit/win/ |
H A D | WebFrame.cpp | 1967 void WebFrame::drawHeader(PlatformGraphicsContext* pctx, IWebUIDelegate* ui, const IntRect& pageRect, float headerHeight) argument 1972 ui->drawHeaderInRect(d->webView, &headerRect, static_cast<OLE_HANDLE>(reinterpret_cast<LONG64>(pctx))); 1975 void WebFrame::drawFooter(PlatformGraphicsContext* pctx, IWebUIDelegate* ui, const IntRect& pageRect, UINT page, UINT pageCount, float headerHeight, float footerHeight) argument 1980 ui->drawFooterInRect(d->webView, &footerRect, static_cast<OLE_HANDLE>(reinterpret_cast<LONG64>(pctx)), page+1, pageCount); 1983 void WebFrame::spoolPage(PlatformGraphicsContext* pctx, GraphicsContext* spoolCtx, HDC printDC, IWebUIDelegate* ui, float headerHeight, float footerHeight, UINT page, UINT pageCount) argument 1989 CGContextSaveGState(pctx); 1997 CGContextBeginPage(pctx, &mediaBox); 2000 CGAffineTransform ctm = CGContextGetBaseCTM(pctx); 2003 CGContextScaleCTM(pctx, scale, scale); 2004 CGContextTranslateCTM(pctx, CGFloa 2038 hdcFromContext(PlatformGraphicsContext* pctx) argument 2044 drawHeader(PlatformGraphicsContext* pctx, IWebUIDelegate* ui, const IntRect& pageRect, float headerHeight) argument 2057 drawFooter(PlatformGraphicsContext* pctx, IWebUIDelegate* ui, const IntRect& pageRect, UINT page, UINT pageCount, float headerHeight, float footerHeight) argument 2070 spoolPage(PlatformGraphicsContext* pctx, GraphicsContext* spoolCtx, HDC printDC, IWebUIDelegate* ui, float headerHeight, float footerHeight, UINT page, UINT pageCount) argument 2157 PlatformGraphicsContext* pctx = (PlatformGraphicsContext*)ctx; local [all...] |