Home
last modified time | relevance | path

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

/third_party/gn/src/base/strings/
Dutf_offset_string_conversions.cc94 Adjustments::const_iterator first_iter = first_adjustments.begin(); in MergeSequentialAdjustments() local
107 if ((first_iter == first_adjustments.end()) || in MergeSequentialAdjustments()
109 adjusted_iter->original_length) <= first_iter->original_offset)) { in MergeSequentialAdjustments()
120 first_iter->original_offset) { in MergeSequentialAdjustments()
130 DCHECK_LE(first_iter->original_offset + first_iter->output_length, in MergeSequentialAdjustments()
138 shift += first_iter->original_length - first_iter->output_length; in MergeSequentialAdjustments()
140 adjustments_on_adjusted_string->insert(adjusted_iter, *first_iter); in MergeSequentialAdjustments()
142 ++first_iter; in MergeSequentialAdjustments()
158 const int collapse = static_cast<int>(first_iter->original_length) - in MergeSequentialAdjustments()
159 static_cast<int>(first_iter->output_length); in MergeSequentialAdjustments()
[all …]
/third_party/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 bool 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()
128 (void)first_iter; in BM_error_during_running_ranged_for()
156 bool first_iter = true; in BM_error_while_paused() local
159 assert(first_iter); in BM_error_while_paused()
160 first_iter = false; in BM_error_while_paused()
/third_party/boost/libs/graph/test/
Dcsr_graph_test.cpp310 bool first_iter = true; in graph_test() local
314 BOOST_TEST(first_iter || v > last_vertex); in graph_test()
316 first_iter = false; in graph_test()