Home
last modified time | relevance | path

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

/external/cronet/base/strings/
Dutf_offset_string_conversions.cc96 auto first_iter = first_adjustments.begin(); in MergeSequentialAdjustments() local
115 if ((first_iter == first_adjustments.end()) || in MergeSequentialAdjustments()
117 adjusted_iter->original_length) <= first_iter->original_offset)) { in MergeSequentialAdjustments()
129 first_iter->original_offset) { in MergeSequentialAdjustments()
139 DCHECK_LE(first_iter->original_offset + first_iter->output_length, in MergeSequentialAdjustments()
143 shift += first_iter->original_length - first_iter->output_length; in MergeSequentialAdjustments()
144 adjustments_builder.push_back(*first_iter); in MergeSequentialAdjustments()
145 ++first_iter; in MergeSequentialAdjustments()
163 DCHECK_GT(first_iter->original_length, first_iter->output_length); in MergeSequentialAdjustments()
165 first_iter->original_length - first_iter->output_length; in MergeSequentialAdjustments()
[all …]
/external/icing/icing/index/iterator/
Ddoc-hit-info-iterator-or_test.cc41 std::unique_ptr<DocHitInfoIterator> first_iter = in TEST() local
47 iterators.push_back(std::move(first_iter)); in TEST()
82 auto first_iter = std::make_unique<DocHitInfoIteratorDummy>(); in TEST() local
83 first_iter->SetNumBlocksInspected(first_iter_blocks); in TEST()
89 DocHitInfoIteratorOr or_iter(std::move(first_iter), std::move(second_iter)); in TEST()
97 auto first_iter = std::make_unique<DocHitInfoIteratorDummy>(); in TEST() local
98 first_iter->SetNumLeafAdvanceCalls(first_iter_leaves); in TEST()
104 DocHitInfoIteratorOr or_iter(std::move(first_iter), std::move(second_iter)); in TEST()
119 std::unique_ptr<DocHitInfoIterator> first_iter = in TEST() local
123 DocHitInfoIteratorOr or_iter(std::move(first_iter), std::move(second_iter)); in TEST()
[all …]
Ddoc-hit-info-iterator-and_test.cc42 std::unique_ptr<DocHitInfoIterator> first_iter = in TEST() local
48 iterators.push_back(std::move(first_iter)); in TEST()
84 auto first_iter = std::make_unique<DocHitInfoIteratorDummy>(); in TEST() local
85 first_iter->SetNumBlocksInspected(first_iter_blocks); in TEST()
91 DocHitInfoIteratorAnd and_iter(std::move(first_iter), std::move(second_iter)); in TEST()
99 auto first_iter = std::make_unique<DocHitInfoIteratorDummy>(); in TEST() local
100 first_iter->SetNumLeafAdvanceCalls(first_iter_leaves); in TEST()
106 DocHitInfoIteratorAnd and_iter(std::move(first_iter), std::move(second_iter)); in TEST()
117 std::unique_ptr<DocHitInfoIterator> first_iter = in TEST() local
121 DocHitInfoIteratorAnd and_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/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/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/cronet/net/http/
Dhttp_cache_writers_unittest.cc296 bool first_iter = true; in ReadAllDeleteTransaction() local
306 if (!first_iter && deleteType != DeleteTransactionType::NONE && in ReadAllDeleteTransaction()
319 if (first_iter && deleteType != DeleteTransactionType::NONE) { in ReadAllDeleteTransaction()
349 first_iter = false; in ReadAllDeleteTransaction()
390 bool first_iter = true; in ReadCacheWriteFailure() local
407 if (!first_iter && i > 0) in ReadCacheWriteFailure()
420 } else if (first_iter) { in ReadCacheWriteFailure()
426 first_iter = false; in ReadCacheWriteFailure()
/external/rust/crates/plotters/src/series/
Dsurface.rs117 first_iter: IterA, in new()
122 free_var_1: first_iter.collect(), in new()