Home
last modified time | relevance | path

Searched refs:ReadString (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/examples/
Dadd_person.go29 name, err := rd.ReadString('\n')
39 email, err := rd.ReadString('\n')
47 phone, err := rd.ReadString('\n')
65 ptype, err := rd.ReadString('\n')
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dcoded_stream_unittest.cc648 TEST_1D(CodedStreamTest, ReadString, kBlockSizes) { in TEST_1D() argument
656 EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); in TEST_1D()
672 EXPECT_FALSE(coded_input.ReadString(&str, 1 << 30)); in TEST_1D()
682 EXPECT_FALSE(coded_input.ReadString(&str, 1 << 30)); in TEST_F()
689 EXPECT_FALSE(coded_input.ReadString(&str, 1 << 30)); in TEST_F()
702 EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); in TEST_1D()
722 EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); in TEST_1D()
742 EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); in TEST_F()
767 EXPECT_FALSE(coded_input.ReadString(&str, -1)); in TEST_F()
787 EXPECT_FALSE(coded_input.ReadString(&str, 1 << 30)); in TEST_F()
[all …]
Dzero_copy_stream_unittest.cc109 void ReadString(ZeroCopyInputStream* input, const string& str);
203 void IoTest::ReadString(ZeroCopyInputStream* input, const string& str) { in ReadString() function in google::protobuf::io::__anon102c8a530111::IoTest
227 ReadString(input, "Hello world!\n"); in ReadStuff()
228 ReadString(input, "Some text. "); in ReadStuff()
229 ReadString(input, "Blah "); in ReadStuff()
230 ReadString(input, "blah."); in ReadStuff()
231 ReadString(input, "abcdefg"); in ReadStuff()
233 ReadString(input, "foo"); in ReadStuff()
234 ReadString(input, "bar"); in ReadStuff()
259 ReadString(input, "Hello world!\nSome text. "); in ReadStuffLarge()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DApi.cs329 Name = input.ReadString(); in MergeFrom()
341 Version = input.ReadString(); in MergeFrom()
633 Name = input.ReadString(); in MergeFrom()
637 RequestTypeUrl = input.ReadString(); in MergeFrom()
645 ResponseTypeUrl = input.ReadString(); in MergeFrom()
884 Name = input.ReadString(); in MergeFrom()
888 Root = input.ReadString(); in MergeFrom()
DType.cs319 Name = input.ReadString(); in MergeFrom()
714 Name = input.ReadString(); in MergeFrom()
718 TypeUrl = input.ReadString(); in MergeFrom()
734 JsonName = input.ReadString(); in MergeFrom()
738 DefaultValue = input.ReadString(); in MergeFrom()
1067 Name = input.ReadString(); in MergeFrom()
1255 Name = input.ReadString(); in MergeFrom()
1417 Name = input.ReadString(); in MergeFrom()
DSourceContext.cs156 FileName = input.ReadString(); in MergeFrom()
DAny.cs268 TypeUrl = input.ReadString(); in MergeFrom()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc487 os->stream_->ReadString(&str, buffer32); in RenderString()
503 os->stream_->ReadString(&str, buffer32); in RenderBytes()
592 os->stream_->ReadString(&type_url, type_url_size); in RenderAny()
597 os->stream_->ReadString(&value, value_size); in RenderAny()
667 os->stream_->ReadString(&str, buffer32); in RenderFieldMask()
877 stream_->ReadString(&strbuffer, buffer32); in RenderNonMessageField()
883 stream_->ReadString(&strbuffer, buffer32); in RenderNonMessageField()
997 stream_->ReadString(&result, buffer32); in ReadFieldValueAsString()
1003 stream_->ReadString(&result, buffer32); in ReadFieldValueAsString()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DCodedInputStreamTest.cs358 string text = input.ReadString(); in ReadInvalidUtf8()
465 Assert.AreEqual("field 1", input.ReadString()); in SkipGroup()
469 Assert.AreEqual("field 3", input.ReadString()); in SkipGroup()
496 Assert.AreEqual("field 1", input.ReadString()); in SkipGroup_WrongEndGroupTag()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dwire_format_lite.h308 static inline bool ReadString(input, string* value);
313 static inline bool ReadString(input, string** p);
710 inline bool WireFormatLite::ReadString(io::CodedInputStream* input, in ReadString() function
715 inline bool WireFormatLite::ReadString(io::CodedInputStream* input, in ReadString() function
Dapi.pb.cc285 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
335 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
1036 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
1053 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
1085 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
1730 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
1747 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
Dwire_format.cc97 if (!input->ReadString(unknown_fields->AddLengthDelimited(number), in SkipField()
438 return input->ReadString( in SkipMessageSetField()
642 if (!WireFormatLite::ReadString(input, &value)) return false; in ParseAndMergeField()
759 if (!input->ReadString(&temp, length)) return false; in ParseAndMergeMessageSetItem()
Dtype.pb.cc378 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
412 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
1206 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
1223 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
1287 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
1304 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
2060 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
2615 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
3025 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
Dsource_context.pb.cc190 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
Dfield_mask.pb.cc189 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
Dextension_set_heavy.cc69 return input->ReadString( in SkipMessageSetField()
691 if (!input->ReadString(&temp, length)) return false; in ParseMessageSetItem()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs640 Name = input.ReadString(); in MergeFrom()
644 Package = input.ReadString(); in MergeFrom()
692 Syntax = input.ReadString(); in MergeFrom()
971 Name = input.ReadString(); in MergeFrom()
1689 Name = input.ReadString(); in MergeFrom()
1693 Extendee = input.ReadString(); in MergeFrom()
1709 TypeName = input.ReadString(); in MergeFrom()
1713 DefaultValue = input.ReadString(); in MergeFrom()
1728 JsonName = input.ReadString(); in MergeFrom()
1942 Name = input.ReadString(); in MergeFrom()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/AddressBook/
DAddressbook.cs223 Name = input.ReadString(); in MergeFrom()
231 Email = input.ReadString(); in MergeFrom()
384 Number = input.ReadString(); in MergeFrom()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DJsonTokenizer.cs224 string stringValue = ReadString(); in NextImpl()
296 private string ReadString() in ReadString() method in Google.Protobuf.JsonTokenizer.JsonTextTokenizer
DFieldCodec.cs54 …return new FieldCodec<string>(input => input.ReadString(), (output, value) => output.WriteString(v… in ForString()
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp87 bool WARN_UNUSED ReadString(std::istream& stream, char out[kIdmapStringLength]) { in ReadString() function
137 !ReadString(stream, idmap_header->target_path_) || in FromBinaryStream()
138 !ReadString(stream, idmap_header->overlay_path_)) { in FromBinaryStream()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestIssues.cs1527 PlainString = input.ReadString(); in MergeFrom()
1531 O1String = input.ReadString(); in MergeFrom()
1535 O2String = input.ReadString(); in MergeFrom()
1715 Name = input.ReadString(); in MergeFrom()
1719 Description = input.ReadString(); in MergeFrom()
1723 Guid = input.ReadString(); in MergeFrom()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dplugin.pb.cc262 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
281 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
769 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
786 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
803 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
1134 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs462 Assert.AreEqual("Foo", input.ReadString()); in WriteTo_String()
464 Assert.AreEqual("", input.ReadString()); in WriteTo_String()
466 Assert.AreEqual("Bar", input.ReadString()); in WriteTo_String()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/
DConformance.cs416 JsonPayload = input.ReadString(); in MergeFrom()
732 ParseError = input.ReadString(); in MergeFrom()
736 RuntimeError = input.ReadString(); in MergeFrom()
744 JsonPayload = input.ReadString(); in MergeFrom()
748 Skipped = input.ReadString(); in MergeFrom()
752 SerializeError = input.ReadString(); in MergeFrom()
3150 OptionalString = input.ReadString(); in MergeFrom()
3180 OptionalStringPiece = input.ReadString(); in MergeFrom()
3184 OptionalCord = input.ReadString(); in MergeFrom()
3383 OneofString = input.ReadString(); in MergeFrom()

12