Home
last modified time | relevance | path

Searched refs:WriteBuffer (Results 1 – 25 of 50) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DQueueWriteBufferValidationTests.cpp42 queue.WriteBuffer(buf, 0, &foo, sizeof(foo)); in TEST_F()
50 ASSERT_DEVICE_ERROR(queue.WriteBuffer(buf, 0, foo, 8)); in TEST_F()
63 ASSERT_DEVICE_ERROR(queue.WriteBuffer(buf, offset, foo, 4)); in TEST_F()
74 ASSERT_DEVICE_ERROR(queue.WriteBuffer(buf, 0, &foo, sizeof(foo))); in TEST_F()
82 ASSERT_DEVICE_ERROR(queue.WriteBuffer(buf, 0, &value, sizeof(value))); in TEST_F()
90 ASSERT_DEVICE_ERROR(queue.WriteBuffer(buf, 2, &value, sizeof(value))); in TEST_F()
99 ASSERT_DEVICE_ERROR(queue.WriteBuffer(buf, 0, &value, sizeof(value))); in TEST_F()
113 ASSERT_DEVICE_ERROR(queue.WriteBuffer(buffer, 0, &value, sizeof(value))); in TEST_F()
125 ASSERT_DEVICE_ERROR(queue.WriteBuffer(buf, 0, &value, sizeof(value))); in TEST_F()
DWriteBufferTests.cpp36 encoder.WriteBuffer(buffer, bufferOffset, data.data(), size); in EncodeWriteBuffer()
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
DBufferUploadPerf.cpp24 WriteBuffer, enumerator
54 case UploadMethod::WriteBuffer: in operator <<()
115 case UploadMethod::WriteBuffer: { in Step()
117 queue.WriteBuffer(dst, 0, data.data(), data.size()); in Step()
152 {UploadMethod::WriteBuffer, UploadMethod::MappedAtCreation},
DDrawCallPerf.cpp567 queue.WriteBuffer(mUniformBuffers[0], 0, mUniformBufferData.data(), in Step()
573 queue.WriteBuffer(mUniformBuffers[i], 0, in Step()
579 queue.WriteBuffer(mUniformBuffers[0], 0, mUniformBufferData.data(), in Step()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DCommandEncoderTests.cpp21 TEST_P(CommandEncoderTests, WriteBuffer) { in TEST_P() argument
32 encoder.WriteBuffer(bufferA, 0, reinterpret_cast<const uint8_t*>(&kData1), sizeof(kData1)); in TEST_P()
36 encoder.WriteBuffer(bufferB, 0, reinterpret_cast<const uint8_t*>(&kData2), sizeof(kData2)); in TEST_P()
DBasicTests.cpp44 queue.WriteBuffer(buffer, 0, &value, sizeof(value)); in TEST_P()
58 ASSERT_DEVICE_ERROR(queue.WriteBuffer(buffer, 1000, &value, sizeof(value))); in TEST_P()
DQueueTests.cpp49 queue.WriteBuffer(buffer, 0, &value, sizeof(value)); in TEST_P()
62 queue.WriteBuffer(buffer, 0, &initialValue, sizeof(initialValue)); in TEST_P()
64 queue.WriteBuffer(buffer, 0, nullptr, 0); in TEST_P()
78 queue.WriteBuffer(buffer, 0, &value, sizeof(value)); in TEST_P()
83 queue.WriteBuffer(buffer, 0, &value, sizeof(value)); in TEST_P()
97 queue.WriteBuffer(buffer, kOffset, &value, sizeof(value)); in TEST_P()
127 queue.WriteBuffer(buffer, i * sizeof(uint32_t), &i, sizeof(i)); in TEST_P()
148 queue.WriteBuffer(buffer, 0, expectedData.data(), kElements * sizeof(uint32_t)); in TEST_P()
167 queue.WriteBuffer(buffer, 0, expectedData.data(), kElements * sizeof(uint32_t)); in TEST_P()
183 queue.WriteBuffer(buffer, 0, &value, sizeof(value)); in TEST_P()
DQueryTests.cpp155 queue.WriteBuffer(destination, 0, &kSentinelValue, sizeof(kSentinelValue)); in TestOcclusionQueryWithDepthStencilTest()
184 queue.WriteBuffer(destination, 0, &kSentinelValue, sizeof(kSentinelValue)); in TestOcclusionQueryWithScissorTest()
273 queue.WriteBuffer(destination, 0, &kSentinelValue, sizeof(kSentinelValue)); in TEST_P()
322 queue.WriteBuffer(destination, 0, sentinelValues.data(), kQueryCount * sizeof(uint64_t)); in TEST_P()
381 queue.WriteBuffer(destination, 0, &kSentinelValue, sizeof(kSentinelValue)); in TEST_P()
418 queue.WriteBuffer(destination, 0, sentinelValues.data(), kBufferSize); in TEST_P()
436 queue.WriteBuffer(destination, 0, sentinelValues.data(), kBufferSize); in TEST_P()
733 queue.WriteBuffer(destination, 0, sentinelValues.data(), kQueryCount * sizeof(uint64_t)); in TEST_P()
759 queue.WriteBuffer(destination, 0, sentinelValues.data(), kQueryCount * sizeof(uint64_t)); in TEST_P()
804 queue.WriteBuffer(destination, 0, sentinelValues.data(), kBufferSize); in TEST_P()
DComputeCopyStorageBufferTests.cpp51 queue.WriteBuffer(src, 0, expected.data(), sizeof(expected)); in BasicTest()
62 queue.WriteBuffer(dst, 0, zero.data(), sizeof(zero)); in BasicTest()
DBufferTests.cpp68 queue.WriteBuffer(buffer, 0, &myData, kSize); in TEST_P()
90 queue.WriteBuffer(buffer, 0, &myData, sizeof(myData)); in TEST_P()
102 queue.WriteBuffer(buffer, 0, &myData, sizeof(myData)); in TEST_P()
109 queue.WriteBuffer(buffer, 0, &myData, sizeof(myData)); in TEST_P()
121 queue.WriteBuffer(buffer, 0, &myData, 12); in TEST_P()
141 queue.WriteBuffer(buffer, 0, myData.data(), kByteSize); in TEST_P()
173 queue.WriteBuffer(buffer, 0, &myData, kSize); in TEST_P()
409 queue.WriteBuffer(buffer, 0, data, sizeof(data)); in TEST_P()
DMaxLimitTests.cpp207 queue.WriteBuffer(buffer, 0, &value0, sizeof(value0)); in TEST_P()
211 queue.WriteBuffer(buffer, value1Offset, &value1, sizeof(value1)); in TEST_P()
DComputeSharedMemoryTests.cpp45 queue.WriteBuffer(dst, 0, &zero, sizeof(zero)); in BasicTest()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp151 uint8_t *WriteBuffer = static_cast<uint8_t *>(Allocator.Allocate(Size, 8)); in readBytes() local
152 if (auto EC = readBytes(Offset, MutableArrayRef<uint8_t>(WriteBuffer, Size))) in readBytes()
156 CacheIter->second.emplace_back(WriteBuffer, Size); in readBytes()
159 List.emplace_back(WriteBuffer, Size); in readBytes()
162 Buffer = ArrayRef<uint8_t>(WriteBuffer, Size); in readBytes()
250 uint8_t *WriteBuffer = Buffer.data(); in readBytes() local
261 ::memcpy(WriteBuffer + BytesWritten, ChunkStart, BytesInChunk); in readBytes()
/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.cc313 WriteBuffer(); in ~CopyingOutputStreamAdaptor()
319 bool CopyingOutputStreamAdaptor::Flush() { return WriteBuffer(); } in Flush()
323 if (!WriteBuffer()) return false; in Next()
349 bool CopyingOutputStreamAdaptor::WriteBuffer() { in WriteBuffer() function in google::protobuf::io::CopyingOutputStreamAdaptor
Dzero_copy_stream_impl_lite.h313 bool WriteBuffer();
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/
DQueue.h37 void WriteBuffer(WGPUBuffer cBuffer, uint64_t bufferOffset, const void* data, size_t size);
DQueue.cpp54 void Queue::WriteBuffer(WGPUBuffer cBuffer, in WriteBuffer() function in dawn_wire::client::Queue
/third_party/zlib/contrib/delphi/
DZLib.pas427 FStrm.WriteBuffer(FBuffer, sizeof(FBuffer));
432 FStrm.WriteBuffer(FBuffer, sizeof(FBuffer) - FZRec.avail_out);
454 FStrm.WriteBuffer(FBuffer, sizeof(FBuffer));
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCommands.cpp199 case Command::WriteBuffer: { in FreeCommands()
354 case Command::WriteBuffer: in SkipCommand()
DQueue.h61 MaybeError WriteBuffer(BufferBase* buffer,
/third_party/skia/src/gpu/dawn/
DGrDawnProgramDataManager.cpp48 gpu->queue().WriteBuffer(slice.fBuffer, slice.fOffset, fUniformData.get(), fUniformSize); in uploadUniformBuffers()
/third_party/openmax/api/1.1.2/
DOMX_ContentPipe.h187 CPresult (*WriteBuffer)( CPhandle hContent, CPbyte *pBuffer, CPuint nFilledSize); member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/cert_mgr_deps/src/
Dcm_request.cpp129 data.WriteBuffer(inBlob->data, static_cast<size_t>(inBlob->size)); in SendRequest()
/third_party/skia/third_party/externals/dawn/examples/
DAnimometer.cpp158 queue.WriteBuffer(ubo, 0, shaderData.data(), kNumTriangles * sizeof(ShaderData)); in frame()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUQueue.cpp94 queue_.WriteBuffer(buf, bufferOffset, src.data, src.size); in writeBuffer()

12