HomeSort by relevance Sort by last modified time
    Searched full:myenum (Results 1 - 25 of 53) sorted by null

1 2 3

  /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/CodeGenCXX/
forward-enum.cpp 3 enum MyEnum : char;
4 void bar(MyEnum value) { }
7 void foo(MyEnum value)
  /prebuilts/go/darwin-x86/misc/cgo/test/
issue6612.go 18 myenum = 1234,
25 #define myenum_def myenum
49 if c := C.myenum; c != 1234 {
50 t.Errorf("C.myenum = %v, want 1234", c)
56 const c = C.myenum
58 t.Errorf("C.myenum as const = %v, want 1234", c)
64 t.Errorf("C.myenum as const = %v, want 1234", c)
  /prebuilts/go/linux-x86/misc/cgo/test/
issue6612.go 18 myenum = 1234,
25 #define myenum_def myenum
49 if c := C.myenum; c != 1234 {
50 t.Errorf("C.myenum = %v, want 1234", c)
56 const c = C.myenum
58 t.Errorf("C.myenum as const = %v, want 1234", c)
64 t.Errorf("C.myenum as const = %v, want 1234", c)
  /external/clang/test/Index/
annotate-comments-typedef.m 14 /** Documentation for MyEnum */
19 } MyEnum;
20 // CHECK: TypedefDecl=MyEnum:[[@LINE-1]]:3 (Definition) FullCommentAsHTML=[<p class="para-brief"> Documentation for MyEnum </p>] FullCommentAsXML=[<Typedef file="{{[^"]+}}annotate-comments-typedef.m" line="[[@LINE-1]]" column="3"><Name>&lt;anonymous&gt;</Name><USR>c:@EA@MyEnum</USR><Declaration>typedef enum MyEnum MyEnum</Declaration><Abstract><Para> Documentation for MyEnum </Para></Abstract></Typedef>]
  /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/PCH/
types.h 50 enum E { myenum }; enumerator in enum:E
  /external/libweave/include/weave/
enum_to_string.h 18 // enum class MyEnum { kV1, kV2 };
22 // EnumToStringMap<MyEnum>::EnumToStringMap() : EnumToStringMap(kMap) { };
  /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;
  /external/icu/icu4c/source/test/cintltst/
stdnmtst.c 172 UEnumeration *myEnum = ucnv_openStandardNames(name, standard, &err);
174 int32_t enumCount = uenum_count(myEnum, &err);
185 if (size < 0 && myEnum) {
192 enumName = uenum_next(myEnum, &len, &err);
205 enumName = uenum_next(myEnum, &len, &err);
211 uenum_reset(myEnum, &err);
218 uenum_close(myEnum);
224 UEnumeration *myEnum = ucnv_openStandardNames(name, standard, &err);
225 int32_t enumCount = uenum_count(myEnum, &err);
237 if (size < 0 && myEnum) {
    [all...]
  /frameworks/compile/slang/tests/P_reduce_general_accumulator/
gen-accumulator.pl 13 "MyEnum",
31 print "typedef enum { E1, E2, E3 } MyEnum;\n";
43 print "typedef struct { MyEnum e1, e2; MyPtrIncomplete p; MyStruct s; MyUnion u; } MyBlob;\n";
  /external/nanopb-c/tests/alltypes/
alltypes.proto 29 enum MyEnum {
56 required MyEnum req_enum = 17;
79 repeated MyEnum rep_enum = 37 [packed = true];
101 optional MyEnum opt_enum = 57 [default = Second];
  /external/nanopb-c/tests/field_size_16/
alltypes.proto 29 enum MyEnum {
56 required MyEnum req_enum = 17;
79 repeated MyEnum rep_enum = 10037;
101 optional MyEnum opt_enum = 10057 [default = Second];
  /external/nanopb-c/tests/field_size_32/
alltypes.proto 29 enum MyEnum {
56 required MyEnum req_enum = 17;
79 repeated MyEnum rep_enum = 10037;
101 optional MyEnum opt_enum = 10057 [default = Second];
  /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() {
  /external/clang/test/SemaObjC/
boxing-illegal.m 47 enum MyEnum {
54 enum MyEnum myen;
attr-availability.m 201 typedef enum MyEnum : int MyEnum;
202 enum MyEnum : int { // expected-note {{'MyEnum' has been explicitly marked unavailable here}}
207 // expected-error@+2 {{'MyEnum' is unavailable: not available}}
209 MyEnum e = MyEnum_Blah;
  /external/clang/test/SemaObjCXX/
boxing-illegal-types.mm 47 enum MyEnum {
54 enum MyEnum myen;
  /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}}
  /external/nanopb-c/tests/package_name/
SConscript 23 type_names = ['AllTypes', 'MyEnum', 'HugeEnum']
  /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) {
  /external/clang/test/ARCMT/
objcmt-boxing.m 82 MyEnm myenum;
83 [NSNumber numberWithInteger:myenum];
objcmt-boxing.m.result 82 MyEnm myenum;
83 @(myenum);
  /external/dagger2/core/src/main/java/dagger/
MapKey.java 78 * MyEnum someEnum();
93 * assert map.get(new MyMapKeyImpl("foo", MyEnum.BAR)) == 2;
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue311/
BooleanEnumTest.java 69 BooleanEnum myEnum = (BooleanEnum) data;
71 switch (myEnum) {

Completed in 896 milliseconds

1 2 3