Home
last modified time | relevance | path

Searched refs:valuePtr (Results 1 – 25 of 30) 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/vulkan/robustness/
DvktRobustnessUtil.cpp120 bool isValueZero (const void* valuePtr, size_t valueSizeInBytes) in isValueZero() argument
122 const deUint8* bytePtr = reinterpret_cast<const deUint8*>(valuePtr); in isValueZero()
133 bool isValueWithinBuffer (const void* buffer, VkDeviceSize bufferSize, const void* valuePtr, size_t… in isValueWithinBuffer() argument
142 if (!deMemCmp(&byteBuffer[i], valuePtr, valueSizeInBytes)) in isValueWithinBuffer()
149 bool isValueWithinBufferOrZero (const void* buffer, VkDeviceSize bufferSize, const void* valuePtr, … in isValueWithinBufferOrZero() argument
151 …return isValueWithinBuffer(buffer, bufferSize, valuePtr, valueSizeInBytes) || isValueZero(valuePtr in isValueWithinBufferOrZero()
234 void logValue (std::ostringstream& logMsg, const void* valuePtr, VkFormat valueFormat, size_t value… in logValue() argument
238 logMsg << *reinterpret_cast<const deUint32*>(valuePtr); in logValue()
242 logMsg << *reinterpret_cast<const deInt32*>(valuePtr); in logValue()
246 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.cpp177 …bool isExpectedValueFromInBuffer (VkDeviceSize offsetInBytes, const void* valuePtr, VkDevic…
1046 …e::isExpectedValueFromInBuffer (VkDeviceSize offsetInBytes, const void* valuePtr, VkDeviceSize val… in isExpectedValueFromInBuffer() argument
1055 return !deMemCmp(valuePtr, &valueIndex, (size_t)valueSize); in isExpectedValueFromInBuffer()
1060 return !deMemCmp(valuePtr, &value, (size_t)valueSize); in isExpectedValueFromInBuffer()
1065 return !deMemCmp(valuePtr, &value, (size_t)valueSize); in isExpectedValueFromInBuffer()
1075 return !deMemCmp(valuePtr, &abgr, (size_t)valueSize); in isExpectedValueFromInBuffer()
DvktRobustBufferAccessWithVariablePointersTests.cpp316 const void* valuePtr,
1511 const void* valuePtr, in isExpectedValueFromInBuffer() argument
1523 return !deMemCmp(valuePtr, &expectedValues, (size_t)valueSize); in isExpectedValueFromInBuffer()
1529 return !deMemCmp(valuePtr, &expectedValues, (size_t)valueSize); in isExpectedValueFromInBuffer()
1535 return !deMemCmp(valuePtr, &value, (size_t)valueSize); in isExpectedValueFromInBuffer()
/third_party/grpc/src/csharp/Grpc.Core/Internal/
DMetadataArraySafeHandle.cs72 … IntPtr valuePtr = Native.grpcsharp_metadata_array_get_value(metadataArray, index, out valueLen); in ReadMetadataFromPtrUnsafe()
74 metadata.Add(Metadata.Entry.CreateUnsafe(key, valuePtr, len32)); in ReadMetadataFromPtrUnsafe()
/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/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/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Ddecrease_compute_precision.cc101 auto valuePtr = cur_input->cast<ValueNodePtr>(); in InsertCastForGraphKernel() local
103 TypeId::kNumberTypeFloat16, valuePtr->value()->cast<tensor::TensorPtr>()->shape(), in InsertCastForGraphKernel()
104 valuePtr->value()->cast<tensor::TensorPtr>()->data_c(), TypeId::kNumberTypeFloat32); in InsertCastForGraphKernel()
/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/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/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/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/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/image/
DvktImageMultisampleLoadStoreTests.cpp276 deInt32* const valuePtr = reinterpret_cast<deInt32*>(basePtr + layerNdx * bufferChunkSize); in test() local
277 *valuePtr = layerNdx; in test()
/third_party/python/Modules/expat/
Dxmltok.h154 const char *valuePtr; member
Dxmltok_impl.c1537 atts[nAtts].valuePtr = ptr + MINBPC(enc); in PREFIX()
1550 atts[nAtts].valuePtr = ptr + MINBPC(enc); in PREFIX()
1568 && (ptr == atts[nAtts].valuePtr in PREFIX()
/third_party/skia/third_party/externals/expat/expat/lib/
Dxmltok.h154 const char *valuePtr; member
Dxmltok_impl.c1537 atts[nAtts].valuePtr = ptr + MINBPC(enc); in PREFIX()
1550 atts[nAtts].valuePtr = ptr + MINBPC(enc); in PREFIX()
1568 && (ptr == atts[nAtts].valuePtr in PREFIX()
/third_party/expat/lib/
Dxmltok.h154 const char *valuePtr; member
Dxmltok_impl.c1541 atts[nAtts].valuePtr = ptr + MINBPC(enc); in PREFIX()
1554 atts[nAtts].valuePtr = ptr + MINBPC(enc); in PREFIX()
1572 && (ptr == atts[nAtts].valuePtr in PREFIX()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationBasicSemaphoreTests.cpp270 auto makeSemaphoreWaitInfo = [&semaphore](deUint64* valuePtr) -> VkSemaphoreWaitInfo in basicThreadTimelineCase()
279 valuePtr // const deUint64* pValues; in basicThreadTimelineCase()

12