OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MyEnum
(Results
1 - 12
of
12
) sorted by null
/libcore/luni/src/test/java/libcore/java/lang/
OldAndroidEnumTest.java
25
enum
MyEnum
{
40
assertTrue(
MyEnum
.ZERO.compareTo(
MyEnum
.ONE) < 0);
41
assertEquals(
MyEnum
.ZERO,
MyEnum
.ZERO);
42
assertTrue(
MyEnum
.TWO.compareTo(
MyEnum
.ONE) > 0);
43
assertTrue(
MyEnum
.FOUR.compareTo(
MyEnum
.ONE) > 0);
45
assertEquals("ONE",
MyEnum
.ONE.name())
[
all
...]
/external/clang/test/SemaCXX/
string-plus-int.cpp
9
enum
MyEnum
{
33
consume("foo" + kMyEnum); // expected-warning {{adding '
MyEnum
' to a string does not append to the string}} expected-note {{use array indexing to silence this warning}}
37
consume(kMyEnum + "foo"); // expected-warning {{adding '
MyEnum
' to a string does not append to the string}} expected-note {{use array indexing to silence this warning}}
overloaded-builtin-operators.cpp
195
typedef enum { Enum1, Enum2, Enum3 }
MyEnum
;
200
MyEnum
e1, e2;
scope-check.cpp
189
enum
MyEnum
{
195
MyEnum
K;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
ObjectOutputStream2Test.java
30
private static enum
MyEnum
{
50
os.writeObject(
MyEnum
.TWO);
57
assertSame(
MyEnum
.TWO, readObj);
/external/clang/test/Analysis/
cfg.cpp
195
// CHECK-LABEL: int test_enum_with_extension(enum
MyEnum
value)
208
// CHECK-NEXT: 4: [B2.3] (ImplicitCastExpr, LValueToRValue, enum
MyEnum
)
247
enum
MyEnum
{ A, B, C };
248
static const enum
MyEnum
D = (enum
MyEnum
) 32;
250
int test_enum_with_extension(enum
MyEnum
value) {
261
// CHECK-LABEL: int test_enum_with_extension_default(enum
MyEnum
value)
274
// CHECK-NEXT: 4: [B2.3] (ImplicitCastExpr, LValueToRValue, enum
MyEnum
)
313
int test_enum_with_extension_default(enum
MyEnum
value) {
misc-ps-region-store.cpp
513
enum
MyEnum
{ MyEnumValue };
514
MyEnum
rdar10892489() {
517
} catch (
MyEnum
e) {
523
MyEnum
rdar10892489_positive() {
526
} catch (
MyEnum
e) {
/external/clang/test/Sema/
warn-unreachable.c
171
typedef enum { Value1 = 1 }
MyEnum
;
172
void unreachable_default(
MyEnum
e) {
177
case 2: // expected-warning {{case value not in enumerated type '
MyEnum
'}}
185
void unreachable_in_default(
MyEnum
e) {
205
MyEnum
trivial_dead_return_enum() {
210
MyEnum
trivial_dead_return_enum_2(int x) {
231
MyEnum
nontrivial_dead_return_enum_2(int x) {
336
MyEnum
trivial_dead_return_enum_SUPPRESSED() {
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_enumerate.py
113
class
MyEnum
(enumerate):
118
enum =
MyEnum
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_enumerate.py
113
class
MyEnum
(enumerate):
118
enum =
MyEnum
/libcore/json/src/test/java/org/json/
JSONArrayTest.java
555
enum
MyEnum
{ A, B, C; }
564
JSONArray a2 = new JSONArray(
MyEnum
.values());
/external/nanopb-c/tests/backwards_compatibility/
alltypes_legacy.h
21
}
MyEnum
;
63
MyEnum
req_enum;
97
MyEnum
rep_enum[5];
131
MyEnum
opt_enum;
154
extern const
MyEnum
AllTypes_opt_enum_default;
Completed in 844 milliseconds