/external/grpc-grpc/third_party/nanopb/ |
pb_common.c | 8 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct) 10 iter->start = fields; 11 iter->pos = fields; 12 iter->required_field_index = 0; 13 iter->dest_struct = dest_struct; 14 iter->pData = (char*)dest_struct + iter->pos->data_offset; 15 iter->pSize = (char*)iter->pData + iter->pos->size_offset [all...] |
/external/nanopb-c/ |
pb_common.c | 8 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct) 10 iter->start = fields; 11 iter->pos = fields; 12 iter->required_field_index = 0; 13 iter->dest_struct = dest_struct; 14 iter->pData = (char*)dest_struct + iter->pos->data_offset; 15 iter->pSize = (char*)iter->pData + iter->pos->size_offset [all...] |
/external/icu/icu4c/source/samples/uciter8/ |
uit_len8.c | 116 lenient8IteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) { 122 if(iter->index<0) { 128 s=(const uint8_t *)iter->context; 130 limit=iter->start; /* count up to the UTF-8 index */ 140 iter->start=i; /* just in case setState() did not get us to a code point boundary */ 141 if(i==iter->limit) { 142 iter->length=index; /* in case it was <0 or wrong */ 144 if(iter->reservedField!=0) { 147 iter->index=index; 149 return iter->index [all...] |
/external/llvm/test/MC/AMDGPU/ |
macro-examples.s | 7 .macro REG_NUM_EXPR_EXAMPLE width iter iter_end 9 flat_load_dwordx4 v[8 + (\iter * 4):8 + (\iter * 4) + 3], v[2:3] 11 flat_load_dword v[8 + \iter], v[2:3] 14 .if (\iter_end - \iter) 15 REG_NUM_EXPR_EXAMPLE \width, (\iter + 1), \iter_end
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/AMDGPU/ |
macro-examples.s | 7 .macro REG_NUM_EXPR_EXAMPLE width iter iter_end 9 flat_load_dwordx4 v[8 + (\iter * 4):8 + (\iter * 4) + 3], v[2:3] 11 flat_load_dword v[8 + \iter], v[2:3] 14 .if (\iter_end - \iter) 15 REG_NUM_EXPR_EXAMPLE \width, (\iter + 1), \iter_end
|
/device/google/bonito/json-c/ |
json_object_iterator.c | 69 struct json_object_iterator iter; local 79 iter.opaque_ = pTable->head; 80 return iter; 89 struct json_object_iterator iter; local 94 iter.opaque_ = kObjectEndIterValue; 96 return iter; 103 json_object_iter_next(struct json_object_iterator* iter) 105 JASSERT(NULL != iter); 106 JASSERT(kObjectEndIterValue != iter->opaque_); 108 iter->opaque_ = ((struct lh_entry *)iter->opaque_)->next 158 struct json_object_iterator iter; local [all...] |
/device/google/crosshatch/json-c/ |
json_object_iterator.c | 69 struct json_object_iterator iter; local 79 iter.opaque_ = pTable->head; 80 return iter; 89 struct json_object_iterator iter; local 94 iter.opaque_ = kObjectEndIterValue; 96 return iter; 103 json_object_iter_next(struct json_object_iterator* iter) 105 JASSERT(NULL != iter); 106 JASSERT(kObjectEndIterValue != iter->opaque_); 108 iter->opaque_ = ((struct lh_entry *)iter->opaque_)->next 158 struct json_object_iterator iter; local [all...] |
/external/icu/icu4c/source/common/ |
uiter.cpp | 39 noopGetIndex(UCharIterator * /*iter*/, UCharIteratorOrigin /*origin*/) { 44 noopMove(UCharIterator * /*iter*/, int32_t /*delta*/, UCharIteratorOrigin /*origin*/) { 49 noopHasNext(UCharIterator * /*iter*/) { 54 noopCurrent(UCharIterator * /*iter*/) { 59 noopGetState(const UCharIterator * /*iter*/) { 64 noopSetState(UCharIterator * /*iter*/, uint32_t /*state*/, UErrorCode *pErrorCode) { 92 stringIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) { 97 return iter->start; 99 return iter->index; 101 return iter->limit [all...] |
unistr_titlecase_brkiter.cpp | 33 UnicodeString::toTitle(BreakIterator *iter) { 34 return toTitle(iter, Locale::getDefault(), 0); 38 UnicodeString::toTitle(BreakIterator *iter, const Locale &locale) { 39 return toTitle(iter, locale, 0); 43 UnicodeString::toTitle(BreakIterator *iter, const Locale &locale, uint32_t options) { 46 iter = ustrcase_getTitleBreakIterator(&locale, "", options, iter, ownedIter, errorCode); 47 if (iter == nullptr) { 51 caseMap(ustrcase_getCaseLocale(locale.getBaseName()), options, iter, ustrcase_internalToTitle); local
|
/external/pdfium/xfa/fxfa/parser/ |
cxfa_nodeiteratortemplate_unittest.cpp | 98 Iterator iter(nullptr); 99 EXPECT_EQ(nullptr, iter.GetRoot()); 100 EXPECT_EQ(nullptr, iter.GetCurrent()); 101 EXPECT_EQ(nullptr, iter.MoveToNext()); 102 EXPECT_EQ(nullptr, iter.MoveToPrev()); 103 EXPECT_EQ(nullptr, iter.SkipChildrenAndMoveToNext()); 107 Iterator iter(root()); 108 EXPECT_EQ(root(), iter.GetRoot()); 109 EXPECT_EQ(root(), iter.GetCurrent()); 113 Iterator iter(root()) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
IterCollationIterator.java | 28 iter = ui; 34 iter.setIndex(newOffset); 39 return iter.getIndex(); 44 return iter.nextCodePoint(); 49 return iter.previousCodePoint(); 54 int c = iter.next(); 63 int trail = iter.next(); 64 if(!isTrailSurrogate(trail) && trail >= 0) { iter.previous(); } 70 iter.moveCodePointIndex(num); 75 iter.moveCodePointIndex(-num) 78 protected UCharacterIterator iter; field in class:IterCollationIterator [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
IterCollationIterator.java | 26 iter = ui; 32 iter.setIndex(newOffset); 37 return iter.getIndex(); 42 return iter.nextCodePoint(); 47 return iter.previousCodePoint(); 52 int c = iter.next(); 61 int trail = iter.next(); 62 if(!isTrailSurrogate(trail) && trail >= 0) { iter.previous(); } 68 iter.moveCodePointIndex(num); 73 iter.moveCodePointIndex(-num) 76 protected UCharacterIterator iter; field in class:IterCollationIterator [all...] |
/external/smali/util/src/test/java/org/jf/util/ |
AbstractForwardSequentialListTest.java | 77 private void testForwardIterationImpl(ListIterator<Integer> iter) { 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.previousIndex(), 99) 125 ListIterator<Integer> iter = list.listIterator(50); local 146 ListIterator<Integer> iter = list.listIterator(0); local 174 ListIterator<Integer> iter = list.listIterator(0); local 188 ListIterator<Integer> iter = list.listIterator(100); local 197 ListIterator<Integer> iter = list.listIterator(100); local 211 ListIterator<Integer> iter = list.listIterator(0); local [all...] |
/external/skia/src/utils/ |
SkNWayCanvas.cpp | 37 class SkNWayCanvas::Iter { 39 Iter(const SkTDArray<SkCanvas*>& list) : fList(list) { 59 Iter iter(fList); 60 while (iter.next()) { 61 iter->save(); 68 Iter iter(fList); 69 while (iter.next()) { 70 iter->saveLayer(rec) [all...] |
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/ |
put2.pass.cpp | 35 output_iterator<char*> iter; local 48 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'A'); 49 std::string ex(str, iter.base()); 53 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'a'); 54 std::string ex(str, iter.base()); 58 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'B'); 59 std::string ex(str, iter.base()); 63 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'b'); 64 std::string ex(str, iter.base()); 68 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'C') [all...] |
/external/webrtc/talk/media/base/ |
capturerenderadapter.cc | 81 for (VideoRenderers::iterator iter = video_renderers_.begin(); 82 iter != video_renderers_.end(); ++iter) { 83 if (video_renderer == iter->renderer) { 84 video_renderers_.erase(iter); 105 for (VideoRenderers::iterator iter = video_renderers_.begin(); 106 iter != video_renderers_.end(); ++iter) { 107 VideoRenderer* video_renderer = iter->renderer; 114 for (VideoRenderers::iterator iter = video_renderers_.begin() [all...] |
/external/skqp/src/utils/ |
SkNWayCanvas.cpp | 37 class SkNWayCanvas::Iter { 39 Iter(const SkTDArray<SkCanvas*>& list) : fList(list) { 59 Iter iter(fList); 60 while (iter.next()) { 61 iter->save(); 68 Iter iter(fList); 69 while (iter.next()) { 70 iter->saveLayer(rec) [all...] |
/external/libdrm/amdgpu/ |
util_hash_table.c | 66 util_hash_table_item(struct util_hash_iter iter) 68 return (struct util_hash_table_item *)util_hash_iter_data(iter); 97 struct util_hash_iter iter; local 100 iter = util_hash_find(ht->head, key_hash); 101 while (!util_hash_iter_is_null(iter)) { 102 item = (struct util_hash_table_item *)util_hash_iter_data(iter); 105 iter = util_hash_iter_next(iter); 108 return iter; 115 struct util_hash_iter iter; local 134 struct util_hash_iter iter; local 184 struct util_hash_iter iter; local 206 struct util_hash_iter iter; local 225 struct util_hash_iter iter; local 242 struct util_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/pdfium/fpdfsdk/ |
fsdk_baseform_embeddertest.cpp | 47 CBA_AnnotIterator iter(pFormFillEnv->GetPageView(0), 49 CPDFSDK_Annot* pAnnot = iter.GetFirstAnnot(); 51 pAnnot = iter.GetNextAnnot(pAnnot); 53 pAnnot = iter.GetNextAnnot(pAnnot); 55 pAnnot = iter.GetNextAnnot(pAnnot); 57 pAnnot = iter.GetNextAnnot(pAnnot); 58 EXPECT_EQ(iter.GetFirstAnnot(), pAnnot); 60 pAnnot = iter.GetLastAnnot(); 62 pAnnot = iter.GetPrevAnnot(pAnnot); 64 pAnnot = iter.GetPrevAnnot(pAnnot) [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
initializable_lookup_table.cc | 37 lookup::KeyValueTensorIterator iter(&keys, &values); 38 return Initialize(iter); 41 Status InitializableLookupTable::Initialize(InitTableIterator& iter) { 42 if (!iter.Valid()) { 43 return iter.status(); 46 CheckKeyAndValueTensorsForInsert(iter.keys(), iter.values())); 53 TF_RETURN_IF_ERROR(DoLazyPrepare([&iter]() { return iter.total_size(); })); 54 while (iter.Valid()) [all...] |
/external/e2fsprogs/lib/blkid/ |
dev.c | 116 blkid_dev_iterate iter; local 118 iter = malloc(sizeof(struct blkid_struct_dev_iterate)); 119 if (iter) { 120 iter->magic = DEV_ITERATE_MAGIC; 121 iter->cache = cache; 122 iter->p = cache->bic_devs.next; 123 iter->search_type = 0; 124 iter->search_value = 0; 126 return (iter); 129 extern int blkid_dev_set_search(blkid_dev_iterate iter, 202 blkid_dev_iterate iter; local [all...] |
/external/swiftshader/third_party/LLVM/utils/ |
plotNLT.pl | 23 for ($iter = 0; $iter < $count; $iter++) { 24 if ($iter) 31 for ($iter = 0; $iter < $count; $iter++) {
|
/external/clang/test/SemaCXX/ |
for-range-no-std.cpp | 18 struct iter { struct in namespace:NS 20 bool operator!=(iter); 23 iter begin(ADL); // expected-note {{not viable}} 24 iter end(ADL); 28 NS::iter begin(NS::NoADL); // expected-note {{not viable}} 29 NS::iter end(NS::NoADL);
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
AbstractIteratorTest.java | 40 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 57 assertTrue(iter.hasNext()); 58 assertEquals(0, (int) iter.next()); 61 assertTrue(iter.hasNext()); 62 assertTrue(iter.hasNext()); 63 assertTrue(iter.hasNext()); 64 assertEquals(1, (int) iter.next()); 66 assertFalse(iter.hasNext()); 69 assertFalse(iter.hasNext()); 72 iter.next() 83 AbstractIterator<Integer> iter = new AbstractIterator<Integer>() { local 161 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 194 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 210 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 224 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 245 Iterator<Integer> iter = new AbstractIterator<Integer>() { local [all...] |