/external/libbrillo/brillo/streams/ |
D | fake_stream_unittest.cc | 38 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/libtextclassifier/utils/intents/ |
D | intent-generator.cc | 192 const StringPiece key = ReadString(/*index=*/-1); in HandleExternalCallback() 207 const StringPiece key = ReadString(/*index=*/-1); in HandleAndroidCallback() 281 const StringPiece key_str = ReadString(/*index=*/-1); in HandleUserRestrictionsCallback() 306 const StringPiece input = ReadString(/*index=*/1); in HandleUrlEncode() 355 StringPiece url = ReadString(/*index=*/1); in HandleUrlSchema() 379 StringPiece url = ReadString(/*index=*/-1); in HandleUrlHost() 403 const StringPiece input = ReadString(/*index=*/-1); in HandleHash() 412 args[i] = ReadString(/*index=*/i + 2); in HandleFormat() 414 PushString(strings::Substitute(ReadString(/*index=*/1), args)); in HandleFormat() 424 const StringPiece resource_name = ReadString(/*index=*/-1); in LookupModelStringResource() [all …]
|
/external/gptfdisk/ |
D | gpttext.cc | 285 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 …]
|
/external/protobuf/src/google/protobuf/io/ |
D | coded_stream_unittest.cc | 648 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 …]
|
D | zero_copy_stream_unittest.cc | 109 void ReadString(ZeroCopyInputStream* input, const string& str); 203 void IoTest::ReadString(ZeroCopyInputStream* input, const string& str) { in ReadString() function in google::protobuf::io::__anonf574de1c0111::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 …]
|
/external/tensorflow/tensorflow/contrib/hadoop/kernels/ |
D | hadoop_dataset_ops.cc | 41 TF_RETURN_IF_ERROR(ReadString(&key_class_name_)); in ReadHeader() 42 TF_RETURN_IF_ERROR(ReadString(&value_class_name_)); in ReadHeader() 58 TF_RETURN_IF_ERROR(ReadString(&compression_codec_class_name_)); in ReadHeader() 77 TF_RETURN_IF_ERROR(ReadString(nullptr)); in ReadHeader() 78 TF_RETURN_IF_ERROR(ReadString(nullptr)); in ReadHeader() 112 TF_RETURN_IF_ERROR(ReadString(key)); in ReadRecord() 113 TF_RETURN_IF_ERROR(ReadString(value)); in ReadRecord() 117 Status ReadString(string* value) { in ReadString() function in tensorflow::data::__anon7db61e300111::SequenceFileReader
|
/external/libtextclassifier/actions/ |
D | lua-utils.cc | 130 const StringPiece key = env->ReadString(/*index=*/-2); in ReadSpan() 141 span.text = env->ReadString(/*index=*/-1).ToString(); in ReadSpan() 181 const StringPiece key = env->ReadString(/*index=*/-2); in ReadAnnotation() 183 annotation.name = env->ReadString(/*index=*/-1).ToString(); in ReadAnnotation() 201 const StringPiece key = env->ReadString(/*index=*/-2); in ReadClassificationResult() 203 classification.collection = env->ReadString(/*index=*/-1).ToString(); in ReadClassificationResult() 216 env->ReadString(/*index=*/-1).ToString(); in ReadClassificationResult() 282 const StringPiece key = env->ReadString(/*index=*/-2); in ReadAction() 284 action.response_text = env->ReadString(/*index=*/-1).ToString(); in ReadAction() 286 action.type = env->ReadString(/*index=*/-1).ToString(); in ReadAction()
|
/external/protobuf/examples/ |
D | add_person.go | 29 name, err := rd.ReadString('\n') 39 email, err := rd.ReadString('\n') 47 phone, err := rd.ReadString('\n') 65 ptype, err := rd.ReadString('\n')
|
/external/tensorflow/tensorflow/contrib/ignite/kernels/igfs/ |
D | igfs_extended_tcp_client.cc | 60 TF_RETURN_IF_ERROR(ReadString(res)); in ReadNullableString() 66 Status ExtendedTCPClient::ReadString(string *res) { in ReadString() function in tensorflow::ExtendedTCPClient 86 TF_RETURN_IF_ERROR(ReadString(&key)); in ReadStringMap() 87 TF_RETURN_IF_ERROR(ReadString(&val)); in ReadStringMap()
|
/external/perf_data_converter/src/quipper/ |
D | buffer_reader_test.cc | 166 TEST(BufferReaderTest, ReadString) { in TEST() argument 173 EXPECT_TRUE(full_reader.ReadString(input.size(), &full_reader_output)); in TEST() 181 full_null_reader.ReadString(input.size() + 1, &full_null_reader_output)); in TEST() 188 EXPECT_TRUE(half_reader.ReadString(input.size() / 2, &half_reader_output)); in TEST() 196 past_end_reader.ReadString(input.size() + 2, &past_end_reader_output)); in TEST() 207 vector_reader.ReadString(input_vector.size(), &vector_reader_output)); in TEST()
|
D | file_reader_test.cc | 184 TEST(FileReaderTest, ReadString) { in TEST() argument 194 EXPECT_TRUE(full_reader.ReadString(input_string.size(), &full_reader_output)); in TEST() 202 half_reader.ReadString(input_string.size() / 2, &half_reader_output)); in TEST() 210 EXPECT_FALSE(past_end_reader.ReadString(input_string.size() + 1, in TEST() 227 EXPECT_TRUE(padding_reader.ReadString(input_string_with_padding.size(), in TEST()
|
/external/webrtc/webrtc/base/ |
D | bytebuffer_unittest.cc | 96 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/libchrome/ipc/ |
D | ipc_test_channel_listener.cc | 41 EXPECT_TRUE(iter.ReadString(&data)); in OnMessageReceived() 43 EXPECT_TRUE(iter.ReadString(&big_string)); in OnMessageReceived()
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Api.cs | 310 Name = input.ReadString(); in MergeFrom() 322 Version = input.ReadString(); in MergeFrom() 594 Name = input.ReadString(); in MergeFrom() 598 RequestTypeUrl = input.ReadString(); in MergeFrom() 606 ResponseTypeUrl = input.ReadString(); in MergeFrom() 830 Name = input.ReadString(); in MergeFrom() 834 Root = input.ReadString(); in MergeFrom()
|
D | Type.cs | 301 Name = input.ReadString(); in MergeFrom() 673 Name = input.ReadString(); in MergeFrom() 677 TypeUrl = input.ReadString(); in MergeFrom() 693 JsonName = input.ReadString(); in MergeFrom() 697 DefaultValue = input.ReadString(); in MergeFrom() 1008 Name = input.ReadString(); in MergeFrom() 1180 Name = input.ReadString(); in MergeFrom() 1327 Name = input.ReadString(); in MergeFrom()
|
/external/tensorflow/tensorflow/core/lib/wav/ |
D | wav_io_test.cc | 32 Status ReadString(const string& data, int expected_length, string* value, 262 TEST(WavIO, ReadString) { in TEST() argument 270 TF_EXPECT_OK(ReadString(test_string, 2, &read_value, &offset)); in TEST() 274 TF_EXPECT_OK(ReadString(test_string, 6, &read_value, &offset)); in TEST() 278 Status read_status = ReadString(test_string, 3, &read_value, &offset); in TEST()
|
/external/libtextclassifier/utils/ |
D | lua-utils.cc | 174 const StringPiece key = ReadString(/*index=*/-2); in ReadFlatbuffer() 204 buffer->Set(field, ReadString(/*index=*/-1)); in ReadFlatbuffer() 244 StringPiece LuaEnvironment::ReadString(const int index) const { in ReadString() function in libtextclassifier3::LuaEnvironment 286 << ReadString(/*index=*/-1).ToString(); in Compile()
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | test_native_types.cc | 53 if (!iter->ReadString(&message)) in Read() 82 if (!iter->ReadString(&message)) in Read()
|
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/ |
D | EchoMessages.cs | 206 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/src/google/protobuf/util/internal/ |
D | protostream_objectsource.cc | 481 os->stream_->ReadString(&str, buffer32); in RenderString() 497 os->stream_->ReadString(&str, buffer32); in RenderBytes() 586 os->stream_->ReadString(&type_url, type_url_size); in RenderAny() 591 os->stream_->ReadString(&value, value_size); in RenderAny() 661 os->stream_->ReadString(&str, buffer32); in RenderFieldMask() 871 stream_->ReadString(&strbuffer, buffer32); in RenderNonMessageField() 877 stream_->ReadString(&strbuffer, buffer32); in RenderNonMessageField() 991 stream_->ReadString(&result, buffer32); in ReadFieldValueAsString() 997 stream_->ReadString(&result, buffer32); in ReadFieldValueAsString()
|
/external/webrtc/talk/app/webrtc/ |
D | sctputils.cc | 108 if (!buffer.ReadString(label, (size_t) label_length)) { in ParseDataChannelOpenMessage() 112 if (!buffer.ReadString(&config->protocol, protocol_length)) { in ParseDataChannelOpenMessage()
|
D | sctputils_unittest.cc | 74 ASSERT_TRUE(buffer.ReadString(&label_output, label_length)); in VerifyOpenMessageFormat() 77 ASSERT_TRUE(buffer.ReadString(&protocol_output, protocol_length)); in VerifyOpenMessageFormat()
|
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | Descriptor.cs | 598 Name = input.ReadString(); in MergeFrom() 602 Package = input.ReadString(); in MergeFrom() 650 Syntax = input.ReadString(); in MergeFrom() 906 Name = input.ReadString(); in MergeFrom() 1571 Name = input.ReadString(); in MergeFrom() 1575 Extendee = input.ReadString(); in MergeFrom() 1591 TypeName = input.ReadString(); in MergeFrom() 1595 DefaultValue = input.ReadString(); in MergeFrom() 1610 JsonName = input.ReadString(); in MergeFrom() 1783 Name = input.ReadString(); in MergeFrom() [all …]
|
/external/grpc-grpc/src/csharp/Grpc.Reflection/ |
D | Reflection.cs | 386 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/libchrome/base/ |
D | pickle_unittest.cc | 85 EXPECT_TRUE(iter.ReadString(&outstring)); in VerifyResult() 204 EXPECT_TRUE(iter.ReadString(&outstr)); in TEST() 214 EXPECT_TRUE(iter.ReadString(&outstr)); in TEST() 224 EXPECT_FALSE(iter.ReadString(&outstr)); in TEST()
|