Home
last modified time | relevance | path

Searched refs:WriteData (Results 1 – 25 of 60) sorted by relevance

123

/external/perf_data_converter/src/quipper/
Dbuffer_writer_test.cc35 EXPECT_FALSE(writer.WriteData(&dummy, sizeof(dummy))); in TEST()
43 EXPECT_TRUE(writer.WriteData(NULL, 0)); in TEST()
54 EXPECT_TRUE(writer.WriteData(kInputData.data(), kInputData.size())); in TEST()
84 EXPECT_TRUE(writer.WriteData(kInputData.data() + writer.Tell(), 10)); in TEST()
86 EXPECT_TRUE(writer.WriteData(kInputData.data() + writer.Tell(), 5)); in TEST()
88 EXPECT_TRUE(writer.WriteData(kInputData.data() + writer.Tell(), 5)); in TEST()
90 EXPECT_TRUE(writer.WriteData(kInputData.data() + writer.Tell(), 6)); in TEST()
109 EXPECT_TRUE(writer.WriteData(kInputData.data() + 20, 10)); in TEST()
114 EXPECT_TRUE(writer.WriteData(kInputData.data() + 10, 10)); in TEST()
119 EXPECT_TRUE(writer.WriteData(kInputData.data() + 30, 10)); in TEST()
[all …]
Dbuffer_writer.cc13 bool BufferWriter::WriteData(const void* src, const size_t size) { in WriteData() function in quipper::BufferWriter
26 if (offset_ + size > size_ || !WriteData(str.c_str(), write_size)) in WriteString()
Ddata_writer.cc17 if (WriteData(src, size)) return true; in WriteDataValue()
Ddata_writer.h30 virtual bool WriteData(const void* src, const size_t size) = 0;
Dbuffer_writer.h25 bool WriteData(const void* src, const size_t size) override;
/external/tensorflow/tensorflow/contrib/ignite/kernels/client/
Dignite_client.h33 virtual Status WriteData(const uint8_t *buf, const int32_t length) = 0;
58 Status WriteByte(const uint8_t data) { return WriteData(&data, 1); } in WriteByte()
63 return WriteData((uint8_t *)&tmp, 2); in WriteShort()
69 return WriteData((uint8_t *)&tmp, 4); in WriteInt()
75 return WriteData((uint8_t *)&tmp, 8); in WriteLong()
Dignite_plain_client.h33 Status WriteData(const uint8_t* buf, const int32_t length) override;
Dignite_ssl_wrapper.h36 Status WriteData(const uint8_t* buf, const int32_t length) override;
Dignite_plain_client_unix.cc106 Status PlainClient::WriteData(const uint8_t* buf, const int32_t length) { in WriteData() function in tensorflow::PlainClient
/external/dng_sdk/source/
Ddng_preview.h47 virtual void WriteData (dng_host &host,
75 virtual void WriteData (dng_host &host,
115 virtual void WriteData (dng_host &host,
157 virtual void WriteData (dng_host &host,
195 virtual void WriteData (dng_host &host,
Ddng_preview.cpp233 void dng_image_preview::WriteData (dng_host &host, in WriteData() function in dng_image_preview
385 void dng_jpeg_preview::WriteData (dng_host & /* host */, in WriteData() function in dng_jpeg_preview
595 void dng_raw_preview::WriteData (dng_host &host, in WriteData() function in dng_raw_preview
657 void dng_mask_preview::WriteData (dng_host &host, in WriteData() function in dng_mask_preview
/external/libchrome/mojo/core/
Ddata_pipe_unittest.cc80 MojoResult WriteData(const void* elements, in WriteData() function in mojo::core::__anon5ac0e12b0111::DataPipeTest
176 ASSERT_EQ(MOJO_RESULT_OK, WriteData(&elements[0], &num_bytes)); in TEST_F()
259 ASSERT_EQ(MOJO_RESULT_OK, WriteData(elements, &num_bytes)); in TEST_F()
363 ASSERT_EQ(MOJO_RESULT_OK, WriteData(elements, &num_bytes, true)); in TEST_F()
419 ASSERT_EQ(MOJO_RESULT_OK, WriteData(elements, &num_bytes)); in TEST_F()
498 ASSERT_EQ(MOJO_RESULT_OK, WriteData(elements, &num_bytes, true)); in TEST_F()
557 ASSERT_EQ(MOJO_RESULT_OK, WriteData(elements, &num_bytes, true)); in TEST_F()
622 EXPECT_EQ(MOJO_RESULT_OK, WriteData(elements, &num_bytes, true)); in TEST_F()
647 EXPECT_EQ(MOJO_RESULT_OK, WriteData(elements, &num_bytes, true)); in TEST_F()
648 EXPECT_EQ(MOJO_RESULT_OK, WriteData(elements, &num_bytes, true)); in TEST_F()
[all …]
Dtrap_unittest.cc321 WriteData(producer, kMessage1); in TEST_F()
322 WriteData(producer, kMessage2); in TEST_F()
326 WriteData(producer, kMessage3); in TEST_F()
384 WriteData(producer, kMessage1); in TEST_F()
385 WriteData(producer, kMessage2); in TEST_F()
389 WriteData(producer, kMessage3); in TEST_F()
419 WriteData(producer, kMessage1); in TEST_F()
481 WriteData(producer, kTestData); in TEST_F()
491 WriteData(producer, kTestData); in TEST_F()
508 WriteData(producer, kTestData); in TEST_F()
[all …]
Dcore_unittest.cc67 core()->WriteData(h, nullptr, nullptr, nullptr)); in TEST_F()
309 core()->WriteData(ph, elements, &num_bytes, nullptr)); in TEST_F()
360 core()->WriteData(ph, elements, &num_bytes, nullptr)); in TEST_F()
Ddata_pipe_producer_dispatcher.h44 MojoResult WriteData(const void* elements,
/external/webrtc/webrtc/modules/audio_processing/test/
Dunpack.cc56 void WriteData(const void* data, size_t size, FILE* file, in WriteData() function
194 WriteData(&delay, sizeof(delay), delay_file, FLAGS_delay_file); in do_main()
204 WriteData(&drift, sizeof(drift), drift_file, FLAGS_drift_file); in do_main()
214 WriteData(&level, sizeof(level), level_file, FLAGS_level_file); in do_main()
224 WriteData(&keypress, sizeof(keypress), keypress_file, in do_main()
/external/google-breakpad/src/client/mac/crash_generation/
DConfigFile.mm59 BOOL ConfigFile::WriteData(const void *data, size_t length) {
81 BOOL result = WriteData(key, strlen(key));
84 result &= WriteData(buffer, strlen(buffer));
85 result &= WriteData(data, length);
86 result &= WriteData(&nl, 1);
DConfigFile.h67 BOOL WriteData(const void *data, size_t length);
/external/tensorflow/tensorflow/contrib/ignite/kernels/igfs/
Digfs_extended_tcp_client.cc31 Status ExtendedTCPClient::WriteData(const uint8_t *buf, const int32_t length) { in WriteData() function in tensorflow::ExtendedTCPClient
32 TF_RETURN_IF_ERROR(PlainClient::WriteData(buf, length)); in WriteData()
121 TF_RETURN_IF_ERROR(WriteData(reinterpret_cast<const uint8_t *>(str.c_str()), in WriteString()
Digfs_extended_tcp_client.h27 Status WriteData(const uint8_t *buf, const int32_t length) override;
/external/webrtc/webrtc/p2p/base/
Dpseudotcp_unittest.cc266 WriteData(&done); in OnTcpWriteable()
286 void WriteData(bool* done) { in WriteData() function in PseudoTcpTest
389 WriteData(); in OnTcpWriteable()
405 void WriteData() { in WriteData() function in PseudoTcpTestPingPong
483 WriteData(); in OnMessage()
529 WriteData(); in ReadUntilIOPending()
533 void WriteData() { in WriteData() function in PseudoTcpTestReceiveWindow
/external/libchrome/base/
Dpickle_unittest.cc129 pickle.WriteData(testdata, testdatalen); in TEST()
403 pickle.WriteData( in TEST()
412 pickle.WriteData(data_ptr, static_cast<int>(unit - sizeof(uint32_t))); in TEST()
418 pickle.WriteData(data_ptr, 1); in TEST()
462 source.WriteData(str.c_str(), 100000); in TEST()
488 pickle.WriteData(nullptr, 0); in TEST()
/external/webrtc/webrtc/base/
Dsslstreamadapter_unittest.cc133 rtc::StreamResult WriteData(const void* data, size_t data_len, in WriteData() function in SSLDummyStreamBase
324 WriteData(); in OnEvent()
431 return from->WriteData(&buf[0], data_len, written, error); in DataWritten()
434 return from->WriteData(data, data_len, written, error); in DataWritten()
511 virtual void WriteData() = 0;
574 WriteData(); in TestTransfer()
587 void WriteData() { in WriteData() function in SSLStreamAdapterTestTLS
687 virtual void WriteData() { in WriteData() function in SSLStreamAdapterTestDTLS
755 WriteData(); in TestTransfer()
/external/deqp/modules/gles31/functional/
Des31fSynchronizationTests.cpp866 struct WriteData struct
871 static WriteData Generate(int targetHandle, int seed) in Generate() argument
873 WriteData retVal; in Generate()
979 InterCallOperations& operator<< (const op::WriteData&);
1007 op::WriteData write;
1022 InterCallOperations& InterCallOperations::operator<< (const op::WriteData& cmd) in operator <<()
1109 void runCommand (const op::WriteData& cmd, int stepNdx, int& programFriendlyName);
1176 const op::WriteData& cmd = m_cmds[step].u_cmd.write; in init()
1450 void InterCallTestCase::runCommand (const op::WriteData& cmd, int stepNdx, int& programFriendlyName) in runCommand()
3263 << op::WriteData::Generate(1, seed0) in init()
[all …]
/external/libchrome/mojo/public/cpp/system/tests/
Ddata_pipe_drainer_unittest.cc54 EXPECT_EQ(MOJO_RESULT_OK, producer_handle_->WriteData( in TEST_F()

123