Home
last modified time | relevance | path

Searched refs:inBounds (Results 1 - 25 of 115) sorted by relevance

12345

/third_party/vk-gl-cts/framework/common/
H A DtcuSurface.hpp72 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); in setPixel()
89 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); in getPixel()
H A DtcuSurfaceAccess.hpp73 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); in setPixel()
H A DtcuTexture.cpp1112 DE_ASSERT(de::inBounds(x, 0, m_size.x())); in getPixel()
1113 DE_ASSERT(de::inBounds(y, 0, m_size.y())); in getPixel()
1114 DE_ASSERT(de::inBounds(z, 0, m_size.z())); in getPixel()
1281 DE_ASSERT(de::inBounds(x, 0, m_size.x())); in getPixelInt()
1282 DE_ASSERT(de::inBounds(y, 0, m_size.y())); in getPixelInt()
1283 DE_ASSERT(de::inBounds(z, 0, m_size.z())); in getPixelInt()
1378 DE_ASSERT(de::inBounds(x, 0, m_size.x())); in getPixelBitsAsUint64()
1379 DE_ASSERT(de::inBounds(y, 0, m_size.y())); in getPixelBitsAsUint64()
1380 DE_ASSERT(de::inBounds(z, 0, m_size.z())); in getPixelBitsAsUint64()
1463 DE_ASSERT(de::inBounds( in getPixDepth()
[all...]
H A DtcuTexture.hpp559 const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[ndx]; } in getLevel()
632 bool isLevelEmpty (int levelNdx) const { DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); return m_data[(size_t)levelNdx].empty(); } in isLevelEmpty()
633 const ConstPixelBufferAccess& getLevel (int levelNdx) const { DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); return m_access[(size_t)levelNdx]; } in getLevel()
634 const PixelBufferAccess& getLevel (int levelNdx) { DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); return m_access[(size_t)levelNdx]; } in getLevel()
737 const ConstPixelBufferAccess& getLevelFace (int ndx, CubeFace face) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[face][ndx]; } in getLevelFace()
770 const ConstPixelBufferAccess& getLevelFace (int ndx, CubeFace face) const { DE_ASSERT(de::inBounds(ndx, 0, getNumLevels())); return m_access[face][(size_t)ndx]; } in getLevelFace()
771 const PixelBufferAccess& getLevelFace (int ndx, CubeFace face) { DE_ASSERT(de::inBounds(ndx, 0, getNumLevels())); return m_access[face][(size_t)ndx]; } in getLevelFace()
775 bool isLevelEmpty (CubeFace face, int levelNdx) const { DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); return m_data[face][(size_t)levelNdx].empty(); } in isLevelEmpty()
827 const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[ndx]; } in getLevel()
937 const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(nd in getNumLevels()
[all...]
H A DtcuBilinearImageCompare.cpp179 if (!de::inBounds(u, 0, (reference.getWidth()-1)<<NUM_SUBPIXEL_BITS) ||
180 !de::inBounds(v, 0, (reference.getHeight()-1)<<NUM_SUBPIXEL_BITS))
/third_party/vk-gl-cts/framework/randomshaders/
H A DrsgVariableValue.hpp106 float asFloat (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value[ndx].floatVal; } in asFloat()
107 int asInt (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value[ndx].intVal; } in asInt()
108 bool asBool (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value[ndx].boolVal; } in asBool()
109 Scalar asScalar (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value[ndx]; } in asScalar()
112 T as (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[ndx].template as<T>(); } in as()
139 float& asFloat (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[ndx].floatVal; } in asFloat()
140 int& asInt (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[ndx].intVal; } in asInt()
141 bool& asBool (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[ndx].boolVal; } in asBool()
142 Scalar& asScalar (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[ndx]; } in asScalar()
145 T& as (int ndx) { DE_ASSERT(de::inBounds(nd
[all...]
H A DrsgPrettyPrinter.cpp125 DE_ASSERT(de::inBounds<int>(token, 0, (int)DE_LENGTH_OF_ARRAY(s_tokenStr))); in getSimpleTokenStr()
/third_party/vk-gl-cts/framework/referencerenderer/
H A DrrRasterizer.hpp47 DE_ASSERT(de::inRange(numSamples, 1, maxSamples) && de::inBounds(x, 0, 2) && de::inBounds(y, 0, 2)); in getCoverageBit()
54 DE_ASSERT(de::inBounds(x, 0, 2) && de::inBounds(y, 0, 2)); in getCoverageFragmentSampleBits()
/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeArrayUtil.hpp36 DE_ASSERT(inBounds(offset, 0, Size));
44 DE_ASSERT(inBounds(offset, 0, Size));
H A DdeRingBuffer.hpp153 DE_ASSERT(de::inBounds(offset, 0, getNumElements())); in peekBack()
H A DdeAppendList.cpp124 DE_TEST_ASSERT(de::inBounds(elem.threadNdx, 0u, numThreads)); in runAppendListTest()
H A DdeThreadSafeRingBuffer.cpp77 DE_TEST_ASSERT(de::inBounds<int>(threadId, 0, (int)m_lastPayload.size())); in run()
/third_party/vk-gl-cts/framework/opengl/
H A DgluVarTypeUtil.cpp137 TCU_CHECK(de::inBounds(ndx, 0, curType.getArraySize())); in parseTypePath()
142 TCU_CHECK(de::inBounds(ndx, 0, getDataTypeMatrixNumColumns(curType.getBasicType()))); in parseTypePath()
147 TCU_CHECK(de::inBounds(ndx, 0, getDataTypeScalarSize(curType.getBasicType()))); in parseTypePath()
H A DgluShaderProgram.cpp557 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_typeMap))); in getGLShaderType()
581 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_typebitMap))); in getGLShaderTypeBit()
605 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_typeMap))); in getLogShaderType()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fColorClearTest.cpp178 if (de::inBounds(y, op.m_rect.y(), op.m_rect.y()+op.m_rect.w())) in iterate()
194 if (de::inBounds(x, op.m_rect.x(), op.m_rect.x()+op.m_rect.z()) && in iterate()
195 de::inBounds(y, op.m_rect.y(), op.m_rect.y()+op.m_rect.w())) in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fColorClearTest.cpp178 if (de::inBounds(y, op.m_rect.y(), op.m_rect.y()+op.m_rect.w())) in iterate()
194 if (de::inBounds(x, op.m_rect.x(), op.m_rect.x()+op.m_rect.z()) && in iterate()
195 de::inBounds(y, op.m_rect.y(), op.m_rect.y()+op.m_rect.w())) in iterate()
H A Des3fBufferCopyTests.cpp75 DE_ASSERT(de::inBounds(m_copySrcOffset, 0, m_srcSize) && de::inRange(m_copySrcOffset+m_copySize, m_copySrcOffset, m_srcSize)); in BasicBufferCopyCase()
76 DE_ASSERT(de::inBounds(m_copyDstOffset, 0, m_dstSize) && de::inRange(m_copyDstOffset+m_copySize, m_copyDstOffset, m_dstSize)); in BasicBufferCopyCase()
H A Des3fFragmentOutputTests.cpp349 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(ranges))); in getFloatRange()
362 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(ranges))); in getIntRange()
375 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(ranges))); in getUintRange()
650 if (de::inBounds(output.location+vecNdx, 0, (int)attachments.size())) in iterate()
685 if (de::inBounds(output.location+vecNdx, 0, (int)attachments.size())) in iterate()
725 if (de::inBounds(output.location+vecNdx, 0, (int)attachments.size())) in iterate()
854 DE_ASSERT(de::inBounds(location, 0, (int)m_fboSpec.size())); in iterate()
/third_party/vk-gl-cts/modules/glshared/
H A DglsShaderPerformanceMeasurer.cpp159 DE_ASSERT(de::inBounds(m_gridSizeX, 1, 256) && de::inBounds(m_gridSizeY, 1, 256)); in init()
344 DE_ASSERT(de::inBounds(gridW, 1, 256) && de::inBounds(gridH, 1, 256));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DIndexedMap.h73 bool inBounds(IndexT n) const { in inBounds() function in llvm::IndexedMap
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationCoordinatesTests.cpp206 DE_ASSERT(de::inBounds(centerX, 0, width) && de::inBounds(centerY, 0, height));
214 if (de::inBounds(pixX, 0, width) && de::inBounds(pixY, 0, height))
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationCoordinatesTests.cpp206 DE_ASSERT(de::inBounds(centerX, 0, width) && de::inBounds(centerY, 0, height));
214 if (de::inBounds(pixX, 0, width) && de::inBounds(pixY, 0, height))
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkDeviceUtil.cpp156 if (!de::inBounds(deviceIdFromCmdLine, 0u, static_cast<deUint32>(devices.size() + 1))) in chooseDeviceIndex()
/third_party/vk-gl-cts/executor/
H A DxeContainerFormatParser.cpp111 DE_ASSERT(de::inBounds(offset, 0, m_elementLen) && numBytes > 0 && de::inRange(numBytes+offset, 0, m_elementLen)); in getData()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DFunctionLoweringInfo.h221 if (!LiveOutRegInfo.inBounds(Reg)) in GetLiveOutRegInfo()

Completed in 23 milliseconds

12345