Home
last modified time | relevance | path

Searched refs:reference (Results 1 - 25 of 1074) sorted by relevance

12345678910>>...43

/third_party/vk-gl-cts/framework/common/
H A DtcuBilinearImageCompare.cpp114 bool comparePixelRGBA8 (const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const RGBA threshold, int x, int y)
118 // Step 1: Compare result pixel to 3x3 neighborhood pixels in reference.
122 const deUint32 x2 = (deUint32)de::min(x+1, reference.getWidth()-1);
125 const deUint32 y2 = (deUint32)de::min(y+1, reference.getHeight()-1);
127 if (compareThreshold(resPix, readRGBA8(reference, x1, y1), threshold) ||
128 compareThreshold(resPix, readRGBA8(reference, x0, y1), threshold) ||
129 compareThreshold(resPix, readRGBA8(reference, x2, y1), threshold) ||
130 compareThreshold(resPix, readRGBA8(reference, x0, y0), threshold) ||
131 compareThreshold(resPix, readRGBA8(reference, x1, y0), threshold) ||
132 compareThreshold(resPix, readRGBA8(reference, x
[all...]
H A DtcuImageCompare.hpp39 COMPARE_LOG_EVERYTHING = 0, //!< Always log both reference, result and error mask.
47 bool pixelThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& result, const RGBA& threshold, CompareLogMode logMode);
48 bool fuzzyCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& result, float threshold, CompareLogMode logMode);
49 int measurePixelDiffAccuracy (TestLog& log, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& result, int bestScoreDiff, int worstScoreDiff, CompareLogMode logMode);
51 bool fuzzyCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, float threshold, CompareLogMode logMode);
52 bool bitwiseCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, CompareLogMode logMode);
53 bool floatUlpThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode logMode);
54 bool floatThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode logMode);
55 bool floatThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const Vec4& ignorekey, const Vec4& threshold, CompareLogMode logMode);
56 bool floatThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const Vec4& reference, cons
[all...]
H A DtcuImageCompare.cpp44 void computeScaleAndBias (const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, tcu::Vec4& scale, tcu::Vec4& bias) in computeScaleAndBias() argument
53 estimatePixelValueRange(reference, refMin, refMax); in computeScaleAndBias()
91 static int findNumPositionDeviationFailingPixels (const PixelBufferAccess& errorMask, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec3& maxPositionDeviation, bool acceptOutOfBoundsAsAnyValue) in findNumPositionDeviationFailingPixels() argument
95 const int width = reference.getWidth(); in findNumPositionDeviationFailingPixels()
96 const int height = reference.getHeight(); in findNumPositionDeviationFailingPixels()
97 const int depth = reference.getDepth(); in findNumPositionDeviationFailingPixels()
119 const IVec4 refPix = reference.getPixelInt(x, y, z); in findNumPositionDeviationFailingPixels()
131 // Find matching pixels for both result and reference pixel in findNumPositionDeviationFailingPixels()
136 // Find deviated result pixel for reference in findNumPositionDeviationFailingPixels()
159 // Find deviated reference pixe in findNumPositionDeviationFailingPixels()
217 fuzzyCompare(TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, float threshold, CompareLogMode logMode) fuzzyCompare() argument
278 bitwiseCompare(TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, CompareLogMode logMode) bitwiseCompare() argument
381 fuzzyCompare(TestLog& log, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& result, float threshold, CompareLogMode logMode) fuzzyCompare() argument
430 measurePixelDiffAccuracy(TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, int bestScoreDiff, int worstScoreDiff, CompareLogMode logMode) measurePixelDiffAccuracy() argument
486 measurePixelDiffAccuracy(TestLog& log, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& result, int bestScoreDiff, int worstScoreDiff, CompareLogMode logMode) measurePixelDiffAccuracy() argument
583 floatUlpThresholdCompare(TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode logMode) floatUlpThresholdCompare() argument
669 floatThresholdCompare(TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode logMode) floatThresholdCompare() argument
759 floatThresholdCompare(TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const Vec4& ignorekey, const Vec4& threshold, CompareLogMode logMode) floatThresholdCompare() argument
850 floatThresholdCompare(TestLog& log, const char* imageSetName, const char* imageSetDesc, const Vec4& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode logMode) floatThresholdCompare() argument
936 intThresholdCompare(TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode logMode, bool use64Bits) intThresholdCompare() argument
1043 dsThresholdCompare(TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const float threshold, CompareLogMode logMode) dsThresholdCompare() argument
1153 intThresholdPositionDeviationCompare(TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec3& maxPositionDeviation, bool acceptOutOfBoundsAsAnyValue, CompareLogMode logMode) intThresholdPositionDeviationCompare() argument
1232 intThresholdPositionDeviationErrorThresholdCompare(TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec3& maxPositionDeviation, bool acceptOutOfBoundsAsAnyValue, int maxAllowedFailingPixels, CompareLogMode logMode) intThresholdPositionDeviationErrorThresholdCompare() argument
1299 pixelThresholdCompare(TestLog& log, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& result, const RGBA& threshold, CompareLogMode logMode) pixelThresholdCompare() argument
1322 bilinearCompare(TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const RGBA threshold, CompareLogMode logMode) bilinearCompare() argument
[all...]
/third_party/benchmark/bindings/python/google_benchmark/
H A Dbenchmark.cc68 // For methods returning a pointer to the current object, reference in NB_MODULE()
76 .def("unit", &Benchmark::Unit, nb::rv_policy::reference) in NB_MODULE()
77 .def("arg", &Benchmark::Arg, nb::rv_policy::reference) in NB_MODULE()
78 .def("args", &Benchmark::Args, nb::rv_policy::reference) in NB_MODULE()
79 .def("range", &Benchmark::Range, nb::rv_policy::reference, in NB_MODULE()
82 nb::rv_policy::reference, nb::arg("start"), in NB_MODULE()
84 .def("ranges", &Benchmark::Ranges, nb::rv_policy::reference) in NB_MODULE()
86 nb::rv_policy::reference) in NB_MODULE()
87 .def("arg_name", &Benchmark::ArgName, nb::rv_policy::reference) in NB_MODULE()
89 nb::rv_policy::reference) in NB_MODULE()
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_limitdiff.c31 AVFrame *filtered, *source, *reference, *dst; member
39 int reference; member
51 const uint8_t *source, const uint8_t *reference,
62 { "reference", "enable reference stream", OFFSET(reference), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS },
90 const uint8_t *source, const uint8_t *reference, in limitdiff8()
95 const int diff_ref = FFABS(filtered[x] - reference[x]); in limitdiff8()
112 const uint16_t *reference = (const uint16_t *)rreference; in limitdiff16() local
117 const int diff_ref = FFABS(filtered[x] - reference[ in limitdiff16()
89 limitdiff8(const uint8_t *filtered, uint8_t *dst, const uint8_t *source, const uint8_t *reference, int thr1, int thr2, int w, int depth) limitdiff8() argument
178 const uint8_t *reference = td->reference->data[p] + slice_start * reference_linesize; limitdiff_slice() local
205 AVFrame *out, *filtered, *source, *reference = NULL; process_frame() local
260 AVFilterLink *reference = ctx->inputs[2]; config_output() local
[all...]
/third_party/vixl/src/aarch32/
H A Dlocation-aarch32.cc47 const ForwardRef& reference = *it.Current(); in ResolveReferences() local
48 VIXL_ASSERT(reference.LocationIsEncodable(location_)); in ResolveReferences()
49 int32_t from = reference.GetLocation(); in ResolveReferences()
50 EncodeLocationFor(assembler, from, reference.op()); in ResolveReferences()
108 const ForwardRef& reference = *it.Current(); in GetMaxAlignment() local
109 if (reference.GetAlignment() > max_alignment) in GetMaxAlignment()
110 max_alignment = reference.GetAlignment(); in GetMaxAlignment()
119 const ForwardRef& reference = *it.Current(); in GetMinLocation() local
120 if (reference.GetMinLocation() > min_location) in GetMinLocation()
121 min_location = reference in GetMinLocation()
128 const ForwardRef& reference = forward_.Front(); UpdatePoolObject() local
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fReadPixelsTests.cpp72 void render (tcu::Texture2D& reference);
89 void clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, int pixelSize);
108 void ReadPixelsTest::render (tcu::Texture2D& reference) in render() argument
125 if (reference.getFormat().type == tcu::TextureFormat::SIGNED_INT32) in render()
127 else if (reference.getFormat().type == tcu::TextureFormat::UNSIGNED_INT32) in render()
136 if (reference.getFormat().type == tcu::TextureFormat::UNSIGNED_INT32) in render()
138 else if (reference.getFormat().type == tcu::TextureFormat::SIGNED_INT32) in render()
177 // Render reference in render()
179 const int coordX1 = (int)((-0.5f * (float)reference.getWidth() / 2.0f) + (float)reference in render()
221 clearColor(tcu::Texture2D& reference, vector<deUint8>& pixelData, int pixelSize) clearColor() argument
[all...]
H A Des3fBufferObjectQueryTests.cpp80 virtual void verifyInteger (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint reference) = DE_NULL;
81 virtual void verifyInteger64 (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint64 reference) = DE_NULL;
107 void verifyInteger (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint reference);
108 void verifyInteger64 (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint64 reference);
116 void GetBufferParameterIVerifier::verifyInteger (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint reference) in verifyInteger() argument
126 if (state != reference) in verifyInteger()
128 testCtx.getLog() << TestLog::Message << "// ERROR: expected " << reference << "; got " << state << TestLog::EndMessage; in verifyInteger()
135 void GetBufferParameterIVerifier::verifyInteger64 (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint64 reference) in verifyInteger64() argument
146 if (!de::inRange(reference, (GLint64)std::numeric_limits<GLint>::min(), (GLint64)std::numeric_limits<GLint>::max())) in verifyInteger64()
149 if (state != reference) in verifyInteger64()
172 verifyInteger(tcu::TestContext& testCtx, GLenum target, GLenum name, GLint reference) verifyInteger() argument
191 verifyInteger64(tcu::TestContext& testCtx, GLenum target, GLenum name, GLint64 reference) verifyInteger64() argument
[all...]
H A Des3fFloatStateQueryTests.cpp77 virtual void verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference) = DE_NULL;
80 virtual void verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference) = DE_NULL;
86 virtual void verifyFloatGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLfloat reference) = DE_NULL;
114 void verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
115 void verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
119 void verifyFloatGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
127 void GetBooleanVerifier::verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference) in verifyFloat() argument
137 const GLboolean expectedGLState = reference != 0.0f ? GL_TRUE : GL_FALSE; in verifyFloat()
147 void GetBooleanVerifier::verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference) in verifyFloatExpanded() argument
149 DE_ASSERT(de::inRange(reference, in verifyFloatExpanded()
251 verifyFloatGreaterOrEqual(tcu::TestContext& testCtx, GLenum name, GLfloat reference) verifyFloatGreaterOrEqual() argument
300 verifyFloat(tcu::TestContext& testCtx, GLenum name, GLfloat reference) verifyFloat() argument
321 verifyFloatExpanded(tcu::TestContext& testCtx, GLenum name, GLfloat reference) verifyFloatExpanded() argument
467 verifyFloatGreaterOrEqual(tcu::TestContext& testCtx, GLenum name, GLfloat reference) verifyFloatGreaterOrEqual() argument
506 verifyFloat(tcu::TestContext& testCtx, GLenum name, GLfloat reference) verifyFloat() argument
527 verifyFloatExpanded(tcu::TestContext& testCtx, GLenum name, GLfloat reference) verifyFloatExpanded() argument
673 verifyFloatGreaterOrEqual(tcu::TestContext& testCtx, GLenum name, GLfloat reference) verifyFloatGreaterOrEqual() argument
712 verifyFloat(tcu::TestContext& testCtx, GLenum name, GLfloat reference) verifyFloat() argument
730 verifyFloatExpanded(tcu::TestContext& testCtx, GLenum name, GLfloat reference) verifyFloatExpanded() argument
804 verifyFloatGreaterOrEqual(tcu::TestContext& testCtx, GLenum name, GLfloat reference) verifyFloatGreaterOrEqual() argument
902 const GLfloat reference = rnd.getFloat(range[0], range[1]); test() local
943 const GLfloat reference = rnd.getFloat(-64000, 64000); test() local
984 const GLfloat reference = rnd.getFloat(-64000, 64000); test() local
1041 GLfloat reference = rnd.getFloat(0, 1); test() local
[all...]
H A Des3fInteger64StateQueryTests.cpp55 virtual void verifyUnsignedInteger64GreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLuint64 reference) = DE_NULL;
83 void verifyUnsignedInteger64GreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLuint64 reference);
91 void GetBooleanVerifier::verifyUnsignedInteger64GreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLuint64 reference) in verifyUnsignedInteger64GreaterOrEqual() argument
101 if (state == GL_TRUE) // state is non-zero, could be greater than reference (correct) in verifyUnsignedInteger64GreaterOrEqual()
106 if (reference > 0) // and reference is greater than zero? in verifyUnsignedInteger64GreaterOrEqual()
127 void verifyUnsignedInteger64GreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLuint64 reference);
135 void GetIntegerVerifier::verifyUnsignedInteger64GreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLuint64 reference) in verifyUnsignedInteger64GreaterOrEqual() argument
146 if (reference > (GLuint64)std::numeric_limits<GLint>::max()) in verifyUnsignedInteger64GreaterOrEqual()
149 if (GLuint(state) < reference) in verifyUnsignedInteger64GreaterOrEqual()
171 verifyUnsignedInteger64GreaterOrEqual(tcu::TestContext& testCtx, GLenum name, GLuint64 reference) verifyUnsignedInteger64GreaterOrEqual() argument
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fReadPixelsTests.cpp59 void render (tcu::Texture2D& reference);
77 void ReadPixelsTest::render (tcu::Texture2D& reference) in render() argument
124 // Render reference in render()
126 const int coordX1 = (int)((-0.5f * (float)reference.getWidth() / 2.0f) + (float)reference.getWidth() / 2.0f); in render()
127 const int coordY1 = (int)((-0.5f * (float)reference.getHeight() / 2.0f) + (float)reference.getHeight() / 2.0f); in render()
128 const int coordX2 = (int)(( 0.5f * (float)reference.getWidth() / 2.0f) + (float)reference.getWidth() / 2.0f); in render()
129 const int coordY2 = (int)(( 0.5f * (float)reference in render()
[all...]
H A Des2fFloatStateQueryTests.cpp77 virtual void verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference) = DE_NULL;
80 virtual void verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference) = DE_NULL;
113 void verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
114 void verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
125 void GetBooleanVerifier::verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference) in verifyFloat() argument
135 const GLboolean expectedGLState = reference != 0.0f ? GL_TRUE : GL_FALSE; in verifyFloat()
145 void GetBooleanVerifier::verifyFloatExpanded (tcu::TestContext& testCtx, GLenum name, GLfloat reference) in verifyFloatExpanded() argument
147 DE_ASSERT(de::inRange(reference, -1.0f, 1.0f)); in verifyFloatExpanded()
148 verifyFloat(testCtx, name, reference); in verifyFloatExpanded()
255 void verifyFloat (tcu::TestContext& testCtx, GLenum name, GLfloat reference);
267 verifyFloat(tcu::TestContext& testCtx, GLenum name, GLfloat reference) verifyFloat() argument
288 verifyFloatExpanded(tcu::TestContext& testCtx, GLenum name, GLfloat reference) verifyFloatExpanded() argument
452 verifyFloat(tcu::TestContext& testCtx, GLenum name, GLfloat reference) verifyFloat() argument
473 verifyFloatExpanded(tcu::TestContext& testCtx, GLenum name, GLfloat reference) verifyFloatExpanded() argument
637 verifyFloat(tcu::TestContext& testCtx, GLenum name, GLfloat reference) verifyFloat() argument
655 verifyFloatExpanded(tcu::TestContext& testCtx, GLenum name, GLfloat reference) verifyFloatExpanded() argument
812 const GLfloat reference = rnd.getFloat(range[0], range[1]); test() local
856 const GLfloat reference = rnd.getFloat(-64000, 64000); test() local
901 const GLfloat reference = rnd.getFloat(-64000, 64000); test() local
959 GLfloat reference = rnd.getFloat(0, 1); test() local
[all...]
H A Des2fTextureStateQueryTests.cpp57 virtual void verifyInteger (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint reference) = DE_NULL;
58 virtual void verifyFloat (tcu::TestContext& testCtx, GLenum target, GLenum name, GLfloat reference) = DE_NULL;
83 void verifyInteger (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint reference);
84 void verifyFloat (tcu::TestContext& testCtx, GLenum target, GLenum name, GLfloat reference);
92 void GetTexParameterIVerifier::verifyInteger (tcu::TestContext& testCtx, GLenum target, GLenum name, GLint reference) in verifyInteger() argument
102 if (state != reference) in verifyInteger()
104 testCtx.getLog() << TestLog::Message << "// ERROR: expected " << reference << "; got " << state << TestLog::EndMessage; in verifyInteger()
111 void GetTexParameterIVerifier::verifyFloat (tcu::TestContext& testCtx, GLenum target, GLenum name, GLfloat reference) in verifyFloat() argument
115 const GLint expectedGLStateMax = StateQueryUtil::roundGLfloatToNearestIntegerHalfUp<GLint>(reference); in verifyFloat()
116 const GLint expectedGLStateMin = StateQueryUtil::roundGLfloatToNearestIntegerHalfDown<GLint>(reference); in verifyFloat()
147 verifyInteger(tcu::TestContext& testCtx, GLenum target, GLenum name, GLint reference) verifyInteger() argument
170 verifyFloat(tcu::TestContext& testCtx, GLenum target, GLenum name, GLfloat reference) verifyFloat() argument
[all...]
/third_party/vk-gl-cts/modules/egl/
H A DteglImageFormatTests.cpp471 bool GLESImageApi::RenderTexture2D::invokeGLES (GLESImageApi& api, MovePtr<UniqueImage>& img, tcu::Texture2D& reference) const in invokeGLES()
478 if (reference.getFormat().order == tcu::TextureFormat::DS || reference.getFormat().order == tcu::TextureFormat::D) in invokeGLES()
480 if (reference.getFormat().order == tcu::TextureFormat::S) in invokeGLES()
484 gl.viewport(0, 0, reference.getWidth(), reference.getHeight()); in invokeGLES()
536 tcu::Surface refSurface (reference.getWidth(), reference.getHeight()); in invokeGLES()
537 tcu::Surface screen (reference.getWidth(), reference in invokeGLES()
[all...]
H A DteglWideColorTests.cpp593 deUint32 expectedUint10 (float reference);
594 deUint32 expectedAlpha2 (float reference);
595 deUint8 expectedUint8 (float reference);
596 deUint8 expectedAlpha8 (float reference);
597 bool checkWithThreshold8 (deUint8 value, deUint8 reference, deUint8 threshold = 1);
598 bool checkWithThreshold10 (deUint32 value, deUint32 reference, deUint32 threshold = 1);
599 bool checkWithThresholdFloat (float value, float reference, float threshold);
601 void testPixels (float reference, float increment);
854 deUint32 WideColorSurfaceTest::expectedUint10 (float reference) in expectedUint10() argument
858 if (reference < 0. in expectedUint10()
874 expectedAlpha2(float reference) expectedAlpha2() argument
899 expectedUint8(float reference) expectedUint8() argument
938 expectedAlpha8(float reference) expectedAlpha8() argument
963 checkWithThreshold8(deUint8 value, deUint8 reference, deUint8 threshold) checkWithThreshold8() argument
970 checkWithThreshold10(deUint32 value, deUint32 reference, deUint32 threshold) checkWithThreshold10() argument
977 checkWithThresholdFloat(float value, float reference, float threshold) checkWithThresholdFloat() argument
984 testPixels(float reference, float increment) testPixels() argument
1194 float reference = it->start; doClearTest() local
[all...]
/third_party/node/deps/v8/src/codegen/
H A Dturbo-assembler.cc9 #include "src/codegen/external-reference-encoder.h"
59 // The self-reference loaded through Codevalue() may also be a builtin in IndirectLoadConstant()
76 Register destination, ExternalReference reference) { in IndirectLoadExternalReference()
79 if (IsAddressableThroughRootRegister(isolate(), reference)) { in IndirectLoadExternalReference()
83 RootRegisterOffsetForExternalReference(isolate(), reference); in IndirectLoadExternalReference()
86 // Otherwise, do a memory load from the external reference table. in IndirectLoadExternalReference()
89 RootRegisterOffsetForExternalReferenceTableEntry(isolate(), reference)); in IndirectLoadExternalReference()
106 Isolate* isolate, const ExternalReference& reference) { in RootRegisterOffsetForExternalReference()
107 return static_cast<intptr_t>(reference.address() - isolate->isolate_root()); in RootRegisterOffsetForExternalReference()
112 Isolate* isolate, const ExternalReference& reference) { in RootRegisterOffsetForExternalReferenceTableEntry()
75 IndirectLoadExternalReference( Register destination, ExternalReference reference) IndirectLoadExternalReference() argument
105 RootRegisterOffsetForExternalReference( Isolate* isolate, const ExternalReference& reference) RootRegisterOffsetForExternalReference() argument
111 RootRegisterOffsetForExternalReferenceTableEntry( Isolate* isolate, const ExternalReference& reference) RootRegisterOffsetForExternalReferenceTableEntry() argument
124 IsAddressableThroughRootRegister( Isolate* isolate, const ExternalReference& reference) IsAddressableThroughRootRegister() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_bufmgr.h36 struct pipe_reference reference; member
53 * Whether only our process has a reference to the BO (meaning that
71 if (pipe_reference(&(*old_bo)->reference, &new_bo->reference)) in v3d_bo_set_reference()
79 pipe_reference(NULL, &bo->reference); in v3d_bo_reference()
92 if (pipe_reference(&(*bo)->reference, NULL)) in v3d_bo_unreference()
98 if (pipe_reference(&(*bo)->reference, NULL)) { in v3d_bo_unreference()
116 if (pipe_reference(&(*bo)->reference, NULL)) in v3d_bo_unreference_locked_timed()
/third_party/vk-gl-cts/modules/glshared/
H A DglsStateQueryUtil.cpp998 const glw::GLint reference = expected ? 1 : 0; in verifyBoolean() local
999 if (state.getIntAccess() != reference) in verifyBoolean()
1002 buf << "Expected " << reference << ", got " << state.getIntAccess(); in verifyBoolean()
1010 const glw::GLint64 reference = expected ? 1 : 0; in verifyBoolean() local
1011 if (state.getInt64Access() != reference) in verifyBoolean()
1014 buf << "Expected " << reference << ", got " << state.getInt64Access(); in verifyBoolean()
1022 const glw::GLfloat reference = expected ? 1.0f : 0.0f; in verifyBoolean() local
1023 if (state.getFloatAccess() != reference) in verifyBoolean()
1026 buf << "Expected " << reference << ", got " << state.getFloatAccess(); in verifyBoolean()
1044 const bool reference in verifyInteger() local
1056 const glw::GLint reference = expected; verifyInteger() local
1069 const glw::GLint64 reference = (glw::GLint64)expected; verifyInteger() local
1103 const glw::GLuint reference = (glw::GLuint)expected; verifyInteger() local
1234 const bool reference = (expected != 0.0f); verifyFloat() local
1537 const glw::GLfloat reference[4] = verifyBooleanVec4() local
1558 const glw::GLint reference[4] = verifyBooleanVec4() local
1579 const glw::GLint64 reference[4] = verifyBooleanVec4() local
1600 const glw::GLuint reference[4] = verifyBooleanVec4() local
1916 verifyStateFloat(tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, float reference, QueryType type) verifyStateFloat() argument
[all...]
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
H A Dpb_buffer.h113 struct pipe_reference reference; member
177 * Note that this will increase the reference count of the base buffer.
194 assert(pipe_is_referenced(&buf->reference)); in pb_map()
205 assert(pipe_is_referenced(&buf->reference)); in pb_unmap()
221 assert(pipe_is_referenced(&buf->reference)); in pb_get_base_buffer()
258 assert(!pipe_is_referenced(&buf->reference)); in pb_destroy()
269 if (pipe_reference(&(*dst)->reference, &src->reference)) in pb_reference()
281 if (pipe_reference(&(*dst)->reference, &src->reference)) in pb_reference_with_winsys()
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fShaderFramebufferFetchTests.cpp279 void verifyRenderbuffer (TestLog& log, const tcu::TextureFormat& format, const tcu::TextureLevel& reference, const tcu::TextureLevel& result);
455 void FramebufferFetchTestCase::verifyRenderbuffer (TestLog& log, const tcu::TextureFormat& format, const tcu::TextureLevel& reference, const tcu::TextureLevel& result) in verifyRenderbuffer() argument
467 if (!tcu::floatUlpThresholdCompare(log, name.c_str(), desc.c_str(), reference, result, threshold, tcu::COMPARE_LOG_RESULT)) in verifyRenderbuffer()
480 if (!tcu::intThresholdCompare(log, name.c_str(), desc.c_str(), reference, result, threshold, tcu::COMPARE_LOG_RESULT)) in verifyRenderbuffer()
493 if (!tcu::floatThresholdCompare(log, name.c_str(), desc.c_str(), reference, result, threshold, tcu::COMPARE_LOG_RESULT)) in verifyRenderbuffer()
582 // - Compare resulting surface with reference.
603 tcu::TextureLevel reference (glu::mapGLTransferFormat(m_transferFmt.format, m_transferFmt.dataType), VIEWPORT_WIDTH, VIEWPORT_HEIGHT, 1); in genReferenceTexture()
612 tcu::clear(reference.getAccess(), tcu::clamp(fbColor.asUint() + uniformColor.asUint(), formatMinValue.asUint(), formatMaxValue.asUint())); in genReferenceTexture()
622 tcu::clear(reference.getAccess(), clearColor); in genReferenceTexture()
629 tcu::clear(reference in genReferenceTexture()
645 tcu::TextureLevel reference = genReferenceTexture(fbColor, uniformColor); iterate() local
804 tcu::TextureLevel reference = genReferenceTexture(colors[i], uniformColor); iterate() local
874 tcu::TextureLevel reference = genReferenceTexture(fbColor, uniformColor); iterate() local
971 tcu::TextureLevel reference = genReferenceTexture(colorEven, colorOdd, fbColor); iterate() local
1069 tcu::TextureLevel reference = genReferenceTexture(fbColor, uniformColor); iterate() local
1161 tcu::TextureLevel reference = genReferenceTexture(fbColorEven, fbColorOdd); iterate() local
1236 genReferenceMipmap(const tcu::Vec4& color, tcu::TextureLevel& reference) genReferenceMipmap() argument
1272 tcu::TextureLevel reference = genReferenceTexture(level, levelColors, uniformColor); iterate() local
1367 tcu::TextureLevel reference = genReferenceTexture(layer, layerColors, uniformColor); iterate() local
[all...]
/third_party/vixl/src/
H A Dpool-manager-impl.h100 // call EmitPoolObject, which might add a new reference. in Emit()
192 ForwardReference<T>* reference, in MustEmit()
201 // No new reference - nothing to do. in MustEmit()
202 if (reference == NULL) { in MustEmit()
208 // Basic assertions that restrictions on the new (and only) reference are in MustEmit()
211 reference->min_object_location_); in MustEmit()
212 VIXL_ASSERT(pc <= reference->max_object_location_); in MustEmit()
222 if ((reference->min_object_location_ <= existing_object->min_location_) && in MustEmit()
223 (reference->max_object_location_ >= existing_object->max_location_) && in MustEmit()
224 (reference in MustEmit()
190 MustEmit(T pc, int num_bytes, ForwardReference<T>* reference, LocationBase<T>* label_base) const MustEmit() argument
363 AddObjectReference(const ForwardReference<T>* reference, LocationBase<T>* label_base) AddObjectReference() argument
[all...]
/third_party/gn/src/base/
H A Dvalue_iterators.h24 // value_type is std::pair<const std::string, Value>. It's reference type is a
31 using reference = std::pair<const std::string&, Value&>;
36 explicit pointer(const reference& ref);
40 reference* operator->() { return &ref_; } in operator ->()
43 reference ref_;
51 reference operator*();
68 // value_type is std::pair<const std::string, Value>. It's reference type is a
75 using reference = std::pair<const std::string&, const Value&>;
80 explicit pointer(const reference& ref);
84 const reference* operato
[all...]
/third_party/node/deps/v8/src/snapshot/
H A Dreferences.h122 void Add(HeapObject object, SerializerReference reference) { in Add() argument
124 map_.Insert(object, reference); in Add()
127 void AddBackingStore(void* backing_store, SerializerReference reference) { in AddBackingStore() argument
129 backing_store_map_.emplace(backing_store, reference); in AddBackingStore()
133 SerializerReference reference = in AddAttachedReference() local
135 map_.Insert(object, reference); in AddAttachedReference()
136 return reference; in AddAttachedReference()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cSyncTests.cpp108 static const glw::GLuint reference[2] = { 3, 1415927 }; in iterate() local
109 static const glw::GLuint reference_size = sizeof(reference); in iterate()
122 gl.namedBufferData(buffer_src, reference_size, reference, GL_STATIC_COPY); in iterate()
171 /* Compare destination buffer data with reference. */ in iterate()
172 if ((reference[0] == data_dst[0]) || (reference[1] == data_dst[1])) in iterate()
179 << ", " << data_dst[1] << "is not equal to the reference [" in iterate()
180 << reference[0] << ", " << reference[1] << "]. Tests fails." in iterate()
/third_party/python/Lib/test/
H A Dmapping_tests.py32 self.reference = self._reference().copy()
35 key, value = self.reference.popitem()
39 key, value = self.reference.popitem()
41 self.reference[key] = value
47 d = self._full_mapping(self.reference)
51 for key, value in self.reference.items():
57 self.assertEqual(len(d), len(self.reference))
59 for k in self.reference:
78 self.reference.keys())
79 check_iterandlist(iter(d), list(d.keys()), self.reference
[all...]

Completed in 21 milliseconds

12345678910>>...43