HomeSort by relevance Sort by last modified time
    Searched refs:IntHolder (Results 1 - 8 of 8) sorted by null

  /dalvik/tests/084-class-init/src/
PartialInit.java 22 public static final IntHolder FIELD0 = new IntHolder(1); // succeeds
23 public static final IntHolder FIELD1 = new IntHolder(-2); // throws
SlowInit.java 22 public static final IntHolder FIELD0 = new IntHolder(0);
23 public static final IntHolder FIELD1 = new IntHolder(0);
24 public static final IntHolder FIELD2 = new IntHolder(0);
25 public static final IntHolder FIELD3 = new IntHolder(0);
IntHolder.java 21 public class IntHolder {
25 * Constructs an IntHolder with the specified value. Throws an
28 public IntHolder(int initialVal) {
Main.java 61 IntHolder zero = SlowInit.FIELD0;
  /external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
p4.cpp 3 struct IntHolder { // expected-note{{here}} // expected-note 2{{candidate constructor (the implicit copy constructor)}}
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 value
    [all...]
p5.cpp 3 struct IntHolder {
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, long>::Inner inner; // expected-error {{incomplete}
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableMapTest.java 547 private static class IntHolder implements Serializable {
550 public IntHolder(int value) {
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(3))))
    [all...]
ImmutableSortedMapTest.java 723 private static class IntHolder implements Serializable {
726 public IntHolder(int value) {
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(3))))
    [all...]

Completed in 161 milliseconds