/third_party/flutter/skia/third_party/externals/dawn/src/dawn_wire/client/ |
D | ClientDoers.cpp | 58 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()
|
D | ApiProcs.cpp | 59 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()
|
D | Buffer.h | 42 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/ |
D | system_utils_win.cpp | 29 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/ |
D | test_utils_win.cpp | 35 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/ |
D | ServerBuffer.cpp | 27 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()
|
D | ServerMemoryTransferService_mock.h | 58 ReadHandle** readHandle) override; 70 ReadHandle** readHandle)); 78 size_t(const ReadHandle* readHandle, 82 MOCK_METHOD1(OnReadHandleDestroy, void(const ReadHandle* readHandle));
|
D | ServerInlineMemoryTransferService.cpp | 62 ReadHandle** readHandle) override { in DeserializeReadHandle() argument 63 ASSERT(readHandle != nullptr); in DeserializeReadHandle() 64 *readHandle = new ReadHandleImpl(); in DeserializeReadHandle()
|
D | ServerMemoryTransferService_mock.cpp | 60 ReadHandle** readHandle) { in DeserializeReadHandle() argument 63 deserializeSize, readHandle); in DeserializeReadHandle()
|
D | Server.h | 31 std::unique_ptr<MemoryTransferService::ReadHandle> readHandle = nullptr; member
|
D | ObjectStorage.h | 46 std::unique_ptr<MemoryTransferService::ReadHandle> readHandle;
|
/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/ |
D | ServerMemoryTransferService_mock.h | 63 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));
|
D | ServerBuffer.cpp | 46 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()
|
D | ServerInlineMemoryTransferService.cpp | 75 ReadHandle** readHandle) override { in DeserializeReadHandle() argument 76 ASSERT(readHandle != nullptr); in DeserializeReadHandle() 77 *readHandle = new ReadHandleImpl(); in DeserializeReadHandle()
|
D | ServerMemoryTransferService_mock.cpp | 69 ReadHandle** readHandle) { in DeserializeReadHandle() argument 72 deserializeSize, readHandle); in DeserializeReadHandle()
|
D | ObjectStorage.h | 62 std::unique_ptr<MemoryTransferService::ReadHandle> readHandle;
|
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/ |
D | Buffer.cpp | 36 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/ |
D | test-fs-promises-file-handle-read.js | 58 const readHandle = await read(fileHandle, Buffer.alloc(1), 0, 1, pos); 60 assert.strictEqual(readHandle.bytesRead, 0);
|
/third_party/vk-gl-cts/execserver/ |
D | xsWin32TestProcess.cpp | 451 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/ |
D | WireServer.h | 61 ReadHandle** readHandle) = 0;
|
/third_party/skia/third_party/externals/dawn/src/include/dawn_wire/ |
D | WireServer.h | 84 ReadHandle** readHandle) = 0;
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/wire/ |
D | WireMemoryTransferServiceTests.cpp | 248 .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/ |
D | WireMemoryTransferServiceTests.cpp | 171 .WillOnce(WithArg<2>([=](server::MemoryTransferService::ReadHandle** readHandle) { in ExpectServerReadHandleDeserialize() argument 172 *readHandle = handle; in ExpectServerReadHandleDeserialize()
|