Home
last modified time | relevance | path

Searched refs:readHandle (Results 1 – 23 of 23) sorted by relevance

/third_party/flutter/skia/third_party/externals/dawn/src/dawn_wire/client/
DClientDoers.cpp58 if (buffer->readHandle || buffer->writeHandle) { in DoBufferMapReadAsyncCallback()
67 ASSERT(request.readHandle != nullptr); in DoBufferMapReadAsyncCallback()
72 if (!request.readHandle->DeserializeInitialData( in DoBufferMapReadAsyncCallback()
82 buffer->readHandle = std::move(request.readHandle); in DoBufferMapReadAsyncCallback()
125 if (request.readHandle) { in DoBufferMapWriteAsyncCallback()
130 if (buffer->readHandle || buffer->writeHandle) { in DoBufferMapWriteAsyncCallback()
DApiProcs.cpp59 MemoryTransferService::ReadHandle* readHandle = in ClientBufferMapReadAsync() local
61 if (readHandle == nullptr) { in ClientBufferMapReadAsync()
70 request.readHandle = std::unique_ptr<MemoryTransferService::ReadHandle>(readHandle); in ClientBufferMapReadAsync()
76 SerializeBufferMapAsync(buffer, serial, readHandle); in ClientBufferMapReadAsync()
326 ASSERT(buffer->readHandle == nullptr); in ClientBufferUnmap()
346 } else if (buffer->readHandle) { in ClientBufferUnmap()
347 buffer->readHandle = nullptr; in ClientBufferUnmap()
DBuffer.h42 std::unique_ptr<MemoryTransferService::ReadHandle> readHandle = nullptr; member
52 std::unique_ptr<MemoryTransferService::ReadHandle> readHandle = nullptr; member
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dsystem_utils_win.cpp29 if (readHandle) in closeReadHandle()
31 CloseHandle(readHandle); in closeReadHandle()
32 readHandle = nullptr; in closeReadHandle()
43 HANDLE readHandle = nullptr; member
149 if (stdoutOut && !CreatePipe(&stdoutPipe.readHandle, &stdoutPipe.writeHandle, &sa_attr, 0) && in RunApp()
150 !SetHandleInformation(stdoutPipe.readHandle, HANDLE_FLAG_INHERIT, 0)) in RunApp()
154 if (stderrOut && !CreatePipe(&stderrPipe.readHandle, &stderrPipe.writeHandle, &sa_attr, 0) && in RunApp()
155 !SetHandleInformation(stderrPipe.readHandle, HANDLE_FLAG_INHERIT, 0)) in RunApp()
218 ReadEntireFile(stdoutPipe.readHandle, stdoutOut); in RunApp()
222 ReadEntireFile(stderrPipe.readHandle, stderrOut); in RunApp()
/third_party/skia/third_party/externals/angle2/util/windows/
Dtest_utils_win.cpp35 if (readHandle) in closeReadHandle()
37 if (::CloseHandle(readHandle) == FALSE) in closeReadHandle()
42 readHandle = nullptr; in closeReadHandle()
62 bool valid() const { return readHandle != nullptr || writeHandle != nullptr; } in valid()
66 if (::CreatePipe(&readHandle, &writeHandle, securityAttribs, 0) == FALSE) in initPipe()
74 if (::SetHandleInformation(readHandle, HANDLE_FLAG_INHERIT, 0) == FALSE) in initPipe()
84 HANDLE readHandle = nullptr; member
283 ReadFromFile(true, mStdoutPipe.readHandle, &mStdout); in finish()
288 ReadFromFile(true, mStderrPipe.readHandle, &mStderr); in finish()
304 ReadFromFile(false, mStdoutPipe.readHandle, &mStdout); in finished()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_wire/server/
DServerBuffer.cpp27 buffer->readHandle = nullptr; in PreHandleBufferUnmap()
80 MemoryTransferService::ReadHandle* readHandle = nullptr; in DoBufferMapAsync() local
82 handleCreateInfo, static_cast<size_t>(handleCreateInfoLength), &readHandle)) { in DoBufferMapAsync()
85 ASSERT(readHandle != nullptr); in DoBufferMapAsync()
87 userdata->readHandle = std::unique_ptr<MemoryTransferService::ReadHandle>(readHandle); in DoBufferMapAsync()
257 initialDataInfoLength = data->readHandle->SerializeInitialData(ptr, dataLength); in OnBufferMapReadAsyncCallback()
276 data->readHandle->SerializeInitialData(ptr, dataLength, allocatedBuffer + commandSize); in OnBufferMapReadAsyncCallback()
280 bufferData->readHandle = std::move(data->readHandle); in OnBufferMapReadAsyncCallback()
DServerMemoryTransferService_mock.h58 ReadHandle** readHandle) override;
70 ReadHandle** readHandle));
78 size_t(const ReadHandle* readHandle,
82 MOCK_METHOD1(OnReadHandleDestroy, void(const ReadHandle* readHandle));
DServerInlineMemoryTransferService.cpp62 ReadHandle** readHandle) override { in DeserializeReadHandle() argument
63 ASSERT(readHandle != nullptr); in DeserializeReadHandle()
64 *readHandle = new ReadHandleImpl(); in DeserializeReadHandle()
DServerMemoryTransferService_mock.cpp60 ReadHandle** readHandle) { in DeserializeReadHandle() argument
63 deserializeSize, readHandle); in DeserializeReadHandle()
DServer.h31 std::unique_ptr<MemoryTransferService::ReadHandle> readHandle = nullptr; member
DObjectStorage.h46 std::unique_ptr<MemoryTransferService::ReadHandle> readHandle;
/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/
DServerMemoryTransferService_mock.h63 ReadHandle** readHandle) override;
76 ReadHandle** readHandle));
86 (const ReadHandle* readHandle, size_t offset, size_t size));
89 (const ReadHandle* readHandle,
94 MOCK_METHOD(void, OnReadHandleDestroy, (const ReadHandle* readHandle));
DServerBuffer.cpp46 buffer->readHandle = nullptr; in PreHandleBufferDestroy()
172 MemoryTransferService::ReadHandle* readHandle = nullptr; in DoDeviceCreateBuffer() local
176 &readHandle)) { in DoDeviceCreateBuffer()
179 ASSERT(readHandle != nullptr); in DoDeviceCreateBuffer()
181 resultData->readHandle.reset(readHandle); in DoDeviceCreateBuffer()
254 bufferData->readHandle->SizeOfSerializeDataUpdate(data->offset, data->size); in OnBufferMapAsyncCallback()
277 bufferData->readHandle->SerializeDataUpdate(readData, data->offset, data->size, in OnBufferMapAsyncCallback()
DServerInlineMemoryTransferService.cpp75 ReadHandle** readHandle) override { in DeserializeReadHandle() argument
76 ASSERT(readHandle != nullptr); in DeserializeReadHandle()
77 *readHandle = new ReadHandleImpl(); in DeserializeReadHandle()
DServerMemoryTransferService_mock.cpp69 ReadHandle** readHandle) { in DeserializeReadHandle() argument
72 deserializeSize, readHandle); in DeserializeReadHandle()
DObjectStorage.h62 std::unique_ptr<MemoryTransferService::ReadHandle> readHandle;
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/
DBuffer.cpp36 std::unique_ptr<MemoryTransferService::ReadHandle> readHandle = nullptr; in Create() local
50 readHandle.reset( in Create()
52 if (readHandle == nullptr) { in Create()
57 cmd.readHandleCreateInfoLength = readHandle->SerializeCreateSize(); in Create()
106 if (readHandle != nullptr) { in Create()
111 readHandle->SerializeCreate(readHandleBuffer); in Create()
112 buffer->mReadHandle = std::move(readHandle); in Create()
/third_party/node/test/parallel/
Dtest-fs-promises-file-handle-read.js58 const readHandle = await read(fileHandle, Buffer.alloc(1), 0, 1, pos);
60 assert.strictEqual(readHandle.bytesRead, 0);
/third_party/vk-gl-cts/execserver/
DxsWin32TestProcess.cpp451 HANDLE readHandle; in createPipeWithOverlappedIO() local
461 readHandle = CreateNamedPipe(pipeName, /* Pipe name. */ in createPipeWithOverlappedIO()
470 if (readHandle == INVALID_HANDLE_VALUE) in createPipeWithOverlappedIO()
484 CloseHandle(readHandle); in createPipeWithOverlappedIO()
488 *readHandleOut = readHandle; in createPipeWithOverlappedIO()
/third_party/flutter/skia/third_party/externals/dawn/src/include/dawn_wire/
DWireServer.h61 ReadHandle** readHandle) = 0;
/third_party/skia/third_party/externals/dawn/src/include/dawn_wire/
DWireServer.h84 ReadHandle** readHandle) = 0;
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireMemoryTransferServiceTests.cpp248 .WillOnce(WithArg<2>([=](server::MemoryTransferService::ReadHandle** readHandle) { in ExpectServerReadHandleDeserialize() argument
249 *readHandle = handle; in ExpectServerReadHandleDeserialize()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireMemoryTransferServiceTests.cpp171 .WillOnce(WithArg<2>([=](server::MemoryTransferService::ReadHandle** readHandle) { in ExpectServerReadHandleDeserialize() argument
172 *readHandle = handle; in ExpectServerReadHandleDeserialize()