Home
last modified time | relevance | path

Searched refs:block1 (Results 1 – 25 of 42) sorted by relevance

12

/external/webrtc/webrtc/modules/desktop_capture/
Ddiffer_block_unittest.cc31 void PrepareBuffers(uint8_t* &block1, uint8_t* &block2) { in PrepareBuffers() argument
32 block1 = reinterpret_cast<uint8_t*> in PrepareBuffers()
34 GenerateData(block1, kSizeOfBlock); in PrepareBuffers()
35 block2 = block1 + kSizeOfBlock; in PrepareBuffers()
36 memcpy(block2, block1, kSizeOfBlock); in PrepareBuffers()
40 uint8_t* block1; in TEST() local
42 PrepareBuffers(block1, block2); in TEST()
46 int result = BlockDifference(block1, block2, kBlockSize * kBytesPerPixel); in TEST()
52 uint8_t* block1; in TEST() local
54 PrepareBuffers(block1, block2); in TEST()
[all …]
/external/ceres-solver/internal/ceres/
Dvisibility_based_preconditioner.cc295 for (set<int>::const_iterator block1 = f_blocks.begin(); in ComputeBlockPairsInPreconditioner() local
296 block1 != f_blocks.end(); in ComputeBlockPairsInPreconditioner()
297 ++block1) { in ComputeBlockPairsInPreconditioner()
298 set<int>::const_iterator block2 = block1; in ComputeBlockPairsInPreconditioner()
301 if (IsBlockPairInPreconditioner(*block1, *block2)) { in ComputeBlockPairsInPreconditioner()
302 block_pairs_.insert(make_pair(*block1, *block2)); in ComputeBlockPairsInPreconditioner()
313 const int block1 = row.cells[i].block_id - num_eliminate_blocks; in ComputeBlockPairsInPreconditioner() local
316 if (block1 <= block2) { in ComputeBlockPairsInPreconditioner()
317 if (IsBlockPairInPreconditioner(block1, block2)) { in ComputeBlockPairsInPreconditioner()
318 block_pairs_.insert(make_pair(block1, block2)); in ComputeBlockPairsInPreconditioner()
[all …]
Dcovariance_test.cc49 double* block1 = parameters; in TEST() local
50 double* block2 = block1 + 1; in TEST()
57 problem.AddParameterBlock(block1, 1); in TEST()
89 covariance_blocks.push_back(make_pair(block1, block1)); in TEST()
94 covariance_blocks.push_back(make_pair(block4, block1)); // reversed in TEST()
319 const double* block1 = covariance_blocks[i].first; in ComputeAndCompareCovarianceBlocks() local
322 GetCovarianceBlockAndCompare(block1, block2, covariance, expected_covariance); in ComputeAndCompareCovarianceBlocks()
324 GetCovarianceBlockAndCompare(block2, block1, covariance, expected_covariance); in ComputeAndCompareCovarianceBlocks()
329 void GetCovarianceBlockAndCompare(const double* block1, in GetCovarianceBlockAndCompare() argument
333 const int row_begin = FindOrDie(column_bounds_, block1).first; in GetCovarianceBlockAndCompare()
[all …]
Dschur_eliminator_impl.h521 const int block1 = it1->first - num_eliminate_blocks_; in ChunkOuterProduct() local
534 CellInfo* cell_info = lhs->GetCell(block1, block2, in ChunkOuterProduct()
603 const int block1 = row.cells[i].block_id - num_eliminate_blocks_; in NoEBlockRowOuterProduct() local
604 DCHECK_GE(block1, 0); in NoEBlockRowOuterProduct()
608 CellInfo* cell_info = lhs->GetCell(block1, block1, in NoEBlockRowOuterProduct()
625 DCHECK_LT(block1, block2); in NoEBlockRowOuterProduct()
627 CellInfo* cell_info = lhs->GetCell(block1, block2, in NoEBlockRowOuterProduct()
656 const int block1 = row.cells[i].block_id - num_eliminate_blocks_; in EBlockRowOuterProduct() local
657 DCHECK_GE(block1, 0); in EBlockRowOuterProduct()
661 CellInfo* cell_info = lhs->GetCell(block1, block1, in EBlockRowOuterProduct()
[all …]
Dvisibility_based_preconditioner.h163 bool IsBlockPairInPreconditioner(int block1, int block2) const;
164 bool IsBlockPairOffDiagonal(int block1, int block2) const;
Dcovariance_impl.cc114 ParameterBlock* block1 = in GetCovarianceBlock() local
121 const int block1_size = block1->Size(); in GetCovarianceBlock()
160 ParameterBlock* block1 = in GetCovarianceBlock() local
164 const LocalParameterization* local_param1 = block1->local_parameterization(); in GetCovarianceBlock()
166 const int block1_size = block1->Size(); in GetCovarianceBlock()
167 const int block1_local_size = block1->LocalSize(); in GetCovarianceBlock()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_sync_test.cc77 u64 block1[4] = {}; // fake malloc block in TEST() local
79 m->AllocBlock(thr, 0, (uptr)&block1[0], 3 * sizeof(u64)); in TEST()
80 m->AllocBlock(thr, 0, (uptr)&block1[3], 1 * sizeof(u64)); in TEST()
81 SyncVar *s1 = m->GetOrCreateAndLock(thr, 0, (uptr)&block1[0], true); in TEST()
83 SyncVar *s2 = m->GetOrCreateAndLock(thr, 0, (uptr)&block1[1], true); in TEST()
85 m->MoveMemory((uptr)&block1[0], (uptr)&block2[0], 4 * sizeof(u64)); in TEST()
86 MBlock *mb1 = m->GetBlock((uptr)&block1[0]); in TEST()
88 MBlock *mb2 = m->GetBlock((uptr)&block1[3]); in TEST()
96 s1 = m->GetIfExistsAndLock((uptr)&block1[0]); in TEST()
98 s2 = m->GetIfExistsAndLock((uptr)&block1[1]); in TEST()
/external/valgrind/cachegrind/
Dcg_sim.c129 UWord block1 = a >> c->line_size_bits; in cachesim_ref_is_miss() local
131 UInt set1 = block1 & c->sets_min_1; in cachesim_ref_is_miss()
140 UWord tag1 = block1; in cachesim_ref_is_miss()
143 if (block1 == block2) in cachesim_ref_is_miss()
147 else if (block1 + 1 == block2) { in cachesim_ref_is_miss()
159 a, size, block1, block2); in cachesim_ref_is_miss()
226 UWord block1, block2; in cachesim_is_IrNoX() local
229 block1 = a >> I1.line_size_bits; in cachesim_is_IrNoX()
231 if (block1 != block2) return False; in cachesim_is_IrNoX()
/external/llvm/test/Transforms/CodeGenPrepare/X86/
Dextend-sink-hoist.ll9 ; CHECK-LABEL: block1:
11 block1:
27 ; The first cast should be hoisted into block1, in order that the
30 ; CHECK-LABEL: block1:
33 block1:
51 block1:
62 %res = phi i128 [ %v2, %block1 ], [ %v4, %block2 ]
/external/llvm/test/Transforms/SimplifyCFG/
DPR17073.ll4 …rst test confirms that we don't do that when the trapping op is reached by the current BB (block1).
23 br i1 %tobool, label %exit, label %block1
25 block1:
32 …1 icmp eq (i32* bitcast (i8* @b to i32*), i32* @a) to i64)), i64 0), i32* null, i32* @a), %block1 ]
43 br i1 %tobool, label %exit, label %block1
45 block1:
52 …32*), i32* @a) to i64)), i64 0), i32* null, i32* @a), %entry ],[ null, %block2 ], [ null, %block1 ]
62 br i1 %tobool, label %exit, label %block1
64 block1:
71 …1 icmp eq (i32* bitcast (i8* @b to i32*), i32* @a) to i64)), i64 0), i32* null, i32* @a), %block1 ]
/external/llvm/test/CodeGen/Hexagon/
Dearly-if-phi-i1.ll3 ; Check that the early if-conversion does not predicate block1 (where the
10 br i1 %c, label %block2, label %block1
11 block1:
15 %b = phi i1 [ 0, %entry ], [ %c1, %block1 ]
/external/llvm/test/Transforms/LoopVectorize/
Dvalue-ptr-bug.ll26 br i1 %cmp, label %block1, label %loop
28 block1:
37 %row_width.5 = phi i32 [ %sub267.lcssa, %block1 ], [ %dec, %do.body272 ]
38 %sp.4 = phi i8* [ %tmp30, %block1 ], [ %incdec.ptr273, %do.body272 ]
39 %dp.addr.4 = phi i8* [ %tmp29, %block1 ], [ %incdec.ptr274, %do.body272 ]
/external/boringssl/src/decrepit/xts/
Dxts.c61 block128_f block1, block2; member
91 (*ctx->block1)(scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt()
121 (*ctx->block1)(scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt()
145 (*ctx->block1)(scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt()
156 (*ctx->block1)(scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt()
189 xctx->xts.block1 = (block128_f) AES_encrypt; in aes_xts_init_key()
192 xctx->xts.block1 = (block128_f) AES_decrypt; in aes_xts_init_key()
/external/clang/test/Rewriter/
Dobjc-modern-implicit-cast.mm24 void(^block1)(void) = obj1;
26 return_id(block1);
30 return_block(block1);
/external/dbus-binding-generator/chromeos-dbus-bindings/
Dindented_text_unittest.cc65 IndentedText block1; in TEST_F() local
66 block1.AddLineWithOffset(kTestString, 5); in TEST_F()
67 block1.AddLineWithOffset(kTestString, 15); in TEST_F()
69 text_.AddBlock(block1); in TEST_F()
70 EXPECT_EQ(block0.GetContents() + block1.GetContents(), text_.GetContents()); in TEST_F()
/external/llvm/test/CodeGen/SystemZ/Large/
Dbranch-range-07.py47 block1 = 'entry' if i == branch_blocks - 1 else 'loop%d' % (i + 1) variable
50 ' [ %%nextcount%d, %%%s ]' % (i, i, block1, i, block2))
Dbranch-range-08.py48 block1 = 'entry' if i == branch_blocks - 1 else 'loop%d' % (i + 1) variable
51 ' [ %%nextcount%d, %%%s ]' % (i, i, block1, i, block2))
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DBasicBlockList.java259 public boolean catchesEqual(BasicBlock block1, BasicBlock block2) { in catchesEqual() argument
260 TypeList catches1 = block1.getExceptionHandlerTypes(); in catchesEqual()
267 IntList succ1 = block1.getSuccessors(); in catchesEqual()
271 int primary1 = block1.getPrimarySuccessor(); in catchesEqual()
/external/llvm/test/Transforms/GVN/
Dpre-load.ll6 block1:
29 block1:
54 block1:
84 block1:
246 block1:
369 block1:
400 block1:
Dbasic.ll4 block1:
Dlocal-pre.ll4 block1:
Drle-semidominated.ll4 block1:
/external/clang/test/CodeGen/
Dblockwithlocalstatic.c10 void (^block1)(void) = ^ {
/external/clang/test/SemaObjC/
Dnonnull.m18 extern void func1 (void (^block1)(), void (^block2)(), int) __attribute__((nonnull));
20 extern void func3 (void (^block1)(), int, void (^block2)(), int)
23 extern void func4 (void (^block1)(), void (^block2)()) __attribute__((nonnull(1)))
DNSString-type.m6 void (^block1)(void) = pid;

12