Home
last modified time | relevance | path

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

123

/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.cc285 guidStr = ReadString(); in ChangeUniqueGuid()
315 theName = ReadString(); in SetName()
418 line = ReadString(); in MakeHybrid()
552 switch (ReadString()[0]) { in MainMenu()
558 SaveGPTBackup(ReadString()); in MainMenu()
648 switch (ReadString()[0]) { in RecoveryMenu()
704 LoadGPTBackup(ReadString()); in RecoveryMenu()
774 switch (ReadString()[0]) { in ExpertsMenu()
800 guidStr = ReadString(); in ExpertsMenu()
849 device = ReadString(); in ExpertsMenu()
[all …]
Dcgdisk.cc40 device = ReadString(); in main()
Dsupport.cc37 string ReadString(void) { in ReadString() function
86 line = ReadString(); in GetYN()
Dgdisk.cc30 device = ReadString(); in main()
Dfixparts.cc34 device = ReadString(); in main()
Dsupport.h74 string ReadString(void);
/external/protobuf/src/google/protobuf/io/
Dcoded_stream_unittest.cc641 TEST_1D(CodedStreamTest, ReadString, kBlockSizes) { in TEST_1D() argument
649 EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); in TEST_1D()
665 EXPECT_FALSE(coded_input.ReadString(&str, 1 << 30)); in TEST_1D()
675 EXPECT_FALSE(coded_input.ReadString(&str, 1 << 30)); in TEST_F()
682 EXPECT_FALSE(coded_input.ReadString(&str, 1 << 30)); in TEST_F()
695 EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); in TEST_1D()
715 EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); in TEST_1D()
735 EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); in TEST_F()
760 EXPECT_FALSE(coded_input.ReadString(&str, -1)); in TEST_F()
780 EXPECT_FALSE(coded_input.ReadString(&str, 1 << 30)); in TEST_F()
[all …]
Dzero_copy_stream_unittest.cc104 void ReadString(ZeroCopyInputStream* input, const string& str);
198 void IoTest::ReadString(ZeroCopyInputStream* input, const string& str) { in ReadString() function in google::protobuf::io::__anon200409330111::IoTest
222 ReadString(input, "Hello world!\n"); in ReadStuff()
223 ReadString(input, "Some text. "); in ReadStuff()
224 ReadString(input, "Blah "); in ReadStuff()
225 ReadString(input, "blah."); in ReadStuff()
226 ReadString(input, "abcdefg"); in ReadStuff()
228 ReadString(input, "foo"); in ReadStuff()
229 ReadString(input, "bar"); in ReadStuff()
254 ReadString(input, "Hello world!\nSome text. "); in ReadStuffLarge()
[all …]
/external/pdfium/xfa/src/fgas/src/crt/
Dfx_stream.h29 virtual int32_t ReadString(FX_WCHAR* pStr,
52 virtual int32_t ReadString(FX_WCHAR* pStr, int32_t iMaxLength, FX_BOOL& bEOS);
72 virtual int32_t ReadString(FX_WCHAR* pStr, int32_t iMaxLength, FX_BOOL& bEOS);
95 virtual int32_t ReadString(FX_WCHAR* pStr, int32_t iMaxLength, FX_BOOL& bEOS);
125 virtual int32_t ReadString(FX_WCHAR* pStr, int32_t iMaxLength, FX_BOOL& bEOS);
151 virtual int32_t ReadString(FX_WCHAR* pStr, in ReadString() function
192 virtual int32_t ReadString(FX_WCHAR* pStr,
233 virtual int32_t ReadString(FX_WCHAR* pStr,
Dfx_stream.cpp200 int32_t CFX_FileStreamImp::ReadString(FX_WCHAR* pStr, in ReadString() function in CFX_FileStreamImp
309 int32_t CFX_FileReadStreamImp::ReadString(FX_WCHAR* pStr, in ReadString() function in CFX_FileReadStreamImp
439 int32_t CFX_BufferReadStreamImp::ReadString(FX_WCHAR* pStr, in ReadString() function in CFX_BufferReadStreamImp
575 int32_t CFX_BufferStreamImp::ReadString(FX_WCHAR* pStr, in ReadString() function in CFX_BufferStreamImp
762 int32_t CFX_TextStream::ReadString(FX_WCHAR* pStr, in ReadString() function in CFX_TextStream
1042 int32_t CFX_Stream::ReadString(FX_WCHAR* pStr, in ReadString() function in CFX_Stream
1063 iLen = m_pStreamImp->ReadString(pStr, iLen, bEOS); in ReadString()
/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()
Dsocketadapters.cc621 !response.ReadString(&addr, len) || in ProcessInput()
627 if (!response.ReadString(&addr, 16) || in ProcessInput()
783 !request->ReadString(&user, user_len) || in HandleAuth()
785 !request->ReadString(&pass, pass_len)) { in HandleAuth()
Dbytebuffer.h59 bool ReadString(std::string* val, size_t len);
/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/opencv3/samples/winrt/ImageManipulations/common/
Dsuspensionmanager.cpp416 String^ ReadString(DataReader^ reader)
419 String^ string = reader->ReadString(length);
472 return ReadString(reader);
/external/libchrome/base/
Dpickle_unittest.cc89 EXPECT_TRUE(iter.ReadString(&outstring)); in VerifyResult()
209 EXPECT_TRUE(iter.ReadString(&outstr)); in TEST()
219 EXPECT_TRUE(iter.ReadString(&outstr)); in TEST()
229 EXPECT_FALSE(iter.ReadString(&outstr)); in TEST()
/external/protobuf/src/google/protobuf/compiler/
Dplugin.pb.cc254 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
273 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
605 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
622 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
639 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
948 DO_(::google::protobuf::internal::WireFormatLite::ReadString( in MergePartialFromCodedStream()
/external/libchrome/crypto/
Dsecure_hash_default.cc69 if (!data_iterator->ReadString(&type)) in Deserialize()
Dsecure_hash_openssl.cc75 if (!data_iterator->ReadString(&type)) in Deserialize()
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_basic_imp.h33 virtual int32_t ReadString(FX_WCHAR* pStr,
/external/webrtc/webrtc/p2p/base/
Dstun_unittest.cc883 out.ReadString(&bytes, len1); in TEST_F()
912 out.ReadString(&bytes, len1); in TEST_F()
941 out.ReadString(&bytes, len1); in TEST_F()
971 out.ReadString(&bytes, len1); in TEST_F()
1435 out.ReadString(&outstring, len1); in TEST_F()
1443 out2.ReadString(&outstring2, len2); in TEST_F()
/external/llvm/lib/AsmParser/
DLLLexer.h74 lltok::Kind ReadString(lltok::Kind kind);
/external/pdfium/xfa/src/fgas/include/
Dfx_stm.h55 virtual int32_t ReadString(FX_WCHAR* pStr,

123