/external/guava/guava-tests/test/com/google/common/base/ |
EnumsTest.java | 35 private enum TestEnum { 44 Function<String, TestEnum> function = Enums.valueOfFunction(TestEnum.class); 45 assertEquals(TestEnum.CHEETO, function.apply("CHEETO")); 46 assertEquals(TestEnum.HONDA, function.apply("HONDA")); 47 assertEquals(TestEnum.POODLE, function.apply("POODLE")); 51 Function<String, TestEnum> function = Enums.valueOfFunction(TestEnum.class); 58 Function<String, TestEnum> function = Enums.valueOfFunction(TestEnum.class) [all...] |
/build/tools/droiddoc/test/generics/src/com/android/generics/ |
TestEnum.java | 19 public class TestEnum<E extends TestEnum<E>> implements TestComparable<E> {
|
/external/clang/test/Sema/ |
format-strings-enum.c | 15 typedef enum { Constant = 0 } TestEnum; 16 // Note that in C, the type of 'Constant' is 'int'. In C++ it is 'TestEnum'. 19 void test(TestEnum input) { 23 printf("%lld", input); // expected-warning{{format specifies type 'long long' but the argument has type 'TestEnum'}}
|
format-strings-enum-fixed-type.cpp | 13 typedef enum : short { Constant = 0 } TestEnum; 15 // In C++ (and Objective-C++) it is 'TestEnum'. 18 void test(TestEnum input) { 19 printf("%hhd", input); // expected-warning{{format specifies type 'char' but the argument has type 'TestEnum'}} 29 printf("%lld", input); // expected-warning{{format specifies type 'long long' but the argument has type 'TestEnum'}}
|
/external/chromium_org/chrome/renderer/extensions/ |
json_schema_unittest.cc | 42 TEST_F(JsonSchemaTest, TestEnum) { 43 TestFunction("testEnum");
|
/external/chromium_org/ppapi/tests/ |
test_uma.h | 24 std::string TestEnum();
|
test_uma.cc | 45 std::string TestUMA::TestEnum() {
|
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
test_bad_identifiers.proto | 67 enum TestEnum { 72 optional TestEnum field2 = 2 [deprecated=true];
|
ServiceTest.java | 230 assertEquals(1, UnittestNoGenericServices.TestEnum.FOO.getNumber()); 260 assertTrue(innerClassNames.contains("TestEnum"));
|
/external/clang/test/Misc/ |
ast-dump-attr.cpp | 40 int TestEnum __attribute__((visibility("default"))); 41 // CHECK: VarDecl{{.*}}TestEnum
|
/external/chromium/chrome/common/ |
json_schema_validator_unittest_base.h | 44 void TestEnum();
|
/external/chromium_org/components/json_schema/ |
json_schema_validator_unittest_base.h | 48 void TestEnum();
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldAndroidEnumTest.java | 39 public void testEnum() throws Exception {
|
OldClassTest.java | 419 Object [] constants = TestEnum.class.getEnumConstants(); 420 assertEquals(TestEnum.values().length, constants.length); 422 assertEquals(TestEnum.values()[i], constants[i]); 426 public enum TestEnum { 577 assertTrue(TestEnum.ONE.getClass().isEnum()); 578 assertTrue(TestEnum.class.isEnum()); 584 assertFalse(TestEnum.class.isLocalClass()); 592 assertTrue(TestEnum.class.isMemberClass()); [all...] |
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_test_bad_identifiers.proto | 57 enum TestEnum { FOO = 1; } 59 message Data2 { repeated TestEnum data = 1; }
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
unittest_no_generic_services.proto | 42 enum TestEnum {
|
/external/clang/test/SemaObjC/ |
boxing-illegal.m | 53 void testEnum(void *p) {
|
/external/clang/test/SemaObjCXX/ |
boxing-illegal-types.mm | 53 void testEnum(void *p) {
|
/external/protobuf/src/google/protobuf/ |
unittest_no_generic_services.proto | 44 enum TestEnum {
|
/cts/tests/res/values/ |
styles.xml | 89 <item name="testEnum">val1</item> 93 <item name="testEnum">val2</item> 97 <item name="testEnum">val10</item>
|
attrs.xml | 69 <attr name="testEnum"> 81 <attr name="testEnum" />
|
/external/chromium_org/third_party/WebKit/Source/bindings/tests/idls/ |
TestObjectPython.idl | 31 enum TestEnum {"", "EnumValue1", "EnumValue2", "EnumValue3"}; 117 attribute TestEnum testEnumAttribute; 271 TestEnum testEnumMethod(); 272 void voidMethodTestEnumArg(TestEnum testEnumTypeArg);
|
/external/chromium_org/sync/internal_api/public/base/ |
enum_set_unittest.cc | 13 enum TestEnum { 24 typedef EnumSet<TestEnum, TEST_MIN, TEST_MAX> TestEnumSet;
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_test_bad_identifiers.proto | 61 enum TestEnum { FOO = 1; } 63 message Data2 { repeated TestEnum data = 1; }
|
/external/clang/test/SemaTemplate/ |
temp_arg_nontype.cpp | 300 namespace testenum namespace in namespace:PR10579::__anon17216 315 testenum::type, 316 testenum::size
|