/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/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/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...] |
/hardware/intel/img/psb_video/fw/topazhp/ |
topazhp_bin.c | 160 int iter = 0; local 167 for (iter = 0; iter < size; iter++) { 171 iter = 0; 173 sec_t[iter].addr = FW_NUM * 16 + SECURE_VRL_HEADER + SECURE_FIP_HEADER; 174 sec_t[iter].text_size_bytes = tng_fw_table[iter].header.text_size * 4; 175 sec_t[iter].data_size_bytes = tng_fw_table[iter].header.data_size * 4 243 int iter = 0; local 308 topaz_fw_codec_t iter = 0; local [all...] |
/external/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(); 70 Iter iter(fList); 71 while (iter.next()) { 72 iter->saveLayer(rec) [all...] |
/external/icu/android_icu4j/src/main/java/android/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/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
IterCollationIterator.java | 24 iter = ui; 30 iter.setIndex(newOffset); 35 return iter.getIndex(); 40 return iter.nextCodePoint(); 45 return iter.previousCodePoint(); 50 int c = iter.next(); 59 int trail = iter.next(); 60 if(!isTrailSurrogate(trail) && trail >= 0) { iter.previous(); } 66 iter.moveCodePointIndex(num); 71 iter.moveCodePointIndex(-num) 74 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/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/libcxx/test/std/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/ |
put2.pass.cpp | 37 output_iterator<char*> iter; local 50 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'A'); 51 std::string ex(str, iter.base()); 55 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'a'); 56 std::string ex(str, iter.base()); 60 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'B'); 61 std::string ex(str, iter.base()); 65 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'b'); 66 std::string ex(str, iter.base()); 70 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/skia/src/gpu/text/ |
GrTextBlobCache.cpp | 15 SkTDynamicHash<GrAtlasTextBlob, GrAtlasTextBlob::Key>::Iter iter(&fCache); 16 while (!iter.done()) { 17 GrAtlasTextBlob* blob = &(*iter); 20 ++iter;
|
/external/libdrm/amdgpu/ |
util_hash_table.c | 70 util_hash_table_item(struct util_hash_iter iter) 72 return (struct util_hash_table_item *)util_hash_iter_data(iter); 101 struct util_hash_iter iter; local 104 iter = util_hash_find(ht->head, key_hash); 105 while (!util_hash_iter_is_null(iter)) { 106 item = (struct util_hash_table_item *)util_hash_iter_data(iter); 109 iter = util_hash_iter_next(iter); 112 return iter; 119 struct util_hash_iter iter; local 138 struct util_hash_iter iter; local 188 struct util_hash_iter iter; local 210 struct util_hash_iter iter; local 229 struct util_hash_iter iter; local 246 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...] |
/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...] |
/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/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...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractIteratorTest.java | 43 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 60 assertTrue(iter.hasNext()); 61 assertEquals(0, (int) iter.next()); 64 assertTrue(iter.hasNext()); 65 assertTrue(iter.hasNext()); 66 assertTrue(iter.hasNext()); 67 assertEquals(1, (int) iter.next()); 69 assertFalse(iter.hasNext()); 72 assertFalse(iter.hasNext()); 75 iter.next() 86 AbstractIterator<Integer> iter = new AbstractIterator<Integer>() { local 175 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 208 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 224 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 238 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 259 Iterator<Integer> iter = new AbstractIterator<Integer>() { local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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/skia/debugger/ |
debuggermain.cpp | 41 QStringList::const_iterator iter = argList.begin(); local 43 SkString commandName(iter->toAscii().data()); 44 ++iter; // skip the command name 46 for ( ; iter != argList.end(); ++iter) { 47 if (0 == iter->compare("--help") || 0 == iter->compare("-h")) { 51 input = SkString(iter->toAscii().data());
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
AbstractIteratorTest.java | 39 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 56 assertTrue(iter.hasNext()); 57 assertEquals(0, (int) iter.next()); 60 assertTrue(iter.hasNext()); 61 assertTrue(iter.hasNext()); 62 assertTrue(iter.hasNext()); 63 assertEquals(1, (int) iter.next()); 65 assertFalse(iter.hasNext()); 68 assertFalse(iter.hasNext()); 71 iter.next() 78 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 111 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 127 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 141 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 162 Iterator<Integer> iter = new AbstractIterator<Integer>() { local [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
AbstractIteratorTest.java | 42 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 59 assertTrue(iter.hasNext()); 60 assertEquals(0, (int) iter.next()); 63 assertTrue(iter.hasNext()); 64 assertTrue(iter.hasNext()); 65 assertTrue(iter.hasNext()); 66 assertEquals(1, (int) iter.next()); 68 assertFalse(iter.hasNext()); 71 assertFalse(iter.hasNext()); 74 iter.next() 81 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 114 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 130 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 144 Iterator<Integer> iter = new AbstractIterator<Integer>() { local 176 Iterator<Integer> iter = new AbstractIterator<Integer>() { local [all...] |