HomeSort by relevance Sort by last modified time
    Searched refs:iter (Results 1 - 25 of 2964) 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/chromium/base/i18n/
break_iterator_unittest.cc 14 base::BreakIterator iter(&empty, base::BreakIterator::BREAK_WORD);
15 ASSERT_TRUE(iter.Init());
16 EXPECT_FALSE(iter.Advance());
17 EXPECT_FALSE(iter.IsWord());
18 EXPECT_FALSE(iter.Advance()); // Test unexpected advance after end.
19 EXPECT_FALSE(iter.IsWord());
25 base::BreakIterator iter(&str, base::BreakIterator::BREAK_WORD);
26 ASSERT_TRUE(iter.Init());
27 EXPECT_TRUE(iter.Advance());
28 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/chromium_org/chrome/browser/notifications/
balloon_collection_base.cc 29 Balloons::iterator iter; local
30 for (iter = balloons_.begin(); iter != balloons_.end(); ++iter) {
31 if ((*iter) == balloon) {
32 balloons_.erase(iter);
40 Balloons::const_iterator iter; local
41 for (iter = balloons_.begin(); iter != balloons_.end(); ++iter) {
53 Balloons::iterator iter; local
69 Balloons::iterator iter; local
84 Balloons::iterator iter; local
106 Balloons::iterator iter; local
    [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/chrome/browser/notifications/
balloon_collection_base.cc 26 Balloons::iterator iter; local
27 for (iter = balloons_.begin(); iter != balloons_.end(); ++iter) {
28 if ((*iter) == balloon) {
29 balloons_.erase(iter);
39 Balloons::iterator iter; local
40 for (iter = balloons_.begin(); iter != balloons_.end(); ++iter) {
55 Balloons::iterator iter; local
77 Balloons::iterator iter; local
    [all...]
  /external/chromium_org/chrome/browser/ui/app_list/search/
term_break_iterator_unittest.cc 15 TermBreakIterator iter(empty);
16 EXPECT_FALSE(iter.Advance());
21 TermBreakIterator iter(word);
22 EXPECT_TRUE(iter.Advance());
23 EXPECT_EQ(UTF8ToUTF16("simple"), iter.GetCurrentTerm());
24 EXPECT_FALSE(iter.Advance()); // Test unexpected advance after end.
29 TermBreakIterator iter(word);
30 EXPECT_TRUE(iter.Advance());
31 EXPECT_EQ(UTF8ToUTF16("Camel"), iter.GetCurrentTerm());
32 EXPECT_TRUE(iter.Advance())
    [all...]
tokenized_string_char_iterator_unittest.cc 20 // Returns a string represents the current state of |iter|. The state string
24 std::string GetIterateState(const TokenizedStringCharIterator& iter) {
26 UTF16ToUTF8(string16(1, iter.Get())).c_str(),
27 iter.GetArrayPos(),
28 iter.IsFirstCharOfToken() ? "!" : "");
31 void TestBeyondTheEnd(TokenizedStringCharIterator* iter) {
32 ASSERT_TRUE(iter->end());
33 ASSERT_FALSE(iter->NextChar());
34 ASSERT_FALSE(iter->NextToken());
37 iter->Get()
    [all...]
  /external/icu4c/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 34 noopGetIndex(UCharIterator * /*iter*/, UCharIteratorOrigin /*origin*/) {
39 noopMove(UCharIterator * /*iter*/, int32_t /*delta*/, UCharIteratorOrigin /*origin*/) {
44 noopHasNext(UCharIterator * /*iter*/) {
49 noopCurrent(UCharIterator * /*iter*/) {
54 noopGetState(const UCharIterator * /*iter*/) {
59 noopSetState(UCharIterator * /*iter*/, uint32_t /*state*/, UErrorCode *pErrorCode) {
87 stringIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) {
92 return iter->start;
94 return iter->index;
96 return iter->limit
    [all...]
  /external/icu4c/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/chrome/browser/ui/gtk/
accelerator_utils_gtk.cc 13 for (AcceleratorsGtk::const_iterator iter = accelerators->begin();
14 iter != accelerators->end(); ++iter) {
15 if (iter->second.key_code() == accelerator.key_code() &&
16 iter->second.modifiers() == accelerator.modifiers())
  /external/chromium_org/ui/message_center/
notification_list.cc 62 for (Notifications::iterator iter = notifications_.begin();
63 iter != notifications_.end(); ++iter) {
64 Notification* notification = *iter;
82 Notifications::iterator iter = GetNotification(old_id); local
83 if (iter == notifications_.end())
86 new_notification->CopyState(*iter);
91 if ((*iter)->priority() < new_notification->priority()) {
98 Notification* old = *iter;
99 notifications_.erase(iter);
151 Notifications::iterator iter = GetNotification(notification_id); local
160 Notifications::iterator iter = GetNotification(notification_id); local
170 Notifications::iterator iter = GetNotification(notification_id); local
241 Notifications::iterator iter = GetNotification(id); local
260 Notifications::iterator iter = GetNotification(id); local
274 Notifications::iterator iter = GetNotification(id); local
281 Notifications::iterator iter = GetNotification(id); local
345 Notifications::iterator iter = GetNotification(notification->id()); local
    [all...]
  /external/pixman/pixman/
pixman-noop.c 41 dest_write_back_direct (pixman_iter_t *iter)
43 iter->buffer += iter->image->bits.rowstride;
47 noop_get_scanline (pixman_iter_t *iter, const uint32_t *mask)
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)
63 noop_src_iter_init (pixman_implementation_t *imp, pixman_iter_t *iter)
65 pixman_image_t *image = iter->image
    [all...]
  /external/chromium_org/sandbox/linux/seccomp-bpf/
syscall_iterator_unittest.cc 16 SyscallIterator iter(invalid_only);
17 uint32_t next = iter.Next();
23 for (uint32_t last = next; !iter.Done(); last = next) {
24 next = iter.Next();
33 SyscallIterator iter(false);
34 uint32_t next = iter.Next();
43 SANDBOX_ASSERT((next = iter.Next()) == last + 1);
50 SyscallIterator iter(false);
51 uint32_t next = iter.Next();
53 next = iter.Next()
    [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/content/browser/web_contents/
frame_tree_node.cc 26 std::vector<FrameTreeNode*>::iterator iter; local
28 for (iter = children_.begin(); iter != children_.end(); ++iter) {
29 if ((*iter)->frame_id() == child_id)
33 if (iter != children_.end())
34 children_.erase(iter);
  /external/chromium_org/third_party/WebKit/Source/core/dom/
ContextLifecycleNotifier.cpp 71 for (ActiveDOMObjectSet::iterator iter = m_activeDOMObjects.begin(); iter != activeObjectsEnd; ++iter) {
72 ASSERT((*iter)->scriptExecutionContext() == context());
73 ASSERT((*iter)->suspendIfNeededCalled());
74 (*iter)->resume();
82 for (ActiveDOMObjectSet::iterator iter = m_activeDOMObjects.begin(); iter != activeObjectsEnd; ++iter) {
83 ASSERT((*iter)->scriptExecutionContext() == context())
    [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...]
  /frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
sparse_weight_vector.cpp 38 for (Witer_const iter = w_.begin();
39 iter != w_.end();
40 ++iter) {
41 if (isnanf(iter->second) || __isinff(iter->second))
52 for (Witer_const iter = w1.w_.begin();
53 iter != w1.w_.end();
54 ++iter) {
55 w_[iter->first] += ((multiplier * iter->second) / w1.normalizer
    [all...]

Completed in 571 milliseconds

1 2 3 4 5 6 7 8 91011>>