Home
last modified time | relevance | path

Searched refs:block_id (Results 1 – 25 of 35) sorted by relevance

12

/external/marisa-trie/lib/marisa/
Dbitvector.cc414 UInt32 block_id = rank_id * 16; in select0() local
418 block_id += 2; in select0()
422 block_id += 4; in select0()
425 block_id += 6; in select0()
430 block_id += 8; in select0()
433 block_id += 10; in select0()
437 block_id += 12; in select0()
440 block_id += 14; in select0()
444 UInt32 block = ~blocks_[block_id]; in select0()
447 ++block_id; in select0()
[all …]
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
Dbitvector.cc415 UInt32 block_id = rank_id * 16; in select0() local
419 block_id += 2; in select0()
423 block_id += 4; in select0()
426 block_id += 6; in select0()
431 block_id += 8; in select0()
434 block_id += 10; in select0()
438 block_id += 12; in select0()
441 block_id += 14; in select0()
445 UInt32 block = ~blocks_[block_id]; in select0()
448 ++block_id; in select0()
[all …]
/external/ceres-solver/internal/ceres/
Dschur_eliminator_impl.h106 const int chunk_block_id = bs->rows[r].cells.front().block_id; in Init()
122 if (row.cells.front().block_id != chunk_block_id) { in Init()
131 &(chunk.buffer_layout), cell.block_id, buffer_size)) { in Init()
132 buffer_size += e_block_size * bs->cols[cell.block_id].size; in Init()
181 const int block_id = i - num_eliminate_blocks_; in Eliminate() local
183 CellInfo* cell_info = lhs->GetCell(block_id, block_id, in Eliminate()
222 const int e_block_id = bs->rows[chunk.start].cells.front().block_id; in Eliminate()
294 const int e_block_id = bs->rows[chunk.start].cells.front().block_id; in BackSubstitute()
314 DCHECK_EQ(e_block_id, e_cell.block_id); in BackSubstitute()
327 const int f_block_id = row.cells[c].block_id; in BackSubstitute()
[all …]
Ddetect_structure.cc54 if (row.cells.front().block_id >= num_eliminate_blocks) { in DetectStructure()
57 const int e_block_id = row.cells.front().block_id; in DetectStructure()
82 const int f_block_id = row.cells[1].block_id; in DetectStructure()
87 if (*f_block_size != bs.cols[row.cells[c].block_id].size) { in DetectStructure()
90 << bs.cols[row.cells[c].block_id].size; in DetectStructure()
Dpartitioned_matrix_view.cc64 if (cells[0].block_id < num_col_blocks_a) { in PartitionedMatrixView()
103 const int col_block_id = cell.block_id; in RightMultiplyE()
131 const int col_block_id = cells[c].block_id; in RightMultiplyF()
155 const int col_block_id = cell.block_id; in LeftMultiplyE()
183 const int col_block_id = cells[c].block_id; in LeftMultiplyF()
225 cell.block_id = c - start_col_block; in CreateBlockDiagonalMatrixLayout()
268 const int block_id = cell.block_id; in UpdateBlockDiagonalEtE() local
269 const int col_block_size = bs->cols[block_id].size; in UpdateBlockDiagonalEtE()
275 block_diagonal_structure->rows[block_id].cells[0].position; in UpdateBlockDiagonalEtE()
299 const int col_block_id = cells[c].block_id; in UpdateBlockDiagonalFtF()
Dblock_structure.cc38 return (lhs.block_id < rhs.block_id); in CellLessThan()
62 block_structure->rows[i].cells[j].block_id = cell.block_id(); in ProtoToBlockStructure()
84 cell->set_block_id(block_structure.rows[i].cells[j].block_id); in BlockStructureToProto()
Dvisibility.cc57 int block_id = cells[0].block_id; in ComputeVisibility() local
59 if (block_id >= num_eliminate_blocks) { in ComputeVisibility()
64 int camera_block_id = cells[j].block_id - num_eliminate_blocks; in ComputeVisibility()
67 (*visibility)[camera_block_id].insert(block_id); in ComputeVisibility()
Dblock_structure.h61 Cell() : block_id(-1), position(-1) {} in Cell()
63 : block_id(block_id_), position(position_) {} in Cell()
66 int block_id; member
Dblock_sparse_matrix.cc69 int col_block_id = cells[j].block_id; in BlockSparseMatrix()
123 int col_block_id = cells[j].block_id; in RightMultiply()
144 int col_block_id = cells[j].block_id; in LeftMultiply()
162 int col_block_id = cells[j].block_id; in SquaredColumnNorm()
179 int col_block_id = cells[j].block_id; in ScaleColumns()
201 int col_block_id = cells[j].block_id; in ToDenseMatrix()
224 int col_block_id = cells[j].block_id; in ToTripletSparseMatrix()
269 const int col_block_id = cells[j].block_id; in ToTextFile()
Dschur_complement_solver.cc197 int e_block_id = bs->rows[r].cells.front().block_id; in InitStorage()
207 if (row.cells.front().block_id != e_block_id) { in InitStorage()
215 f_blocks.push_back(cell.block_id - num_eliminate_blocks); in InitStorage()
232 CHECK_GE(row.cells.front().block_id, num_eliminate_blocks); in InitStorage()
234 int r_block1_id = row.cells[i].block_id - num_eliminate_blocks; in InitStorage()
236 int r_block2_id = row.cells[j].block_id - num_eliminate_blocks; in InitStorage()
Dvisibility_based_preconditioner.cc274 int e_block_id = bs.rows[r].cells.front().block_id; in ComputeBlockPairsInPreconditioner()
283 if (row.cells.front().block_id != e_block_id) { in ComputeBlockPairsInPreconditioner()
292 const int f_block_id = cell.block_id - num_eliminate_blocks; in ComputeBlockPairsInPreconditioner()
314 CHECK_GE(row.cells.front().block_id, num_eliminate_blocks); in ComputeBlockPairsInPreconditioner()
316 const int block1 = row.cells[i].block_id - num_eliminate_blocks; in ComputeBlockPairsInPreconditioner()
318 const int block2 = row.cells[j].block_id - num_eliminate_blocks; in ComputeBlockPairsInPreconditioner()
Dblock_jacobi_preconditioner.cc81 const int col_block_size = bs->cols[cells[c].block_id].size; in Update()
86 MatrixRef(blocks_[cells[c].block_id], in Update()
Dsuitesparse.cc265 const int block_id = block_ordering[i]; in BlockOrderingToScalarOrdering() local
266 const int block_size = blocks[block_id]; in BlockOrderingToScalarOrdering()
267 int block_position = block_starts[block_id]; in BlockOrderingToScalarOrdering()
Dblock_jacobian_writer.cc194 cell.block_id = parameter_block->index(); in CreateJacobian()
/external/v8/src/
Dlithium-allocator.cc571 BitVector* live_in = live_in_sets_[successor->block_id()]; in ComputeLiveOut()
1057 LLabel* label = chunk_->GetLabel(phi->block()->block_id()); in ResolvePhis()
1101 for (int block_id = blocks->length() - 1; block_id >= 0; --block_id) { in ResolvePhis() local
1102 HBasicBlock* block = blocks->at(block_id); in ResolvePhis()
1222 return block->predecessors()->first()->block_id() == block->block_id() - 1; in CanEagerlyResolveControlFlow()
1229 for (int block_id = 1; block_id < blocks->length(); ++block_id) { in ResolveControlFlow() local
1230 HBasicBlock* block = blocks->at(block_id); in ResolveControlFlow()
1232 BitVector* live = live_in_sets_[block->block_id()]; in ResolveControlFlow()
1252 for (int block_id = blocks->length() - 1; block_id >= 0; --block_id) { in BuildLiveRanges() local
1253 HBasicBlock* block = blocks->at(block_id); in BuildLiveRanges()
[all …]
Dhydrogen.cc285 dominated_blocks_[index]->block_id() < block->block_id()) { in AddDominatedBlock()
301 if (first->block_id() > second->block_id()) { in AssignCommonDominator()
333 for (int j = block_id(); j <= last->block_id(); ++j) { in AssignLoopSuccessorDominators()
339 if (predecessor->block_id() < dominator_candidate->block_id()) { in AssignLoopSuccessorDominators()
363 if (successor->block_id() > dominator_candidate->block_id() && in AssignLoopSuccessorDominators()
364 successor->block_id() <= last->block_id()) { in AssignLoopSuccessorDominators()
366 ASSERT(successor->block_id() > dominator_candidate->block_id() || in AssignLoopSuccessorDominators()
388 ASSERT(block_id() >= 0); in Verify()
411 if (cur->block_id() > max_id) { in GetLastBackEdge()
412 max_id = cur->block_id(); in GetLastBackEdge()
[all …]
Dhydrogen.h60 int block_id() const { return block_id_; } in block_id() function
97 bool IsStartBlock() const { return block_id() == 0; } in IsStartBlock()
1354 void PrintBlockProperty(const char* name, int block_id) { in PrintBlockProperty() argument
1356 trace_.Add("%s \"B%d\"\n", name, block_id); in PrintBlockProperty()
/external/libnfc-nci/src/nfc/tags/
Drw_t3t.c711 UINT16 block_id; in rw_t3t_send_next_ndef_update_cmd() local
782 …for (block_id = first_block_to_write; block_id < (first_block_to_write + ndef_blocks_to_write); bl… in rw_t3t_send_next_ndef_update_cmd()
784 if (block_id<256) in rw_t3t_send_next_ndef_update_cmd()
788 … UINT8_TO_STREAM (p, block_id); /* byte1: block number */ in rw_t3t_send_next_ndef_update_cmd()
794 … UINT16_TO_STREAM (p, block_id); /* byte1-2: block number in little-endian format */ in rw_t3t_send_next_ndef_update_cmd()
859 UINT16 block_id; in rw_t3t_send_next_ndef_check_cmd() local
921 …for (block_id = first_block_to_read; block_id < (first_block_to_read + cur_blocks_to_read); block_… in rw_t3t_send_next_ndef_check_cmd()
923 if (block_id<256) in rw_t3t_send_next_ndef_check_cmd()
927 … UINT8_TO_STREAM (p, block_id); /* byte1: block number */ in rw_t3t_send_next_ndef_check_cmd()
933 … UINT16_TO_STREAM (p, block_id); /* byte1-2: block number in little-endian format */ in rw_t3t_send_next_ndef_check_cmd()
[all …]
/external/v8/src/mips/
Dlithium-mips.h374 explicit LGoto(int block_id) : block_id_(block_id) { } in LGoto() argument
380 int block_id() const { return block_id_; } in block_id() function
418 int block_id() const { return block()->block_id(); } in block_id() function
461 int true_block_id() { return hydrogen()->SuccessorAt(0)->block_id(); } in true_block_id()
462 int false_block_id() { return hydrogen()->SuccessorAt(1)->block_id(); } in false_block_id()
953 return hydrogen()->FirstSuccessor()->block_id(); in true_block_id()
956 return hydrogen()->SecondSuccessor()->block_id(); in false_block_id()
2196 LLabel* GetLabel(int block_id) const { in GetLabel() argument
2197 HBasicBlock* block = graph_->blocks()->at(block_id); in GetLabel()
2201 int LookupDestination(int block_id) const { in LookupDestination() argument
[all …]
Dlithium-mips.cc134 stream->Add(" Dead block replaced with B%d", rep->block_id()); in PrintDataTo()
196 stream->Add("B%d", block_id()); in PrintDataTo()
470 label->set_replacement(GetLabel(goto_instr->block_id())); in MarkEmptyBlocks()
930 if (pred->end()->FirstSuccessor()->block_id() > block->block_id() || in DoBasicBlock()
931 pred->end()->SecondSuccessor()->block_id() > block->block_id()) { in DoBasicBlock()
1039 return new(zone()) LGoto(instr->FirstSuccessor()->block_id()); in DoGoto()
1049 return new(zone()) LGoto(successor->block_id()); in DoBranch()
/external/v8/src/x64/
Dlithium-x64.h376 explicit LGoto(int block_id) : block_id_(block_id) { } in LGoto() argument
382 int block_id() const { return block_id_; } in block_id() function
420 int block_id() const { return block()->block_id(); } in block_id() function
463 int true_block_id() { return hydrogen()->SuccessorAt(0)->block_id(); } in true_block_id()
464 int false_block_id() { return hydrogen()->SuccessorAt(1)->block_id(); } in false_block_id()
953 return hydrogen()->FirstSuccessor()->block_id(); in true_block_id()
956 return hydrogen()->SecondSuccessor()->block_id(); in false_block_id()
2178 LLabel* GetLabel(int block_id) const { in GetLabel() argument
2179 HBasicBlock* block = graph_->blocks()->at(block_id); in GetLabel()
2183 int LookupDestination(int block_id) const { in LookupDestination() argument
[all …]
Dlithium-x64.cc136 stream->Add(" Dead block replaced with B%d", rep->block_id()); in PrintDataTo()
198 stream->Add("B%d", block_id()); in PrintDataTo()
412 label->set_replacement(GetLabel(goto_instr->block_id())); in MarkEmptyBlocks()
925 if (pred->end()->FirstSuccessor()->block_id() > block->block_id() || in DoBasicBlock()
926 pred->end()->SecondSuccessor()->block_id() > block->block_id()) { in DoBasicBlock()
1034 return new(zone()) LGoto(instr->FirstSuccessor()->block_id()); in DoGoto()
1046 return new(zone()) LGoto(successor->block_id()); in DoBranch()
/external/v8/src/ia32/
Dlithium-ia32.h367 explicit LGoto(int block_id) : block_id_(block_id) { } in LGoto() argument
373 int block_id() const { return block_id_; } in block_id() function
401 int block_id() const { return block()->block_id(); } in block_id() function
450 int true_block_id() { return hydrogen()->SuccessorAt(0)->block_id(); } in true_block_id()
451 int false_block_id() { return hydrogen()->SuccessorAt(1)->block_id(); } in false_block_id()
968 return hydrogen()->FirstSuccessor()->block_id(); in true_block_id()
971 return hydrogen()->SecondSuccessor()->block_id(); in false_block_id()
2314 LLabel* GetLabel(int block_id) const { in GetLabel() argument
2315 HBasicBlock* block = graph_->blocks()->at(block_id); in GetLabel()
2319 int LookupDestination(int block_id) const { in LookupDestination() argument
[all …]
/external/v8/src/arm/
Dlithium-arm.h375 explicit LGoto(int block_id) : block_id_(block_id) { } in LGoto() argument
381 int block_id() const { return block_id_; } in block_id() function
419 int block_id() const { return block()->block_id(); } in block_id() function
462 int true_block_id() { return hydrogen()->SuccessorAt(0)->block_id(); } in true_block_id()
463 int false_block_id() { return hydrogen()->SuccessorAt(1)->block_id(); } in false_block_id()
954 return hydrogen()->FirstSuccessor()->block_id(); in true_block_id()
957 return hydrogen()->SecondSuccessor()->block_id(); in false_block_id()
2216 LLabel* GetLabel(int block_id) const { in GetLabel() argument
2217 HBasicBlock* block = graph_->blocks()->at(block_id); in GetLabel()
2221 int LookupDestination(int block_id) const { in LookupDestination() argument
[all …]
/external/clang/test/CodeGenObjC/
Darc-captured-32bit-block-var-layout.m107 __block id block_id;
117 block_id = 0;

12