/third_party/typescript/tests/baselines/reference/ |
H A D | isolatedModulesImportConstEnum.js | 5 console.log(Foo.BAR); 9 BAR, 19 Foo[Foo["BAR"] = 0] = "BAR";
25 console.log(file2_1.Foo.BAR);
|
H A D | enumAssignmentCompat4.js | 4 BAR 7 foo: MyEnum.BAR 31 MyEnum[MyEnum["BAR"] = 0] = "BAR";
34 foo: MyEnum.BAR
|
/third_party/rust/crates/rust-openssl/openssl-errors/tests/ |
H A D | test.rs | 8 BAR("function bar"); 44 openssl_errors::put_error!(Test::BAR, Test::NO_BACON, "foobar {{}}"); in static_data() 61 openssl_errors::put_error!(Test::BAR, Test::NO_MILK, "hello {}", "world"); in dynamic_data() 78 openssl_errors::put_error!(Test::BAR, Test::NO_MILK); in deferred_error_render()
|
/third_party/rust/crates/syn/tests/regression/ |
H A D | issue1235.rs | 10 pub static BAR: usize; in main() consts 18 quote!(static FOO: usize = 0; pub static BAR: usize = 0), in main() 27 quote!(static FOO: usize; pub static BAR: usize), in main()
|
/third_party/protobuf/src/google/protobuf/util/ |
H A D | json_util_test.cc | 52 using proto3::BAR; 200 orig.set_enum_value(proto3::BAR); in TEST_F() 202 orig.add_repeated_enum_value(proto3::BAR); in TEST_F() 214 EXPECT_EQ(proto3::BAR, parsed.enum_value()); in TEST_F() 217 EXPECT_EQ(proto3::BAR, parsed.repeated_enum_value(1)); in TEST_F() 224 orig.set_enum_value3(proto3::BAR); in TEST_F() 240 EXPECT_EQ(proto3::BAR, parsed.enum_value3()); in TEST_F() 405 m.set_enum_value(proto3::BAR); in TEST_F() 407 ASSERT_EQ(proto3::BAR, m.enum_value()); // Keep previous value in TEST_F() 420 m.set_enum_value(proto3::BAR); in TEST_F() [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/ |
H A D | struct_typedef_ns.hpp | 9 BAR=1 enumerator 19 BAR=1 enumerator
|
H A D | macro-expr-basic.h | 2 #define BAR 4 macro 3 #define BAZ (FOO + BAR)
|
H A D | macro-redef.h | 2 #define BAR (1 + FOO) macro
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | struct_typedef_ns.rs | 51 BAR = 1, 92 root::_bindgen_mod_id_12::_bindgen_ty_2 = _bindgen_ty_2::BAR; 96 BAR = 1,
|
H A D | macro-redef.rs | 9 pub const BAR: u32 = 5; consts
|
H A D | macro-expr-basic.rs | 9 pub const BAR: u32 = 4; consts
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | Proto2UnknownEnumValueTest.java | 53 .addVarint(TestAllTypes.NestedEnum.BAR.getNumber()) in buildPayloadWithUnknownEnumValues() 71 assertEquals(TestAllTypes.NestedEnum.BAR, message.getOptionalNestedEnum()); in testUnknownEnumValues() 92 TestAllTypes.NestedEnum.BAR, in testExtensionUnknownEnumValues()
|
H A D | MapForProto2LiteTest.java | 61 .putInt32ToEnumField(2, TestMap.EnumValue.BAR) in setMapValues() 106 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(2)); in assertMapValuesSet() 131 .putInt32ToEnumField(1, TestMap.EnumValue.BAR) in updateMapValues() 171 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(1)); in assertMapValuesUpdated() 262 builder.putInt32ToEnumField(1, TestMap.EnumValue.BAR); in testMutableMapLifecycle() 263 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.build().getInt32ToEnumField()); in testMutableMapLifecycle() 264 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.getInt32ToEnumField()); in testMutableMapLifecycle() 267 newMap(1, TestMap.EnumValue.BAR, 2, TestMap.EnumValue.FOO), builder.getInt32ToEnumField()); in testMutableMapLifecycle() 480 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(1)); in testUnknownEnumValues()
|
H A D | MapLiteTest.java | 62 .putInt32ToEnumField(2, TestMap.EnumValue.BAR) in setMapValues() 113 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(2)); in assertMapValuesSet() 138 .putInt32ToEnumField(1, TestMap.EnumValue.BAR) in updateMapValues() 178 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(1)); in assertMapValuesUpdated() 274 builder.putInt32ToEnumField(1, TestMap.EnumValue.BAR); in testMutableMapLifecycle() 275 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.build().getInt32ToEnumField()); in testMutableMapLifecycle() 276 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.getInt32ToEnumField()); in testMutableMapLifecycle() 279 newMap(1, TestMap.EnumValue.BAR, 2, TestMap.EnumValue.FOO), builder.getInt32ToEnumField()); in testMutableMapLifecycle() 528 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(1)); in testUnknownEnumValues() 665 TestMap.EnumValue.BAR in doTestGetOrDefault() [all...] |
H A D | MapTest.java | 72 builder.getMutableInt32ToEnumField().put(2, TestMap.EnumValue.BAR); in setMapValuesUsingMutableMap() 99 .putInt32ToEnumField(2, TestMap.EnumValue.BAR) in setMapValuesUsingAccessors() 151 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(2)); in assertMapValuesSet() 178 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue.BAR); in updateMapValuesUsingMutableMap() 204 .putInt32ToEnumField(1, TestMap.EnumValue.BAR) in updateMapValuesUsingAccessors() 258 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(1)); in assertMapValuesUpdated() 333 enumMap.put(1, TestMap.EnumValue.BAR); in testMutableMapLifecycle() 334 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.build().getInt32ToEnumField()); in testMutableMapLifecycle() 341 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.getInt32ToEnumField()); in testMutableMapLifecycle() 344 newMap(1, TestMap.EnumValue.BAR, in testMutableMapLifecycle() [all...] |
H A D | GeneratedMessageTest.java | 482 builder.addRepeatedNestedEnum(TestAllTypes.NestedEnum.BAR); in testRepeatedSettersRejectNull() 889 .setForeignEnum(EnumWithNoOuter.BAR) in testMultipleFilesOption() 898 assertEquals(EnumWithNoOuter.BAR.getValueDescriptor(), message.getField(field)); in testMultipleFilesOption() 1077 assertEquals(TestAllTypes.NestedEnum.BAR_VALUE, TestAllTypes.NestedEnum.BAR.getNumber()); in testEnumValues() 1111 builder.setOptionalNestedEnum(TestAllTypes.NestedEnum.BAR); in testInvalidations() 1114 builder.addRepeatedNestedEnum(TestAllTypes.NestedEnum.BAR); in testInvalidations() 1130 builder.setOptionalNestedEnum(TestAllTypes.NestedEnum.BAR); in testInvalidations() 1456 assertTrue(builder.setFooEnum(TestOneof2.NestedEnum.BAR).hasFooEnum()); in testOneofTypes() 1457 assertEquals(TestOneof2.NestedEnum.BAR, builder.getFooEnum()); in testOneofTypes() 1460 assertEquals(TestOneof2.NestedEnum.BAR, messag in testOneofTypes() [all...] |
H A D | MapForProto2Test.java | 69 builder.getMutableInt32ToEnumField().put(2, TestMap.EnumValue.BAR); in setMapValuesUsingMutableMap() 96 .putInt32ToEnumField(2, TestMap.EnumValue.BAR) in setMapValuesUsingAccessors() 148 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(2)); in assertMapValuesSet() 175 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue.BAR); in updateMapValuesUsingMutableMap() 201 .putInt32ToEnumField(1, TestMap.EnumValue.BAR) in updateMapValuesUsingAccessors() 255 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(1)); in assertMapValuesUpdated() 330 enumMap.put(1, TestMap.EnumValue.BAR); in testMutableMapLifecycle() 331 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.build().getInt32ToEnumField()); in testMutableMapLifecycle() 338 assertEquals(newMap(1, TestMap.EnumValue.BAR), builder.getInt32ToEnumField()); in testMutableMapLifecycle() 341 newMap(1, TestMap.EnumValue.BAR, in testMutableMapLifecycle() [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | repeated_field_reflection_unittest.cc | 445 message.add_repeated_nested_enum(TestAllTypes::BAR); in TEST() 473 EXPECT_EQ(TestAllTypes::BAR, enum_ref.Get(i)); in TEST() 474 EXPECT_EQ(TestAllTypes::BAR, mutable_enum_ref.Get(i)); in TEST() 479 message.set_repeated_nested_enum(i, TestAllTypes::BAR); in TEST() 480 EXPECT_EQ(TestAllTypes::BAR, int32_ref.Get(i)); in TEST() 481 EXPECT_EQ(TestAllTypes::BAR, mutable_int32_ref.Get(i)); in TEST() 495 mutable_int32_ref.Add(TestAllTypes::BAR); in TEST() 496 EXPECT_EQ(TestAllTypes::BAR, message.repeated_nested_enum(11)); in TEST() 505 mutable_enum_ref.Set(0, TestAllTypes::BAR); in TEST() 509 EXPECT_EQ(TestAllTypes::BAR, enum_re in TEST() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | TextTrieMapTest.java | 43 private static final Integer BAR = new Integer(-2); field in TextTrieMapTest 144 map.put("sunday", BAR); in TestCaseSensitive() 203 map.put("sunday", BAR); in TestCaseInsensitive() 207 checkResult("Get Sunday", itr, new Object[]{SUN, FOO, BAR}); in TestCaseInsensitive()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | TextTrieMapTest.java | 40 private static final Integer BAR = new Integer(-2); field in TextTrieMapTest 141 map.put("sunday", BAR); in TestCaseSensitive() 200 map.put("sunday", BAR); in TestCaseInsensitive() 204 checkResult("Get Sunday", itr, new Object[]{SUN, FOO, BAR}); in TestCaseInsensitive()
|
/third_party/ltp/tools/sparse/sparse-src/validation/ |
H A D | enum-type-dubious.c | 3 BAR = (void*)1, enumerator 14 validation/enum-type-dubious.c:3:8: error: enumerator value for 'BAR' is not an integer constant
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
H A D | BasicAliasAnalysis.h | 263 Optional<BasicAAResult> BAR; member in llvm::LegacyAARGetter 269 BAR.emplace(createLegacyPMBasicAAResult(P, F)); in operator ()() 270 AAR.emplace(createLegacyPMAAResults(P, F, *BAR)); in operator ()()
|
/third_party/mesa3d/src/compiler/glsl/glcpp/tests/ |
H A D | 135-duplicate-parameter.c | 2 #define BAR(x,y,z,x) so very x macro
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
H A D | UnknownFieldSetTest.java | 282 .addVarint(TestAllTypes.NestedEnum.BAR.getNumber()) in testParseUnknownEnumValue() 297 assertEquals(TestAllTypes.NestedEnum.BAR, in testParseUnknownEnumValue() 315 assertEquals(TestAllTypes.NestedEnum.BAR, in testParseUnknownEnumValue()
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
H A D | generator_test.py | 77 self.assertEqual(2, proto.BAR) 78 self.assertEqual(2, unittest_pb2.TestAllTypes.BAR)
|