/external/libchrome/base/strings/ |
D | utf_offset_string_conversions.cc | 96 Adjustments::const_iterator first_iter = first_adjustments.begin(); in MergeSequentialAdjustments() local 109 if ((first_iter == first_adjustments.end()) || in MergeSequentialAdjustments() 111 adjusted_iter->original_length) <= first_iter->original_offset)) { in MergeSequentialAdjustments() 122 first_iter->original_offset) { in MergeSequentialAdjustments() 132 DCHECK_LE(first_iter->original_offset + first_iter->output_length, in MergeSequentialAdjustments() 140 shift += first_iter->original_length - first_iter->output_length; in MergeSequentialAdjustments() 142 adjusted_iter, *first_iter); in MergeSequentialAdjustments() 144 ++first_iter; in MergeSequentialAdjustments() 160 const int collapse = static_cast<int>(first_iter->original_length) - in MergeSequentialAdjustments() 161 static_cast<int>(first_iter->output_length); in MergeSequentialAdjustments() [all …]
|
/external/icing/icing/index/iterator/ |
D | doc-hit-info-iterator-and_test.cc | 44 std::unique_ptr<DocHitInfoIterator> first_iter = in TEST() local 50 iterators.push_back(std::move(first_iter)); in TEST() 86 auto first_iter = std::make_unique<DocHitInfoIteratorDummy>(); in TEST() local 87 first_iter->SetNumBlocksInspected(first_iter_blocks); in TEST() 93 DocHitInfoIteratorAnd and_iter(std::move(first_iter), std::move(second_iter)); in TEST() 101 auto first_iter = std::make_unique<DocHitInfoIteratorDummy>(); in TEST() local 102 first_iter->SetNumLeafAdvanceCalls(first_iter_leaves); in TEST() 108 DocHitInfoIteratorAnd and_iter(std::move(first_iter), std::move(second_iter)); in TEST() 119 std::unique_ptr<DocHitInfoIterator> first_iter = in TEST() local 123 DocHitInfoIteratorAnd and_iter(std::move(first_iter), std::move(second_iter)); in TEST() [all …]
|
D | doc-hit-info-iterator-or_test.cc | 44 std::unique_ptr<DocHitInfoIterator> first_iter = in TEST() local 50 iterators.push_back(std::move(first_iter)); in TEST() 85 auto first_iter = std::make_unique<DocHitInfoIteratorDummy>(); in TEST() local 86 first_iter->SetNumBlocksInspected(first_iter_blocks); in TEST() 92 DocHitInfoIteratorOr or_iter(std::move(first_iter), std::move(second_iter)); in TEST() 100 auto first_iter = std::make_unique<DocHitInfoIteratorDummy>(); in TEST() local 101 first_iter->SetNumLeafAdvanceCalls(first_iter_leaves); in TEST() 107 DocHitInfoIteratorOr or_iter(std::move(first_iter), std::move(second_iter)); in TEST() 122 std::unique_ptr<DocHitInfoIterator> first_iter = in TEST() local 126 DocHitInfoIteratorOr or_iter(std::move(first_iter), std::move(second_iter)); in TEST() [all …]
|
D | doc-hit-info-iterator_benchmark.cc | 81 std::unique_ptr<DocHitInfoIterator> first_iter = in BM_DocHitInfoIteratorAndBenchmark() local 95 iters.push_back(std::move(first_iter)); in BM_DocHitInfoIteratorAndBenchmark() 130 std::unique_ptr<DocHitInfoIterator> first_iter = in BM_DocHitInfoIteratorAndNaryBenchmark() local 154 iters.push_back(std::move(first_iter)); in BM_DocHitInfoIteratorAndNaryBenchmark()
|
/external/llvm-project/llvm/utils/benchmark/test/ |
D | skip_with_error_test.cc | 93 int first_iter = true; in BM_error_during_running() local 96 assert(first_iter); in BM_error_during_running() 97 first_iter = false; in BM_error_during_running() 117 int first_iter = true; in BM_error_during_running_ranged_for() local 121 assert(first_iter); in BM_error_during_running_ranged_for() 122 first_iter = false; in BM_error_during_running_ranged_for() 152 bool first_iter = true; in BM_error_while_paused() local 155 assert(first_iter); in BM_error_while_paused() 156 first_iter = false; in BM_error_while_paused()
|
/external/llvm-project/libcxx/utils/google-benchmark/test/ |
D | skip_with_error_test.cc | 92 int first_iter = true; in BM_error_during_running() local 95 assert(first_iter); in BM_error_during_running() 96 first_iter = false; in BM_error_during_running() 116 int first_iter = true; in BM_error_during_running_ranged_for() local 120 assert(first_iter); in BM_error_during_running_ranged_for() 121 first_iter = false; in BM_error_during_running_ranged_for() 149 bool first_iter = true; in BM_error_while_paused() local 152 assert(first_iter); in BM_error_while_paused() 153 first_iter = false; in BM_error_while_paused()
|
/external/google-benchmark/test/ |
D | skip_with_error_test.cc | 98 int first_iter = true; in BM_error_during_running() local 101 assert(first_iter); in BM_error_during_running() 102 first_iter = false; in BM_error_during_running() 122 int first_iter = true; in BM_error_during_running_ranged_for() local 126 assert(first_iter); in BM_error_during_running_ranged_for() 127 first_iter = false; in BM_error_during_running_ranged_for() 155 bool first_iter = true; in BM_error_while_paused() local 158 assert(first_iter); in BM_error_while_paused() 159 first_iter = false; in BM_error_while_paused()
|
/external/libcxx/utils/google-benchmark/test/ |
D | skip_with_error_test.cc | 92 int first_iter = true; in BM_error_during_running() local 95 assert(first_iter); in BM_error_during_running() 96 first_iter = false; in BM_error_during_running() 116 int first_iter = true; in BM_error_during_running_ranged_for() local 120 assert(first_iter); in BM_error_during_running_ranged_for() 121 first_iter = false; in BM_error_during_running_ranged_for() 149 bool first_iter = true; in BM_error_while_paused() local 152 assert(first_iter); in BM_error_while_paused() 153 first_iter = false; in BM_error_while_paused()
|
/external/llvm-project/pstl/test/std/algorithms/alg.nonmodifying/ |
D | find_end.pass.cpp | 100 operator()(Policy&& exec, FirstIterator first_iter, SecondInterator second_iter) in operator ()() 103 … find_end(exec, first_iter, first_iter, second_iter, second_iter, non_const(std::equal_to<T>())); in operator ()() 104 … search(exec, first_iter, first_iter, second_iter, second_iter, non_const(std::equal_to<T>())); in operator ()()
|
D | find_first_of.pass.cpp | 93 operator()(Policy&& exec, FirstIterator first_iter, SecondInterator second_iter) in operator ()() 96 …find_first_of(exec, first_iter, first_iter, second_iter, second_iter, non_const(std::equal_to<T>()… in operator ()()
|
D | equal.pass.cpp | 146 operator()(Policy&& exec, FirstIterator first_iter, SecondInterator second_iter) in operator ()() 148 … equal(exec, first_iter, first_iter, second_iter, second_iter, non_const(std::equal_to<T>())); in operator ()()
|
D | mismatch.pass.cpp | 114 operator()(Policy&& exec, FirstIterator first_iter, SecondInterator second_iter) in operator ()() 116 mismatch(exec, first_iter, first_iter, second_iter, second_iter, non_const(std::less<T>())); in operator ()()
|
/external/llvm-project/pstl/test/std/algorithms/alg.sorting/alg.lex.comparison/ |
D | lexicographical_compare.pass.cpp | 151 operator()(Policy&& exec, FirstIterator first_iter, SecondInterator second_iter) in operator ()() 154 …lexicographical_compare(exec, first_iter, first_iter, second_iter, second_iter, non_const(std::les… in operator ()()
|