Home
last modified time | relevance | path

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

123456

/external/libbrillo/brillo/streams/
Dfake_stream_unittest.cc38 bool ReadString(size_t size_to_read, std::string* out_buffer, bool* eos) { in ReadString() function in brillo::FakeStreamTest
108 EXPECT_TRUE(ReadString(100, &data, &eos)); in TEST_F()
118 EXPECT_TRUE(ReadString(100, &data, &eos)); in TEST_F()
122 EXPECT_TRUE(ReadString(100, &data, &eos)); in TEST_F()
132 EXPECT_TRUE(ReadString(3, &data, &eos)); in TEST_F()
136 EXPECT_TRUE(ReadString(100, &data, &eos)); in TEST_F()
140 EXPECT_TRUE(ReadString(100, &data, &eos)); in TEST_F()
152 EXPECT_TRUE(ReadString(100, &data, &eos)); in TEST_F()
156 EXPECT_TRUE(ReadString(2, &data, &eos)); in TEST_F()
160 EXPECT_TRUE(ReadString(100, &data, &eos)); in TEST_F()
[all …]
/external/gptfdisk/
Dgpttext.cc303 guidStr = ReadString(); in ChangeUniqueGuid()
333 theName = ReadString(); in SetName()
436 line = ReadString(); in MakeHybrid()
570 switch (ReadString()[0]) { in MainMenu()
576 SaveGPTBackup(ReadString()); in MainMenu()
666 switch (ReadString()[0]) { in RecoveryMenu()
722 LoadGPTBackup(ReadString()); in RecoveryMenu()
792 switch (ReadString()[0]) { in ExpertsMenu()
818 guidStr = ReadString(); in ExpertsMenu()
870 device = ReadString(); in ExpertsMenu()
[all …]
Dsupport.cc42 string ReadString(void) { in ReadString() function
58 string ReadString(void) { in ReadString() function
109 line = ReadString(); in GetYN()
Dcgdisk.cc40 device = ReadString(); in main()
/external/protobuf/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')
/external/protobuf/src/google/protobuf/io/
Dcoded_stream_unittest.cc696 TEST_1D(CodedStreamTest, ReadString, kBlockSizes) { in TEST_1D() argument
704 EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); in TEST_1D()
720 EXPECT_FALSE(coded_input.ReadString(&str, 1 << 30)); in TEST_1D()
730 EXPECT_FALSE(coded_input.ReadString(&str, 1 << 30)); in TEST_F()
737 EXPECT_FALSE(coded_input.ReadString(&str, 1 << 30)); in TEST_F()
750 EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); in TEST_1D()
770 EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); in TEST_1D()
790 EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); in TEST_F()
815 EXPECT_FALSE(coded_input.ReadString(&str, -1)); in TEST_F()
835 EXPECT_FALSE(coded_input.ReadString(&str, 1 << 30)); in TEST_F()
[all …]
Dzero_copy_stream_unittest.cc112 void ReadString(ZeroCopyInputStream* input, const std::string& str);
207 void IoTest::ReadString(ZeroCopyInputStream* input, const std::string& str) { in ReadString() function in google::protobuf::io::__anon3ec9989e0111::IoTest
231 ReadString(input, "Hello world!\n"); in ReadStuff()
232 ReadString(input, "Some text. "); in ReadStuff()
233 ReadString(input, "Blah "); in ReadStuff()
234 ReadString(input, "blah."); in ReadStuff()
235 ReadString(input, "abcdefg"); in ReadStuff()
237 ReadString(input, "foo"); in ReadStuff()
238 ReadString(input, "bar"); in ReadStuff()
263 ReadString(input, "Hello world!\nSome text. "); in ReadStuffLarge()
[all …]
/external/libtextclassifier/native/utils/intents/
Dintent-generator.cc187 const StringPiece key = ReadString(kIndexStackTop); in HandleExternalCallback()
202 const StringPiece key = ReadString(kIndexStackTop); in HandleAndroidCallback()
286 const StringPiece key_str = ReadString(kIndexStackTop); in HandleUserRestrictionsCallback()
312 const StringPiece input = ReadString(/*index=*/1); in HandleUrlEncode()
372 StringPiece url = ReadString(/*index=*/1); in HandleUrlSchema()
404 const StringPiece url = ReadString(kIndexStackTop); in HandleUrlHost()
437 const StringPiece input = ReadString(kIndexStackTop); in HandleHash()
446 args[i] = ReadString(/*index=*/i + 2); in HandleFormat()
448 PushString(strings::Substitute(ReadString(/*index=*/1), args)); in HandleFormat()
458 const StringPiece resource_name = ReadString(kIndexStackTop); in LookupModelStringResource()
[all …]
/external/libchrome/ipc/
Dipc_test_channel_listener.cc41 EXPECT_TRUE(iter.ReadString(&data)); in OnMessageReceived()
43 EXPECT_TRUE(iter.ReadString(&big_string)); in OnMessageReceived()
/external/webrtc/webrtc/base/
Dbytebuffer_unittest.cc96 EXPECT_TRUE(buffer.ReadString(&read, 3)); in TEST()
102 EXPECT_TRUE(buffer.ReadString(&read, 3)); in TEST()
111 EXPECT_TRUE(buffer.ReadString(&read, 3)); in TEST()
168 EXPECT_TRUE(buffer.ReadString(&read_string, write_string.size())); in TEST()
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs617 JsonPayload = input.ReadString(); in MergeFrom()
625 MessageType = input.ReadString(); in MergeFrom()
640 JspbPayload = input.ReadString(); in MergeFrom()
644 TextPayload = input.ReadString(); in MergeFrom()
1035 ParseError = input.ReadString(); in MergeFrom()
1039 RuntimeError = input.ReadString(); in MergeFrom()
1047 JsonPayload = input.ReadString(); in MergeFrom()
1051 Skipped = input.ReadString(); in MergeFrom()
1055 SerializeError = input.ReadString(); in MergeFrom()
1059 JspbPayload = input.ReadString(); in MergeFrom()
[all …]
/external/libchrome/mojo/public/cpp/bindings/tests/
Dtest_native_types.cc53 if (!iter->ReadString(&message)) in Read()
82 if (!iter->ReadString(&message)) in Read()
/external/tensorflow/tensorflow/core/lib/wav/
Dwav_io_test.cc32 Status ReadString(const string& data, int expected_length, string* value,
263 TEST(WavIO, ReadString) { in TEST() argument
271 TF_EXPECT_OK(ReadString(test_string, 2, &read_value, &offset)); in TEST()
275 TF_EXPECT_OK(ReadString(test_string, 6, &read_value, &offset)); in TEST()
279 Status read_status = ReadString(test_string, 3, &read_value, &offset); in TEST()
/external/libtextclassifier/native/utils/
Dlua-utils.cc240 const StringPiece key = ReadString(/*index=*/index - 1); in ReadFlatbuffer()
279 buffer->Set(field, ReadString(/*index=*/kIndexStackTop)); in ReadFlatbuffer()
354 StringPiece LuaEnvironment::ReadString(const int index) const { in ReadString() function in libtextclassifier3::LuaEnvironment
368 << ReadString(/*index=*/kIndexStackTop); in Compile()
462 const StringPiece key = ReadString(/*index=*/kIndexStackTop - 1); in ReadSpan()
510 const StringPiece key = ReadString(/*index=*/kIndexStackTop - 1); in ReadAnnotation()
530 const StringPiece key = ReadString(/*index=*/kIndexStackTop - 1); in ReadClassificationResult()
601 const StringPiece key = ReadString(/*index=*/kIndexStackTop - 1); in ReadAction()
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DEchoMessages.cs206 Detail = input.ReadString(); in MergeFrom()
390 ErrorMessage = input.ReadString(); in MergeFrom()
394 BinaryErrorDetails = input.ReadString(); in MergeFrom()
929 ExpectedClientIdentity = input.ReadString(); in MergeFrom()
937 ExpectedTransportSecurityType = input.ReadString(); in MergeFrom()
952 BinaryErrorDetails = input.ReadString(); in MergeFrom()
1123 Message = input.ReadString(); in MergeFrom()
1311 Host = input.ReadString(); in MergeFrom()
1315 Peer = input.ReadString(); in MergeFrom()
1471 Message = input.ReadString(); in MergeFrom()
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DApi.cs351 Name = input.ReadString(); in MergeFrom()
363 Version = input.ReadString(); in MergeFrom()
667 Name = input.ReadString(); in MergeFrom()
671 RequestTypeUrl = input.ReadString(); in MergeFrom()
679 ResponseTypeUrl = input.ReadString(); in MergeFrom()
931 Name = input.ReadString(); in MergeFrom()
935 Root = input.ReadString(); in MergeFrom()
/external/webrtc/talk/app/webrtc/
Dsctputils.cc108 if (!buffer.ReadString(label, (size_t) label_length)) { in ParseDataChannelOpenMessage()
112 if (!buffer.ReadString(&config->protocol, protocol_length)) { in ParseDataChannelOpenMessage()
Dsctputils_unittest.cc74 ASSERT_TRUE(buffer.ReadString(&label_output, label_length)); in VerifyOpenMessageFormat()
77 ASSERT_TRUE(buffer.ReadString(&protocol_output, protocol_length)); in VerifyOpenMessageFormat()
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc510 os->stream_->ReadString(&str, buffer32); in RenderString()
526 os->stream_->ReadString(&str, buffer32); in RenderBytes()
620 os->stream_->ReadString(&type_url, type_url_size); in RenderAny()
625 os->stream_->ReadString(&value, value_size); in RenderAny()
702 os->stream_->ReadString(&str, buffer32); in RenderFieldMask()
924 stream_->ReadString(&strbuffer, buffer32); in RenderNonMessageField()
930 stream_->ReadString(&strbuffer, buffer32); in RenderNonMessageField()
1044 stream_->ReadString(&result, buffer32); in ReadFieldValueAsString()
1050 stream_->ReadString(&result, buffer32); in ReadFieldValueAsString()
/external/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DBenchmarkMessage1Proto3.cs1142 Field1 = input.ReadString(); in MergeFrom()
1154 Field4 = input.ReadString(); in MergeFrom()
1167 Field7 = input.ReadString(); in MergeFrom()
1171 Field9 = input.ReadString(); in MergeFrom()
1202 Field18 = input.ReadString(); in MergeFrom()
1266 Field102 = input.ReadString(); in MergeFrom()
1270 Field103 = input.ReadString(); in MergeFrom()
1282 Field129 = input.ReadString(); in MergeFrom()
1915 Field15 = input.ReadString(); in MergeFrom()
1955 Field205 = input.ReadString(); in MergeFrom()
DBenchmarks.cs229 Name = input.ReadString(); in MergeFrom()
233 MessageName = input.ReadString(); in MergeFrom()
/external/grpc-grpc/src/csharp/Grpc.Reflection/
DReflection.cs386 Host = input.ReadString(); in MergeFrom()
390 FileByFilename = input.ReadString(); in MergeFrom()
394 FileContainingSymbol = input.ReadString(); in MergeFrom()
407 AllExtensionNumbersOfType = input.ReadString(); in MergeFrom()
411 ListServices = input.ReadString(); in MergeFrom()
571 ContainingType = input.ReadString(); in MergeFrom()
896 ValidHost = input.ReadString(); in MergeFrom()
1223 BaseTypeName = input.ReadString(); in MergeFrom()
1493 Name = input.ReadString(); in MergeFrom()
1656 ErrorMessage = input.ReadString(); in MergeFrom()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DCodedInputStreamTest.cs372 string text = input.ReadString(); in ReadInvalidUtf8()
391 Assert.Throws<InvalidProtocolBufferException>(() => input.ReadString()); in ReadNegativeSizedStringThrowsInvalidProtocolBufferException()
515 Assert.AreEqual("field 1", input.ReadString()); in SkipGroup()
519 Assert.AreEqual("field 3", input.ReadString()); in SkipGroup()
546 Assert.AreEqual("field 1", input.ReadString()); in SkipGroup_WrongEndGroupTag()
/external/tensorflow/tensorflow/core/lib/strings/
Dordered_code.h69 static bool ReadString(StringPiece* src, string* result);
/external/v4l2_codec2/accel/
Dbit_reader.h36 bool ReadString(int num_bits, std::string* str);

123456