Home
last modified time | relevance | path

Searched refs:ov2 (Results 1 – 3 of 3) sorted by relevance

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/generics/
DObjectValuesTest.java50 ObjectValues ov2 = loader.loadAs(dumpedStr, ObjectValues.class); in testObjectValues() local
52 assertEquals(ov.getObject(), ov2.getObject()); in testObjectValues()
53 assertEquals(ov.getValues(), ov2.getValues()); in testObjectValues()
54 assertArrayEquals(ov.getPossible(), ov2.getPossible()); in testObjectValues()
55 ov.getPossible()[0] = ov2.getPossible()[0]; in testObjectValues()
80 ObjectValuesWithParam<String, Integer> ov2 = loader.loadAs(dumpedStr, in testObjectValuesWithParam() local
83 assertEquals(ov.getObject(), ov2.getObject()); in testObjectValuesWithParam()
84 assertEquals(ov.getValues(), ov2.getValues()); in testObjectValuesWithParam()
85 assertArrayEquals(ov.getPossible(), ov2.getPossible()); in testObjectValuesWithParam()
89 ov2.getPossible()[0].toString(); in testObjectValuesWithParam()
/external/clang/test/SemaCXX/
Dcxx0x-initializer-stdinitializerlist.cpp93 one ov2(std::initializer_list<int>); // expected-note {{candidate}} in overloaded_call()
94 two ov2(std::initializer_list<C>); // expected-note {{candidate}} in overloaded_call()
96 static_assert(sizeof(ov2({1, 2, 3})) == sizeof(one), "bad overload"); in overloaded_call()
98 ov2({1, 2, D()}); // expected-error {{ambiguous}} in overloaded_call()
Dcxx0x-initializer-constructor.cpp143 one ov2(int); in overloaded_call()
144 two ov2(F<3>); in overloaded_call() local
146 static_assert(sizeof(ov2({1})) == sizeof(one), "bad overload"); // list -> int ranks as identity in overloaded_call()
147 static_assert(sizeof(ov2({1, 2, 3})) == sizeof(two), "bad overload"); // list -> F only viable in overloaded_call()