HomeSort by relevance Sort by last modified time
    Searched refs:iter (Results 1 - 25 of 2575) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/base/i18n/
break_iterator_unittest.cc 17 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.IsWord())
    [all...]
char_iterator_unittest.cc 22 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.get())
    [all...]
  /external/bison/lib/
mbuiter.h 24 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_len (mbui_cur (iter)))
    [all...]
mbschr.c 36 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);
mbsrchr.c 37 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/
term_break_iterator_unittest.cc 17 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.Advance())
    [all...]
  /external/chromium_org/third_party/icu/source/samples/uciter8/
uit_len8.c 110 lenient8IteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) {
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->index
    [all...]
  /external/icu/icu4c/source/samples/uciter8/
uit_len8.c 110 lenient8IteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) {
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->index
    [all...]
  /external/chromium_org/third_party/icu/source/common/
uiter.cpp 37 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) {
95 return iter->start;
97 return iter->index;
99 return iter->limit
    [all...]
  /external/icu/icu4c/source/common/
uiter.cpp 37 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) {
95 return iter->start;
97 return iter->index;
99 return iter->limit
    [all...]
  /external/chromium_org/extensions/browser/
error_map.cc 36 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)->type() == type)
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/
image_manager.cc 20 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 != images_.end()
    [all...]
  /external/fio/lib/
prio_tree.c 297 static struct prio_tree_node *prio_tree_left(struct prio_tree_iter *iter,
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->size_level++
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/media/base/
capturerenderadapter.cc 82 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 = video_renderers_.begin()
    [all...]
  /external/chromium_org/ui/message_center/
notification_list.cc 75 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
333 Notifications::iterator iter = GetNotification(notification->id()); local
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/extension_action/
extension_action_prefs_unittest.cc 26 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)->id()))
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_hash_table.c 72 util_hash_table_item(struct cso_hash_iter iter)
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/
u_hash_table.c 72 util_hash_table_item(struct cso_hash_iter iter)
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/
lsb_release_log_source.cc 17 for (base::SysInfo::LsbReleaseMap::const_iterator iter = lsb_map.begin();
18 iter != lsb_map.end(); ++iter) {
19 (*response)[iter->first] = iter->second;
  /external/chromium_org/content/browser/frame_host/
frame_accessibility.cc 34 for (std::vector<ChildFrameMapping>::iterator iter = mappings_.begin();
35 iter != mappings_.end();
36 ++iter) {
40 if (iter->parent_frame_host == parent_frame_host &&
41 (iter->accessibility_node_id == accessibility_node_id ||
42 iter->child_frame_tree_node_id == child_frame_tree_node_id)) {
43 iter->accessibility_node_id = accessibility_node_id;
44 iter->child_frame_tree_node_id = child_frame_tree_node_id;
60 for (std::vector<ChildFrameMapping>::iterator iter = mappings_.begin();
61 iter != mappings_.end()
    [all...]
  /external/chromium_org/third_party/skia/src/utils/
SkNWayCanvas.cpp 40 class SkNWayCanvas::Iter {
42 Iter(const SkTDArray<SkCanvas*>& list) : fList(list) {
61 Iter iter(fList);
62 while (iter.next()) {
63 iter->save();
71 Iter iter(fList);
72 while (iter.next()) {
73 iter->saveLayer(bounds, paint, flags)
    [all...]
  /external/chromium_org/sandbox/linux/seccomp-bpf/
syscall_iterator_unittest.cc 19 SyscallIterator iter(invalid_only);
20 uint32_t next = iter.Next();
26 for (uint32_t last = next; !iter.Done(); last = next) {
27 next = iter.Next();
37 SyscallIterator iter(false);
38 uint32_t next = iter.Next();
42 next = iter.Next();
48 SANDBOX_ASSERT((next = iter.Next()) == last + 1);
54 SyscallIterator iter(false);
55 uint32_t next = iter.Next()
    [all...]
  /external/e2fsprogs/lib/blkid/
dev.c 115 blkid_dev_iterate iter; local
117 iter = malloc(sizeof(struct blkid_struct_dev_iterate));
118 if (iter) {
119 iter->magic = DEV_ITERATE_MAGIC;
120 iter->cache = cache;
121 iter->p = cache->bic_devs.next;
122 iter->search_type = 0;
123 iter->search_value = 0;
125 return (iter);
128 extern int blkid_dev_set_search(blkid_dev_iterate iter,
201 blkid_dev_iterate iter; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
ContextLifecycleNotifier.cpp 71 for (Vector<ActiveDOMObject*>::iterator iter = snapshotOfActiveDOMObjects.begin(); iter != snapshotOfActiveDOMObjects.end(); iter++) {
78 if (m_activeDOMObjects.contains(*iter)) {
79 ASSERT((*iter)->executionContext() == context());
80 ASSERT((*iter)->suspendIfNeededCalled());
81 (*iter)->resume();
91 for (Vector<ActiveDOMObject*>::iterator iter = snapshotOfActiveDOMObjects.begin(); iter != snapshotOfActiveDOMObjects.end(); iter++)
    [all...]
  /external/chromium_org/chrome/browser/ui/panels/
test_panel_collection_squeeze_observer.cc 29 for (DockedPanelCollection::Panels::const_iterator iter = panels.begin();
30 iter != panels.end(); ++iter) {
31 if (*iter == active_panel_) {
32 if (IsSqueezed(*iter))
34 } else if (!IsSqueezed(*iter)) {

Completed in 451 milliseconds

1 2 3 4 5 6 7 8 91011>>