Searched refs:iter (Results 1 - 25 of 2792) sorted by relevance

1234567891011>>

/external/chromium_org/base/i18n/
H A Dbreak_iterator_unittest.cc17 BreakIterator iter(empty, BreakIterator::BREAK_WORD);
18 ASSERT_TRUE(iter.Init());
19 EXPECT_FALSE(iter.Advance());
20 EXPECT_FALSE(iter.IsWord());
21 EXPECT_FALSE(iter.Advance()); // Test unexpected advance after end.
22 EXPECT_FALSE(iter.IsWord());
28 BreakIterator iter(str, BreakIterator::BREAK_WORD);
29 ASSERT_TRUE(iter.Init());
30 EXPECT_TRUE(iter.Advance());
31 EXPECT_FALSE(iter
[all...]
H A Dchar_iterator_unittest.cc22 UTF8CharIterator iter(&str);
23 ASSERT_FALSE(iter.end());
24 ASSERT_EQ(0, iter.array_pos());
25 ASSERT_EQ(0, iter.char_pos());
26 ASSERT_EQ('s', iter.get());
27 ASSERT_TRUE(iter.Advance());
29 ASSERT_FALSE(iter.end());
30 ASSERT_EQ(1, iter.array_pos());
31 ASSERT_EQ(1, iter.char_pos());
32 ASSERT_EQ(251, iter
[all...]
/external/bison/lib/
H A Dmbuiter.h24 char *iter;
25 for (iter = buf; *iter != '\0'; iter++)
27 do_something (*iter);
32 mbui_iterator_t iter;
33 for (mbui_init (iter, buf); mbui_avail (iter); mbui_advance (iter))
35 do_something (mbui_cur_ptr (iter), mb_le
129 mbuiter_multi_next(struct mbuiter_multi *iter) argument
190 mbuiter_multi_reloc(struct mbuiter_multi *iter, ptrdiff_t ptrdiff) argument
[all...]
H A Dmbschr.c36 mbui_iterator_t iter; local
38 for (mbui_init (iter, string);; mbui_advance (iter))
40 if (!mbui_avail (iter))
42 if (mb_len (mbui_cur (iter)) == 1
43 && (unsigned char) * mbui_cur_ptr (iter) == (unsigned char) c)
46 return (char *) mbui_cur_ptr (iter);
H A Dmbsrchr.c37 mbui_iterator_t iter; local
39 for (mbui_init (iter, string); mbui_avail (iter); mbui_advance (iter))
41 if (mb_len (mbui_cur (iter)) == 1
42 && (unsigned char) * mbui_cur_ptr (iter) == (unsigned char) c)
43 result = mbui_cur_ptr (iter);
/external/chromium_org/ui/app_list/search/
H A Dterm_break_iterator_unittest.cc17 TermBreakIterator iter(empty);
18 EXPECT_FALSE(iter.Advance());
23 TermBreakIterator iter(word);
24 EXPECT_TRUE(iter.Advance());
25 EXPECT_EQ(UTF8ToUTF16("simple"), iter.GetCurrentTerm());
26 EXPECT_FALSE(iter.Advance()); // Test unexpected advance after end.
31 TermBreakIterator iter(word);
32 EXPECT_TRUE(iter.Advance());
33 EXPECT_EQ(UTF8ToUTF16("Camel"), iter.GetCurrentTerm());
34 EXPECT_TRUE(iter
[all...]
/external/chromium_org/third_party/icu/source/samples/uciter8/
H A Duit_len8.c110 lenient8IteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) { argument
116 if(iter->index<0) {
122 s=(const uint8_t *)iter->context;
124 limit=iter->start; /* count up to the UTF-8 index */
134 iter->start=i; /* just in case setState() did not get us to a code point boundary */
135 if(i==iter->limit) {
136 iter->length=index; /* in case it was <0 or wrong */
138 if(iter->reservedField!=0) {
141 iter->index=index;
143 return iter
202 lenient8IteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) argument
375 lenient8IteratorHasNext(UCharIterator *iter) argument
380 lenient8IteratorHasPrevious(UCharIterator *iter) argument
385 lenient8IteratorCurrent(UCharIterator *iter) argument
407 lenient8IteratorNext(UCharIterator *iter) argument
444 lenient8IteratorPrevious(UCharIterator *iter) argument
480 lenient8IteratorGetState(const UCharIterator *iter) argument
489 lenient8IteratorSetState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode) argument
540 uiter_setLenient8(UCharIterator *iter, const char *s, int32_t length) argument
[all...]
/external/icu/icu4c/source/samples/uciter8/
H A Duit_len8.c110 lenient8IteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) { argument
116 if(iter->index<0) {
122 s=(const uint8_t *)iter->context;
124 limit=iter->start; /* count up to the UTF-8 index */
134 iter->start=i; /* just in case setState() did not get us to a code point boundary */
135 if(i==iter->limit) {
136 iter->length=index; /* in case it was <0 or wrong */
138 if(iter->reservedField!=0) {
141 iter->index=index;
143 return iter
202 lenient8IteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) argument
375 lenient8IteratorHasNext(UCharIterator *iter) argument
380 lenient8IteratorHasPrevious(UCharIterator *iter) argument
385 lenient8IteratorCurrent(UCharIterator *iter) argument
407 lenient8IteratorNext(UCharIterator *iter) argument
444 lenient8IteratorPrevious(UCharIterator *iter) argument
480 lenient8IteratorGetState(const UCharIterator *iter) argument
489 lenient8IteratorSetState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode) argument
540 uiter_setLenient8(UCharIterator *iter, const char *s, int32_t length) argument
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Duiter.cpp37 noopGetIndex(UCharIterator * /*iter*/, UCharIteratorOrigin /*origin*/) {
42 noopMove(UCharIterator * /*iter*/, int32_t /*delta*/, UCharIteratorOrigin /*origin*/) {
47 noopHasNext(UCharIterator * /*iter*/) {
52 noopCurrent(UCharIterator * /*iter*/) {
57 noopGetState(const UCharIterator * /*iter*/) {
62 noopSetState(UCharIterator * /*iter*/, uint32_t /*state*/, UErrorCode *pErrorCode) {
90 stringIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) { argument
95 return iter->start;
97 return iter->index;
99 return iter
110 stringIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) argument
143 stringIteratorHasNext(UCharIterator *iter) argument
148 stringIteratorHasPrevious(UCharIterator *iter) argument
153 stringIteratorCurrent(UCharIterator *iter) argument
162 stringIteratorNext(UCharIterator *iter) argument
171 stringIteratorPrevious(UCharIterator *iter) argument
180 stringIteratorGetState(const UCharIterator *iter) argument
185 stringIteratorSetState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode) argument
212 uiter_setString(UCharIterator *iter, const UChar *s, int32_t length) argument
243 utf16BEIteratorGet(UCharIterator *iter, int32_t index) argument
249 utf16BEIteratorCurrent(UCharIterator *iter) argument
260 utf16BEIteratorNext(UCharIterator *iter) argument
272 utf16BEIteratorPrevious(UCharIterator *iter) argument
323 uiter_setUTF16BE(UCharIterator *iter, const char *s, int32_t length) argument
360 characterIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) argument
380 characterIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) argument
400 characterIteratorHasNext(UCharIterator *iter) argument
405 characterIteratorHasPrevious(UCharIterator *iter) argument
410 characterIteratorCurrent(UCharIterator *iter) argument
422 characterIteratorNext(UCharIterator *iter) argument
431 characterIteratorPrevious(UCharIterator *iter) argument
440 characterIteratorGetState(const UCharIterator *iter) argument
445 characterIteratorSetState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode) argument
472 uiter_setCharacterIterator(UCharIterator *iter, CharacterIterator *charIter) argument
495 replaceableIteratorCurrent(UCharIterator *iter) argument
504 replaceableIteratorNext(UCharIterator *iter) argument
513 replaceableIteratorPrevious(UCharIterator *iter) argument
536 uiter_setReplaceable(UCharIterator *iter, const Replaceable *rep) argument
587 utf8IteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) argument
667 utf8IteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) argument
840 utf8IteratorHasNext(UCharIterator *iter) argument
845 utf8IteratorHasPrevious(UCharIterator *iter) argument
850 utf8IteratorCurrent(UCharIterator *iter) argument
870 utf8IteratorNext(UCharIterator *iter) argument
905 utf8IteratorPrevious(UCharIterator *iter) argument
939 utf8IteratorGetState(const UCharIterator *iter) argument
948 utf8IteratorSetState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode) argument
1002 uiter_setUTF8(UCharIterator *iter, const char *s, int32_t length) argument
1022 uiter_current32(UCharIterator *iter) argument
1053 uiter_next32(UCharIterator *iter) argument
1069 uiter_previous32(UCharIterator *iter) argument
1085 uiter_getState(const UCharIterator *iter) argument
1094 uiter_setState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode) argument
[all...]
/external/icu/icu4c/source/common/
H A Duiter.cpp37 noopGetIndex(UCharIterator * /*iter*/, UCharIteratorOrigin /*origin*/) {
42 noopMove(UCharIterator * /*iter*/, int32_t /*delta*/, UCharIteratorOrigin /*origin*/) {
47 noopHasNext(UCharIterator * /*iter*/) {
52 noopCurrent(UCharIterator * /*iter*/) {
57 noopGetState(const UCharIterator * /*iter*/) {
62 noopSetState(UCharIterator * /*iter*/, uint32_t /*state*/, UErrorCode *pErrorCode) {
90 stringIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) { argument
95 return iter->start;
97 return iter->index;
99 return iter
110 stringIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) argument
143 stringIteratorHasNext(UCharIterator *iter) argument
148 stringIteratorHasPrevious(UCharIterator *iter) argument
153 stringIteratorCurrent(UCharIterator *iter) argument
162 stringIteratorNext(UCharIterator *iter) argument
171 stringIteratorPrevious(UCharIterator *iter) argument
180 stringIteratorGetState(const UCharIterator *iter) argument
185 stringIteratorSetState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode) argument
212 uiter_setString(UCharIterator *iter, const UChar *s, int32_t length) argument
243 utf16BEIteratorGet(UCharIterator *iter, int32_t index) argument
249 utf16BEIteratorCurrent(UCharIterator *iter) argument
260 utf16BEIteratorNext(UCharIterator *iter) argument
272 utf16BEIteratorPrevious(UCharIterator *iter) argument
323 uiter_setUTF16BE(UCharIterator *iter, const char *s, int32_t length) argument
360 characterIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) argument
380 characterIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) argument
400 characterIteratorHasNext(UCharIterator *iter) argument
405 characterIteratorHasPrevious(UCharIterator *iter) argument
410 characterIteratorCurrent(UCharIterator *iter) argument
422 characterIteratorNext(UCharIterator *iter) argument
431 characterIteratorPrevious(UCharIterator *iter) argument
440 characterIteratorGetState(const UCharIterator *iter) argument
445 characterIteratorSetState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode) argument
472 uiter_setCharacterIterator(UCharIterator *iter, CharacterIterator *charIter) argument
495 replaceableIteratorCurrent(UCharIterator *iter) argument
504 replaceableIteratorNext(UCharIterator *iter) argument
513 replaceableIteratorPrevious(UCharIterator *iter) argument
536 uiter_setReplaceable(UCharIterator *iter, const Replaceable *rep) argument
587 utf8IteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) argument
667 utf8IteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) argument
840 utf8IteratorHasNext(UCharIterator *iter) argument
845 utf8IteratorHasPrevious(UCharIterator *iter) argument
850 utf8IteratorCurrent(UCharIterator *iter) argument
870 utf8IteratorNext(UCharIterator *iter) argument
905 utf8IteratorPrevious(UCharIterator *iter) argument
939 utf8IteratorGetState(const UCharIterator *iter) argument
948 utf8IteratorSetState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode) argument
1002 uiter_setUTF8(UCharIterator *iter, const char *s, int32_t length) argument
1022 uiter_current32(UCharIterator *iter) argument
1053 uiter_next32(UCharIterator *iter) argument
1069 uiter_previous32(UCharIterator *iter) argument
1085 uiter_getState(const UCharIterator *iter) argument
1094 uiter_setState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode) argument
[all...]
/external/chromium_org/v8/test/mjsunit/es6/
H A Dgenerators-objects.js55 var iter = g();
56 assertSame(g.prototype, Object.getPrototypeOf(iter));
57 assertTrue(iter instanceof g);
58 assertEquals("Generator", %_ClassOf(iter));
59 assertEquals("[object Generator]", String(iter));
60 assertEquals([], Object.getOwnPropertyNames(iter));
61 assertTrue(iter !== g());
64 iter = new g();
65 assertSame(g.prototype, Object.getPrototypeOf(iter));
66 assertTrue(iter instanceo
[all...]
H A Dgenerators-iteration.js38 function assertIteratorIsClosed(iter) {
39 assertIteratorResult(undefined, true, iter.next());
40 assertDoesNotThrow(function() { iter.next(); });
43 function assertThrownIteratorIsClosed(iter) {
47 // assertIteratorIsClosed(iter);
52 var iter = g();
53 var result = iter.next();
66 var iter = thunk();
70 // var v3 = iter.next();
71 assertIteratorResult(v1, v2, iter
366 var iter = g28(); variable
377 var iter = g29(); variable
[all...]
/external/skia/src/utils/
H A DSkNWayCanvas.cpp61 Iter iter(fList);
62 while (iter.next()) {
63 iter->save(flags);
71 Iter iter(fList);
72 while (iter.next()) {
73 iter->saveLayer(bounds, paint, flags);
82 Iter iter(fList);
83 while (iter.next()) {
84 iter->restore();
90 Iter iter(fLis
[all...]
/external/chromium_org/extensions/browser/
H A Derror_map.cc36 ErrorList::iterator iter = list_.begin(); local
37 while (iter != list_.end()) {
38 if ((*iter)->from_incognito()) {
39 delete *iter;
40 iter = list_.erase(iter);
42 ++iter;
48 ErrorList::iterator iter = list_.begin(); local
49 while (iter != list_.end()) {
50 if ((*iter)
96 EntryMap::const_iterator iter = map_.find(extension_id); local
101 EntryMap::iterator iter = map_.find(error->extension_id()); local
110 EntryMap::iterator iter = map_.find(extension_id); local
120 EntryMap::iterator iter = map_.find(extension_id); local
[all...]
/external/chromium_org/gpu/command_buffer/service/
H A Dimage_manager.cc20 for (GLImageMap::const_iterator iter = images_.begin(); iter != images_.end();
21 ++iter)
22 iter->second.get()->Destroy(have_context);
32 GLImageMap::iterator iter = images_.find(service_id); local
33 DCHECK(iter != images_.end());
34 iter->second.get()->Destroy(true);
35 images_.erase(iter);
39 GLImageMap::const_iterator iter = images_.find(service_id); local
40 if (iter !
[all...]
/external/smali/util/src/test/java/org/jf/util/
H A DAbstractForwardSequentialListTest.java77 private void testForwardIterationImpl(ListIterator<Integer> iter) { argument
78 Assert.assertFalse(iter.hasPrevious());
81 Assert.assertEquals(i, iter.nextIndex());
82 Assert.assertEquals(i-1, iter.previousIndex());
84 Assert.assertTrue(iter.hasNext());
86 Assert.assertEquals(i, iter.next().intValue());
87 Assert.assertTrue(iter.hasPrevious());
90 Assert.assertFalse(iter.hasNext());
91 Assert.assertEquals(iter.nextIndex(), 100);
92 Assert.assertEquals(iter
100 testReverseIterationImpl(ListIterator<Integer> iter) argument
[all...]
/external/fio/lib/
H A Dprio_tree.c297 static struct prio_tree_node *prio_tree_left(struct prio_tree_iter *iter, argument
300 if (prio_tree_left_empty(iter->cur))
303 get_index(iter->cur->left, r_index, h_index);
305 if (iter->r_index <= *h_index) {
306 iter->cur = iter->cur->left;
307 iter->mask >>= 1;
308 if (iter->mask) {
309 if (iter->size_level)
310 iter
328 prio_tree_right(struct prio_tree_iter *iter, unsigned long *r_index, unsigned long *h_index) argument
370 prio_tree_parent(struct prio_tree_iter *iter) argument
386 overlap(struct prio_tree_iter *iter, unsigned long r_index, unsigned long h_index) argument
399 prio_tree_first(struct prio_tree_iter *iter) argument
438 prio_tree_next(struct prio_tree_iter *iter) argument
[all...]
/external/pixman/pixman/
H A Dpixman-noop.c41 dest_write_back_direct (pixman_iter_t *iter) argument
43 iter->buffer += iter->image->bits.rowstride;
47 noop_get_scanline (pixman_iter_t *iter, const uint32_t *mask) argument
49 uint32_t *result = iter->buffer;
51 iter->buffer += iter->image->bits.rowstride;
57 get_scanline_null (pixman_iter_t *iter, const uint32_t *mask) argument
63 noop_src_iter_init (pixman_implementation_t *imp, pixman_iter_t *iter) argument
65 pixman_image_t *image = iter
135 noop_dest_iter_init(pixman_implementation_t *imp, pixman_iter_t *iter) argument
[all...]
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dcapturerenderadapter.cc82 for (VideoRenderers::iterator iter = video_renderers_.begin();
83 iter != video_renderers_.end(); ++iter) {
84 if (video_renderer == iter->renderer) {
85 video_renderers_.erase(iter);
106 for (VideoRenderers::iterator iter = video_renderers_.begin();
107 iter != video_renderers_.end(); ++iter) {
108 VideoRenderer* video_renderer = iter->renderer;
115 for (VideoRenderers::iterator iter
[all...]
/external/chromium_org/ui/message_center/
H A Dnotification_list.cc75 for (Notifications::iterator iter = notifications_.begin();
76 iter != notifications_.end(); ++iter) {
77 Notification* notification = *iter;
95 Notifications::iterator iter = GetNotification(old_id); local
96 if (iter == notifications_.end())
99 new_notification->CopyState(*iter);
105 if ((*iter)->priority() < new_notification->priority() ||
113 Notification* old = *iter;
114 notifications_.erase(iter);
139 Notifications::iterator iter = GetNotification(notification_id); local
148 Notifications::iterator iter = GetNotification(notification_id); local
158 Notifications::iterator iter = GetNotification(notification_id); local
167 Notifications::iterator iter = GetNotification(id); local
225 Notifications::iterator iter = GetNotification(id); local
242 Notifications::iterator iter = GetNotification(id); local
255 Notifications::iterator iter = GetNotification(id); local
273 Notifications::iterator iter = GetNotification(id); local
325 EraseNotification(Notifications::iterator iter) argument
333 Notifications::iterator iter = GetNotification(notification->id()); local
[all...]
/external/chromium_org/chrome/browser/extensions/api/extension_action/
H A Dextension_action_prefs_unittest.cc26 ExtensionList::const_iterator iter; variable
27 for (iter = extensions_.begin(); iter != extensions_.end(); ++iter) {
29 prefs(), (*iter)->id()));
44 ExtensionList::const_iterator iter = extensions_.begin() + 1; variable
45 for (; iter != extensions_.end(); ++iter) {
47 static_cast<int>(iter - extensions_.begin())));
49 prefs(), (*iter)
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_hash_table.c72 util_hash_table_item(struct cso_hash_iter iter) argument
74 return (struct util_hash_table_item *)cso_hash_iter_data(iter);
106 struct cso_hash_iter iter; local
109 iter = cso_hash_find(ht->cso, key_hash);
110 while (!cso_hash_iter_is_null(iter)) {
111 item = (struct util_hash_table_item *)cso_hash_iter_data(iter);
114 iter = cso_hash_iter_next(iter);
117 return iter;
126 struct cso_hash_iter iter; local
148 struct cso_hash_iter iter; local
206 struct cso_hash_iter iter; local
230 struct cso_hash_iter iter; local
252 struct cso_hash_iter iter; local
276 struct cso_hash_iter iter; local
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_hash_table.c72 util_hash_table_item(struct cso_hash_iter iter) argument
74 return (struct util_hash_table_item *)cso_hash_iter_data(iter);
106 struct cso_hash_iter iter; local
109 iter = cso_hash_find(ht->cso, key_hash);
110 while (!cso_hash_iter_is_null(iter)) {
111 item = (struct util_hash_table_item *)cso_hash_iter_data(iter);
114 iter = cso_hash_iter_next(iter);
117 return iter;
126 struct cso_hash_iter iter; local
148 struct cso_hash_iter iter; local
206 struct cso_hash_iter iter; local
230 struct cso_hash_iter iter; local
252 struct cso_hash_iter iter; local
276 struct cso_hash_iter iter; local
[all...]
/external/chromium_org/chrome/browser/chromeos/system_logs/
H A Dlsb_release_log_source.cc17 for (base::SysInfo::LsbReleaseMap::const_iterator iter = lsb_map.begin();
18 iter != lsb_map.end(); ++iter) {
19 (*response)[iter->first] = iter->second;
/external/qemu/android/utils/
H A Dproperty_file.c25 void propertyFileIterator_init(PropertyFileIterator* iter, argument
28 iter->name[0] = '\0';
29 iter->value[0] = '\0';
30 iter->p = propFile;
31 iter->end = iter->p + propFileLen;
35 bool propertyFileIterator_next(PropertyFileIterator* iter) { argument
36 const char* p = iter->p;
37 const char* end = iter->end;
78 memcpy(iter
104 PropertyFileIterator iter[1]; local
[all...]

Completed in 4005 milliseconds

1234567891011>>