Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 25 of 3141) sorted by relevance

12345678910>>...126

/third_party/icu/icu4c/source/common/
Duiter.cpp92 stringIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) { in stringIteratorGetIndex() argument
97 return iter->start; in stringIteratorGetIndex()
99 return iter->index; in stringIteratorGetIndex()
101 return iter->limit; in stringIteratorGetIndex()
103 return iter->length; in stringIteratorGetIndex()
112 stringIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) { in stringIteratorMove() argument
120 pos=iter->start+delta; in stringIteratorMove()
123 pos=iter->index+delta; in stringIteratorMove()
126 pos=iter->limit+delta; in stringIteratorMove()
129 pos=iter->length+delta; in stringIteratorMove()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Duiter.cpp92 stringIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) { in stringIteratorGetIndex() argument
97 return iter->start; in stringIteratorGetIndex()
99 return iter->index; in stringIteratorGetIndex()
101 return iter->limit; in stringIteratorGetIndex()
103 return iter->length; in stringIteratorGetIndex()
112 stringIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) { in stringIteratorMove() argument
120 pos=iter->start+delta; in stringIteratorMove()
123 pos=iter->index+delta; in stringIteratorMove()
126 pos=iter->limit+delta; in stringIteratorMove()
129 pos=iter->length+delta; in stringIteratorMove()
[all …]
/third_party/node/deps/icu-small/source/common/
Duiter.cpp92 stringIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) { in stringIteratorGetIndex() argument
97 return iter->start; in stringIteratorGetIndex()
99 return iter->index; in stringIteratorGetIndex()
101 return iter->limit; in stringIteratorGetIndex()
103 return iter->length; in stringIteratorGetIndex()
112 stringIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) { in stringIteratorMove() argument
120 pos=iter->start+delta; in stringIteratorMove()
123 pos=iter->index+delta; in stringIteratorMove()
126 pos=iter->limit+delta; in stringIteratorMove()
129 pos=iter->length+delta; in stringIteratorMove()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Duiter.cpp92 stringIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) { in stringIteratorGetIndex() argument
97 return iter->start; in stringIteratorGetIndex()
99 return iter->index; in stringIteratorGetIndex()
101 return iter->limit; in stringIteratorGetIndex()
103 return iter->length; in stringIteratorGetIndex()
112 stringIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) { in stringIteratorMove() argument
120 pos=iter->start+delta; in stringIteratorMove()
123 pos=iter->index+delta; in stringIteratorMove()
126 pos=iter->limit+delta; in stringIteratorMove()
129 pos=iter->length+delta; in stringIteratorMove()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/samples/uciter8/
Duit_len8.c116 lenient8IteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) { in lenient8IteratorGetIndex() argument
122 if(iter->index<0) { in lenient8IteratorGetIndex()
128 s=(const uint8_t *)iter->context; in lenient8IteratorGetIndex()
130 limit=iter->start; /* count up to the UTF-8 index */ in lenient8IteratorGetIndex()
140 iter->start=i; /* just in case setState() did not get us to a code point boundary */ in lenient8IteratorGetIndex()
141 if(i==iter->limit) { in lenient8IteratorGetIndex()
142 iter->length=index; /* in case it was <0 or wrong */ in lenient8IteratorGetIndex()
144 if(iter->reservedField!=0) { in lenient8IteratorGetIndex()
147 iter->index=index; in lenient8IteratorGetIndex()
149 return iter->index; in lenient8IteratorGetIndex()
[all …]
/third_party/icu/icu4c/source/samples/uciter8/
Duit_len8.c116 lenient8IteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) { in lenient8IteratorGetIndex() argument
122 if(iter->index<0) { in lenient8IteratorGetIndex()
128 s=(const uint8_t *)iter->context; in lenient8IteratorGetIndex()
130 limit=iter->start; /* count up to the UTF-8 index */ in lenient8IteratorGetIndex()
140 iter->start=i; /* just in case setState() did not get us to a code point boundary */ in lenient8IteratorGetIndex()
141 if(i==iter->limit) { in lenient8IteratorGetIndex()
142 iter->length=index; /* in case it was <0 or wrong */ in lenient8IteratorGetIndex()
144 if(iter->reservedField!=0) { in lenient8IteratorGetIndex()
147 iter->index=index; in lenient8IteratorGetIndex()
149 return iter->index; in lenient8IteratorGetIndex()
[all …]
/third_party/skia/third_party/externals/icu/source/samples/uciter8/
Duit_len8.c116 lenient8IteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) { in lenient8IteratorGetIndex() argument
122 if(iter->index<0) { in lenient8IteratorGetIndex()
128 s=(const uint8_t *)iter->context; in lenient8IteratorGetIndex()
130 limit=iter->start; /* count up to the UTF-8 index */ in lenient8IteratorGetIndex()
140 iter->start=i; /* just in case setState() did not get us to a code point boundary */ in lenient8IteratorGetIndex()
141 if(i==iter->limit) { in lenient8IteratorGetIndex()
142 iter->length=index; /* in case it was <0 or wrong */ in lenient8IteratorGetIndex()
144 if(iter->reservedField!=0) { in lenient8IteratorGetIndex()
147 iter->index=index; in lenient8IteratorGetIndex()
149 return iter->index; in lenient8IteratorGetIndex()
[all …]
/third_party/exfatprogs/fsck/
Dde_iter.c14 static ssize_t write_block(struct exfat_de_iter *iter, unsigned int block) in write_block() argument
17 struct exfat *exfat = iter->exfat; in write_block()
21 desc = &iter->buffer_desc[block & 0x01]; in write_block()
24 for (i = 0; i < iter->read_size / iter->write_size; i++) { in write_block()
27 desc->buffer + i * iter->write_size, in write_block()
28 iter->write_size, in write_block()
29 device_offset + i * iter->write_size) in write_block()
30 != (ssize_t)iter->write_size) in write_block()
38 static int read_ahead_first_blocks(struct exfat_de_iter *iter) in read_ahead_first_blocks() argument
41 struct exfat *exfat = iter->exfat; in read_ahead_first_blocks()
[all …]
/third_party/boost/libs/spirit/classic/test/
Dposition_iterator_tests.cpp100 void CheckIncrement(IterT iter) in CheckIncrement() argument
106 IterT iter2(iter); in CheckIncrement()
107 IterT iter3 = iter; in CheckIncrement()
109 BOOST_TEST(iter != end); in CheckIncrement()
112 BOOST_TEST(*iter == '0'); in CheckIncrement()
114 ++iter; in CheckIncrement()
117 BOOST_TEST(iter == iter2); in CheckIncrement()
118 BOOST_TEST(iter == iter3); in CheckIncrement()
119 BOOST_TEST(*iter == *iter2); in CheckIncrement()
120 BOOST_TEST(*iter == *iter3); in CheckIncrement()
[all …]
/third_party/skia/src/utils/
DSkNWayCanvas.cpp60 Iter iter(fList); in willSave() local
61 while (iter.next()) { in willSave()
62 iter->save(); in willSave()
69 Iter iter(fList); in getSaveLayerStrategy() local
70 while (iter.next()) { in getSaveLayerStrategy()
71 iter->saveLayer(rec); in getSaveLayerStrategy()
80 Iter iter(fList); in onDoSaveBehind() local
81 while (iter.next()) { in onDoSaveBehind()
82 SkCanvasPriv::SaveBehind(iter.get(), bounds); in onDoSaveBehind()
89 Iter iter(fList); in willRestore() local
[all …]
/third_party/flutter/skia/src/utils/
DSkNWayCanvas.cpp59 Iter iter(fList); in willSave() local
60 while (iter.next()) { in willSave()
61 iter->save(); in willSave()
68 Iter iter(fList); in getSaveLayerStrategy() local
69 while (iter.next()) { in getSaveLayerStrategy()
70 iter->saveLayer(rec); in getSaveLayerStrategy()
79 Iter iter(fList); in onDoSaveBehind() local
80 while (iter.next()) { in onDoSaveBehind()
81 SkCanvasPriv::SaveBehind(iter.get(), bounds); in onDoSaveBehind()
88 Iter iter(fList); in willRestore() local
[all …]
/third_party/gstreamer/gstplugins_good/ext/gdk_pixbuf/
Dgstgdkanimation.c162 iter);
164 iter);
167 iter);
168 static gboolean gst_gdk_animation_iter_advance (GdkPixbufAnimationIter * iter,
219 GstGdkAnimationIter *iter = GST_GDK_ANIMATION_ITER (instance); in gst_gdk_animation_iter_init() local
221 iter->buffers = g_queue_new (); in gst_gdk_animation_iter_init()
222 iter->eos = FALSE; in gst_gdk_animation_iter_init()
228 GstGdkAnimationIter *iter = GST_GDK_ANIMATION_ITER (object); in gst_gdk_animation_iter_finalize() local
230 g_object_unref (iter->ani); in gst_gdk_animation_iter_finalize()
232 if (iter->pipeline) in gst_gdk_animation_iter_finalize()
[all …]
/third_party/boost/libs/random/performance/
Drandom_speed.cpp131 void show_elapsed(double end, int iter, const std::string & name) in show_elapsed() argument
133 double usec = end/iter*1e6; in show_elapsed()
143 void timing(RNG & rng, int iter, const std::string& name)
148 for(int i = 0; i < iter; i++)
150 show_elapsed(t.elapsed(), iter, name);
156 void timing(RNG rng, int iter, const std::string& name) in timing() argument
161 for(int i = 0; i < iter; i++) in timing()
163 show_elapsed(t.elapsed(), iter, name); in timing()
167 void timing_sphere(RNG rng, int iter, const std::string & name) in timing_sphere() argument
170 for(int i = 0; i < iter; i++) { in timing_sphere()
[all …]
/third_party/node/deps/histogram/src/
Dhdr_histogram.c576 struct hdr_iter iter; in hdr_add() local
578 hdr_iter_recorded_init(&iter, from); in hdr_add()
580 while (hdr_iter_next(&iter)) in hdr_add()
582 int64_t value = iter.value; in hdr_add()
583 int64_t count = iter.count; in hdr_add()
597 struct hdr_iter iter; in hdr_add_while_correcting_for_coordinated_omission() local
599 hdr_iter_recorded_init(&iter, from); in hdr_add_while_correcting_for_coordinated_omission()
601 while (hdr_iter_next(&iter)) in hdr_add_while_correcting_for_coordinated_omission()
603 int64_t value = iter.value; in hdr_add_while_correcting_for_coordinated_omission()
604 int64_t count = iter.count; in hdr_add_while_correcting_for_coordinated_omission()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Duitercollationiterator.cpp36 iter.move(&iter, newOffset, UITER_START); in resetToOffset()
41 return iter.getIndex(&iter, UITER_CURRENT); in getOffset()
46 c = iter.next(&iter); in handleNextCE32()
55 UChar32 trail = iter.next(&iter); in handleGetTrailSurrogate()
56 if(!U16_IS_TRAIL(trail) && trail >= 0) { iter.previous(&iter); } in handleGetTrailSurrogate()
62 return uiter_next32(&iter); in nextCodePoint()
67 return uiter_previous32(&iter); in previousCodePoint()
72 while(num > 0 && (uiter_next32(&iter)) >= 0) { in forwardNumCodePoints()
79 while(num > 0 && (uiter_previous32(&iter)) >= 0) { in backwardNumCodePoints()
98 return iter.getIndex(&iter, UITER_CURRENT); in getOffset()
[all …]
/third_party/icu/icu4c/source/i18n/
Duitercollationiterator.cpp36 iter.move(&iter, newOffset, UITER_START); in resetToOffset()
41 return iter.getIndex(&iter, UITER_CURRENT); in getOffset()
46 c = iter.next(&iter); in handleNextCE32()
55 UChar32 trail = iter.next(&iter); in handleGetTrailSurrogate()
56 if(!U16_IS_TRAIL(trail) && trail >= 0) { iter.previous(&iter); } in handleGetTrailSurrogate()
62 return uiter_next32(&iter); in nextCodePoint()
67 return uiter_previous32(&iter); in previousCodePoint()
72 while(num > 0 && (uiter_next32(&iter)) >= 0) { in forwardNumCodePoints()
79 while(num > 0 && (uiter_previous32(&iter)) >= 0) { in backwardNumCodePoints()
98 return iter.getIndex(&iter, UITER_CURRENT); in getOffset()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Duitercollationiterator.cpp36 iter.move(&iter, newOffset, UITER_START); in resetToOffset()
41 return iter.getIndex(&iter, UITER_CURRENT); in getOffset()
46 c = iter.next(&iter); in handleNextCE32()
55 UChar32 trail = iter.next(&iter); in handleGetTrailSurrogate()
56 if(!U16_IS_TRAIL(trail) && trail >= 0) { iter.previous(&iter); } in handleGetTrailSurrogate()
62 return uiter_next32(&iter); in nextCodePoint()
67 return uiter_previous32(&iter); in previousCodePoint()
72 while(num > 0 && (uiter_next32(&iter)) >= 0) { in forwardNumCodePoints()
79 while(num > 0 && (uiter_previous32(&iter)) >= 0) { in backwardNumCodePoints()
98 return iter.getIndex(&iter, UITER_CURRENT); in getOffset()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Duitercollationiterator.cpp36 iter.move(&iter, newOffset, UITER_START); in resetToOffset()
41 return iter.getIndex(&iter, UITER_CURRENT); in getOffset()
46 c = iter.next(&iter); in handleNextCE32()
55 UChar32 trail = iter.next(&iter); in handleGetTrailSurrogate()
56 if(!U16_IS_TRAIL(trail) && trail >= 0) { iter.previous(&iter); } in handleGetTrailSurrogate()
62 return uiter_next32(&iter); in nextCodePoint()
67 return uiter_previous32(&iter); in previousCodePoint()
72 while(num > 0 && (uiter_next32(&iter)) >= 0) { in forwardNumCodePoints()
79 while(num > 0 && (uiter_previous32(&iter)) >= 0) { in backwardNumCodePoints()
98 return iter.getIndex(&iter, UITER_CURRENT); in getOffset()
[all …]
/third_party/glib/gio/
Dgmenumodel.c179 GHashTableIter iter; member
194 GMenuLinkHashIter *iter = (GMenuLinkHashIter *) link_iter; in G_DEFINE_TYPE() local
197 if (!g_hash_table_iter_next (&iter->iter, &keyptr, &valueptr)) in G_DEFINE_TYPE()
209 GMenuLinkHashIter *iter = (GMenuLinkHashIter *) object; in g_menu_link_hash_iter_finalize() local
211 g_hash_table_unref (iter->table); in g_menu_link_hash_iter_finalize()
218 g_menu_link_hash_iter_init (GMenuLinkHashIter *iter) in g_menu_link_hash_iter_init() argument
235 GHashTableIter iter; member
250 GMenuAttributeHashIter *iter = (GMenuAttributeHashIter *) attr_iter; in G_DEFINE_TYPE() local
253 if (!g_hash_table_iter_next (&iter->iter, &keyptr, &valueptr)) in G_DEFINE_TYPE()
266 GMenuAttributeHashIter *iter = (GMenuAttributeHashIter *) object; in g_menu_attribute_hash_iter_finalize() local
[all …]
Dgwin32registrykey.c171 g_win32_registry_subkey_iter_copy (const GWin32RegistrySubkeyIter *iter) in g_win32_registry_subkey_iter_copy() argument
175 g_return_val_if_fail (iter != NULL, NULL); in g_win32_registry_subkey_iter_copy()
179 new_iter->key = g_object_ref (iter->key); in g_win32_registry_subkey_iter_copy()
180 new_iter->counter = iter->counter; in g_win32_registry_subkey_iter_copy()
181 new_iter->subkey_count = iter->subkey_count; in g_win32_registry_subkey_iter_copy()
182 new_iter->subkey_name = g_wcsdup (iter->subkey_name, iter->subkey_name_size); in g_win32_registry_subkey_iter_copy()
183 new_iter->subkey_name_size = iter->subkey_name_size; in g_win32_registry_subkey_iter_copy()
185 if (iter->subkey_name_u8) in g_win32_registry_subkey_iter_copy()
186 new_iter->subkey_name_u8 = iter->subkey_name_u8; in g_win32_registry_subkey_iter_copy()
203 g_win32_registry_subkey_iter_free (GWin32RegistrySubkeyIter *iter) in g_win32_registry_subkey_iter_free() argument
[all …]
/third_party/flutter/skia/src/sksl/
DSkSLASTNode.cpp35 auto iter = this->begin(); in description() local
36 String result = iter->description(); in description()
39 while (iter != this->end()) { in description()
41 result += (iter++)->description(); in description()
94 auto iter = this->begin(); in description() local
95 result += (iter++)->description() + " " + fd.fName + "("; in description()
99 result += (iter++)->description(); in description()
103 if (iter != this->end()) { in description()
104 result += " " + (iter++)->description(); in description()
105 SkASSERT(iter == this->end()); in description()
[all …]
/third_party/mesa3d/src/intel/common/
Dintel_decoder.c873 iter_more_fields(const struct intel_field_iterator *iter) in iter_more_fields() argument
875 return iter->field != NULL && iter->field->next != NULL; in iter_more_fields()
879 iter_array_offset_bits(const struct intel_field_iterator *iter) in iter_array_offset_bits() argument
881 if (iter->level == 0) in iter_array_offset_bits()
885 const struct intel_group *group = iter->groups[1]; in iter_array_offset_bits()
886 for (int level = 1; level <= iter->level; level++, group = iter->groups[level]) { in iter_array_offset_bits()
887 uint32_t array_idx = iter->array_iter[level]; in iter_array_offset_bits()
899 iter_push_array(struct intel_field_iterator *iter) in iter_push_array() argument
901 assert(iter->level >= 0); in iter_push_array()
903 iter->group = iter->field->array; in iter_push_array()
[all …]
Dintel_batch_decoder.c214 struct intel_field_iterator iter; in handle_state_base_address() local
215 intel_field_iterator_init(&iter, inst, p, 0, false); in handle_state_base_address()
220 while (intel_field_iterator_next(&iter)) { in handle_state_base_address()
221 if (strcmp(iter.name, "Surface State Base Address") == 0) { in handle_state_base_address()
222 surface_base = iter.raw_value; in handle_state_base_address()
223 } else if (strcmp(iter.name, "Dynamic State Base Address") == 0) { in handle_state_base_address()
224 dynamic_base = iter.raw_value; in handle_state_base_address()
225 } else if (strcmp(iter.name, "Instruction Base Address") == 0) { in handle_state_base_address()
226 instruction_base = iter.raw_value; in handle_state_base_address()
227 } else if (strcmp(iter.name, "Surface State Base Address Modify Enable") == 0) { in handle_state_base_address()
[all …]
/third_party/e2fsprogs/lib/blkid/
Ddev.c117 blkid_dev_iterate iter; in blkid_dev_iterate_begin() local
119 iter = malloc(sizeof(struct blkid_struct_dev_iterate)); in blkid_dev_iterate_begin()
120 if (iter) { in blkid_dev_iterate_begin()
121 iter->magic = DEV_ITERATE_MAGIC; in blkid_dev_iterate_begin()
122 iter->cache = cache; in blkid_dev_iterate_begin()
123 iter->p = cache->bic_devs.next; in blkid_dev_iterate_begin()
124 iter->search_type = 0; in blkid_dev_iterate_begin()
125 iter->search_value = 0; in blkid_dev_iterate_begin()
127 return (iter); in blkid_dev_iterate_begin()
130 extern int blkid_dev_set_search(blkid_dev_iterate iter, in blkid_dev_set_search() argument
[all …]
/third_party/mesa3d/src/intel/tools/
Daubinator_viewer_decoder.cpp58 struct intel_field_iterator iter; in aub_viewer_print_group() local
62 intel_field_iterator_init(&iter, group, p, 0, false); in aub_viewer_print_group()
63 while (intel_field_iterator_next(&iter)) { in aub_viewer_print_group()
65 int iter_dword = iter.end_bit / 32; in aub_viewer_print_group()
70 address + 4 * i, iter.p[i], i); in aub_viewer_print_group()
75 if (!intel_field_is_header(iter.field)) { in aub_viewer_print_group()
76 if (ctx->decode_cfg->field_filter.PassFilter(iter.name)) { in aub_viewer_print_group()
77 if (iter.field->type.kind == intel_type::INTEL_TYPE_BOOL && iter.raw_value) { in aub_viewer_print_group()
78 ImGui::Text("%s: ", iter.name); ImGui::SameLine(); in aub_viewer_print_group()
81 ImGui::Text("%s: %s", iter.name, iter.value); in aub_viewer_print_group()
[all …]

12345678910>>...126