Home
last modified time | relevance | path

Searched refs:block_ (Results 1 – 25 of 34) sorted by relevance

12

/third_party/flutter/engine/flutter/fml/platform/darwin/
Dscoped_block.h32 : block_(block) { in block_() function
33 if (block_ && policy == OwnershipPolicy::Retain) in block_()
34 block_ = Block_copy(block); in block_()
37 ScopedBlock(const ScopedBlock<B>& that) : block_(that.block_) { in ScopedBlock()
38 if (block_) in ScopedBlock()
39 block_ = Block_copy(block_); in ScopedBlock()
43 if (block_) in ~ScopedBlock()
44 Block_release(block_); in ~ScopedBlock()
56 if (block_)
57 Block_release(block_);
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dir_loader.cpp145 if (block_ != nullptr) { in AddInstruction()
157 if (block_ != nullptr) { in AddInstruction()
161 block_ = MakeUnique<BasicBlock>(std::move(spv_inst)); in AddInstruction()
167 if (block_ == nullptr) { in AddInstruction()
173 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
174 function_->AddBasicBlock(std::move(block_)); in AddInstruction()
175 block_ = nullptr; in AddInstruction()
181 SPIRV_ASSERT(consumer_, block_ == nullptr); in AddInstruction()
241 if (block_ == nullptr) // Inside function but outside blocks in AddInstruction()
244 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
[all …]
Dir_loader.h82 std::unique_ptr<BasicBlock> block_; variable
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dir_loader.cpp145 if (block_ != nullptr) { in AddInstruction()
157 if (block_ != nullptr) { in AddInstruction()
161 block_ = MakeUnique<BasicBlock>(std::move(spv_inst)); in AddInstruction()
167 if (block_ == nullptr) { in AddInstruction()
173 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
174 function_->AddBasicBlock(std::move(block_)); in AddInstruction()
175 block_ = nullptr; in AddInstruction()
181 SPIRV_ASSERT(consumer_, block_ == nullptr); in AddInstruction()
241 if (block_ == nullptr) // Inside function but outside blocks in AddInstruction()
244 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
[all …]
Dir_loader.h82 std::unique_ptr<BasicBlock> block_; variable
/third_party/spirv-tools/source/opt/
Dir_loader.cpp145 if (block_ != nullptr) { in AddInstruction()
157 if (block_ != nullptr) { in AddInstruction()
161 block_ = MakeUnique<BasicBlock>(std::move(spv_inst)); in AddInstruction()
167 if (block_ == nullptr) { in AddInstruction()
173 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
174 function_->AddBasicBlock(std::move(block_)); in AddInstruction()
175 block_ = nullptr; in AddInstruction()
181 SPIRV_ASSERT(consumer_, block_ == nullptr); in AddInstruction()
244 if (block_ == nullptr) // Inside function but outside blocks in AddInstruction()
247 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
[all …]
Dir_loader.h82 std::unique_ptr<BasicBlock> block_; variable
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dir_loader.cpp58 if (block_ != nullptr) { in AddInstruction()
70 if (block_ != nullptr) { in AddInstruction()
74 block_.reset(new BasicBlock(std::move(spv_inst))); in AddInstruction()
80 if (block_ == nullptr) { in AddInstruction()
84 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
85 function_->AddBasicBlock(std::move(block_)); in AddInstruction()
86 block_ = nullptr; in AddInstruction()
89 SPIRV_ASSERT(consumer_, block_ == nullptr); in AddInstruction()
116 if (block_ == nullptr) { // Inside function but outside blocks in AddInstruction()
126 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
[all …]
Dir_loader.h74 std::unique_ptr<BasicBlock> block_; variable
/third_party/spirv-tools/source/reduce/
Dremove_block_reduction_opportunity.cpp24 : context_(context), function_(function), block_(block) { in RemoveBlockReductionOpportunity()
26 assert(block_->begin() != block_->end() && in RemoveBlockReductionOpportunity()
27 context_->get_def_use_mgr()->NumUsers(block_->id()) == 0 && in RemoveBlockReductionOpportunity()
39 if (bi->id() == block_->id()) { in Apply()
Dremove_block_reduction_opportunity.h42 opt::BasicBlock* block_; variable
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
Dremove_block_reduction_opportunity.cpp24 : context_(context), function_(function), block_(block) { in RemoveBlockReductionOpportunity()
26 assert(block_->begin() != block_->end() && in RemoveBlockReductionOpportunity()
27 context_->get_def_use_mgr()->NumUsers(block_->id()) == 0 && in RemoveBlockReductionOpportunity()
39 if (bi->id() == block_->id()) { in Apply()
Dremove_block_reduction_opportunity.h42 opt::BasicBlock* block_; variable
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dremove_block_reduction_opportunity.cpp24 : context_(context), function_(function), block_(block) { in RemoveBlockReductionOpportunity()
26 assert(block_->begin() != block_->end() && in RemoveBlockReductionOpportunity()
27 context_->get_def_use_mgr()->NumUsers(block_->id()) == 0 && in RemoveBlockReductionOpportunity()
39 if (bi->id() == block_->id()) { in Apply()
Dremove_block_reduction_opportunity.h42 opt::BasicBlock* block_; variable
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dinstruction.h54 const BasicBlock* block() const { return block_; } in block()
55 void set_block(BasicBlock* b) { block_ = b; } in set_block()
122 BasicBlock* block_ = nullptr; variable
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dinstruction.h54 const BasicBlock* block() const { return block_; } in block()
55 void set_block(BasicBlock* b) { block_ = b; } in set_block()
122 BasicBlock* block_ = nullptr; variable
/third_party/spirv-tools/source/val/
Dinstruction.h54 const BasicBlock* block() const { return block_; } in block()
55 void set_block(BasicBlock* b) { block_ = b; } in set_block()
122 BasicBlock* block_ = nullptr; variable
/third_party/flutter/skia/third_party/externals/spirv-tools/source/val/
Dinstruction.h53 const BasicBlock* block() const { return block_; } in block()
97 BasicBlock* block_; variable
Dinstruction.cpp43 block_(defining_block),
/third_party/gn/src/gn/
Dparse_tree.cc737 return functions::RunFunction(scope, this, args_.get(), block_.get(), err); in Execute()
743 if (block_) in GetRange()
744 return function_.range().Union(block_->GetRange()); in GetRange()
758 if (block_) { in GetJSONNode()
759 child.GetList().push_back(block_->GetJSONNode()); in GetJSONNode()
775 ret->block_ = BlockNode::NewFromJSON(children[1]); in NewFromJSON()
Dparse_tree.h392 const BlockNode* block() const { return block_.get(); } in block()
393 void set_block(std::unique_ptr<BlockNode> b) { block_ = std::move(b); } in set_block()
402 std::unique_ptr<BlockNode> block_; // May be null. variable
/third_party/ffmpeg/libavcodec/
Dsimple_idct_template.c330 void FUNC6(ff_simple_idct_put)(uint8_t *dest_, ptrdiff_t line_size, int16_t *block_)
332 idctin *block = (idctin *)block_;
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_util.cpp34 : block_(block), old_terminator_(std::move(*block->terminator())) { in ChangeTerminatorRAII()
35 *block_->terminator() = std::move(new_terminator); in ChangeTerminatorRAII()
39 *block_->terminator() = std::move(old_terminator_); in ~ChangeTerminatorRAII()
43 opt::BasicBlock* block_; member in spvtools::fuzz::fuzzerutil::__anon7d9a17e90111::ChangeTerminatorRAII
/third_party/spirv-tools/source/fuzz/
Dfuzzer_util.cpp34 : block_(block), old_terminator_(std::move(*block->terminator())) { in ChangeTerminatorRAII()
35 *block_->terminator() = std::move(new_terminator); in ChangeTerminatorRAII()
39 *block_->terminator() = std::move(old_terminator_); in ~ChangeTerminatorRAII()
43 opt::BasicBlock* block_; member in spvtools::fuzz::fuzzerutil::__anonb8d084540111::ChangeTerminatorRAII

12