/openbsd/gnu/llvm/llvm/include/llvm/ADT/ |
H A D | SetOperations.h | 23 bool set_union(S1Ty &S1, const S2Ty &S2) { in set_union() argument 26 for (typename S2Ty::const_iterator SI = S2.begin(), SE = S2.end(); in set_union() 40 void set_intersect(S1Ty &S1, const S2Ty &S2) { in set_intersect() argument 44 if (!S2.count(E)) S1.erase(E); // Erase element if not in S2 in set_intersect() 51 S1Ty set_difference(const S1Ty &S1, const S2Ty &S2) { in set_difference() argument 55 if (!S2.count(*SI)) // if the element is not in set2 in set_difference() 63 void set_subtract(S1Ty &S1, const S2Ty &S2) { in set_subtract() argument 64 for (typename S2Ty::const_iterator SI = S2.begin(), SE = S2.end(); in set_subtract() 72 bool set_is_subset(const S1Ty &S1, const S2Ty &S2) { in set_is_subset() argument 73 if (S1.size() > S2.size()) in set_is_subset() [all …]
|
H A D | StringSwitch.h | 94 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() argument 96 return Case(S0, Value).Cases(S1, S2, Value); in Cases() 101 return Case(S0, Value).Cases(S1, S2, S3, Value); in Cases() 106 return Case(S0, Value).Cases(S1, S2, S3, S4, Value); in Cases() 112 return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value); in Cases() 118 return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, Value); in Cases() 124 return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, Value); in Cases() 131 return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, S7, S8, Value); in Cases() 169 return CaseLower(S0, Value).CasesLower(S1, S2, Value); in CasesLower() 174 return CaseLower(S0, Value).CasesLower(S1, S2, S3, Value); in CasesLower() [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.abi/ |
H A D | bitfields.C | 78 struct S2 struct 124 if (sizeof (struct S2) != 16) in main() 126 if (alignof (struct S2) != 8) in main() 128 CHECK_FIELD (S2, s, 0, 9, 8); in main() 129 CHECK_FIELD (S2, j, 9, 9, 9); in main() 130 CHECK_FIELD (S2, c, 24, 8, 10); in main() 131 CHECK_FIELD (S2, t, 32, 9, 11); in main() 132 CHECK_FIELD (S2, u, 48, 9, 12); in main() 133 CHECK_FIELD (S2, d, 64, 8, 13); in main()
|
H A D | primary.C | 17 struct S2 struct 28 struct T1 : public S1, public S2 argument 34 struct T2 : public S2, public S1 40 struct T3 : virtual public S1, public S2 46 struct T4 : virtual public S1, virtual public S2 61 CHECK_PRIMARY_BASE (T2, S2, 2); in main() 62 CHECK_PRIMARY_BASE (T3, S2, 3); in main()
|
H A D | aggregates.C | 40 struct S2 struct 80 if (sizeof (struct S2) != 8) in main() 82 if (alignof (struct S2) != 4) in main() 84 if (offsetof (struct S2, c) != 0) in main() 86 if (offsetof (struct S2, d) != 1) in main() 88 if (offsetof (struct S2, s) != 2) in main() 90 if (offsetof (struct S2, n) != 4) in main()
|
H A D | empty.C | 14 struct S2 : public S1 struct 23 struct S3 : public S1, public S2 35 struct S5 : public S2, public S1, public S4 45 S2 s2; 50 S2 s2;
|
H A D | vtable2.C | 18 struct S2 : virtual public S1 struct 29 struct S4 : public S3, virtual public S2 42 void S2::s1 () in s1() 46 void S2::s0 () in s0() 163 if (*vtbl != ((char*) (S2*) &s4) - (char*) &s4) in main() 183 if (*vtbl != ((char*) &s4 - (char*) (S2*) &s4)) in main() 193 if (*vtbl != ((char*) &s4 - (char*) (S2*) &s4)) in main()
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/ |
H A D | nontype3.C | 12 struct S2 {}; struct 15 struct S2<1> 22 typedef S1<S2<1>::es> S3_Type; 25 E S2<1>::es[1] = {e}; 28 char* S1<S2<1>::es>::s = "abc";
|
H A D | friend17.C | 4 class S2 13 friend class S2; variable 19 void S2<T>::f() in f() 26 S2<double>::f(); in g() 27 S2<char>::f(); in g()
|
H A D | friend16.C | 4 class S2 15 friend class S2; variable 22 void S2<T>::f() in f() 29 S2<double>::f(); in g() 30 S2<char>::f(); in g()
|
H A D | decl1.C | 10 struct S2 struct 16 int S2<T>::i, S2<T>::j; // ERROR - more than one declarator argument 19 int S2<int>::i, S2<double>::i; // ERROR - more than one declarator
|
H A D | spec15.C | 12 struct S2 struct 19 void S2::g(double) {} in g() 22 void S2::g<int>(int) {} 42 S2::g(3.0); in main() 43 S2::g(7); in main()
|
H A D | friend15.C | 6 friend class S2; variable 13 class S2 22 S2<double>::f(); in g() 23 S2<char>::f(); in g()
|
H A D | friend18.C | 7 friend class S2; variable 14 class S2 23 S2<double>::f(); in g() 24 S2<long>::f(); in g()
|
H A D | friend14.C | 7 friend class S2; variable 14 class S2 23 S2<double>::f(); in g() 24 S2<long>::f(); in g()
|
H A D | memclass9.C | 7 struct S2 struct 9 S2(U); 13 S2<U> s2u (u); in g() 22 S2<U> s2u(u); in f()
|
H A D | crash2.C | 11 struct S2 : public S1<S2> struct 13 S2* s; argument
|
H A D | memclass8.C | 7 struct S2 { struct 8 S2(const S2<U>& s2u) {} in S2() function
|
H A D | memclass11.C | 6 struct S2; 9 struct S2 { struct 14 int i = (int) S1::S2<double>::a; argument
|
H A D | pointer1.C | 9 struct S2 struct 14 int f(S2<S1<int> >::pointer_t p1, S2<S1<int> >::pointer_t p2) in f() argument
|
H A D | crash52.C | 8 struct S2 struct 10 S2(U); 16 S2<U> s2u(u); in f()
|
H A D | defarg4.C | 13 struct S2 struct 20 void S2<T>::bar () in bar() 29 S2<int> s2i; in main()
|
/openbsd/gnu/llvm/llvm/tools/llvm-pdbutil/ |
H A D | PrettyTypeDumper.cpp | 39 typedef bool (*CompareFunc)(const LayoutPtr &S1, const LayoutPtr &S2); 41 static bool CompareNames(const LayoutPtr &S1, const LayoutPtr &S2) { in CompareNames() argument 42 return S1->getName() < S2->getName(); in CompareNames() 45 static bool CompareSizes(const LayoutPtr &S1, const LayoutPtr &S2) { in CompareSizes() argument 46 return S1->getSize() < S2->getSize(); in CompareSizes() 49 static bool ComparePadding(const LayoutPtr &S1, const LayoutPtr &S2) { in ComparePadding() argument 50 return S1->deepPaddingSize() < S2->deepPaddingSize(); in ComparePadding() 55 double Pct2 = (double)S2->deepPaddingSize() / (double)S2->getSize(); in ComparePaddingPct() 60 return S1->immediatePadding() < S2->immediatePadding(); in ComparePaddingImmediate() 64 const LayoutPtr &S2) { in ComparePaddingPctImmediate() argument [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/ |
H A D | lookup13.C | 10 struct S2; in main() 13 struct S1::S2 { in main() struct 17 return !(sizeof (S1::S2::J) == 1); in main()
|
H A D | cvt1.C | 9 struct S2 { struct 14 S1 S2::g() in g() argument 21 S2 s2; in h()
|