Home
last modified time | relevance | path

Searched refs:resultData (Results 1 – 25 of 37) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/
DServerBuffer.cpp115 auto* resultData = BufferObjects().Allocate(bufferResult.id); in DoDeviceCreateBuffer() local
116 if (resultData == nullptr) { in DoDeviceCreateBuffer()
119 resultData->generation = bufferResult.generation; in DoDeviceCreateBuffer()
120 resultData->handle = mProcs.deviceCreateBuffer(device->handle, descriptor); in DoDeviceCreateBuffer()
121 resultData->deviceInfo = device->info.get(); in DoDeviceCreateBuffer()
122 resultData->usage = descriptor->usage; in DoDeviceCreateBuffer()
123 resultData->mappedAtCreation = descriptor->mappedAtCreation; in DoDeviceCreateBuffer()
124 if (!TrackDeviceChild(resultData->deviceInfo, ObjectType::Buffer, bufferResult.id)) { in DoDeviceCreateBuffer()
151 resultData->writeHandle.reset(writeHandle); in DoDeviceCreateBuffer()
156 mProcs.bufferGetMappedRange(resultData->handle, 0, descriptor->size); in DoDeviceCreateBuffer()
[all …]
DServerDevice.cpp126 auto* resultData = in DoDeviceCreateComputePipelineAsync() local
128 if (resultData == nullptr) { in DoDeviceCreateComputePipelineAsync()
132 resultData->generation = pipelineObjectHandle.generation; in DoDeviceCreateComputePipelineAsync()
133 resultData->deviceInfo = device->info.get(); in DoDeviceCreateComputePipelineAsync()
173 auto* resultData = in DoDeviceCreateRenderPipelineAsync() local
175 if (resultData == nullptr) { in DoDeviceCreateRenderPipelineAsync()
179 resultData->generation = pipelineObjectHandle.generation; in DoDeviceCreateRenderPipelineAsync()
180 resultData->deviceInfo = device->info.get(); in DoDeviceCreateRenderPipelineAsync()
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsBasicTests.cpp50 const float* const resultData = reinterpret_cast<const float*>(datas[0]); in checkFragmentSubgroupBarriersNoSSBO() local
57 if (1.0f == resultData[ndx +2]) in checkFragmentSubgroupBarriersNoSSBO()
59 if(resultData[ndx] != resultData[ndx +1]) in checkFragmentSubgroupBarriersNoSSBO()
64 else if (resultData[ndx] != resultData[ndx +3]) in checkFragmentSubgroupBarriersNoSSBO()
77 const float* const resultData = reinterpret_cast<const float*>(datas[0]); in checkVertexPipelineStagesSubgroupElectNoSSBO() local
83 deUint32 val = static_cast<deUint32>(resultData[x * 2]); in checkVertexPipelineStagesSubgroupElectNoSSBO()
84 numSubgroupsUsed += resultData[x * 2 + 1]; in checkVertexPipelineStagesSubgroupElectNoSSBO()
104 const deUint32* const resultData = in checkVertexPipelineStagesSubgroupElect() local
110 deUint32 val = resultData[x]; in checkVertexPipelineStagesSubgroupElect()
135 const deUint32* const resultData = reinterpret_cast<const deUint32*>(datas[0]); in checkVertexPipelineStagesSubgroupBarriers() local
[all …]
DglcSubgroupsTestsUtils.cpp1636 glw::GLvoid * resultData = inputBuffers[ndx]->getAsBuffer()->mapBufferPtr(); in allStages() local
1639 datas.push_back(resultData); in allStages()
1647 glw::GLvoid * resultData = inputBuffers[index]->getAsBuffer()->mapBufferPtr(); in allStages() local
1649 datas.push_back(resultData); in allStages()
1676 glw::GLvoid * resultData = inputBuffers[index]->getAsBuffer()->mapBufferPtr(); in allStages() local
1679 datas.push_back(resultData); in allStages()
2158 glw::GLvoid * resultData = resultBuffer.mapBufferPtr(); in makeComputeTest() local
2161 datas.push_back(resultData); in makeComputeTest()
2168 glw::GLvoid *resultData = inputBuffers[i]->getAsBuffer()->mapBufferPtr(); in makeComputeTest() local
2171 datas.push_back(resultData); in makeComputeTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsBasicTests.cpp69 const float* const resultData = reinterpret_cast<const float*>(datas[0]); in _checkFragmentSubgroupBarriersNoSSBO() local
77 if (!withImage && 0.0f == resultData[ndx]) in _checkFragmentSubgroupBarriersNoSSBO()
81 else if (1.0f == resultData[ndx +2]) in _checkFragmentSubgroupBarriersNoSSBO()
83 if(resultData[ndx] != resultData[ndx +1]) in _checkFragmentSubgroupBarriersNoSSBO()
88 else if (resultData[ndx] != resultData[ndx +3]) in _checkFragmentSubgroupBarriersNoSSBO()
127 const float* const resultData = reinterpret_cast<const float*>(datas[0]); in checkVertexPipelineStagesSubgroupElectNoSSBO() local
133 deUint32 val = static_cast<deUint32>(resultData[x * 2]); in checkVertexPipelineStagesSubgroupElectNoSSBO()
134 numSubgroupsUsed += resultData[x * 2 + 1]; in checkVertexPipelineStagesSubgroupElectNoSSBO()
160 const deUint32* const resultData = reinterpret_cast<const deUint32*>(datas[0]); in checkVertexPipelineStagesSubgroupElect() local
165 deUint32 val = resultData[x]; in checkVertexPipelineStagesSubgroupElect()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/
DvktSubgroupsBasicTests.cpp69 const float* const resultData = reinterpret_cast<const float*>(datas[0]); in _checkFragmentSubgroupBarriersNoSSBO() local
77 if (!withImage && 0.0f == resultData[ndx]) in _checkFragmentSubgroupBarriersNoSSBO()
81 else if (1.0f == resultData[ndx +2]) in _checkFragmentSubgroupBarriersNoSSBO()
83 if(resultData[ndx] != resultData[ndx +1]) in _checkFragmentSubgroupBarriersNoSSBO()
88 else if (resultData[ndx] != resultData[ndx +3]) in _checkFragmentSubgroupBarriersNoSSBO()
127 const float* const resultData = reinterpret_cast<const float*>(datas[0]); in checkVertexPipelineStagesSubgroupElectNoSSBO() local
133 deUint32 val = static_cast<deUint32>(resultData[x * 2]); in checkVertexPipelineStagesSubgroupElectNoSSBO()
134 numSubgroupsUsed += resultData[x * 2 + 1]; in checkVertexPipelineStagesSubgroupElectNoSSBO()
160 const deUint32* const resultData = reinterpret_cast<const deUint32*>(datas[0]); in checkVertexPipelineStagesSubgroupElect() local
165 deUint32 val = resultData[x]; in checkVertexPipelineStagesSubgroupElect()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_wire/server/
DServerBuffer.cpp106 auto* resultData = BufferObjects().Allocate(bufferResult.id); in DoDeviceCreateBufferMapped() local
107 if (resultData == nullptr) { in DoDeviceCreateBufferMapped()
110 resultData->serial = bufferResult.serial; in DoDeviceCreateBufferMapped()
119 resultData->mapWriteState = BufferMapWriteState::MapError; in DoDeviceCreateBufferMapped()
134 resultData->mapWriteState = BufferMapWriteState::Mapped; in DoDeviceCreateBufferMapped()
135 resultData->writeHandle = in DoDeviceCreateBufferMapped()
138 resultData->handle = result.buffer; in DoDeviceCreateBufferMapped()
/third_party/flutter/flutter/packages/flutter/lib/src/foundation/
D_isolates_io.dart48 resultPort.listen((dynamic resultData) {
49 assert(resultData == null || resultData is R);
51 result.complete(resultData);
/third_party/skia/src/pdf/
DSkPDFType1Font.cpp164 uint8_t* const resultData = resultHeader + *headerLen; in convert_type1_font_stream() local
165 uint8_t* const resultTrailer = resultData + *dataLen; in convert_type1_font_stream()
170 memcpy(resultData, srcData, *dataLen); in convert_type1_font_stream()
188 uint8_t* const resultData = &(buffer[*headerLen]); in convert_type1_font_stream() local
206 resultData[outputOffset++] = dataByte; in convert_type1_font_stream()
210 resultData[outputOffset++] = dataByte; in convert_type1_font_stream()
/third_party/flutter/skia/src/pdf/
DSkPDFType1Font.cpp164 uint8_t* const resultData = resultHeader + *headerLen; in convert_type1_font_stream() local
165 uint8_t* const resultTrailer = resultData + *dataLen; in convert_type1_font_stream()
170 memcpy(resultData, srcData, *dataLen); in convert_type1_font_stream()
188 uint8_t* const resultData = &(buffer[*headerLen]); in convert_type1_font_stream() local
206 resultData[outputOffset++] = dataByte; in convert_type1_font_stream()
210 resultData[outputOffset++] = dataByte; in convert_type1_font_stream()
/third_party/vk-gl-cts/modules/glshared/
DglsVertexArrayTests.cpp1421 char* const resultData = _data + offset; in createQuadsPacked() local
1453 alignmentSafeAssignment<deUint32>(&(resultData[quadNdx * quadStride + stride * 0]), val1); in createQuadsPacked()
1454 alignmentSafeAssignment<deUint32>(&(resultData[quadNdx * quadStride + stride * 1]), val2); in createQuadsPacked()
1455 alignmentSafeAssignment<deUint32>(&(resultData[quadNdx * quadStride + stride * 2]), val3); in createQuadsPacked()
1456 alignmentSafeAssignment<deUint32>(&(resultData[quadNdx * quadStride + stride * 3]), val4); in createQuadsPacked()
1457 alignmentSafeAssignment<deUint32>(&(resultData[quadNdx * quadStride + stride * 4]), val5); in createQuadsPacked()
1458 alignmentSafeAssignment<deUint32>(&(resultData[quadNdx * quadStride + stride * 5]), val6); in createQuadsPacked()
1500 char* resultData = new char[offset + quadStride * count]; in createQuads() local
1501 char* _data = resultData; in createQuads()
1502 resultData = resultData + offset; in createQuads()
[all …]
/third_party/vk-gl-cts/executor/
DxeTestLogParser.hpp47 virtual void testCaseResultUpdated (const TestCaseResultPtr& resultData) = DE_NULL;
48 virtual void testCaseResultComplete (const TestCaseResultPtr& resultData) = DE_NULL;
DxeBatchExecutor.hpp60 void testCaseResultUpdated (const TestCaseResultPtr& resultData);
61 void testCaseResultComplete (const TestCaseResultPtr& resultData);
/third_party/vk-gl-cts/executor/tools/
DxeBatchResultToXml.cpp163 void testCaseResultComplete (const xe::TestCaseResultPtr& resultData) in testCaseResultComplete() argument
167 xe::parseTestCaseResultFromData(&m_resultParser, &result, *resultData.get()); in testCaseResultComplete()
251 void testCaseResultComplete (const xe::TestCaseResultPtr& resultData) in testCaseResultComplete() argument
255 xe::parseTestCaseResultFromData(&m_resultParser, &result, *resultData.get()); in testCaseResultComplete()
DxeBatchResultToJUnit.cpp104 void testCaseResultComplete (const xe::TestCaseResultPtr& resultData) in testCaseResultComplete() argument
110 xe::parseTestCaseResultFromData(&m_resultParser, &result, *resultData.get()); in testCaseResultComplete()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageTransfer.cpp253 std::vector<deUint8> resultData(pixelDataSize); in iterate() local
255 deMemcpy(resultData.data(), alloc.getHostPtr(), resultData.size()); in iterate()
258 if (resultData[i] != generatedData[i]) { in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageTransfer.cpp253 std::vector<deUint8> resultData(pixelDataSize); in iterate() local
255 deMemcpy(resultData.data(), alloc.getHostPtr(), resultData.size()); in iterate()
258 if (resultData[i] != generatedData[i]) { in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/fragment_shading_rate/
DesextcFragmentShadingRateBasic.cpp283 std::vector<deUint32> resultData(dataSize); in iterate() local
285 …xels(0, 0, m_tcParam.width, m_tcParam.height, GL_RGBA_INTEGER, GL_UNSIGNED_INT, resultData.data()); in iterate()
292 const deUint32* sample = &resultData[(y * m_tcParam.width + x) * 4]; in iterate()
DesextcFragmentShadingRateAttachmentTests.cpp420 std::vector<deUint32> resultData(dataSize); in iterate() local
422 resultData.data()); in iterate()
429 const deUint32* sample = &resultData[((y * m_tcParam.framebufferSize) + x) * 4]; in iterate()
/third_party/protobuf/objectivec/Tests/
DGPBUtilitiesTests.m123 NSData *resultData = [result dataUsingEncoding:NSUTF8StringEncoding];
125 [self getDataFileNamed:fileName dataToWrite:resultData];
163 NSData *resultData = [result dataUsingEncoding:NSUTF8StringEncoding];
165 [self getDataFileNamed:fileName dataToWrite:resultData];
185 NSData *resultData = [result dataUsingEncoding:NSUTF8StringEncoding];
187 [self getDataFileNamed:fileName dataToWrite:resultData];
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcLayoutLocationTests.cpp478 ResultData resultData = (*m_createFn)(gl); in iterate() local
483 …gl.bindImageTexture(definedBinding, resultData.textureId, 0, GL_TRUE, 0, GL_READ_ONLY, m_imageForm… in iterate()
530 if (resultData.bufferId) in iterate()
531 gl.deleteBuffers(1, &resultData.bufferId); in iterate()
534 gl.deleteTextures(1, &resultData.textureId); in iterate()
DglcRobustnessTests.cpp218 bool verifyResult(const void* inputData, const void* resultData, int size, const char* method);
359 bool GetnUniformTest::verifyResult(const void* inputData, const void* resultData, int size, const c… in verifyResult() argument
361 int diff = memcmp(inputData, resultData, size); in verifyResult()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferOperations.cpp539 std::stringstream resultData; in verifyResults() local
542 resultData << "["; in verifyResults()
549 resultData << result[i] << ","; in verifyResults()
553 resultData << "]"; in verifyResults()
558 << "Result Buffer: " << resultData.str() << "\n" in verifyResults()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayImageOperations.cpp147 std::vector<T> resultData(width * height * components); in checkResults() local
211 gl.readPixels(0, 0, width, height, GL_RGBA_INTEGER, GL_UNSIGNED_INT, &resultData[0]); in checkResults()
221 gl.readPixels(0, 0, width, height, format, type, &resultData[0]); in checkResults()
229 if (!areBuffersEqual<T>(&resultData[0], pointer, width * height * components)) in checkResults()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_border_clamp/
DesextcTextureBorderClampSamplingTexture.cpp735 …std::vector<OutputType> resultData(m_test_configuration.get_width() * m_test_configuration.get_hei… in checkResult() local
745 &resultData[0]); /* data */ in checkResult()
751 return checkNearest(resultData, expectedValue, expectedBorderColor, layer); in checkResult()
755 return checkLinear(resultData, layer); in checkResult()

12