Home
last modified time | relevance | path

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

12345678910>>...104

/external/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 …]
/external/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 …]
/external/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 …]
/external/pdfium/xfa/fxfa/parser/
Dcxfa_nodeiteratortemplate_unittest.cpp97 Iterator iter(nullptr); in TEST_F() local
98 EXPECT_EQ(nullptr, iter.GetRoot()); in TEST_F()
99 EXPECT_EQ(nullptr, iter.GetCurrent()); in TEST_F()
100 EXPECT_EQ(nullptr, iter.MoveToNext()); in TEST_F()
101 EXPECT_EQ(nullptr, iter.MoveToPrev()); in TEST_F()
102 EXPECT_EQ(nullptr, iter.SkipChildrenAndMoveToNext()); in TEST_F()
106 Iterator iter(root()); in TEST_F() local
107 EXPECT_EQ(root(), iter.GetRoot()); in TEST_F()
108 EXPECT_EQ(root(), iter.GetCurrent()); in TEST_F()
112 Iterator iter(root()); in TEST_F() local
[all …]
/external/skqp/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 …]
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/
Dput2.pass.cpp35 output_iterator<char*> iter; in main() local
48 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'A'); in main()
49 std::string ex(str, iter.base()); in main()
53 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'a'); in main()
54 std::string ex(str, iter.base()); in main()
58 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'B'); in main()
59 std::string ex(str, iter.base()); in main()
63 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'b'); in main()
64 std::string ex(str, iter.base()); in main()
68 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'C'); in main()
[all …]
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/
Dput_double.pass.cpp51 output_iterator<char*> iter; in test1() local
72 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1()
73 std::string ex(str, iter.base()); in test1()
80 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1()
81 std::string ex(str, iter.base()); in test1()
88 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1()
89 std::string ex(str, iter.base()); in test1()
96 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1()
97 std::string ex(str, iter.base()); in test1()
106 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1()
[all …]
Dput_long_double.pass.cpp56 output_iterator<char*> iter; in test1() local
77 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1()
78 std::string ex(str, iter.base()); in test1()
85 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1()
86 std::string ex(str, iter.base()); in test1()
93 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1()
94 std::string ex(str, iter.base()); in test1()
101 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1()
102 std::string ex(str, iter.base()); in test1()
111 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1()
[all …]
/external/grpc-grpc/third_party/nanopb/
Dpb_common.c8 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct) in pb_field_iter_begin() argument
10 iter->start = fields; in pb_field_iter_begin()
11 iter->pos = fields; in pb_field_iter_begin()
12 iter->required_field_index = 0; in pb_field_iter_begin()
13 iter->dest_struct = dest_struct; in pb_field_iter_begin()
14 iter->pData = (char*)dest_struct + iter->pos->data_offset; in pb_field_iter_begin()
15 iter->pSize = (char*)iter->pData + iter->pos->size_offset; in pb_field_iter_begin()
17 return (iter->pos->tag != 0); in pb_field_iter_begin()
20 bool pb_field_iter_next(pb_field_iter_t *iter) in pb_field_iter_next() argument
22 const pb_field_t *prev_field = iter->pos; in pb_field_iter_next()
[all …]
Dpb_decode.c29 …kreturn decode_static_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iter_t *iter);
30 …eturn decode_callback_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iter_t *iter);
31 …ol checkreturn decode_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iter_t *iter);
32 static void iter_from_extension(pb_field_iter_t *iter, pb_extension_t *extension);
34 …ode_extension(pb_istream_t *stream, uint32_t tag, pb_wire_type_t wire_type, pb_field_iter_t *iter);
35 static bool checkreturn find_extension_field(pb_field_iter_t *iter);
36 static void pb_field_set_to_default(pb_field_iter_t *iter);
51 static bool checkreturn pb_release_union_field(pb_istream_t *stream, pb_field_iter_t *iter);
52 static void pb_release_single_field(const pb_field_iter_t *iter);
349 …ckreturn decode_static_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iter_t *iter) in decode_static_field() argument
[all …]
/external/nanopb-c/
Dpb_common.c8 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct) in pb_field_iter_begin() argument
10 iter->start = fields; in pb_field_iter_begin()
11 iter->pos = fields; in pb_field_iter_begin()
12 iter->required_field_index = 0; in pb_field_iter_begin()
13 iter->dest_struct = dest_struct; in pb_field_iter_begin()
14 iter->pData = (char*)dest_struct + iter->pos->data_offset; in pb_field_iter_begin()
15 iter->pSize = (char*)iter->pData + iter->pos->size_offset; in pb_field_iter_begin()
17 return (iter->pos->tag != 0); in pb_field_iter_begin()
20 bool pb_field_iter_next(pb_field_iter_t *iter) in pb_field_iter_next() argument
22 const pb_field_t *prev_field = iter->pos; in pb_field_iter_next()
[all …]
Dpb_decode.c28 …kreturn decode_static_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iter_t *iter);
29 …eturn decode_callback_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iter_t *iter);
30 …ol checkreturn decode_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iter_t *iter);
31 static void iter_from_extension(pb_field_iter_t *iter, pb_extension_t *extension);
33 …ode_extension(pb_istream_t *stream, uint32_t tag, pb_wire_type_t wire_type, pb_field_iter_t *iter);
34 static bool checkreturn find_extension_field(pb_field_iter_t *iter);
35 static void pb_field_set_to_default(pb_field_iter_t *iter);
52 static bool checkreturn pb_release_union_field(pb_istream_t *stream, pb_field_iter_t *iter);
53 static void pb_release_single_field(const pb_field_iter_t *iter);
401 …ckreturn decode_static_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iter_t *iter) in decode_static_field() argument
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DOpenMapRealVector.java232 Iterator iter = copyThis ? v.entries.iterator() : entries.iterator(); in add() local
234 while (iter.hasNext()) { in add()
235 iter.advance(); in add()
236 int key = iter.key(); in add()
238 res.setEntry(key, randomAccess.get(key) + iter.value()); in add()
240 res.setEntry(key, iter.value()); in add()
253 Iterator iter = v.entries.iterator(); in append() local
254 while (iter.hasNext()) { in append()
255 iter.advance(); in append()
256 res.setEntry(iter.key() + virtualSize, iter.value()); in append()
[all …]
/external/smali/dexlib2/src/test/java/org/jf/util/
DAbstractForwardSequentialListTest.java77 private void testForwardIterationImpl(ListIterator<Integer> iter) { in testForwardIterationImpl() argument
78 Assert.assertFalse(iter.hasPrevious()); in testForwardIterationImpl()
81 Assert.assertEquals(i, iter.nextIndex()); in testForwardIterationImpl()
82 Assert.assertEquals(i-1, iter.previousIndex()); in testForwardIterationImpl()
84 Assert.assertTrue(iter.hasNext()); in testForwardIterationImpl()
86 Assert.assertEquals(i, iter.next().intValue()); in testForwardIterationImpl()
87 Assert.assertTrue(iter.hasPrevious()); in testForwardIterationImpl()
90 Assert.assertFalse(iter.hasNext()); in testForwardIterationImpl()
91 Assert.assertEquals(iter.nextIndex(), 100); in testForwardIterationImpl()
92 Assert.assertEquals(iter.previousIndex(), 99); in testForwardIterationImpl()
[all …]
/external/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 …]
/external/skia/src/sksl/
DSkSLASTNode.cpp36 auto iter = this->begin(); in description() local
37 String result = iter->description(); in description()
40 while (iter != this->end()) { in description()
42 result += (iter++)->description(); in description()
95 auto iter = this->begin(); in description() local
96 result += (iter++)->description() + " " + fd.fName + "("; in description()
100 result += (iter++)->description(); in description()
104 if (iter != this->end()) { in description()
105 result += " " + (iter++)->description(); in description()
106 SkASSERT(iter == this->end()); in description()
[all …]
/external/mesa3d/src/intel/common/
Dgen_decoder.c883 iter_more_fields(const struct gen_field_iterator *iter) in iter_more_fields() argument
885 return iter->field != NULL && iter->field->next != NULL; in iter_more_fields()
889 iter_array_offset_bits(const struct gen_field_iterator *iter) in iter_array_offset_bits() argument
891 if (iter->level == 0) in iter_array_offset_bits()
895 const struct gen_group *group = iter->groups[1]; in iter_array_offset_bits()
896 for (int level = 1; level <= iter->level; level++, group = iter->groups[level]) { in iter_array_offset_bits()
897 uint32_t array_idx = iter->array_iter[level]; in iter_array_offset_bits()
909 iter_push_array(struct gen_field_iterator *iter) in iter_push_array() argument
911 assert(iter->level >= 0); in iter_push_array()
913 iter->group = iter->field->array; in iter_push_array()
[all …]
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/
Dput_long_double_zh_CN.pass.cpp71 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
73 std::string ex(str, iter.base()); in main()
79 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
81 std::string ex(str, iter.base()); in main()
87 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
89 std::string ex(str, iter.base()); in main()
95 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
97 std::string ex(str, iter.base()); in main()
104 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
106 std::string ex(str, iter.base()); in main()
[all …]
Dput_long_double_ru_RU.pass.cpp77 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
79 std::string ex(str, iter.base()); in main()
85 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
87 std::string ex(str, iter.base()); in main()
93 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
95 std::string ex(str, iter.base()); in main()
101 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
103 std::string ex(str, iter.base()); in main()
110 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
112 std::string ex(str, iter.base()); in main()
[all …]
Dput_long_double_en_US.pass.cpp65 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
67 std::string ex(str, iter.base()); in main()
73 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
75 std::string ex(str, iter.base()); in main()
81 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
83 std::string ex(str, iter.base()); in main()
89 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
91 std::string ex(str, iter.base()); in main()
98 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
100 std::string ex(str, iter.base()); in main()
[all …]
Dput_string_en_US.pass.cpp65 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
67 std::string ex(str, iter.base()); in main()
73 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
75 std::string ex(str, iter.base()); in main()
81 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
83 std::string ex(str, iter.base()); in main()
89 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
91 std::string ex(str, iter.base()); in main()
98 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
100 std::string ex(str, iter.base()); in main()
[all …]
Dput_long_double_fr_FR.pass.cpp100 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
102 std::string ex(str, iter.base()); in main()
108 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
110 std::string ex(str, iter.base()); in main()
116 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
118 std::string ex(str, iter.base()); in main()
124 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
126 std::string ex(str, iter.base()); in main()
133 output_iterator<char*> iter = f.put(output_iterator<char*>(str), in main() local
135 std::string ex(str, iter.base()); in main()
[all …]
/external/pdfium/fpdfsdk/
Dcpdfsdk_annotiterator_embeddertest.cpp47 CPDFSDK_AnnotIterator iter(pFormFillEnv->GetPageView(0), in TEST_F() local
49 CPDFSDK_Annot* pAnnot = iter.GetFirstAnnot(); in TEST_F()
51 pAnnot = iter.GetNextAnnot(pAnnot); in TEST_F()
53 pAnnot = iter.GetNextAnnot(pAnnot); in TEST_F()
55 pAnnot = iter.GetNextAnnot(pAnnot); in TEST_F()
57 pAnnot = iter.GetNextAnnot(pAnnot); in TEST_F()
58 EXPECT_EQ(iter.GetFirstAnnot(), pAnnot); in TEST_F()
60 pAnnot = iter.GetLastAnnot(); in TEST_F()
62 pAnnot = iter.GetPrevAnnot(pAnnot); in TEST_F()
64 pAnnot = iter.GetPrevAnnot(pAnnot); in TEST_F()
[all …]
/external/virglrenderer/src/gallium/auxiliary/util/
Du_hash_table.c73 util_hash_table_item(struct cso_hash_iter iter) in util_hash_table_item() argument
75 return (struct util_hash_table_item *)cso_hash_iter_data(iter); in util_hash_table_item()
109 struct cso_hash_iter iter; in util_hash_table_find_iter() local
112 iter = cso_hash_find(ht->cso, key_hash); in util_hash_table_find_iter()
113 while (!cso_hash_iter_is_null(iter)) { in util_hash_table_find_iter()
114 item = (struct util_hash_table_item *)cso_hash_iter_data(iter); in util_hash_table_find_iter()
117 iter = cso_hash_iter_next(iter); in util_hash_table_find_iter()
120 return iter; in util_hash_table_find_iter()
129 struct cso_hash_iter iter; in util_hash_table_find_item() local
132 iter = cso_hash_find(ht->cso, key_hash); in util_hash_table_find_item()
[all …]
/external/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 …]

12345678910>>...104