Home
last modified time | relevance | path

Searched refs:It (Results 1 – 25 of 2307) sorted by relevance

12345678910>>...93

/external/libcxx/test/iterators/iterator.primitives/iterator.basic/
Diterator.pass.cpp32 typedef std::iterator<std::forward_iterator_tag, T> It; in test2() typedef
33 static_assert((std::is_same<typename It::value_type, T>::value), ""); in test2()
34 static_assert((std::is_same<typename It::difference_type, std::ptrdiff_t>::value), ""); in test2()
35 static_assert((std::is_same<typename It::pointer, T*>::value), ""); in test2()
36 static_assert((std::is_same<typename It::reference, T&>::value), ""); in test2()
37 …static_assert((std::is_same<typename It::iterator_category, std::forward_iterator_tag>::value), ""… in test2()
44 typedef std::iterator<std::bidirectional_iterator_tag, T, short> It; in test3() typedef
45 static_assert((std::is_same<typename It::value_type, T>::value), ""); in test3()
46 static_assert((std::is_same<typename It::difference_type, short>::value), ""); in test3()
47 static_assert((std::is_same<typename It::pointer, T*>::value), ""); in test3()
[all …]
/external/libcxx/test/support/
Dtest_iterators.h15 template <class It>
18 It it_;
24 typedef typename std::iterator_traits<It>::difference_type difference_type;
25 typedef It pointer;
26 typedef typename std::iterator_traits<It>::reference reference;
28 It base() const {return it_;} in base()
31 explicit output_iterator(It it) : it_(it) {} in output_iterator()
42 template <class It>
45 It it_;
50 typedef typename std::iterator_traits<It>::value_type value_type;
[all …]
/external/llvm/lib/Target/R600/
DR600OptimizeVectorRegisters.cpp50 for (MachineRegisterInfo::def_instr_iterator It = MRI.def_instr_begin(Reg), in isImplicitlyDef() local
51 E = MRI.def_instr_end(); It != E; ++It) { in isImplicitlyDef()
52 return (*It).isImplicitDef(); in isImplicitlyDef()
148 for (DenseMap<unsigned, unsigned>::iterator It = ToMerge->RegToChan.begin(), in tryMergeVector() local
149 E = ToMerge->RegToChan.end(); It != E; ++It) { in tryMergeVector()
151 Untouched->RegToChan.find((*It).first); in tryMergeVector()
154 ((*It).second, (*PosInUntouched).second)); in tryMergeVector()
160 ((*It).second, Untouched->UndefReg[CurrentUndexIdx++])); in tryMergeVector()
188 for (DenseMap<unsigned, unsigned>::iterator It = RSI->RegToChan.begin(), in RebuildVector() local
189 E = RSI->RegToChan.end(); It != E; ++It) { in RebuildVector()
[all …]
DAMDILCFGStructurizer.cpp218 int countActiveBlock(MBBVector::const_iterator It,
354 MBBInfoMap::const_iterator It = BlockInfoMap.find(MBB); in getSCCNum() local
355 if (It == BlockInfoMap.end()) in getSCCNum()
357 return (*It).second->SccNum; in getSCCNum()
362 LoopLandInfoMap::const_iterator It = LLInfoMap.find(LoopRep); in getLoopLandInfo() local
363 if (It == LLInfoMap.end()) in getLoopLandInfo()
365 return (*It).second; in getLoopLandInfo()
381 MBBInfoMap::const_iterator It = BlockInfoMap.find(MBB); in isRetiredBlock() local
382 if (It == BlockInfoMap.end()) in isRetiredBlock()
384 return (*It).second->IsRetired; in isRetiredBlock()
[all …]
/external/clang/include/clang/AST/
DDeclLookups.h27 StoredDeclsMap::iterator It, End; variable
36 all_lookups_iterator(StoredDeclsMap::iterator It, in all_lookups_iterator() argument
38 : It(It), End(End) {} in all_lookups_iterator()
40 DeclarationName getLookupName() const { return It->first; } in getLookupName()
42 reference operator*() const { return It->second.getLookupResult(); }
43 pointer operator->() const { return It->second.getLookupResult(); }
50 ++It;
51 } while (It != End &&
52 It->first == DeclarationName::getUsingDirectiveName());
64 return x.It == y.It;
[all …]
/external/stlport/test/compiler/StTerm-order/
Dstterm-test.cc66 class It class
69 It();
70 ~It();
89 static It it; in use_it()
104 It::It() in It() function in It
109 It::~It() in ~It()
/external/libcxx/test/iterators/predef.iterators/reverse.iterators/reverse.iterator/
Dtypes.pass.cpp33 template <class It>
35 : private std::reverse_iterator<It>
40 template <class It>
44 typedef std::reverse_iterator<It> R; in test()
45 typedef std::iterator_traits<It> T; in test()
46 find_current<It> q; in test()
48 static_assert((std::is_same<typename R::iterator_type, It>::value), ""); in test()
52 …static_assert((std::is_same<typename R::pointer, typename std::iterator_traits<It>::pointer>::valu… in test()
/external/libcxx/test/iterators/iterator.primitives/iterator.operations/
Dprev.pass.cpp20 template <class It>
22 test(It i, typename std::iterator_traits<It>::difference_type n, It x) in test()
27 template <class It>
29 test(It i, It x) in test()
Dnext.pass.cpp20 template <class It>
22 test(It i, typename std::iterator_traits<It>::difference_type n, It x) in test()
27 template <class It>
29 test(It i, It x) in test()
/external/libcxx/test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/
Dminus.pass.cpp25 template <class It>
27 test(It l, It r, typename std::iterator_traits<It>::difference_type x) in test()
29 const std::move_iterator<It> r1(l); in test()
30 const std::move_iterator<It> r2(r); in test()
Dplus.pass.cpp23 template <class It>
25 test(It i, typename std::iterator_traits<It>::difference_type n, It x) in test()
27 const std::move_iterator<It> r(i); in test()
28 std::move_iterator<It> rr = n + r; in test()
/external/libcxx/test/strings/basic.string/
Dinput_iterator.h15 template <class It>
18 It it_;
21 typedef typename std::iterator_traits<It>::value_type value_type;
22 typedef typename std::iterator_traits<It>::difference_type difference_type;
23 typedef It pointer;
24 typedef typename std::iterator_traits<It>::reference reference;
27 explicit input_iterator(It it) : it_(it) {} in input_iterator()
/external/libcxx/test/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opsum/
Ddifference_type.pass.cpp23 template <class It>
25 test(It i, typename std::iterator_traits<It>::difference_type n, It x) in test()
27 const std::reverse_iterator<It> r(i); in test()
28 std::reverse_iterator<It> rr = n + r; in test()
/external/libcxx/test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.+/
Ddifference_type.pass.cpp22 template <class It>
24 test(It i, typename std::iterator_traits<It>::difference_type n, It x) in test()
26 const std::move_iterator<It> r(i); in test()
27 std::move_iterator<It> rr = r + n; in test()
/external/libcxx/test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.-/
Ddifference_type.pass.cpp22 template <class It>
24 test(It i, typename std::iterator_traits<It>::difference_type n, It x) in test()
26 const std::move_iterator<It> r(i); in test()
27 std::move_iterator<It> rr = r - n; in test()
/external/libcxx/test/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op+/
Ddifference_type.pass.cpp22 template <class It>
24 test(It i, typename std::iterator_traits<It>::difference_type n, It x) in test()
26 const std::reverse_iterator<It> r(i); in test()
27 std::reverse_iterator<It> rr = r + n; in test()
/external/libcxx/test/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op-/
Ddifference_type.pass.cpp22 template <class It>
24 test(It i, typename std::iterator_traits<It>::difference_type n, It x) in test()
26 const std::reverse_iterator<It> r(i); in test()
27 std::reverse_iterator<It> rr = r - n; in test()
/external/libcxx/test/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opindex/
Ddifference_type.pass.cpp22 template <class It>
24 test(It i, typename std::iterator_traits<It>::difference_type n, in test()
25 typename std::iterator_traits<It>::value_type x) in test()
27 typedef typename std::iterator_traits<It>::value_type value_type; in test()
28 const std::reverse_iterator<It> r(i); in test()
/external/libcxx/test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.-=/
Ddifference_type.pass.cpp22 template <class It>
24 test(It i, typename std::iterator_traits<It>::difference_type n, It x) in test()
26 std::move_iterator<It> r(i); in test()
27 std::move_iterator<It>& rr = r -= n; in test()
/external/libcxx/test/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op-=/
Ddifference_type.pass.cpp22 template <class It>
24 test(It i, typename std::iterator_traits<It>::difference_type n, It x) in test()
26 std::reverse_iterator<It> r(i); in test()
27 std::reverse_iterator<It>& rr = r -= n; in test()
/external/libcxx/test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.+=/
Ddifference_type.pass.cpp22 template <class It>
24 test(It i, typename std::iterator_traits<It>::difference_type n, It x) in test()
26 std::move_iterator<It> r(i); in test()
27 std::move_iterator<It>& rr = r += n; in test()
/external/libcxx/test/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op+=/
Ddifference_type.pass.cpp22 template <class It>
24 test(It i, typename std::iterator_traits<It>::difference_type n, It x) in test()
26 std::reverse_iterator<It> r(i); in test()
27 std::reverse_iterator<It>& rr = r += n; in test()
/external/libcxx/test/iterators/iterator.primitives/iterator.traits/
Dconst_pointer.pass.cpp29 typedef std::iterator_traits<const A*> It; in main() typedef
30 static_assert((std::is_same<It::difference_type, std::ptrdiff_t>::value), ""); in main()
31 static_assert((std::is_same<It::value_type, A>::value), ""); in main()
32 static_assert((std::is_same<It::pointer, const A*>::value), ""); in main()
33 static_assert((std::is_same<It::reference, const A&>::value), ""); in main()
34 … static_assert((std::is_same<It::iterator_category, std::random_access_iterator_tag>::value), ""); in main()
Dpointer.pass.cpp29 typedef std::iterator_traits<A*> It; in main() typedef
30 static_assert((std::is_same<It::difference_type, std::ptrdiff_t>::value), ""); in main()
31 static_assert((std::is_same<It::value_type, A>::value), ""); in main()
32 static_assert((std::is_same<It::pointer, A*>::value), ""); in main()
33 static_assert((std::is_same<It::reference, A&>::value), ""); in main()
34 … static_assert((std::is_same<It::iterator_category, std::random_access_iterator_tag>::value), ""); in main()
/external/clang/unittests/Tooling/
DTestVisitor.h138 It = ExpectedMatches.begin(), End = ExpectedMatches.end(); in ~ExpectedLocationVisitor() local
139 It != End; ++It) { in ~ExpectedLocationVisitor()
140 It->ExpectFound(); in ~ExpectedLocationVisitor()
153 It = DisallowedMatches.begin(), End = DisallowedMatches.end(); in Match() local
154 It != End; ++It) { in Match()
155 EXPECT_FALSE(It->Matches(Name, FullLocation)) in Match()
156 << "Matched disallowed " << *It; in Match()
160 It = ExpectedMatches.begin(), End = ExpectedMatches.end(); in Match() local
161 It != End; ++It) { in Match()
162 It->UpdateFor(Name, FullLocation, this->Context->getSourceManager()); in Match()

12345678910>>...93