/external/cronet/base/strings/ |
D | utf_offset_string_conversions.cc | 96 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/ |
D | doc-hit-info-iterator-or_test.cc | 41 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 …]
|
D | doc-hit-info-iterator-and_test.cc | 42 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 …]
|
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/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/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/cronet/net/http/ |
D | http_cache_writers_unittest.cc | 296 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/ |
D | surface.rs | 117 first_iter: IterA, in new() 122 free_var_1: first_iter.collect(), in new()
|