Searched refs:IntHolder (Results 1 - 8 of 8) sorted by relevance

/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
H A Dp4.cpp3 struct IntHolder { // expected-note{{here}} // expected-note 2{{candidate constructor (the implicit copy constructor)}} struct
4 IntHolder(int); // expected-note 2{{candidate constructor}}
25 IntHolder &test_X_IntHolderInt(X<IntHolder, int> xih) {
29 X<IntHolder, int>::Inner inner; // expected-note {{first required here}}
31 return X<IntHolder, int>::value; // expected-note{{instantiation}}
34 // Explicitly specialize the members of X<IntHolder, long> to not cause
37 void X<IntHolder, long>::f() { }
40 struct X<IntHolder, long>::Inner {
42 IntHolder valu
[all...]
H A Dp5.cpp3 struct IntHolder { struct
4 IntHolder(int);
25 // Explicitly specialize the members of X<IntHolder, long> to not cause
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) {
40 X<IntHolder, lon
[all...]
/external/compiler-rt/test/asan/TestCases/
H A Duse-after-scope-temp.cc9 struct IntHolder { struct
10 explicit IntHolder(int val) : val(val) { function in struct:IntHolder
11 printf("IntHolder: %d\n", val);
16 const IntHolder *saved;
18 void save(const IntHolder &holder) {
23 save(IntHolder(10));
H A Duse-after-scope-dtor-order.cc6 struct IntHolder { struct
7 explicit IntHolder(int *val = 0) : val_(val) { } function in struct:IntHolder
8 ~IntHolder() {
11 // CHECK: #0 0x{{.*}} in IntHolder::~IntHolder{{.*}}use-after-scope-dtor-order.cc:[[@LINE-2]]
20 // It is incorrect to use "x" int IntHolder destructor, because "x" is
22 IntHolder holder;
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
H A DImmutableMapTest.java462 private static class IntHolder implements Serializable { class in class:ImmutableMapTest
465 public IntHolder(int value) { method in class:ImmutableMapTest.IntHolder
470 return (o instanceof IntHolder) && ((IntHolder) o).value == value;
481 IntHolder holderA = new IntHolder(1);
482 IntHolder holderB = new IntHolder(2);
483 Map<String, IntHolder> map = ImmutableMap.of("a", holderA, "b", holderB);
486 Maps.immutableEntry("a", new IntHolder(
[all...]
H A DImmutableSortedMapTest.java579 private static class IntHolder implements Serializable { class in class:ImmutableSortedMapTest
582 public IntHolder(int value) { method in class:ImmutableSortedMapTest.IntHolder
587 return (o instanceof IntHolder) && ((IntHolder) o).value == value;
598 IntHolder holderA = new IntHolder(1);
599 IntHolder holderB = new IntHolder(2);
600 Map<String, IntHolder> map
603 assertTrue(map.entrySet().contains(Maps.immutableEntry("a", new IntHolder(
[all...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DImmutableMapTest.java614 private static class IntHolder implements Serializable { class in class:ImmutableMapTest
617 public IntHolder(int value) { method in class:ImmutableMapTest.IntHolder
622 return (o instanceof IntHolder) && ((IntHolder) o).value == value;
633 IntHolder holderA = new IntHolder(1);
634 IntHolder holderB = new IntHolder(2);
635 Map<String, IntHolder> map = ImmutableMap.of("a", holderA, "b", holderB);
638 Maps.immutableEntry("a", new IntHolder(
[all...]
H A DImmutableSortedMapTest.java654 private static class IntHolder implements Serializable { class in class:ImmutableSortedMapTest
657 public IntHolder(int value) { method in class:ImmutableSortedMapTest.IntHolder
662 return (o instanceof IntHolder) && ((IntHolder) o).value == value;
673 IntHolder holderA = new IntHolder(1);
674 IntHolder holderB = new IntHolder(2);
675 Map<String, IntHolder> map
678 assertTrue(map.entrySet().contains(Maps.immutableEntry("a", new IntHolder(
[all...]

Completed in 429 milliseconds