Home
last modified time | relevance | path

Searched refs:first_iter (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/base/strings/
Dutf_offset_string_conversions.cc96 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/
Ddoc-hit-info-iterator-and_test.cc44 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 …]
Ddoc-hit-info-iterator-or_test.cc44 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 …]
Ddoc-hit-info-iterator_benchmark.cc81 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/
Dskip_with_error_test.cc93 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/
Dskip_with_error_test.cc92 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/
Dskip_with_error_test.cc98 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/
Dskip_with_error_test.cc92 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/
Dfind_end.pass.cpp100 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 ()()
Dfind_first_of.pass.cpp93 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 ()()
Dequal.pass.cpp146 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 ()()
Dmismatch.pass.cpp114 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/
Dlexicographical_compare.pass.cpp151 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 ()()