Home
last modified time | relevance | path

Searched refs:IntHolder (Results 1 – 9 of 9) sorted by relevance

/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
Dp4.cpp3 struct IntHolder { // expected-note{{here}} // expected-note 2{{candidate constructor (the implicit… struct
4 IntHolder(int); // expected-note 2{{candidate constructor}}
25 IntHolder &test_X_IntHolderInt(X<IntHolder, int> xih) { in test_X_IntHolderInt() argument
29 X<IntHolder, int>::Inner inner; // expected-note {{first required here}} in test_X_IntHolderInt()
31 return X<IntHolder, int>::value; // expected-note{{instantiation}} in test_X_IntHolderInt()
37 void X<IntHolder, long>::f() { } in f()
40 struct X<IntHolder, long>::Inner {
42 IntHolder value;
46 IntHolder X<IntHolder, long>::value = 17;
48 IntHolder &test_X_IntHolderInt(X<IntHolder, long> xih) { in test_X_IntHolderInt() argument
[all …]
Dp5.cpp3 struct IntHolder { struct
4 IntHolder(int);
28 void X<IntHolder, long>::f();
31 struct X<IntHolder, long>::Inner; // expected-note{{forward declaration}}
34 IntHolder X<IntHolder, long>::value;
36 IntHolder &test_X_IntHolderInt(X<IntHolder, long> xih) { in test_X_IntHolderInt() argument
40 X<IntHolder, long>::Inner inner; // expected-error {{incomplete}} in test_X_IntHolderInt()
42 return X<IntHolder, long>::value; // okay, uses specialization in test_X_IntHolderInt()
/external/compiler-rt/test/asan/TestCases/
Duse-after-scope-dtor-order.cc6 struct IntHolder { struct
7 explicit IntHolder(int *val = 0) : val_(val) { } in IntHolder() function
8 ~IntHolder() { in ~IntHolder() argument
22 IntHolder holder; in main()
Duse-after-scope-temp.cc7 struct IntHolder { struct
11 const IntHolder *saved; argument
13 void save(const IntHolder &holder) { in save()
/external/guava/android/guava-tests/test/com/google/common/collect/
DImmutableSortedMapTest.java886 private static class IntHolder implements Serializable { class in ImmutableSortedMapTest
889 public IntHolder(int value) { in IntHolder() method in ImmutableSortedMapTest.IntHolder
895 return (o instanceof IntHolder) && ((IntHolder) o).value == value; in equals()
907 IntHolder holderA = new IntHolder(1); in testMutableValues()
908 IntHolder holderB = new IntHolder(2); in testMutableValues()
909 Map<String, IntHolder> map = ImmutableSortedMap.of("a", holderA, "b", holderB); in testMutableValues()
911 assertTrue(map.entrySet().contains(Maps.immutableEntry("a", new IntHolder(3)))); in testMutableValues()
DImmutableMapTest.java1022 private static class IntHolder implements Serializable { class in ImmutableMapTest
1025 public IntHolder(int value) { in IntHolder() method in ImmutableMapTest.IntHolder
1031 return (o instanceof IntHolder) && ((IntHolder) o).value == value; in equals()
1043 IntHolder holderA = new IntHolder(1); in testMutableValues()
1044 IntHolder holderB = new IntHolder(2); in testMutableValues()
1045 Map<String, IntHolder> map = ImmutableMap.of("a", holderA, "b", holderB); in testMutableValues()
1047 assertTrue(map.entrySet().contains(Maps.immutableEntry("a", new IntHolder(3)))); in testMutableValues()
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableSortedMapTest.java915 private static class IntHolder implements Serializable { class in ImmutableSortedMapTest
918 public IntHolder(int value) { in IntHolder() method in ImmutableSortedMapTest.IntHolder
924 return (o instanceof IntHolder) && ((IntHolder) o).value == value; in equals()
936 IntHolder holderA = new IntHolder(1); in testMutableValues()
937 IntHolder holderB = new IntHolder(2); in testMutableValues()
938 Map<String, IntHolder> map = ImmutableSortedMap.of("a", holderA, "b", holderB); in testMutableValues()
940 assertTrue(map.entrySet().contains(Maps.immutableEntry("a", new IntHolder(3)))); in testMutableValues()
DImmutableMapTest.java1085 private static class IntHolder implements Serializable { class in ImmutableMapTest
1088 public IntHolder(int value) { in IntHolder() method in ImmutableMapTest.IntHolder
1094 return (o instanceof IntHolder) && ((IntHolder) o).value == value; in equals()
1106 IntHolder holderA = new IntHolder(1); in testMutableValues()
1107 IntHolder holderB = new IntHolder(2); in testMutableValues()
1108 Map<String, IntHolder> map = ImmutableMap.of("a", holderA, "b", holderB); in testMutableValues()
1110 assertTrue(map.entrySet().contains(Maps.immutableEntry("a", new IntHolder(3)))); in testMutableValues()
/external/python/typing/docs/source/
Dstubs.rst695 class IntHolder:
703 class IntHolder: