/external/parameter-framework/upstream/parameter/ |
SimulatedBackSynchronizer.cpp | 46 std::list<const CConfigurableElement *>::const_iterator it; local 48 for (it = _needingBackSyncList.begin(); it != _needingBackSyncList.end(); ++it) { 50 const CConfigurableElement *pConfigurableElement = *it;
|
/external/libcxx/test/std/experimental/filesystem/class.rec.dir.itr/rec.dir.itr.members/ |
move_assign.pass.cpp | 28 // the directory iterators. Turn off this warning so we can test it. 39 // in a non-default state. The returned 'it' is in a 41 // it.options() == directory_options::skip_permission_denied 42 // it.depth() == 1 43 // it.recursion_pending() == true 47 recursive_directory_iterator it(testDir, 49 TEST_ASSERT(it != endIt); 50 while (it.depth() != 1) { 51 ++it; 52 TEST_ASSERT(it != endIt) 121 recursive_directory_iterator it = createInterestingIterator(); local 144 recursive_directory_iterator it; local 153 recursive_directory_iterator it = createInterestingIterator(); local [all...] |
copy.pass.cpp | 41 recursive_directory_iterator it(endIt); 42 TEST_CHECK(it == endIt); 50 // build 'it' up with "interesting" non-default state so we can test 51 // that it gets copied. We want to get 'it' into a state such that: 52 // it.options() != directory_options::none 53 // it.depth() != 0 54 // it.recursion_pending() != true 56 recursive_directory_iterator it(testDir, opts); 57 TEST_REQUIRE(it != endIt) [all...] |
pop.pass.cpp | 33 recursive_directory_iterator it{}; ((void)it); 35 ASSERT_NOT_NOEXCEPT(it.pop()); 36 ASSERT_NOT_NOEXCEPT(it.pop(ec)); // may require allocation or other things 52 recursive_directory_iterator it(StaticEnv::Dir, ec); 53 TEST_REQUIRE(it != endIt); 54 TEST_CHECK(it.depth() == 0); 56 while (it.depth() != 2) { 57 if (it.depth() == 0) 58 notSeenDepth0.erase(it->path()) [all...] |
increment.pass.cpp | 53 recursive_directory_iterator it(testDir, ec); 58 TEST_REQUIRE(it != endIt); 59 const path entry = *it; 61 recursive_directory_iterator& it_ref = ++it; 62 TEST_CHECK(&it_ref == &it); 65 TEST_CHECK(it == endIt); 76 recursive_directory_iterator it(testDir, ec); 81 TEST_REQUIRE(it != endIt); 82 const path entry = *it; 84 const path entry2 = *it++ 282 recursive_directory_iterator it = SetupState(false, SeenNestedFile); local 293 recursive_directory_iterator it = SetupState(true, SeenNestedFile); local 368 recursive_directory_iterator it = SetupState(TC.SkipPermDenied, local 452 recursive_directory_iterator it = SetupState(TC.SkipPermDenied, local [all...] |
depth.pass.cpp | 39 recursive_directory_iterator it(testDir, ec); 41 TEST_CHECK(it.depth() == 0); 46 while (it != endIt) { 47 const path entry = *it; 50 TEST_CHECK(it.depth() == 0); 52 TEST_CHECK(it.depth() == 1); 55 TEST_CHECK(it.depth() == 2); 60 ++it; 63 TEST_CHECK(it == endIt);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/class.rec.dir.itr/rec.dir.itr.members/ |
move_assign.pass.cpp | 28 // the directory iterators. Turn off this warning so we can test it. 39 // in a non-default state. The returned 'it' is in a 41 // it.options() == directory_options::skip_permission_denied 42 // it.depth() == 1 43 // it.recursion_pending() == true 47 recursive_directory_iterator it(testDir, 49 TEST_ASSERT(it != endIt); 50 while (it.depth() != 1) { 51 ++it; 52 TEST_ASSERT(it != endIt) 121 recursive_directory_iterator it = createInterestingIterator(); local 144 recursive_directory_iterator it; local 153 recursive_directory_iterator it = createInterestingIterator(); local [all...] |
copy.pass.cpp | 41 recursive_directory_iterator it(endIt); 42 TEST_CHECK(it == endIt); 50 // build 'it' up with "interesting" non-default state so we can test 51 // that it gets copied. We want to get 'it' into a state such that: 52 // it.options() != directory_options::none 53 // it.depth() != 0 54 // it.recursion_pending() != true 56 recursive_directory_iterator it(testDir, opts); 57 TEST_REQUIRE(it != endIt) [all...] |
pop.pass.cpp | 33 recursive_directory_iterator it{}; ((void)it); 35 ASSERT_NOT_NOEXCEPT(it.pop()); 36 ASSERT_NOT_NOEXCEPT(it.pop(ec)); // may require allocation or other things 52 recursive_directory_iterator it(StaticEnv::Dir, ec); 53 TEST_REQUIRE(it != endIt); 54 TEST_CHECK(it.depth() == 0); 56 while (it.depth() != 2) { 57 if (it.depth() == 0) 58 notSeenDepth0.erase(it->path()) [all...] |
depth.pass.cpp | 39 recursive_directory_iterator it(testDir, ec); 41 TEST_CHECK(it.depth() == 0); 46 while (it != endIt) { 47 const path entry = *it; 50 TEST_CHECK(it.depth() == 0); 52 TEST_CHECK(it.depth() == 1); 55 TEST_CHECK(it.depth() == 2); 60 ++it; 63 TEST_CHECK(it == endIt);
|
/bionic/libc/bionic/ |
pthread_atfork.cpp | 52 for (atfork_t* it = first_; it != nullptr; it = it->next) { 53 f(it); 59 for (atfork_t* it = last_; it != nullptr; it = it->prev) { 60 f(it); 78 atfork_t* it = first_; local [all...] |
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/ |
MethodDeclarationTransformationsTest.java | 16 * JavaParser is distributed in the hope that it will be useful, 50 MethodDeclaration it = consider("void A(){}"); local 51 it.setName("B"); 52 assertTransformedToString("void B(){}", it); 61 MethodDeclaration it = consider("void A(){}"); local 62 it.setModifiers(EnumSet.of(Modifier.PUBLIC)); 63 assertTransformedToString("public void A(){}", it); 68 MethodDeclaration it = consider("public void A(){}"); local 69 it.setModifiers(EnumSet.noneOf(Modifier.class)); 70 assertTransformedToString("void A(){}", it); 75 MethodDeclaration it = consider("public void A(){}"); local 84 MethodDeclaration it = consider("void foo(){}"); local 91 MethodDeclaration it = consider("public void foo(double d){}"); local 98 MethodDeclaration it = consider("public void foo(double d, float f){}"); local 105 MethodDeclaration it = consider("public void foo(double d, float f){}"); local 112 MethodDeclaration it = consider("public void foo(float f){}"); local [all...] |
FieldDeclarationTransformationsTest.java | 16 * JavaParser is distributed in the hope that it will be useful, 48 FieldDeclaration it = consider("int A;"); local 49 it.setModifiers(EnumSet.of(Modifier.PUBLIC)); 50 assertTransformedToString("public int A;", it); 55 FieldDeclaration it = consider("public int A;"); local 56 it.setModifiers(EnumSet.noneOf(Modifier.class)); 57 assertTransformedToString("int A;", it); 62 FieldDeclaration it = consider("int A;"); local 63 it.setModifiers(EnumSet.of(Modifier.PROTECTED)); 64 assertTransformedToString("protected int A;", it); 69 FieldDeclaration it = consider("int a, b;"); local [all...] |
/external/libese/libapdu/ |
apdu.cpp | 40 auto it = mCommand.begin(); local 41 *it++ = cla; 42 *it++ = ins; 43 *it++ = p1; 44 *it++ = p2; 49 *it++ = 0; 50 *it++ = 0xff & (lc >> 8); 52 *it++ = 0xff & lc; 53 mDataBegin = it; 54 it += lc [all...] |
/external/python/cpython3/Objects/ |
iterobject.c | 14 seqiterobject *it; local 20 it = PyObject_GC_New(seqiterobject, &PySeqIter_Type); 21 if (it == NULL) 23 it->it_index = 0; 25 it->it_seq = seq; 26 _PyObject_GC_TRACK(it); 27 return (PyObject *)it; 31 iter_dealloc(seqiterobject *it) 33 _PyObject_GC_UNTRACK(it); 34 Py_XDECREF(it->it_seq) 48 seqiterobject *it; local 180 calliterobject *it; local [all...] |
/external/tensorflow/tensorflow/contrib/lite/testing/ |
tokenize.cc | 55 for (auto it = std::istreambuf_iterator<char>(*input); 56 it != std::istreambuf_iterator<char>(); ++it) { 59 if (is_delim(*it)) { 60 issue_delim(*it); 61 } else if (is_quote(*it)) { 63 } else if (!isspace(*it)) { 64 start_token(*it); 68 if (is_delim(*it)) { 70 issue_delim(*it); [all...] |
/system/core/init/ |
property_type.cpp | 60 auto it = value.begin(); local 61 while (it != value.end() && isdigit(*it)) { 62 it++; 64 if (it == value.begin() || it == value.end() || (*it != 'g' && *it != 'k' && *it != 'm')) { 67 it++ [all...] |
/external/pdfium/core/fxcrt/ |
fx_bidi_unittest.cpp | 133 auto it = bidi.begin(); local 134 ASSERT_FALSE(it == bidi.end()); 135 EXPECT_EQ(0, it->start); 136 EXPECT_EQ(1, it->count); 137 EXPECT_EQ(CFX_BidiChar::NEUTRAL, it->direction); 138 ++it; 139 EXPECT_TRUE(it == bidi.end()); 146 auto it = bidi.begin(); local 147 ASSERT_FALSE(it == bidi.end()); 148 EXPECT_EQ(0, it->start) 162 auto it = bidi.begin(); local 183 auto it = bidi.begin(); local 207 auto it = bidi.begin(); local 228 auto it = bidi.begin(); local 251 auto it = bidi.begin(); local 291 auto it = bidi.begin(); local 332 auto it = bidi.begin(); local [all...] |
/external/boringssl/src/crypto/asn1/ |
tasn_fre.c | 10 * apply to all code found in this distribution, be it the RC4, RSA, 66 void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it) 68 asn1_item_combine_free(&val, it, 0); 71 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 73 asn1_item_combine_free(pval, it, 0); 76 void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine) 81 const ASN1_AUX *aux = it->funcs; 86 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval) 93 switch (it->itype) { 96 if (it->templates [all...] |
/external/webrtc/talk/app/webrtc/ |
notifier.h | 51 for (std::list<ObserverInterface*>::iterator it = observers_.begin(); 52 it != observers_.end(); it++) { 53 if (*it == observer) { 54 observers_.erase(it); 65 for (std::list<ObserverInterface*>::iterator it = observers.begin(); 66 it != observers.end(); ++it) { 67 (*it)->OnChanged();
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
dtmf_buffer.cc | 20 // longer required, this #define should be removed (and the code that it 89 // bit stream using the ParseEvent method above before inserting it in the 92 // is not known when the first packet describing it is sent. To deal with that, 94 // event as it is being created (typically, as the user is pressing the key). 107 DtmfList::iterator it = buffer_.begin(); local 108 while (it != buffer_.end()) { 109 if (MergeEvents(it, event)) { 113 ++it; 122 DtmfList::iterator it = buffer_.begin(); local 123 while (it != buffer_.end()) [all...] |
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/ |
ArrayCreationLevelTransformationsTest.java | 16 * JavaParser is distributed in the hope that it will be useful, 51 ArrayCreationLevel it = consider("[]"); local 52 it.setDimension(new IntegerLiteralExpr("10")); 53 assertTransformedToString("[10]", it); 58 ArrayCreationLevel it = consider("[10]"); local 59 it.removeDimension(); 60 assertTransformedToString("[]", it); 65 ArrayCreationLevel it = consider("[10]"); local 66 it.setDimension(new IntegerLiteralExpr("12")); 67 assertTransformedToString("[12]", it); 74 ArrayCreationLevel it = consider("[]"); local 81 ArrayCreationLevel it = consider("@myAnno []"); local 88 ArrayCreationLevel it = consider("@myAnno []"); local [all...] |
/external/sfntly/cpp/src/sample/subtly/ |
stats.cc | 30 for (TableMap::const_iterator it = table_map->begin(), 31 e = table_map->end(); it != e; ++it) { 32 size += it->second->DataLength(); 45 for (TableMap::const_iterator it = tables->begin(), 46 e = tables->end(); it != e; ++it) { 47 char *name = TagToString(it->first); 48 int32_t size = it->second->DataLength(); 50 TableSizePercent(font, it->first)) [all...] |
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
send_time_history.cc | 44 auto it = history_.find(sequence_number); local 45 if (it == history_.end()) 47 it->second.send_time_ms = send_time_ms; 53 auto it = history_.find(oldest_sequence_number_); local 54 assert(it != history_.end()); 56 if (clock_->TimeInMilliseconds() - it->second.creation_time_ms <= 62 history_.erase(it); 73 auto it = history_.upper_bound(oldest_sequence_number_); 74 if (it == history_.end()) { 77 // find 0 even if it is there, need to explicitly check for 0 87 auto it = history_.find(packet->sequence_number); local [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
BreakIteratorTest.java | 58 BreakIterator it = BreakIterator.getWordInstance(Locale.US); local 59 it.setText(new String(cs)); 73 BreakIterator it = BreakIterator.getWordInstance(Locale.US); local 74 it.setText(s); 78 it.setText(s); 81 BreakIterator clone = (BreakIterator) it.clone(); 83 assertExpectedWordBoundaries(it, s); 87 private void assertExpectedWordBoundaries(BreakIterator it, String s) { 89 int pos = it.first(); 93 pos = it.next() 106 BreakIterator it = BreakIterator.getCharacterInstance(Locale.US); local 130 BreakIterator it = BreakIterator.getCharacterInstance(Locale.US); local 154 BreakIterator it = BreakIterator.getCharacterInstance(Locale.US); local [all...] |