Searched defs:IntHolder (Results 1 - 4 of 4) sorted by relevance
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
H A D | p4.cpp | 3 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 D | p5.cpp | 3 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/guava/guava-tests/test/com/google/common/collect/ |
H A D | ImmutableMapTest.java | 547 private static class IntHolder implements Serializable { class in class:ImmutableMapTest 550 public IntHolder(int value) { method in class:ImmutableMapTest.IntHolder 555 return (o instanceof IntHolder) && ((IntHolder) o).value == value; 566 IntHolder holderA = new IntHolder(1); 567 IntHolder holderB = new IntHolder(2); 568 Map<String, IntHolder> map = ImmutableMap.of("a", holderA, "b", holderB); 571 Maps.immutableEntry("a", new IntHolder( [all...] |
H A D | ImmutableSortedMapTest.java | 723 private static class IntHolder implements Serializable { class in class:ImmutableSortedMapTest 726 public IntHolder(int value) { method in class:ImmutableSortedMapTest.IntHolder 731 return (o instanceof IntHolder) && ((IntHolder) o).value == value; 742 IntHolder holderA = new IntHolder(1); 743 IntHolder holderB = new IntHolder(2); 744 Map<String, IntHolder> map 748 Maps.immutableEntry("a", new IntHolder( [all...] |
Completed in 127 milliseconds