Home
last modified time | relevance | path

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

12

/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmFromHlslTests.cpp120 int* bufferPtr = static_cast<int*>(inAllocation->getHostPtr()); in iterate() local
121 memset(bufferPtr, 0, inBufferSizeBytes); in iterate()
122 bufferPtr[5] = testValue; in iterate()
206 const int* bufferPtr = static_cast<int*>(outAllocation->getHostPtr()); in iterate() local
207 if (*bufferPtr != testValue) in iterate()
DvktSpvAsmTrinaryMinMaxTests.cpp154 void genInputBuffer (void* bufferPtr, deUint32 numOperations);
329 void OperationManager::genInputBuffer (void* bufferPtr, deUint32 numOperations) in genInputBuffer() argument
332 char* byteBuffer = reinterpret_cast<char*>(bufferPtr); in genInputBuffer()
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessVertexAccessTests.cpp733 deUint32 *bufferPtr = reinterpret_cast<deUint32*>(m_vertexNumBufferAlloc->getHostPtr()); in iterate() local
734 deMemset(bufferPtr, 0, (size_t)m_vertexNumBufferSize); in iterate()
736 initVertexIds(bufferPtr, (size_t)(m_vertexNumBufferSize / sizeof(deUint32))); in iterate()
967 const deUint64* bufferPtr = reinterpret_cast<const deUint64*>(vertexBuffer); in isExpectedValueFromVertexBuffer() local
968 return bufferPtr[vertexIndex] == *reinterpret_cast<const deUint64 *>(value); in isExpectedValueFromVertexBuffer()
972 const deUint32* bufferPtr = reinterpret_cast<const deUint32*>(vertexBuffer); in isExpectedValueFromVertexBuffer() local
973 return bufferPtr[vertexIndex] == *reinterpret_cast<const deUint32 *>(value); in isExpectedValueFromVertexBuffer()
980 const deInt64* bufferPtr = reinterpret_cast<const deInt64*>(vertexBuffer); in isExpectedValueFromVertexBuffer() local
981 return bufferPtr[vertexIndex] == *reinterpret_cast<const deInt64 *>(value); in isExpectedValueFromVertexBuffer()
985 const deInt32* bufferPtr = reinterpret_cast<const deInt32*>(vertexBuffer); in isExpectedValueFromVertexBuffer() local
[all …]
DvktRobustnessExtsTests.cpp1700 deUint8 *bufferPtr = DE_NULL; in iterate() local
1731 bufferPtr = (deUint8 *)buffer->getAllocation().getHostPtr(); in iterate()
1733 deMemset(bufferPtr, 0x3f, (size_t)size); in iterate()
1735 deMemset(bufferPtr, 0, m_data.bufferLen); in iterate()
1739 …deMemset(bufferPtr, 0, deIntRoundToPow2(m_data.bufferLen, (int)robustness2Properties.robustUniform… in iterate()
1744 …deMemset(bufferPtr, 0, deIntRoundToPow2(m_data.bufferLen, (int)robustness2Properties.robustStorage… in iterate()
1917 deUint32 *ptr = (deUint32 *)bufferPtr; in iterate()
1978 deUint32 *ptr = (deUint32 *)bufferPtr; in iterate()
1985 deUint32 *ptr = (deUint32 *)bufferPtr; in iterate()
/external/webrtc/modules/audio_coding/codecs/isac/main/util/
Dutility.h60 #define WRITE_FILE_D(bufferPtr, len, filePtr) \ argument
66 dummy[cntr] = (double)bufferPtr[cntr]; \
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp266 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate() local
273 const deUint32 res = bufferPtr[globalOffset + localOffset]; in iterate()
437 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate() local
444 const deUint32 res = bufferPtr[globalOffset + localOffset]; in iterate()
610 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate() local
617 const deUint32 res = bufferPtr[globalOffset + localOffset]; in iterate()
734 deUint32* bufferPtr = static_cast<deUint32*>(stagingBufferAllocation.getHostPtr()); in iterate() local
736 *bufferPtr++ = rnd.getUint32(); in iterate()
810 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr()); in iterate() local
815 const deUint32 res = *(bufferPtr + ndx); in iterate()
[all …]
/external/iperf3/src/
Diperf_auth.c112 BUF_MEM *bufferPtr; in Base64Encode() local
121 BIO_get_mem_ptr(bio, &bufferPtr); in Base64Encode()
122 *b64text = strndup( (*bufferPtr).data, (*bufferPtr).length ); in Base64Encode()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageSubresourceLayoutTests.cpp396 auto* bufferPtr = reinterpret_cast<unsigned char*>(bufferAlloc.getHostPtr()); in iterateAspect() local
406 fillWithRandomFloatingPoint<float>(rnd, bufferPtr, bufferSize); in iterateAspect()
408 fillWithRandomFloatingPoint<double>(rnd, bufferPtr, bufferSize); in iterateAspect()
410 fillWithRandomFloatingPoint<tcu::Float16>(rnd, bufferPtr, bufferSize); in iterateAspect()
412 fillWithRandomData24In32(rnd, bufferPtr, bufferSize); in iterateAspect()
414 fillWithRandomData(rnd, bufferPtr, bufferSize); in iterateAspect()
590 const auto layerBufferPtr = bufferPtr + layerBufferOffset; in iterateAspect()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawConcurrentTests.cpp180 deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate() local
186 *bufferPtr++ = val; in iterate()
319 const deUint32* bufferPtr = static_cast<deUint32*>(bufferAllocation.getHostPtr()); in iterate() local
323 const deUint32 res = bufferPtr[ndx]; in iterate()
/external/deqp/external/vulkancts/modules/vulkan/postmortem/
DvktPostmortemShaderTimeoutTests.cpp245 const deUint32* bufferPtr = static_cast<deUint32*>(storageAllocation.getHostPtr()); in iterate() local
248 const deUint32 res = bufferPtr[i]; in iterate()
DvktPostmortemUseAfterFreeTests.cpp335 tcu::UVec4* bufferPtr = static_cast<tcu::UVec4*>(inputBufferAllocation.getHostPtr()); in iterate() local
337 bufferPtr[i].x() = rnd.getUint32(); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingBuiltinTests.cpp2192 const deInt32* bufferPtr = (deInt32*)buffer->getAllocation().getHostPtr(); in validateIntBuffer() local
2202 if (bufferPtr[pos] != expectedValues[pos]) in validateIntBuffer()
2213 const deInt32* loggedData = (n == 0) ? bufferPtr : expectedValues.data(); in validateIntBuffer()
2223 if (bufferPtr[pos] == expectedValues[pos]) in validateIntBuffer()
2245 const deInt32* bufferPtr = (deInt32*)buffer->getAllocation().getHostPtr(); in validateFloatBuffer() local
2255 const float retrievedValue = float(bufferPtr[pos]) / float(FIXED_POINT_DIVISOR); in validateFloatBuffer()
2278 const float retrievedValue = float(bufferPtr[pos]) / float(FIXED_POINT_DIVISOR); in validateFloatBuffer()
2303 const deInt32* bufferPtr = (deInt32*)buffer->getAllocation().getHostPtr(); in validateVectorBuffer() local
2316 const float retrievedValue = float(bufferPtr[pos]) / float(FIXED_POINT_DIVISOR); in validateVectorBuffer()
2341 const float retrievedValue = float(bufferPtr[pos]) / float(FIXED_POINT_DIVISOR); in validateVectorBuffer()
[all …]
DvktRayTracingDataSpillTests.cpp1435 deMemcpy(bufferPtr, &inputBufferValue, sizeof(inputBufferValue)); \
1444 deMemcpy(bufferPtr, &inputBufferValue, sizeof(inputBufferValue)); \
1453 deMemcpy(bufferPtr, &inputBufferValue, sizeof(inputBufferValue)); \
1463 deMemcpy(bufferPtr, &inputBufferValue, sizeof(inputBufferValue)); \
1474 deMemcpy(bufferPtr, inputBufferValue.data(), de::dataSize(inputBufferValue)); \
1477 void fillInputBuffer (DataType dataType, VectorType vectorType, void* bufferPtr) in fillInputBuffer() argument
1495 deMemcpy(bufferPtr, &data, sizeof(data)); in fillInputBuffer()
1955 const auto& bufferPtr = ptr.second; in iterate() local
1958 deMemcpy(&outputVal, bufferPtr, sizeof(outputVal)); in iterate()
DvktRayTracingNullASTests.cpp518 const deUint32* bufferPtr = (deUint32*)buffer->getAllocation().getHostPtr(); in validateBuffer() local
526 if (bufferPtr[pos] != expectedValue) in validateBuffer()
DvktRayTracingProceduralGeometryTests.cpp233 void* bufferPtr = bufferAlloc.getHostPtr(); in clearBuffer() local
235 deMemset(bufferPtr, 1, static_cast<size_t>(bufferSize)); in clearBuffer()
DvktRayTracingBuildTests.cpp519 const deUint32* bufferPtr = (deUint32*)buffer->getAllocation().getHostPtr(); in validateBuffer() local
532 if (bufferPtr[pos] != expectedValue) in validateBuffer()
540 if (bufferPtr[pos] != anyHitValue) in validateBuffer()
DvktRayTracingTraceRaysTests.cpp572 const deUint32* bufferPtr = (deUint32*)buffer->getAllocation().getHostPtr(); in iterate() local
584 if (bufferPtr[pos] != expectedResult) in iterate()
DvktRayTracingBuildLargeTests.cpp485 const deUint32* bufferPtr = (deUint32*)buffer->getAllocation().getHostPtr(); in validateBuffer() local
494 if (bufferPtr[pos] != expectedValue) in validateBuffer()
DvktRayTracingBuildIndirectTests.cpp648 const deUint32* bufferPtr = (deUint32*)buffer->getAllocation().getHostPtr(); in iterate() local
653 const deUint32* bufferPtrLevel = &bufferPtr[z * m_data.height * m_data.width]; in iterate()
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDispatchTests.cpp348 const deUint32* bufferPtr = static_cast<deUint32*>(outputBufferAllocation.getHostPtr()); in iterate() local
351 if (bufferPtr[0] != expectedResult) in iterate()
/external/deqp/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryProceduralGeometryTests.cpp229 void* bufferPtr = bufferAlloc.getHostPtr(); in clearBuffer() local
231 deMemset(bufferPtr, 1, static_cast<size_t>(bufferSize)); in clearBuffer()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiDescriptorSetTests.cpp380 deUint32 *bufferPtr = (deUint32 *)buffer->getAllocation().getHostPtr(); in descriptorSetLayoutBindingOrderingTest() local
381 *bufferPtr = 5; in descriptorSetLayoutBindingOrderingTest()
DvktApiPipelineTests.cpp1267 void* bufferPtr = bufferAlloc.getHostPtr(); in DestroyAfterEndTest() local
1270 deMemcpy(bufferPtr, bufferValues.data(), kBufferSize); in DestroyAfterEndTest()
1374 deMemcpy(outputData.data(), bufferPtr, kBufferSize); in DestroyAfterEndTest()
/external/deqp/external/openglcts/modules/common/subgroups/
DglcSubgroupsTestsUtils.cpp1148 glw::GLvoid * bufferPtr = vertexBuffer.mapBufferPtr(); in makeTessellationEvaluationFrameBufferTest() local
1160 deMemcpy(bufferPtr, &data[0], data.size() * sizeof(tcu::Vec4)); in makeTessellationEvaluationFrameBufferTest()
1332 glw::GLvoid * bufferPtr = vertexBuffer.mapBufferPtr(); in makeGeometryFrameBufferTest() local
1343 deMemcpy(bufferPtr, &data[0], maxWidth * sizeof(tcu::Vec4)); in makeGeometryFrameBufferTest()
1786 glw::GLvoid * bufferPtr = vertexBuffer.mapBufferPtr(); in makeVertexFrameBufferTest() local
1797 deMemcpy(bufferPtr, &data[0], maxWidth * sizeof(tcu::Vec4)); in makeVertexFrameBufferTest()
/external/zstd/programs/
Dfileio.c697 static size_t FIO_createDictBuffer(void** bufferPtr, const char* fileName, FIO_prefs_t* const prefs) in FIO_createDictBuffer() argument
702 assert(bufferPtr != NULL); in FIO_createDictBuffer()
703 *bufferPtr = NULL; in FIO_createDictBuffer()
718 *bufferPtr = malloc((size_t)fileSize); in FIO_createDictBuffer()
719 if (*bufferPtr==NULL) EXM_THROW(34, "%s", strerror(errno)); in FIO_createDictBuffer()
720 { size_t const readSize = fread(*bufferPtr, 1, (size_t)fileSize, fileHandle); in FIO_createDictBuffer()

12