Home
last modified time | relevance | path

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

12345678910>>...97

/external/libcxx/test/std/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/clang/test/OpenMP/
Dfor_codegen.cpp435 struct It { struct
436 It() : p(0) {} in It() argument
437 It(const It &, int = 0) ;
439 It(U &, int = 0) ;
440 It &operator=(const It &);
441 It &operator=(It &);
442 ~It() {} in ~It() argument
444 It(T *p) : p(p) {} in It() function
450 It &operator++() { ++p; return *this; } in operator ++() argument
451 It &operator--() { --p; return *this; } in operator --() argument
[all …]
/external/libcxx/test/support/
Dtest_iterators.h22 template <class It>
25 It it_;
31 typedef typename std::iterator_traits<It>::difference_type difference_type;
32 typedef It pointer;
33 typedef typename std::iterator_traits<It>::reference reference;
35 It base() const {return it_;} in base()
38 explicit output_iterator(It it) : it_(it) {} in output_iterator()
52 template <class It>
55 It it_;
60 typedef typename std::iterator_traits<It>::value_type value_type;
[all …]
/external/llvm/lib/Target/AMDGPU/
DR600OptimizeVectorRegisters.cpp51 for (MachineRegisterInfo::def_instr_iterator It = MRI.def_instr_begin(Reg), in isImplicitlyDef() local
52 E = MRI.def_instr_end(); It != E; ++It) { in isImplicitlyDef()
53 return (*It).isImplicitDef(); in isImplicitlyDef()
149 for (DenseMap<unsigned, unsigned>::iterator It = ToMerge->RegToChan.begin(), in tryMergeVector() local
150 E = ToMerge->RegToChan.end(); It != E; ++It) { in tryMergeVector()
152 Untouched->RegToChan.find((*It).first); in tryMergeVector()
155 ((*It).second, (*PosInUntouched).second)); in tryMergeVector()
161 ((*It).second, Untouched->UndefReg[CurrentUndexIdx++])); in tryMergeVector()
189 for (DenseMap<unsigned, unsigned>::iterator It = RSI->RegToChan.begin(), in RebuildVector() local
190 E = RSI->RegToChan.end(); It != E; ++It) { in RebuildVector()
[all …]
DAMDILCFGStructurizer.cpp221 int countActiveBlock(MBBVector::const_iterator It,
357 MBBInfoMap::const_iterator It = BlockInfoMap.find(MBB); in getSCCNum() local
358 if (It == BlockInfoMap.end()) in getSCCNum()
360 return (*It).second->SccNum; in getSCCNum()
365 LoopLandInfoMap::const_iterator It = LLInfoMap.find(LoopRep); in getLoopLandInfo() local
366 if (It == LLInfoMap.end()) in getLoopLandInfo()
368 return (*It).second; in getLoopLandInfo()
384 MBBInfoMap::const_iterator It = BlockInfoMap.find(MBB); in isRetiredBlock() local
385 if (It == BlockInfoMap.end()) in isRetiredBlock()
387 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/libcxx/test/std/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/std/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/std/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/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()
/external/libcxx/test/std/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/std/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/std/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/std/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/std/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/std/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/std/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/std/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/std/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/std/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/std/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/std/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()

12345678910>>...97