Home
last modified time | relevance | path

Searched refs:new_block (Results 1 – 25 of 55) sorted by relevance

123

/external/markdown/markdown/extensions/
Dimagelinks.py68 new_block = "<div><br/><center><span class='image-links'>\n"
74 new_block += "&nbsp;"
75 new_block += IMAGE_LINK % (photo_url,
81 new_block += "<br/>"
83 new_block += "</span>"
84 new_block += SLIDESHOW_LINK % url.get_slideshow()
90 new_block += ALBUM_LINK % (album_urls[0], "complete album")
93 new_block += ALBUM_LINK % (album_urls[i],
96 new_lines.append(new_block + "</center><br/></div>")
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dbasic_block.cpp247 BasicBlock* new_block = new_block_temp.get(); in SplitBasicBlock() local
250 new_block->insts_.Splice(new_block->end(), &insts_, iter, end()); in SplitBasicBlock()
251 assert(new_block->GetParent() == GetParent() && in SplitBasicBlock()
254 context->AnalyzeDefUse(new_block->GetLabelInst()); in SplitBasicBlock()
257 const_cast<const BasicBlock*>(new_block)->ForEachSuccessorLabel( in SplitBasicBlock()
258 [new_block, this, context](const uint32_t label) { in SplitBasicBlock()
261 [this, new_block, context](Instruction* phi_inst) { in SplitBasicBlock()
266 phi_inst->SetInOperand(i, {new_block->id()}); in SplitBasicBlock()
277 context->set_instr_block(new_block->GetLabelInst(), new_block); in SplitBasicBlock()
278 new_block->ForEachInst([new_block, context](Instruction* inst) { in SplitBasicBlock()
[all …]
Dfunction.cpp203 std::unique_ptr<BasicBlock>&& new_block, BasicBlock* position) { in InsertBasicBlockAfter() argument
206 new_block->SetParent(this); in InsertBasicBlockAfter()
208 bb_iter = bb_iter.InsertBefore(std::move(new_block)); in InsertBasicBlockAfter()
217 std::unique_ptr<BasicBlock>&& new_block, BasicBlock* position) { in InsertBasicBlockBefore() argument
220 new_block->SetParent(this); in InsertBasicBlockBefore()
221 bb_iter = bb_iter.InsertBefore(std::move(new_block)); in InsertBasicBlockBefore()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dbasic_block.cpp247 BasicBlock* new_block = new_block_temp.get(); in SplitBasicBlock() local
250 new_block->insts_.Splice(new_block->end(), &insts_, iter, end()); in SplitBasicBlock()
251 assert(new_block->GetParent() == GetParent() && in SplitBasicBlock()
254 context->AnalyzeDefUse(new_block->GetLabelInst()); in SplitBasicBlock()
257 const_cast<const BasicBlock*>(new_block)->ForEachSuccessorLabel( in SplitBasicBlock()
258 [new_block, this, context](const uint32_t label) { in SplitBasicBlock()
261 [this, new_block, context](Instruction* phi_inst) { in SplitBasicBlock()
266 phi_inst->SetInOperand(i, {new_block->id()}); in SplitBasicBlock()
277 context->set_instr_block(new_block->GetLabelInst(), new_block); in SplitBasicBlock()
278 new_block->ForEachInst([new_block, context](Instruction* inst) { in SplitBasicBlock()
[all …]
Dfunction.cpp203 std::unique_ptr<BasicBlock>&& new_block, BasicBlock* position) { in InsertBasicBlockAfter() argument
206 new_block->SetParent(this); in InsertBasicBlockAfter()
208 bb_iter = bb_iter.InsertBefore(std::move(new_block)); in InsertBasicBlockAfter()
217 std::unique_ptr<BasicBlock>&& new_block, BasicBlock* position) { in InsertBasicBlockBefore() argument
220 new_block->SetParent(this); in InsertBasicBlockBefore()
221 bb_iter = bb_iter.InsertBefore(std::move(new_block)); in InsertBasicBlockBefore()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dbasic_block.cpp247 BasicBlock* new_block = new_block_temp.get(); in SplitBasicBlock() local
250 new_block->insts_.Splice(new_block->end(), &insts_, iter, end()); in SplitBasicBlock()
251 assert(new_block->GetParent() == GetParent() && in SplitBasicBlock()
254 context->AnalyzeDefUse(new_block->GetLabelInst()); in SplitBasicBlock()
257 const_cast<const BasicBlock*>(new_block)->ForEachSuccessorLabel( in SplitBasicBlock()
258 [new_block, this, context](const uint32_t label) { in SplitBasicBlock()
261 [this, new_block, context](Instruction* phi_inst) { in SplitBasicBlock()
266 phi_inst->SetInOperand(i, {new_block->id()}); in SplitBasicBlock()
277 context->set_instr_block(new_block->GetLabelInst(), new_block); in SplitBasicBlock()
278 new_block->ForEachInst([new_block, context](Instruction* inst) { in SplitBasicBlock()
[all …]
Dfunction.cpp203 std::unique_ptr<BasicBlock>&& new_block, BasicBlock* position) { in InsertBasicBlockAfter() argument
206 new_block->SetParent(this); in InsertBasicBlockAfter()
208 bb_iter = bb_iter.InsertBefore(std::move(new_block)); in InsertBasicBlockAfter()
217 std::unique_ptr<BasicBlock>&& new_block, BasicBlock* position) { in InsertBasicBlockBefore() argument
220 new_block->SetParent(this); in InsertBasicBlockBefore()
221 bb_iter = bb_iter.InsertBefore(std::move(new_block)); in InsertBasicBlockBefore()
/external/e2fsprogs/e2fsck/
Demptydir.c124 blk64_t block, new_block; in empty_pass1() local
133 &new_block); in empty_pass1()
136 if (new_block == 0) in empty_pass1()
139 } while (ext2fs_test_block_bitmap2(edi->empty_dir_blocks, new_block)); in empty_pass1()
141 if (new_block == block) in empty_pass1()
143 if (new_block == 0) in empty_pass1()
145 *block_nr = new_block; in empty_pass1()
Dpass1b.c792 blk64_t new_block; in clone_file_block() local
817 new_block = cs->alloc_block; in clone_file_block()
840 new_block = 0; in clone_file_block()
843 blockcnt, &new_block); in clone_file_block()
844 if (retval == 0 && new_block != 0 && in clone_file_block()
845 EXT2FS_B2C(ctx->fs, new_block) != in clone_file_block()
849 &new_block); in clone_file_block()
859 ext2fs_block_alloc_stats2(fs, new_block, +1); in clone_file_block()
862 cs->alloc_block = new_block; in clone_file_block()
865 new_block &= ~EXT2FS_CLUSTER_MASK(fs); in clone_file_block()
[all …]
/external/marisa-trie/lib/marisa/
Dkeyset.cc137 scoped_array<char> new_block(new (std::nothrow) char[BASE_BLOCK_SIZE]); in append_base_block() local
138 MARISA_THROW_IF(new_block.get() == NULL, MARISA_MEMORY_ERROR); in append_base_block()
139 base_blocks_[base_blocks_size_].swap(new_block); in append_base_block()
158 scoped_array<char> new_block(new (std::nothrow) char[size]); in append_extra_block() local
159 MARISA_THROW_IF(new_block.get() == NULL, MARISA_MEMORY_ERROR); in append_extra_block()
160 extra_blocks_[extra_blocks_size_++].swap(new_block); in append_extra_block()
176 scoped_array<Key> new_block(new (std::nothrow) Key[KEY_BLOCK_SIZE]); in append_key_block() local
177 MARISA_THROW_IF(new_block.get() == NULL, MARISA_MEMORY_ERROR); in append_key_block()
178 key_blocks_[key_blocks_size_++].swap(new_block); in append_key_block()
/external/e2fsprogs/lib/ext2fs/
Dfileio.c398 block_entry_t new_block = NULL, old_block = NULL; in ext2fs_file_write() local
445 new_block = calloc(1, sizeof(*new_block)); in ext2fs_file_write()
446 if (!new_block) { in ext2fs_file_write()
451 fs->blocksize, new_block->sha); in ext2fs_file_write()
454 new_block->sha, in ext2fs_file_write()
455 sizeof(new_block->sha)); in ext2fs_file_write()
461 free(new_block); in ext2fs_file_write()
462 new_block = NULL; in ext2fs_file_write()
471 free(new_block); in ext2fs_file_write()
472 new_block = NULL; in ext2fs_file_write()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_control_flow.c188 nir_block *new_block = nir_block_create(ralloc_parent(block)); in split_block_beginning() local
189 new_block->cf_node.parent = block->cf_node.parent; in split_block_beginning()
190 exec_node_insert_node_before(&block->cf_node.node, &new_block->cf_node.node); in split_block_beginning()
194 replace_successor(pred, block, new_block); in split_block_beginning()
205 instr->block = new_block; in split_block_beginning()
206 exec_list_push_tail(&new_block->instr_list, &instr->node); in split_block_beginning()
209 return new_block; in split_block_beginning()
329 nir_block *new_block = nir_block_create(ralloc_parent(block)); in split_block_end() local
330 new_block->cf_node.parent = block->cf_node.parent; in split_block_end()
331 exec_node_insert_after(&block->cf_node.node, &new_block->cf_node.node); in split_block_end()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlegalize_control_flow.cc163 auto new_block = mapper.lookup(&block); in LowerWhileOp() local
165 auto return_op = dyn_cast<mhlo::ReturnOp>(new_block->getTerminator()); in LowerWhileOp()
167 builder.setInsertionPointToEnd(new_block); in LowerWhileOp()
193 auto new_block = mapper.lookup(&block); in LowerWhileOp() local
194 auto return_op = dyn_cast<mlir::mhlo::ReturnOp>(new_block->getTerminator()); in LowerWhileOp()
196 builder.setInsertionPointToEnd(new_block); in LowerWhileOp()
/external/perfetto/src/trace_processor/containers/
Dbit_vector_iterators.h83 uint32_t new_block = index / BitVector::Block::kBits; in SetIndex() local
87 if (PERFETTO_LIKELY(old_block == new_block)) in SetIndex()
92 OnBlockChange(old_block, new_block); in SetIndex()
97 void OnBlockChange(uint32_t old_block, uint32_t new_block);
Dbit_vector_iterators.cc43 void BaseIterator::OnBlockChange(uint32_t old_block, uint32_t new_block) { in OnBlockChange() argument
55 for (uint32_t i = old_block + 1; i <= new_block; ++i) { in OnBlockChange()
66 block_ = bv_->blocks_[new_block]; in OnBlockChange()
/external/rust/crates/tokio/src/sync/mpsc/
Dblock.rs295 let new_block = Box::new(Block::new(self.start_index + BLOCK_CAP)); in grow() localVariable
297 let mut new_block = unsafe { NonNull::new_unchecked(Box::into_raw(new_block)) }; in grow() localVariable
313 .compare_exchange(ptr::null_mut(), new_block.as_ptr(), AcqRel, Acquire) in grow()
322 return new_block; in grow()
338 let actual = unsafe { curr.as_ref().try_push(&mut new_block, AcqRel, Acquire) }; in grow()
/external/mesa3d/src/intel/compiler/
Dbrw_cfg.cpp180 bblock_t *entry = new_block(); in cfg_t()
214 next = new_block(); in cfg_t()
225 next = new_block(); in cfg_t()
238 cur_endif = new_block(); in cfg_t()
272 cur_while = new_block(); in cfg_t()
278 cur_do = new_block(); in cfg_t()
313 next = new_block(); in cfg_t()
338 next = new_block(); in cfg_t()
364 next = new_block(); in cfg_t()
471 cfg_t::new_block() in new_block() function in cfg_t
/external/freetype/builds/amiga/src/base/
Dftsystem.c178 void* new_block; in ft_realloc() local
181 new_block = AllocVecPooled ( memory->user, new_size ); in ft_realloc()
183 new_block = Alloc_VecPooled ( memory->user, new_size ); in ft_realloc()
185 if ( new_block != NULL ) in ft_realloc()
187 CopyMem ( block, new_block, in ft_realloc()
195 return new_block; in ft_realloc()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_flow.c59 LLVMBasicBlockRef new_block; in lp_build_insert_new_block() local
68 new_block = LLVMInsertBasicBlockInContext(gallivm->context, next_block, name); in lp_build_insert_new_block()
73 new_block = LLVMAppendBasicBlockInContext(gallivm->context, function, name); in lp_build_insert_new_block()
76 return new_block; in lp_build_insert_new_block()
102 LLVMBasicBlockRef new_block; in lp_build_flow_skip_cond_break() local
104 new_block = lp_build_insert_new_block(skip->gallivm, ""); in lp_build_flow_skip_cond_break()
107 LLVMBuildCondBr(skip->gallivm->builder, cond, skip->block, new_block); in lp_build_flow_skip_cond_break()
109 LLVMPositionBuilderAtEnd(skip->gallivm->builder, new_block); in lp_build_flow_skip_cond_break()
/external/pigweed/pw_allocator/
Dblock.cc52 Status Block::Split(size_t head_block_inner_size, Block** new_block) { in Split() argument
53 if (new_block == nullptr) { in Split()
114 *new_block = next_; in Split()
118 (*new_block)->PoisonBlock(); in Split()
/external/libgav1/libgav1/src/utils/
Dunbounded_queue.h105 std::unique_ptr<Block> new_block(new (std::nothrow) Block); in GrowIfNeeded()
106 if (new_block == nullptr) return false; in GrowIfNeeded()
107 new_block->next = first_block_; in GrowIfNeeded()
108 last_block_->next = new_block.release(); in GrowIfNeeded()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_add_dead_block.cpp123 std::unique_ptr<opt::BasicBlock> new_block = in Apply() local
127 new_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
156 enclosing_function->InsertBasicBlockAfter(std::move(new_block), in Apply()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_add_dead_block.cpp123 std::unique_ptr<opt::BasicBlock> new_block = in Apply() local
127 new_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
156 enclosing_function->InsertBasicBlockAfter(std::move(new_block), in Apply()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_dead_block.cpp123 std::unique_ptr<opt::BasicBlock> new_block = in Apply() local
127 new_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
156 enclosing_function->InsertBasicBlockAfter(std::move(new_block), in Apply()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_blocks.c180 struct gl_uniform_block *new_block) in link_cross_validate_uniform_block() argument
186 if (old_block->Binding == new_block->Binding) in link_cross_validate_uniform_block()
187 return link_blocks_are_compatible(old_block, new_block) ? i : -1; in link_cross_validate_uniform_block()
196 memcpy(linked_block, new_block, sizeof(*new_block)); in link_cross_validate_uniform_block()
202 new_block->Uniforms, in link_cross_validate_uniform_block()

123