Home
last modified time | relevance | path

Searched refs:Foo (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DLiteEqualsAndHashTest.java35 import protobuf_unittest.lite_equals_and_hash.LiteEqualsAndHash.Foo;
61 Foo foo1a = Foo.newBuilder() in testEquals()
65 Foo foo1b = Foo.newBuilder() in testEquals()
69 Foo foo2 = Foo.newBuilder() in testEquals()
99 Foo fooWithOnlyValue = Foo.newBuilder() in testEqualsAndHashCodeWithUnknownFields()
103 Foo fooWithValueAndExtension = fooWithOnlyValue.toBuilder() in testEqualsAndHashCodeWithUnknownFields()
110 Foo fooWithValueAndUnknownFields = Foo.parseFrom(fooWithValueAndExtension.toByteArray()); in testEqualsAndHashCodeWithUnknownFields()
DUnknownFieldSetLiteTest.java37 import protobuf_unittest.lite_equals_and_hash.LiteEqualsAndHash.Foo;
59 Foo foo = Foo.newBuilder() in testMergeFieldFrom()
72 Foo foo = Foo.newBuilder() in testSerializedSize()
156 Foo foo = Foo.newBuilder() in testRoundTrips()
169 Foo copy = Foo.parseFrom(foo.toByteArray()); in testRoundTrips()
174 Foo secondCopy = Foo.parseFrom(foo.toByteArray()); in testRoundTrips()
179 Foo copyOfCopy = Foo.parseFrom(copy.toByteArray(), extensionRegistry); in testRoundTrips()
186 Foo.parseFrom("this is a malformed protocol buffer".getBytes(Internal.UTF_8)); in testMalformedBytes()
196 output.writeGroupNoTag(Foo.newBuilder().setValue(11).build()); in testMissingStartGroupTag()
201 Foo.parseFrom(byteStringOutput.toByteString()); in testMissingStartGroupTag()
[all …]
DLiteTest.java52 import protobuf_unittest.lite_equals_and_hash.LiteEqualsAndHash.Foo;
2152 Foo foo1a = Foo.newBuilder() in testEquals()
2156 Foo foo1b = Foo.newBuilder() in testEquals()
2160 Foo foo2 = Foo.newBuilder() in testEquals()
2201 Foo fooWithOnlyValue = Foo.newBuilder() in testEqualsAndHashCodeWithUnknownFields()
2205 Foo fooWithValueAndExtension = fooWithOnlyValue.toBuilder() in testEqualsAndHashCodeWithUnknownFields()
2212 Foo fooWithValueAndUnknownFields = Foo.parseFrom(fooWithValueAndExtension.toByteArray()); in testEqualsAndHashCodeWithUnknownFields()
2219 Foo fooWithOnlyValue = Foo.newBuilder() in testEqualsAndHashCodeWithExtensions()
2223 Foo fooWithValueAndExtension = fooWithOnlyValue.toBuilder() in testEqualsAndHashCodeWithExtensions()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
Dunittest_objc.proto129 enum Foo { enum
186 optional Foo new_val_lower_enum = 23;
187 optional Foo new_Val_upper_enum = 24;
188 optional Foo newvalue_lower_no_underscore_enum = 25;
189 optional Foo newValue_upper_no_underscore_enum = 26;
206 repeated Foo new_val_lower_enum_repeated = 123;
207 repeated Foo new_Val_upper_enum_repeated = 124;
208 repeated Foo newvalue_lower_no_underscore_enum_repeated = 125;
209 repeated Foo newValue_upper_no_underscore_enum_repeated = 126;
226 optional Foo alloc_val_lower_enum = 223;
[all …]
DGPBSwiftTests.swift128 XCTAssertEqual(msg.optionalEnum, Message2_Enum.Foo) // Default in testProto2Basics()
217 XCTAssertEqual(msg.optionalEnum, Message3_Enum.Foo) // Default in testProto3Basics()
222 XCTAssertEqual(msg2.optionalEnum, Message3_Enum.Foo) // Default in testProto3Basics()
223 XCTAssertEqual(Message3_OptionalEnum_RawValue(msg2), Message3_Enum.Foo.rawValue) in testProto3Basics()
366 XCTAssertEqual(msg.oneofEnum, Message3_Enum.Foo) // Default in testProto3OneOfSupport()
374 XCTAssertEqual(msg.oneofEnum, Message3_Enum.Foo) // Default in testProto3OneOfSupport()
381 XCTAssertEqual(msg.oneofEnum, Message3_Enum.Foo) // Default in testProto3OneOfSupport()
396 XCTAssertEqual(msg.oneofEnum, Message3_Enum.Foo) // Default in testProto3OneOfSupport()
405 XCTAssertEqual(msg.oneofEnum, Message3_Enum.Foo) // Default in testProto3OneOfSupport()
/frameworks/compile/slang/tests/F_reflection3264_variable_mismatch/
Dreflection3264_variable_mismatch.rs4 struct Foo { int f; } foo; argument
24 struct Foo f; struct
57 struct Foo u; struct
Dstderr.txt.expect5 …obal variable 'f' has type 'struct Bar' for 32-bit targets but type 'struct Foo' for 64-bit targets
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddrop_unknown_fields_test.cc41 using unittest_drop_unknown_fields::Foo;
52 Foo foo; in TEST()
76 factory.GetPrototype(Foo::descriptor())->New()); in TEST()
Dany.proto51 // Foo foo = ...;
61 // Foo foo = ...;
64 // if (any.is(Foo.class)) {
65 // foo = any.unpack(Foo.class);
70 // foo = Foo(...)
74 // if any.Is(Foo.DESCRIPTOR):
Dunittest_no_generic_services.proto53 rpc Foo(TestMessage) returns(TestMessage); rpc
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dservice_reflection_test.py75 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback)
90 def Foo(self, rpc_controller, request, done): member in FooUnitTest.testService.MyServiceImpl
97 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback)
131 stub.Foo(rpc_controller, request, MyCallback)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/proto/com/google/protobuf/
Dlite_equals_and_hash.proto46 message Foo { message
54 extend Foo {
68 extend Foo {
78 oneof Foo { oneof
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DSampleMessages.cs63 SingleNestedEnum = TestAllTypes.Types.NestedEnum.Foo, in CreateFullTestAllTypes()
85 … RepeatedNestedEnum = { TestAllTypes.Types.NestedEnum.Foo, TestAllTypes.Types.NestedEnum.Neg }, in CreateFullTestAllTypes()
DGeneratedMessageTest.cs154 SingleNestedEnum = TestAllTypes.Types.NestedEnum.Foo, in RoundTrip_SingleValues()
188 … RepeatedNestedEnum = { TestAllTypes.Types.NestedEnum.Foo, TestAllTypes.Types.NestedEnum.Neg }, in RoundTrip_RepeatedValues()
228 { 2000, MapEnum.Foo } in RoundTrip_Maps()
452 SingleNestedEnum = TestAllTypes.Types.NestedEnum.Foo, in CloneSingleNonMessageValues()
482 … RepeatedNestedEnum = { TestAllTypes.Types.NestedEnum.Foo, TestAllTypes.Types.NestedEnum.Neg }, in CloneRepeatedNonMessageValues()
/frameworks/native/libs/input/tests/
DStructLayout_test.cpp25 struct Foo { struct
31 CHECK_OFFSET(Foo, coords, 8); in TestPointerCoordsAlignment()
/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/LibOne/src/com/android/aapt/staticlib/one/
DStaticLibOne.java20 public static int FooId = com.android.aapt.staticlib.one.R.string.Foo;
/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/App/src/com/android/aapt/app/one/
DAppOne.java20 public static int FooId = com.android.aapt.staticlib.one.R.string.Foo;
/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/LibTwo/src/com/android/aapt/staticlib/two/
DStaticLibTwo.java20 public static int FooId = com.android.aapt.staticlib.one.R.string.Foo;
/frameworks/native/libs/vr/libpdx/
Dserialization_tests.cpp47 enum class Foo { kFoo, kBar, kBaz }; enum
52 Foo d;
55 TestType(int a, float b, const std::string& c, Foo d) in TestType()
108 TestType tt(1, 2.0, "three", TestType::Foo::kBar); in TEST()
112 EXPECT_EQ(TestType::Foo::kBar, tt.d); in TEST()
680 enum Foo { kFoo, kBar, kBaz }; in TEST() enum
681 Foo value = kBar; in TEST()
692 enum class Foo { kFoo, kBar, kBaz }; in TEST() enum
693 Foo value = Foo::kBaz; in TEST()
1218 TestType t1{10, 0.0, "12345", TestType::Foo::kBaz}; in TEST()
[all …]
/frameworks/native/libs/vr/libpdx_uds/
Dremote_method_tests.cpp157 PDX_REMOTE_METHOD(Foo, kOpFoo, int(int, const std::string&));
182 PDX_REMOTE_API(API, Add, Foo, Concatenate, SumVector, StringLength,
196 int Foo(int a, const std::string& b) { in Foo() function in __anonb1f814ea0111::TestClient
197 return ReturnStatusOrError(InvokeRemoteMethod<TestInterface::Foo>(a, b)); in Foo()
352 case TestInterface::Foo::Opcode: in HandleMessage()
353 DispatchRemoteMethod<TestInterface::Foo>(*this, &TestService::OnFoo, in HandleMessage()
607 const auto length = client->Foo(10, "123"); in TEST_F()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/tests/
Dbasic.rb100 Foo = pool.lookup("Foo").msgclass constant
1162 Foo.encode_json(Foo.new)
1163 Foo.encode_json(Foo.new(bar: bar))
1164 Foo.encode_json(Foo.new(bar: bar, baz: [baz1, baz2]))
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/docs/swift/
DDesignDoc.md176 optionals (i.e., `Foo?`) unsuitable for fields in general. Unfortunately, we
288 message Foo {
296 public struct Foo: ProtoMessage {
477 enum Foo {
487 public enum Foo: Int32, NilLiteralConvertible {
501 *“Enum case ‘baz’ not found in type ‘Foo’”*). However, in our own code bases,
624 modules, then `Foo` would contain an `import Bar` statement and `Bar` would
625 contain an `import Foo` statement, and there is no way to compile this.
641 public struct Foo {
645 public extension Foo {
[all …]
/frameworks/base/tools/aapt2/java/
DProguardRules_test.cpp157 EXPECT_THAT(actual, HasSubstr("-keep class com.package.Foo { <init>(...); }"));
162 EXPECT_THAT(actual, HasSubstr("-keep class com.package.Foo { <init>(...); }"));
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
DCHANGES.txt69 message Foo {
502 message Foo {
512 Foo foo;
676 message Foo {
821 Foo foo = Foo.PARSER.ParseFrom(input);
1029 message Foo { optional int bar_baz = 123; }
1031 C++: Foo::kBarBazFieldNumber
1032 Java: Foo.BAR_BAZ_FIELD_NUMBER
1033 Python: Foo.BAR_BAZ_FIELD_NUMBER
1057 message Foo {}
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/
Dunittest_no_generic_services.proto51 rpc Foo(TestMessage) returns(TestMessage); rpc

12