OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TestEnum
(Results
1 - 11
of
11
) sorted by null
/build/tools/droiddoc/test/generics/src/com/android/generics/
TestEnum.java
19
public class
TestEnum
<E extends
TestEnum
<E>> implements TestComparable<E> {
/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
...]
/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/chrome/common/
json_schema_validator_unittest_base.h
44
void
TestEnum
();
json_schema_validator_unittest_base.cc
71
TestEnum
();
132
void JSONSchemaValidatorTestBase::
TestEnum
() {
/external/clang/test/Misc/
ast-dump-attr.cpp
40
int
TestEnum
__attribute__((visibility("default")));
41
// CHECK: VarDecl{{.*}}
TestEnum
/libcore/luni/src/test/java/libcore/java/lang/
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/java/src/test/java/com/google/protobuf/
ServiceTest.java
236
assertEquals(1, UnittestNoGenericServices.
TestEnum
.FOO.getNumber());
258
assertTrue(innerClassNames.contains("
TestEnum
"));
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
FieldTest.java
151
static enum
TestEnum
{
[
all
...]
/external/protobuf/src/google/protobuf/compiler/cpp/
cpp_unittest.cc
[
all
...]
Completed in 932 milliseconds