Home
last modified time | relevance | path

Searched refs:valuePtr (Results 1 – 25 of 35) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DStorageTextureTests.cpp45 uint32_t* valuePtr = static_cast<uint32_t*>(pixelValuePtr); in FillExpectedData() local
46 *valuePtr = pixelValue; in FillExpectedData()
51 uint32_t* valuePtr = static_cast<uint32_t*>(pixelValuePtr); in FillExpectedData() local
52 valuePtr[0] = pixelValue; in FillExpectedData()
53 valuePtr[1] = pixelValue * 2; in FillExpectedData()
58 uint32_t* valuePtr = static_cast<uint32_t*>(pixelValuePtr); in FillExpectedData() local
59 valuePtr[0] = pixelValue; in FillExpectedData()
60 valuePtr[1] = pixelValue * 2; in FillExpectedData()
61 valuePtr[2] = pixelValue * 3; in FillExpectedData()
62 valuePtr[3] = pixelValue * 4; in FillExpectedData()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
DvktRobustnessUtil.cpp167 bool isValueZero (const void* valuePtr, size_t valueSizeInBytes) in isValueZero() argument
169 const deUint8* bytePtr = reinterpret_cast<const deUint8*>(valuePtr); in isValueZero()
180 bool isValueWithinBuffer (const void* buffer, VkDeviceSize bufferSize, const void* valuePtr, size_t… in isValueWithinBuffer() argument
189 if (!deMemCmp(&byteBuffer[i], valuePtr, valueSizeInBytes)) in isValueWithinBuffer()
196 bool isValueWithinBufferOrZero (const void* buffer, VkDeviceSize bufferSize, const void* valuePtr, … in isValueWithinBufferOrZero() argument
198 …return isValueWithinBuffer(buffer, bufferSize, valuePtr, valueSizeInBytes) || isValueZero(valuePtr in isValueWithinBufferOrZero()
281 void logValue (std::ostringstream& logMsg, const void* valuePtr, VkFormat valueFormat, size_t value… in logValue() argument
285 logMsg << *reinterpret_cast<const deUint32*>(valuePtr); in logValue()
289 logMsg << *reinterpret_cast<const deInt32*>(valuePtr); in logValue()
293 logMsg << *reinterpret_cast<const float*>(valuePtr); in logValue()
[all …]
DvktRobustnessUtil.hpp42 bool isValueZero (const void* valuePtr, size_t valueSize);
43 …uffer (const void* buffer, vk::VkDeviceSize bufferSize, const void* valuePtr, size_t valueSize…
44 …rOrZero (const void* buffer, vk::VkDeviceSize bufferSize, const void* valuePtr, size_t valueSize…
47 void logValue (std::ostringstream& logMsg, const void* valuePtr, vk::VkFormat valueFormat…
DvktRobustnessBufferAccessTests.cpp192 …bool isExpectedValueFromInBuffer (VkDeviceSize offsetInBytes, const void* valuePtr, VkDevic…
1208 …e::isExpectedValueFromInBuffer (VkDeviceSize offsetInBytes, const void* valuePtr, VkDeviceSize val… in isExpectedValueFromInBuffer() argument
1217 return !deMemCmp(valuePtr, &valueIndex, (size_t)valueSize); in isExpectedValueFromInBuffer()
1222 return !deMemCmp(valuePtr, &value, (size_t)valueSize); in isExpectedValueFromInBuffer()
1227 return !deMemCmp(valuePtr, &value, (size_t)valueSize); in isExpectedValueFromInBuffer()
1237 return !deMemCmp(valuePtr, &abgr, (size_t)valueSize); in isExpectedValueFromInBuffer()
DvktRobustBufferAccessWithVariablePointersTests.cpp329 const void* valuePtr,
1566 const void* valuePtr, in isExpectedValueFromInBuffer() argument
1578 return !deMemCmp(valuePtr, &expectedValues, (size_t)valueSize); in isExpectedValueFromInBuffer()
1584 return !deMemCmp(valuePtr, &expectedValues, (size_t)valueSize); in isExpectedValueFromInBuffer()
1590 return !deMemCmp(valuePtr, &value, (size_t)valueSize); in isExpectedValueFromInBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessUtil.cpp167 bool isValueZero (const void* valuePtr, size_t valueSizeInBytes) in isValueZero() argument
169 const deUint8* bytePtr = reinterpret_cast<const deUint8*>(valuePtr); in isValueZero()
180 bool isValueWithinBuffer (const void* buffer, VkDeviceSize bufferSize, const void* valuePtr, size_t… in isValueWithinBuffer() argument
189 if (!deMemCmp(&byteBuffer[i], valuePtr, valueSizeInBytes)) in isValueWithinBuffer()
196 bool isValueWithinBufferOrZero (const void* buffer, VkDeviceSize bufferSize, const void* valuePtr, … in isValueWithinBufferOrZero() argument
198 …return isValueWithinBuffer(buffer, bufferSize, valuePtr, valueSizeInBytes) || isValueZero(valuePtr in isValueWithinBufferOrZero()
281 void logValue (std::ostringstream& logMsg, const void* valuePtr, VkFormat valueFormat, size_t value… in logValue() argument
285 logMsg << *reinterpret_cast<const deUint32*>(valuePtr); in logValue()
289 logMsg << *reinterpret_cast<const deInt32*>(valuePtr); in logValue()
293 logMsg << *reinterpret_cast<const float*>(valuePtr); in logValue()
[all …]
DvktRobustnessUtil.hpp42 bool isValueZero (const void* valuePtr, size_t valueSize);
43 …uffer (const void* buffer, vk::VkDeviceSize bufferSize, const void* valuePtr, size_t valueSize…
44 …rOrZero (const void* buffer, vk::VkDeviceSize bufferSize, const void* valuePtr, size_t valueSize…
47 void logValue (std::ostringstream& logMsg, const void* valuePtr, vk::VkFormat valueFormat…
DvktRobustnessBufferAccessTests.cpp192 …bool isExpectedValueFromInBuffer (VkDeviceSize offsetInBytes, const void* valuePtr, VkDevic…
1208 …e::isExpectedValueFromInBuffer (VkDeviceSize offsetInBytes, const void* valuePtr, VkDeviceSize val… in isExpectedValueFromInBuffer() argument
1217 return !deMemCmp(valuePtr, &valueIndex, (size_t)valueSize); in isExpectedValueFromInBuffer()
1222 return !deMemCmp(valuePtr, &value, (size_t)valueSize); in isExpectedValueFromInBuffer()
1227 return !deMemCmp(valuePtr, &value, (size_t)valueSize); in isExpectedValueFromInBuffer()
1237 return !deMemCmp(valuePtr, &abgr, (size_t)valueSize); in isExpectedValueFromInBuffer()
DvktRobustBufferAccessWithVariablePointersTests.cpp329 const void* valuePtr,
1566 const void* valuePtr, in isExpectedValueFromInBuffer() argument
1578 return !deMemCmp(valuePtr, &expectedValues, (size_t)valueSize); in isExpectedValueFromInBuffer()
1584 return !deMemCmp(valuePtr, &expectedValues, (size_t)valueSize); in isExpectedValueFromInBuffer()
1590 return !deMemCmp(valuePtr, &value, (size_t)valueSize); in isExpectedValueFromInBuffer()
/third_party/flutter/skia/third_party/externals/angle2/src/gpu_info_util/
DSystemInfo_mac.mm60 const uint32_t *valuePtr = reinterpret_cast<const uint32_t *>(CFDataGetBytePtr(data));
62 if (valuePtr == nullptr)
68 *value = *valuePtr;
/third_party/vk-gl-cts/framework/randomshaders/
DrsgVariableValue.hpp92 …ess (const VariableType& type, const Scalar* valuePtr) : m_type(&type), m_value(const_cast<Scalar*… in ConstStridedValueAccess() argument
127 …ValueAccess (const VariableType& type, Scalar* valuePtr) : ConstStridedValueAccess<Stride>(type, v… in StridedValueAccess() argument
/third_party/cef/tools/
Dtranslator.README.txt694 CefRefPtr<CefClient> valuePtr;
696 valuePtr = CefClientCppToC::Unwrap(*value);
697 CefClient* valueOrig = valuePtr.get();
700 CefFunction(valuePtr);
704 if (valuePtr.get()) {
705 if (valuePtr.get() != valueOrig) {
707 *value = CefClientCppToC::Wrap(valuePtr);
774 CefRefPtr<CefClient> valuePtr;
776 valuePtr = CefClientCToCpp::Wrap(*value);
777 CefClient* valueOrig = valuePtr.get();
[all …]
/third_party/skia/src/pdf/
DSkPDFMetadata.cpp110 SkString SkPDF::Metadata::*const valuePtr; member
125 const SkString& value = metadata.*(keyValuePtr.valuePtr); in MakeDocumentInformationDict()
156 const SkString& value = metadata.*(keyValuePtr.valuePtr); in CreateUUID()
/third_party/flutter/skia/src/pdf/
DSkPDFMetadata.cpp119 SkString SkPDF::Metadata::*const valuePtr; member
133 const SkString& value = metadata.*(keyValuePtr.valuePtr); in MakeDocumentInformationDict()
170 const SkString& value = metadata.*(keyValuePtr.valuePtr); in CreateUUID()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp1013 … basicType, int matrixStride, bool isRowMajor, bool singleCol, int colNumber, const void* valuePtr) in generateImmMatrixSrc() argument
1032 …const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? rowNdx*matrixStride + colNdx*com… in generateImmMatrixSrc()
1050 const void* valuePtr, in generateImmMatrixSrc() argument
1065 …const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? rowNdex*matrixStride + colNdex*c… in generateImmMatrixSrc()
1079 …const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? (rowNdex * matrixStride + colNde… in generateImmMatrixSrc()
1090 void generateImmScalarVectorSrc (std::ostream& src, glu::DataType basicType, const void* valuePtr) in generateImmScalarVectorSrc() argument
1107 const deUint8* compPtr = (const deUint8*)valuePtr + scalarNdx*compSize; in generateImmScalarVectorSrc()
1251 …const void* valuePtr = (const deUint8*)blockPtr.ptr + computeOffset(varLayout, accessPath.get… in generateCompareSrc() local
1257 …generateImmMatrixSrc(src, basicType, varLayout.matrixStride, varLayout.isRowMajor, valuePtr, resul… in generateCompareSrc()
1261 …teImmMatrixSrc (src, basicType, varLayout.matrixStride, varLayout.isRowMajor, false, -1, valuePtr); in generateCompareSrc()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/
DvktSSBOLayoutCase.cpp1013 … basicType, int matrixStride, bool isRowMajor, bool singleCol, int colNumber, const void* valuePtr) in generateImmMatrixSrc() argument
1032 …const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? rowNdx*matrixStride + colNdx*com… in generateImmMatrixSrc()
1050 const void* valuePtr, in generateImmMatrixSrc() argument
1065 …const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? rowNdex*matrixStride + colNdex*c… in generateImmMatrixSrc()
1079 …const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? (rowNdex * matrixStride + colNde… in generateImmMatrixSrc()
1090 void generateImmScalarVectorSrc (std::ostream& src, glu::DataType basicType, const void* valuePtr) in generateImmScalarVectorSrc() argument
1107 const deUint8* compPtr = (const deUint8*)valuePtr + scalarNdx*compSize; in generateImmScalarVectorSrc()
1251 …const void* valuePtr = (const deUint8*)blockPtr.ptr + computeOffset(varLayout, accessPath.get… in generateCompareSrc() local
1257 …generateImmMatrixSrc(src, basicType, varLayout.matrixStride, varLayout.isRowMajor, valuePtr, resul… in generateCompareSrc()
1261 …teImmMatrixSrc (src, basicType, varLayout.matrixStride, varLayout.isRowMajor, false, -1, valuePtr); in generateCompareSrc()
[all …]
/third_party/skia/third_party/externals/angle2/src/gpu_info_util/
DSystemInfo_macos.mm83 const uint32_t *valuePtr = reinterpret_cast<const uint32_t *>(CFDataGetBytePtr(data));
85 if (valuePtr == nullptr)
91 *value = *valuePtr;
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp974 …td::ostream& src, glu::DataType basicType, int matrixStride, bool isRowMajor, const void* valuePtr) in generateImmMatrixSrc() argument
989 …const deUint8* compPtr = (const deUint8*)valuePtr + (isRowMajor ? rowNdx*matrixStride + colNdx*com… in generateImmMatrixSrc()
1002 void generateImmScalarVectorSrc (std::ostream& src, glu::DataType basicType, const void* valuePtr) in generateImmScalarVectorSrc() argument
1018 const deUint8* compPtr = (const deUint8*)valuePtr + scalarNdx*compSize; in generateImmScalarVectorSrc()
1154 …const void* valuePtr = (const deUint8*)blockPtr.ptr + computeOffset(varLayout, accessPath.get… in generateCompareSrc() local
1159 generateImmMatrixSrc(src, basicType, varLayout.matrixStride, varLayout.isRowMajor, valuePtr); in generateCompareSrc()
1161 generateImmScalarVectorSrc(src, basicType, valuePtr); in generateCompareSrc()
1237 …const void* valuePtr = (const deUint8*)blockPtr.ptr + computeOffset(varLayout, accessPath.get… in generateWriteSrc() local
1242 generateImmMatrixSrc(src, basicType, varLayout.matrixStride, varLayout.isRowMajor, valuePtr); in generateWriteSrc()
1244 generateImmScalarVectorSrc(src, basicType, valuePtr); in generateWriteSrc()
Des31fShaderCommonFunctionTests.cpp1746 float* const valuePtr = &((float*)values[0])[caseNdx * scalarSize + scalarNdx]; in getInputValues() local
1748 *valuePtr = makeFloatRepresentable(*valuePtr, precision); in getInputValues()
2006 float* const valuePtr = &((float*)values[inputNdx])[caseNdx * scalarSize + scalarNdx]; in getInputValues() local
2008 *valuePtr = makeFloatRepresentable(*valuePtr, precision); in getInputValues()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmTrinaryMinMaxTests.cpp177 T* valuePtr = reinterpret_cast<T*>(ptr); in genFloat() local
179 *valuePtr = T::inf(rnd.getBool() ? 1 : -1); in genFloat()
182 *valuePtr = T{rnd.getDouble(T::largestNormal(-1).asDouble(), T::largestNormal(1).asDouble())}; in genFloat()
183 } while (valuePtr->isDenorm()); in genFloat()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmTrinaryMinMaxTests.cpp177 T* valuePtr = reinterpret_cast<T*>(ptr); in genFloat() local
179 *valuePtr = T::inf(rnd.getBool() ? 1 : -1); in genFloat()
182 *valuePtr = T{rnd.getDouble(T::largestNormal(-1).asDouble(), T::largestNormal(1).asDouble())}; in genFloat()
183 } while (valuePtr->isDenorm()); in genFloat()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageMultisampleLoadStoreTests.cpp277 deInt32* const valuePtr = reinterpret_cast<deInt32*>(basePtr + layerNdx * bufferChunkSize); in test() local
278 *valuePtr = layerNdx; in test()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMultisampleLoadStoreTests.cpp277 deInt32* const valuePtr = reinterpret_cast<deInt32*>(basePtr + layerNdx * bufferChunkSize); in test() local
278 *valuePtr = layerNdx; in test()
/third_party/skia/third_party/externals/expat/expat/lib/
Dxmltok.h154 const char *valuePtr; member
/third_party/python/Modules/expat/
Dxmltok.h154 const char *valuePtr; member

12