/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...] |
/external/mesa3d/src/gallium/auxiliary/cso_cache/ |
cso_hash.h | 95 struct cso_hash_iter cso_hash_erase(struct cso_hash *hash, struct cso_hash_iter iter); 114 unsigned cso_hash_iter_key(struct cso_hash_iter iter); 117 struct cso_hash_iter cso_hash_iter_next(struct cso_hash_iter iter); 118 struct cso_hash_iter cso_hash_iter_prev(struct cso_hash_iter iter); 132 cso_hash_iter_is_null(struct cso_hash_iter iter) 134 if (!iter.node || iter.node == iter.hash->data.e) 140 cso_hash_iter_data(struct cso_hash_iter iter) 142 if (!iter.node || iter.hash->data.e == iter.node [all...] |
/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...] |
/external/swiftshader/third_party/LLVM/utils/ |
cgiplotNLT.pl | 37 for ($iter = 0; $iter < $count; $iter++) { 38 if ($iter) 40 print CMDSTREAM " '-' using 1:2 title \"" . $q->param('t' . $iter) . "," . $q->param('n' . $iter) . "\"with lines"; 45 for ($iter = 0; $iter < $count; $iter++) { 47 $prog = $q->param('n' . $iter); [all...] |
/external/icu/icu4c/source/samples/uciter8/ |
uit_len8.h | 33 uiter_setLenient8(UCharIterator *iter, const char *s, int32_t length);
|
/external/u-boot/test/ |
time_ut.c | 14 int iter; local 18 for (iter = 0; iter < 10; iter++) { 24 printf("%s: iter=%d, start=%lu, next=%lu, expected a difference of 1\n", 25 __func__, iter, start, next); 36 if (diff != iter && diff != iter + 1) { 38 __func__, diff, iter); 49 int iter; local 104 int iter; local [all...] |
/external/grpc-grpc/third_party/nanopb/ |
pb_common.h | 27 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct); 31 bool pb_field_iter_next(pb_field_iter_t *iter); 35 bool pb_field_iter_find(pb_field_iter_t *iter, uint32_t tag);
|
pb_decode.c | 29 static bool checkreturn decode_static_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iter_t *iter); 30 static bool checkreturn decode_callback_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iter_t *iter); 31 static bool 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 static bool checkreturn decode_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 static bool checkreturn decode_static_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iter_t *iter) 699 pb_field_iter_t iter; local 825 pb_field_iter_t iter; local 845 pb_field_iter_t iter; local 1087 pb_field_iter_t iter; local [all...] |
/external/grpc-grpc/third_party/nanopb/tests/fuzztest/ |
generate_message.c | 41 pb_field_iter_t iter; local 42 pb_field_iter_begin(&iter, alltypes_static_AllTypes_fields, msg); 43 while (pb_field_iter_next(&iter)) 45 if (PB_LTYPE(iter.pos->type) == PB_LTYPE_BYTES) 47 ((pb_bytes_array_t*)iter.pData)->size %= iter.pos->data_size - PB_BYTES_ARRAY_T_ALLOCSIZE(0); 50 if (PB_HTYPE(iter.pos->type) == PB_HTYPE_REPEATED) 52 *((pb_size_t*)iter.pSize) %= iter.pos->array_size; 55 if (PB_HTYPE(iter.pos->type) == PB_HTYPE_ONEOF [all...] |
/external/nanopb-c/ |
pb_common.h | 27 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct); 31 bool pb_field_iter_next(pb_field_iter_t *iter); 35 bool pb_field_iter_find(pb_field_iter_t *iter, uint32_t tag);
|
/external/nanopb-c/tests/fuzztest/ |
generate_message.c | 41 pb_field_iter_t iter; local 42 pb_field_iter_begin(&iter, alltypes_static_AllTypes_fields, msg); 43 while (pb_field_iter_next(&iter)) 45 if (PB_LTYPE(iter.pos->type) == PB_LTYPE_BYTES) 47 ((pb_bytes_array_t*)iter.pData)->size %= iter.pos->data_size - PB_BYTES_ARRAY_T_ALLOCSIZE(0); 50 if (PB_HTYPE(iter.pos->type) == PB_HTYPE_REPEATED) 52 *((pb_size_t*)iter.pSize) %= iter.pos->array_size; 55 if (PB_HTYPE(iter.pos->type) == PB_HTYPE_ONEOF [all...] |
/external/icu/icu4c/source/common/unicode/ |
uiter.h | 98 * @param iter the UCharIterator structure ("this pointer") 107 UCharIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin); 112 * Use iter->move(iter, index, UITER_ZERO) like CharacterIterator::setIndex(index). 132 * @param iter the UCharIterator structure ("this pointer") 144 UCharIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin); 152 * @param iter the UCharIterator structure ("this pointer") 159 UCharIteratorHasNext(UCharIterator *iter); 166 * @param iter the UCharIterator structure ("this pointer") 173 UCharIteratorHasPrevious(UCharIterator *iter); [all...] |
/external/icu/libandroidicu/include/unicode/ |
uiter.h | 98 * @param iter the UCharIterator structure ("this pointer") 107 UCharIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin); 112 * Use iter->move(iter, index, UITER_ZERO) like CharacterIterator::setIndex(index). 132 * @param iter the UCharIterator structure ("this pointer") 144 UCharIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin); 152 * @param iter the UCharIterator structure ("this pointer") 159 UCharIteratorHasNext(UCharIterator *iter); 166 * @param iter the UCharIterator structure ("this pointer") 173 UCharIteratorHasPrevious(UCharIterator *iter); [all...] |
/external/grpc-grpc/test/cpp/common/ |
auth_property_iterator_test.cc | 36 const grpc_auth_property_iterator* iter) 37 : AuthPropertyIterator(property, iter) {} 65 TestAuthPropertyIterator iter(property, &c_iter); 67 EXPECT_FALSE(iter == empty_iter); 68 AuthProperty p0 = *iter; 69 ++iter; 70 AuthProperty p1 = *iter; 71 iter++; 72 AuthProperty p2 = *iter; 79 ++iter; [all...] |
/external/ltp/testcases/realtime/perf/latency/ |
run_auto.sh | 26 iter=400 31 echo "number of iterations = $iter " | tee -a $LOG_FILE 35 rm -f $nthread.$iter.$nproc.*.out 38 ./pthread_cond_many --realtime --broadcast -i $iter -n $nthread > $nthread.$iter.$nproc.$i.out & 42 ./pthread_cond_many --broadcast -i $iter -n $nthread > $nthread.$iter.$nproc.$i.out &
|
/external/icu/icu4c/source/i18n/ |
uitercollationiterator.cpp | 36 iter.move(&iter, newOffset, UITER_START); 41 return iter.getIndex(&iter, UITER_CURRENT); 46 c = iter.next(&iter); 55 UChar32 trail = iter.next(&iter); 56 if(!U16_IS_TRAIL(trail) && trail >= 0) { iter.previous(&iter); } [all...] |
/external/libtextclassifier/utils/utf8/ |
unicodetext_test.cc | 102 UnicodeText::const_iterator iter = text_.begin(); local 103 EXPECT_EQ(0x1C0, *iter); 104 EXPECT_EQ(&iter, &++iter); // operator++ returns *this. 105 EXPECT_EQ(0x4E8C, *iter++); 106 EXPECT_EQ(0xD7DB, *iter); 108 EXPECT_EQ(0xD7DB, *iter); 109 EXPECT_EQ(0x34, *++iter); 110 EXPECT_EQ(0x1D11E, *++iter); 111 ASSERT_TRUE(iter != text_.end()) 130 UnicodeText::const_iterator iter = text_.end(); local 158 UnicodeText::const_iterator iter = text_.begin(); local 167 UnicodeText::const_iterator iter = text_.begin(); local [all...] |
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/ |
put_long_double.pass.cpp | 56 output_iterator<char*> iter; local 77 iter = f.put(output_iterator<char*>(str), ios, '*', v); 78 std::string ex(str, iter.base()); 85 iter = f.put(output_iterator<char*>(str), ios, '*', v); 86 std::string ex(str, iter.base()); 93 iter = f.put(output_iterator<char*>(str), ios, '*', v); 94 std::string ex(str, iter.base()); 101 iter = f.put(output_iterator<char*>(str), ios, '*', v); 102 std::string ex(str, iter.base()); 111 iter = f.put(output_iterator<char*>(str), ios, '*', v) 3017 output_iterator<char*> iter; local 5978 output_iterator<char*> iter; local 8939 output_iterator<char*> iter; local 10726 output_iterator<char*> iter; local 11339 output_iterator<char*> iter; local 14301 output_iterator<char*> iter; local 17263 output_iterator<char*> iter; local 19051 output_iterator<char*> iter; local 20841 output_iterator<char*> iter; local 22631 output_iterator<char*> iter; local 24420 output_iterator<char*> iter; local 26226 output_iterator<char*> iter; local [all...] |
put_double.pass.cpp | 51 output_iterator<char*> iter; local 72 iter = f.put(output_iterator<char*>(str), ios, '*', v); 73 std::string ex(str, iter.base()); 80 iter = f.put(output_iterator<char*>(str), ios, '*', v); 81 std::string ex(str, iter.base()); 88 iter = f.put(output_iterator<char*>(str), ios, '*', v); 89 std::string ex(str, iter.base()); 96 iter = f.put(output_iterator<char*>(str), ios, '*', v); 97 std::string ex(str, iter.base()); 106 iter = f.put(output_iterator<char*>(str), ios, '*', v) 3012 output_iterator<char*> iter; local 5973 output_iterator<char*> iter; local 8935 output_iterator<char*> iter; local 10723 output_iterator<char*> iter; local 12513 output_iterator<char*> iter; local 14303 output_iterator<char*> iter; local 16093 output_iterator<char*> iter; local [all...] |
/external/libvpx/libvpx/test/ |
keyframe_test.cc | 94 for (std::vector<vpx_codec_pts_t>::const_iterator iter = kf_pts_list_.begin(); 95 iter != kf_pts_list_.end(); ++iter) { 96 ASSERT_EQ(0, *iter % 3) << "Unexpected keyframe at frame " << *iter; 107 for (std::vector<vpx_codec_pts_t>::const_iterator iter = kf_pts_list_.begin(); 108 iter != kf_pts_list_.end(); ++iter) { 109 ASSERT_EQ(0, *iter % 25) << "Unexpected keyframe at frame " << *iter; [all...] |
/external/pdfium/testing/ |
embedder_test_timer_handling_delegate.h | 49 for (auto iter = expiry_to_timer_map_.begin(); 50 iter != expiry_to_timer_map_.end(); ++iter) { 51 if (iter->second.id == id) { 52 expiry_to_timer_map_.erase(iter); 61 auto iter = expiry_to_timer_map_.begin(); local 62 if (iter == expiry_to_timer_map_.end()) { 65 if (iter->first > fake_elapsed_msecs_) { 68 Timer t = iter->second; 69 expiry_to_timer_map_.erase(iter); [all...] |
/external/virglrenderer/src/gallium/auxiliary/util/ |
u_hash_table.c | 73 util_hash_table_item(struct cso_hash_iter iter) 75 return (struct util_hash_table_item *)cso_hash_iter_data(iter); 109 struct cso_hash_iter iter; local 112 iter = cso_hash_find(ht->cso, key_hash); 113 while (!cso_hash_iter_is_null(iter)) { 114 item = (struct util_hash_table_item *)cso_hash_iter_data(iter); 117 iter = cso_hash_iter_next(iter); 120 return iter; 129 struct cso_hash_iter iter; local 151 struct cso_hash_iter iter; local 209 struct cso_hash_iter iter; local 234 struct cso_hash_iter iter; local 257 struct cso_hash_iter iter; local 281 struct cso_hash_iter iter; local [all...] |
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
objectivec_file.cc | 106 for (vector<FileGenerator *>::const_iterator iter = 108 iter != dependency_generators.end(); ++iter) { 109 if ((*iter)->IsPublicDependency()) { 111 "header", (*iter)->Path()); 125 for (vector<MessageGenerator *>::iterator iter = message_generators_.begin(); 126 iter != message_generators_.end(); ++iter) { 127 (*iter)->DetermineForwardDeclarations(&fwd_decls); 142 for (vector<EnumGenerator *>::iterator iter = enum_generators_.begin() [all...] |
/device/google/cuttlefish_common/host/commands/virtual_usb_manager/vadb/ |
virtual_adb_server.cpp | 31 for (auto iter = clients_.begin(); iter != clients_.end();) { 32 if (!iter->AfterSelect(fd_read)) { 34 iter = clients_.erase(iter); 37 ++iter;
|