Searched refs:TestEnum (Results 1 - 8 of 8) sorted by relevance
/external/guava/guava-tests/test/com/google/common/base/ |
H A D | EnumsTest.java | 35 private enum TestEnum { enum in class:EnumsTest 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 [all...] |
/external/clang/test/Sema/ |
H A D | format-strings-enum.c | 15 typedef enum { Constant = 0 } TestEnum; typedef in typeref:enum:__anon4750 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'}}
|
H A D | 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/chrome/common/ |
H A D | json_schema_validator_unittest_base.h | 44 void TestEnum();
|
H A D | json_schema_validator_unittest_base.cc | 71 TestEnum(); 132 void JSONSchemaValidatorTestBase::TestEnum() { function in class:JSONSchemaValidatorTestBase
|
/external/clang/test/Misc/ |
H A D | ast-dump-attr.cpp | 40 int TestEnum __attribute__((visibility("default"))); variable 41 // CHECK: VarDecl{{.*}}TestEnum
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
H A D | ServiceTest.java | 236 assertEquals(1, UnittestNoGenericServices.TestEnum.FOO.getNumber()); 258 assertTrue(innerClassNames.contains("TestEnum"));
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_unittest.cc | 1190 no_generic_services_test::TestEnum e = no_generic_services_test::FOO;
|
Completed in 569 milliseconds