/external/e2fsprogs/e2fsck/ |
D | pass1.c | 64 static void check_blocks(e2fsck_t ctx, struct problem_context *pctx, 91 struct problem_context *pctx; member 240 static void check_immutable(e2fsck_t ctx, struct problem_context *pctx) in check_immutable() argument 242 if (!(pctx->inode->i_flags & BAD_SPECIAL_FLAGS)) in check_immutable() 245 if (!fix_problem(ctx, PR_1_SET_IMMUTABLE, pctx)) in check_immutable() 248 pctx->inode->i_flags &= ~BAD_SPECIAL_FLAGS; in check_immutable() 249 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1"); in check_immutable() 256 static void check_size(e2fsck_t ctx, struct problem_context *pctx) in check_size() argument 258 struct ext2_inode *inode = pctx->inode; in check_size() 263 if (!fix_problem(ctx, PR_1_SET_NONZSIZE, pctx)) in check_size() [all …]
|
D | pass5.c | 35 struct problem_context pctx; in e2fsck_pass5() local 42 clear_problem_context(&pctx); in e2fsck_pass5() 45 fix_problem(ctx, PR_5_PASS_HEADER, &pctx); in e2fsck_pass5() 154 struct problem_context *pctx) in print_bitmap_problem() argument 158 if (pctx->blk == pctx->blk2) in print_bitmap_problem() 159 pctx->blk2 = 0; in print_bitmap_problem() 164 if (pctx->blk == pctx->blk2) in print_bitmap_problem() 165 pctx->blk2 = 0; in print_bitmap_problem() 170 if (pctx->ino == pctx->ino2) in print_bitmap_problem() 171 pctx->ino2 = 0; in print_bitmap_problem() [all …]
|
D | pass3.c | 46 struct problem_context *pctx); 59 struct problem_context pctx; in e2fsck_pass3() local 64 clear_problem_context(&pctx); in e2fsck_pass3() 71 fix_problem(ctx, PR_3_PASS_HEADER, &pctx); in e2fsck_pass3() 76 pctx.errcode = e2fsck_allocate_inode_bitmap(fs, _("inode done bitmap"), in e2fsck_pass3() 79 if (pctx.errcode) { in e2fsck_pass3() 80 pctx.num = 2; in e2fsck_pass3() 81 fix_problem(ctx, PR_3_ALLOCATE_IBITMAP_ERROR, &pctx); in e2fsck_pass3() 107 if (check_directory(ctx, dir->ino, &pctx)) in e2fsck_pass3() 149 struct problem_context pctx; in check_root() local [all …]
|
D | pass2.c | 68 char *buf, struct problem_context *pctx); 76 struct problem_context pctx; member 84 struct problem_context pctx; in e2fsck_pass2() local 100 clear_problem_context(&cd.pctx); in e2fsck_pass2() 107 fix_problem(ctx, PR_2_PASS_HEADER, &cd.pctx); in e2fsck_pass2() 112 cd.pctx.errcode = 0; in e2fsck_pass2() 116 cd.pctx.errcode = ext2fs_create_icount2(fs, in e2fsck_pass2() 122 if (cd.pctx.errcode) { in e2fsck_pass2() 123 fix_problem(ctx, PR_2_ALLOCATE_ICOUNT, &cd.pctx); in e2fsck_pass2() 148 cd.pctx.errcode = ext2fs_dblist_iterate2(fs->dblist, check_dir_block, in e2fsck_pass2() [all …]
|
D | super.c | 30 struct problem_context pctx; in check_super_value() local 35 clear_problem_context(&pctx); in check_super_value() 36 pctx.num = value; in check_super_value() 37 pctx.str = descr; in check_super_value() 38 fix_problem(ctx, PR_0_MISC_CORRUPT_SUPER, &pctx); in check_super_value() 49 struct problem_context *pctx; member 67 struct problem_context *pctx; in release_inode_block() local 73 pctx = pb->pctx; in release_inode_block() 75 pctx->blk = blk; in release_inode_block() 76 pctx->blkcount = blockcnt; in release_inode_block() [all …]
|
D | pass1b.c | 213 struct problem_context pctx; in e2fsck_pass1_dupblocks() local 218 clear_problem_context(&pctx); in e2fsck_pass1_dupblocks() 220 pctx.errcode = e2fsck_allocate_inode_bitmap(fs, in e2fsck_pass1_dupblocks() 224 if (pctx.errcode) { in e2fsck_pass1_dupblocks() 225 fix_problem(ctx, PR_1B_ALLOCATE_IBITMAP_ERROR, &pctx); in e2fsck_pass1_dupblocks() 265 struct problem_context *pctx; member 275 struct problem_context pctx; in pass1b() local 277 clear_problem_context(&pctx); in pass1b() 280 fix_problem(ctx, PR_1B_PASS_HEADER, &pctx); in pass1b() 281 pctx.errcode = ext2fs_open_inode_scan(fs, ctx->inode_buffer_blocks, in pass1b() [all …]
|
D | pass4.c | 31 struct problem_context pctx; in disconnect_inode() local 42 clear_problem_context(&pctx); in disconnect_inode() 43 pctx.ino = i; in disconnect_inode() 44 pctx.inode = inode; in disconnect_inode() 57 if (fix_problem(ctx, PR_4_ZERO_LEN_INODE, &pctx)) { in disconnect_inode() 74 if (fix_problem(ctx, PR_4_UNATTACHED_INODE, &pctx)) { in disconnect_inode() 98 struct problem_context pctx; in e2fsck_pass4() local 109 clear_problem_context(&pctx); in e2fsck_pass4() 112 fix_problem(ctx, PR_4_PASS_HEADER, &pctx); in e2fsck_pass4() 164 pctx.ino = i; in e2fsck_pass4() [all …]
|
D | journal.c | 232 struct problem_context pctx; in e2fsck_get_journal() local 244 clear_problem_context(&pctx); in e2fsck_get_journal() 358 fix_problem(ctx, PR_0_CANT_FIND_JOURNAL, &pctx); in e2fsck_get_journal() 416 fix_problem(ctx, PR_0_EXT_JOURNAL_BAD_SUPER, &pctx); in e2fsck_get_journal() 423 fix_problem(ctx, PR_0_JOURNAL_BAD_UUID, &pctx); in e2fsck_get_journal() 462 struct problem_context *pctx) in e2fsck_journal_fix_bad_inode() argument 472 pctx->ino = sb->s_journal_inum; in e2fsck_journal_fix_bad_inode() 473 if (fix_problem(ctx, PR_0_JOURNAL_BAD_INODE, pctx)) { in e2fsck_journal_fix_bad_inode() 486 if (fix_problem(ctx, PR_0_JOURNAL_RECOVER_SET, pctx)) { in e2fsck_journal_fix_bad_inode() 499 struct problem_context pctx; in clear_v2_journal_fields() local [all …]
|
D | quota.c | 53 struct problem_context pctx; in e2fsck_hide_quota() local 56 clear_problem_context(&pctx); in e2fsck_hide_quota() 62 pctx.ino = sb->s_usr_quota_inum; in e2fsck_hide_quota() 65 fix_problem(ctx, PR_0_HIDE_QUOTA, &pctx)) { in e2fsck_hide_quota() 71 pctx.ino = sb->s_grp_quota_inum; in e2fsck_hide_quota() 74 fix_problem(ctx, PR_0_HIDE_QUOTA, &pctx)) { in e2fsck_hide_quota()
|
/external/openssl/crypto/evp/ |
D | m_sigver.c | 66 static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, in do_sigver_init() argument 70 if (ctx->pctx == NULL) in do_sigver_init() 71 ctx->pctx = EVP_PKEY_CTX_new(pkey, e); in do_sigver_init() 72 if (ctx->pctx == NULL) in do_sigver_init() 90 if (ctx->pctx->pmeth->verifyctx_init) in do_sigver_init() 92 if (ctx->pctx->pmeth->verifyctx_init(ctx->pctx, ctx) <=0) in do_sigver_init() 94 ctx->pctx->operation = EVP_PKEY_OP_VERIFYCTX; in do_sigver_init() 96 else if (EVP_PKEY_verify_init(ctx->pctx) <= 0) in do_sigver_init() 101 if (ctx->pctx->pmeth->signctx_init) in do_sigver_init() 103 if (ctx->pctx->pmeth->signctx_init(ctx->pctx, ctx) <= 0) in do_sigver_init() [all …]
|
/external/chromium_org/third_party/boringssl/src/crypto/evp/ |
D | digestsign.c | 68 int r = EVP_PKEY_CTX_ctrl(ctx->pctx, -1, EVP_PKEY_OP_TYPE_SIG, in md_begin_digest() 79 static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, in do_sigver_init() argument 82 if (ctx->pctx == NULL) { in do_sigver_init() 83 ctx->pctx = EVP_PKEY_CTX_new(pkey, e); in do_sigver_init() 85 if (ctx->pctx == NULL) { in do_sigver_init() 100 if (ctx->pctx->pmeth->verifyctx_init) { in do_sigver_init() 101 if (ctx->pctx->pmeth->verifyctx_init(ctx->pctx, ctx) <= 0) { in do_sigver_init() 104 ctx->pctx->operation = EVP_PKEY_OP_VERIFYCTX; in do_sigver_init() 105 } else if (EVP_PKEY_verify_init(ctx->pctx) <= 0) { in do_sigver_init() 109 if (ctx->pctx->pmeth->signctx_init) { in do_sigver_init() [all …]
|
/external/openssl/crypto/asn1/ |
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) in ASN1_item_print() argument 180 if (pctx == NULL) in ASN1_item_print() 181 pctx = &default_pctx; in ASN1_item_print() 182 if (pctx->flags & ASN1_PCTX_FLAGS_NO_STRUCT_NAME) in ASN1_item_print() 187 NULL, sname, 0, pctx); in ASN1_item_print() 193 int nohdr, const ASN1_PCTX *pctx) in asn1_item_print_ctx() argument [all …]
|
/external/chromium_org/third_party/boringssl/src/crypto/asn1/ |
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) in ASN1_item_print() argument 180 if (pctx == NULL) in ASN1_item_print() 181 pctx = &default_pctx; in ASN1_item_print() 182 if (pctx->flags & ASN1_PCTX_FLAGS_NO_STRUCT_NAME) in ASN1_item_print() 187 NULL, sname, 0, pctx); in ASN1_item_print() 193 int nohdr, const ASN1_PCTX *pctx) in asn1_item_print_ctx() argument [all …]
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
D | xmppstanzaparser.h | 59 virtual void StartElement(XmlParseContext * pctx, in StartElement() argument 61 { outer_->IncomingStartElement(pctx, name, atts); } in StartElement() 62 virtual void EndElement(XmlParseContext * pctx, in EndElement() argument 64 { outer_->IncomingEndElement(pctx, name); } in EndElement() 65 virtual void CharacterData(XmlParseContext * pctx, in CharacterData() argument 67 { outer_->IncomingCharacterData(pctx, text, len); } in CharacterData() 68 virtual void Error(XmlParseContext * pctx, in Error() argument 70 { outer_->IncomingError(pctx, errCode); } in Error() 77 void IncomingStartElement(XmlParseContext * pctx, 79 void IncomingEndElement(XmlParseContext * pctx, [all …]
|
D | xmppstanzaparser.cc | 58 XmlParseContext * pctx, const char * name, const char ** atts) { in IncomingStartElement() argument 60 XmlElement * pelStream = XmlBuilder::BuildElement(pctx, name, atts); in IncomingStartElement() 62 pctx->RaiseError(XML_ERROR_SYNTAX); in IncomingStartElement() 70 builder_.StartElement(pctx, name, atts); in IncomingStartElement() 75 XmlParseContext * pctx, const char * text, int len) { in IncomingCharacterData() argument 77 builder_.CharacterData(pctx, text, len); in IncomingCharacterData() 83 XmlParseContext * pctx, const char * name) { in IncomingEndElement() argument 89 builder_.EndElement(pctx, name); in IncomingEndElement() 100 XmlParseContext * pctx, XML_Error errCode) { in IncomingError() argument 101 RTC_UNUSED(pctx); in IncomingError()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_pstipple.c | 200 struct pstip_transform_context *pctx = in pstip_transform_decl() local 208 pctx->samplersUsed |= 1 << i; in pstip_transform_decl() 212 pctx->maxInput = MAX2(pctx->maxInput, (int) decl->Range.Last); in pstip_transform_decl() 214 pctx->wincoordInput = (int) decl->Range.First; in pstip_transform_decl() 219 pctx->tempsUsed |= (1 << i); in pstip_transform_decl() 231 struct pstip_transform_context *pctx = in pstip_transform_immed() local 233 pctx->numImmed++; in pstip_transform_immed() 264 struct pstip_transform_context *pctx = in pstip_transform_inst() local 267 if (pctx->firstInstruction) { in pstip_transform_inst() 276 pctx->freeSampler = free_bit(pctx->samplersUsed); in pstip_transform_inst() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
D | u_pstipple.c | 200 struct pstip_transform_context *pctx = in pstip_transform_decl() local 208 pctx->samplersUsed |= 1 << i; in pstip_transform_decl() 212 pctx->maxInput = MAX2(pctx->maxInput, (int) decl->Range.Last); in pstip_transform_decl() 214 pctx->wincoordInput = (int) decl->Range.First; in pstip_transform_decl() 219 pctx->tempsUsed |= (1 << i); in pstip_transform_decl() 231 struct pstip_transform_context *pctx = in pstip_transform_immed() local 233 pctx->numImmed++; in pstip_transform_immed() 264 struct pstip_transform_context *pctx = in pstip_transform_inst() local 267 if (pctx->firstInstruction) { in pstip_transform_inst() 276 pctx->freeSampler = free_bit(pctx->samplersUsed); in pstip_transform_inst() [all …]
|
/external/chromium_org/third_party/libjingle/source/talk/xmllite/ |
D | xmlbuilder.cc | 52 XmlBuilder::BuildElement(XmlParseContext * pctx, in BuildElement() argument 54 QName tagName(pctx->ResolveQName(name, false)); in BuildElement() 66 QName attName(pctx->ResolveQName(*atts, true)); in BuildElement() 89 XmlBuilder::StartElement(XmlParseContext * pctx, in StartElement() argument 91 XmlElement * pelNew = BuildElement(pctx, name, atts); in StartElement() 93 pctx->RaiseError(XML_ERROR_SYNTAX); in StartElement() 109 XmlBuilder::EndElement(XmlParseContext * pctx, const char * name) { in EndElement() argument 110 RTC_UNUSED(pctx); in EndElement() 117 XmlBuilder::CharacterData(XmlParseContext * pctx, in CharacterData() argument 119 RTC_UNUSED(pctx); in CharacterData() [all …]
|
D | xmlbuilder.h | 52 static XmlElement * BuildElement(XmlParseContext * pctx, 54 virtual void StartElement(XmlParseContext * pctx, 56 virtual void EndElement(XmlParseContext * pctx, const char * name); 57 virtual void CharacterData(XmlParseContext * pctx, 59 virtual void Error(XmlParseContext * pctx, XML_Error);
|
/external/chromium_org/third_party/webrtc/libjingle/xmllite/ |
D | xmlbuilder.cc | 35 XmlBuilder::BuildElement(XmlParseContext * pctx, in BuildElement() argument 37 QName tagName(pctx->ResolveQName(name, false)); in BuildElement() 49 QName attName(pctx->ResolveQName(*atts, true)); in BuildElement() 72 XmlBuilder::StartElement(XmlParseContext * pctx, in StartElement() argument 74 XmlElement * pelNew = BuildElement(pctx, name, atts); in StartElement() 76 pctx->RaiseError(XML_ERROR_SYNTAX); in StartElement() 92 XmlBuilder::EndElement(XmlParseContext * pctx, const char * name) { in EndElement() argument 93 RTC_UNUSED(pctx); in EndElement() 100 XmlBuilder::CharacterData(XmlParseContext * pctx, in CharacterData() argument 102 RTC_UNUSED(pctx); in CharacterData() [all …]
|
D | xmlbuilder.h | 35 static XmlElement * BuildElement(XmlParseContext * pctx, 37 virtual void StartElement(XmlParseContext * pctx, 39 virtual void EndElement(XmlParseContext * pctx, const char * name); 40 virtual void CharacterData(XmlParseContext * pctx, 42 virtual void Error(XmlParseContext * pctx, XML_Error);
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_pstipple.c | 142 struct pstip_transform_context *pctx = (struct pstip_transform_context *) ctx; in pstip_transform_decl() local 148 pctx->samplersUsed |= 1 << i; in pstip_transform_decl() 152 pctx->maxInput = MAX2(pctx->maxInput, (int) decl->Range.Last); in pstip_transform_decl() 154 pctx->wincoordInput = (int) decl->Range.First; in pstip_transform_decl() 160 pctx->tempsUsed |= (1 << i); in pstip_transform_decl() 176 struct pstip_transform_context *pctx = (struct pstip_transform_context *) ctx; in pstip_transform_immed() local 178 pctx->numImmed++; in pstip_transform_immed() 201 struct pstip_transform_context *pctx = (struct pstip_transform_context *) ctx; in pstip_transform_inst() local 203 if (pctx->firstInstruction) { in pstip_transform_inst() 212 pctx->freeSampler = free_bit(pctx->samplersUsed); in pstip_transform_inst() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
D | draw_pipe_pstipple.c | 142 struct pstip_transform_context *pctx = (struct pstip_transform_context *) ctx; in pstip_transform_decl() local 148 pctx->samplersUsed |= 1 << i; in pstip_transform_decl() 152 pctx->maxInput = MAX2(pctx->maxInput, (int) decl->Range.Last); in pstip_transform_decl() 154 pctx->wincoordInput = (int) decl->Range.First; in pstip_transform_decl() 160 pctx->tempsUsed |= (1 << i); in pstip_transform_decl() 176 struct pstip_transform_context *pctx = (struct pstip_transform_context *) ctx; in pstip_transform_immed() local 178 pctx->numImmed++; in pstip_transform_immed() 201 struct pstip_transform_context *pctx = (struct pstip_transform_context *) ctx; in pstip_transform_inst() local 203 if (pctx->firstInstruction) { in pstip_transform_inst() 212 pctx->freeSampler = free_bit(pctx->samplersUsed); in pstip_transform_inst() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/core/ |
D | resource.cpp | 175 pctx(q.pipe) { in mapping() 180 pxfer = pctx->get_transfer(pctx, r.pipe, 0, usage, in mapping() 185 p = pctx->transfer_map(pctx, pxfer); in mapping() 187 pctx->transfer_destroy(pctx, pxfer); in mapping() 193 pctx(m.pctx), pxfer(m.pxfer), p(m.p) { in mapping() 200 pctx->transfer_unmap(pctx, pxfer); in ~mapping() 201 pctx->transfer_destroy(pctx, pxfer); in ~mapping()
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
D | resource.cpp | 175 pctx(q.pipe) { in mapping() 180 pxfer = pctx->get_transfer(pctx, r.pipe, 0, usage, in mapping() 185 p = pctx->transfer_map(pctx, pxfer); in mapping() 187 pctx->transfer_destroy(pctx, pxfer); in mapping() 193 pctx(m.pctx), pxfer(m.pxfer), p(m.p) { in mapping() 200 pctx->transfer_unmap(pctx, pxfer); in ~mapping() 201 pctx->transfer_destroy(pctx, pxfer); in ~mapping()
|