/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageTexture.cpp | 33 …DE_ASSERT((m_numSamples == 1) || (m_numSamples == 2) || (m_numSamples == 4) || (m_numSamples == … in checkInvariants() 35 DE_ASSERT(m_numLayers >= 1); in checkInvariants() 36 DE_ASSERT(m_layerSize.x() >= 1 && m_layerSize.y() >= 1 && m_layerSize.z() >= 1); in checkInvariants() 42 DE_ASSERT(m_numLayers == 1); in checkInvariants() 43 DE_ASSERT(m_numSamples == 1); in checkInvariants() 44 DE_ASSERT(m_layerSize.y() == 1 && m_layerSize.z() == 1); in checkInvariants() 48 DE_ASSERT(m_numSamples == 1); in checkInvariants() 49 DE_ASSERT(m_layerSize.y() == 1 && m_layerSize.z() == 1); in checkInvariants() 53 DE_ASSERT(m_numLayers == 1); in checkInvariants() 54 DE_ASSERT(m_layerSize.z() == 1); in checkInvariants() [all …]
|
/external/deqp/framework/delibs/destream/ |
D | deIOStream.h | 88 DE_ASSERT(stream); in deIOStream_write() 89 DE_ASSERT(stream->vfTable); in deIOStream_write() 90 DE_ASSERT(stream->vfTable->writeFunc); in deIOStream_write() 97 DE_ASSERT(stream); in deIOStream_read() 98 DE_ASSERT(stream->vfTable); in deIOStream_read() 99 DE_ASSERT(stream->vfTable->readFunc); in deIOStream_read() 106 DE_ASSERT(stream); in deIOStream_getError() 107 DE_ASSERT(stream->vfTable); in deIOStream_getError() 108 DE_ASSERT(stream->vfTable->getErrorFunc); in deIOStream_getError() 115 DE_ASSERT(stream); in deIOStream_flush() [all …]
|
D | deRingbuffer.c | 56 DE_ASSERT(ringbuffer); in deRingbuffer_create() 57 DE_ASSERT(blockCount > 0); in deRingbuffer_create() 58 DE_ASSERT(blockSize > 0); in deRingbuffer_create() 117 DE_ASSERT(stream); in producerStream_write() 121 DE_ASSERT(DE_FALSE); in producerStream_write() 169 DE_ASSERT(stream); in producerStream_flush() 187 DE_ASSERT(stream); in producerStream_deinit() 199 DE_ASSERT(stream); in consumerStream_read() 202 DE_ASSERT(ringbuffer); in consumerStream_read() 266 DE_ASSERT(stream); in consumerStream_deinit() [all …]
|
/external/deqp/framework/qphelper/ |
D | qpTestLog.c | 107 DE_ASSERT(stack->numElements > 0); in ContainerStack_pop() 253 DE_ASSERT(log && log->outputFile); in qpTestLog_flushFile() 265 DE_ASSERT(keyMap); in qpLookupString() 266 DE_ASSERT(deInBounds32(key, 0, keyMapSize)); in qpLookupString() 267 DE_ASSERT(keyMap[key].key == key); in qpLookupString() 294 DE_ASSERT(log && !log->isSessionOpen); in beginSession() 312 DE_ASSERT(log && log->isSessionOpen); in endSession() 337 DE_ASSERT(fileName && fileName[0]); /* must have filename. */ in qpTestLog_createFileLog() 385 DE_ASSERT(log); in qpTestLog_destroy() 415 DE_ASSERT(log && testCasePath && (testCasePath[0] != 0)); in qpTestLog_startCase() [all …]
|
D | qpXmlWriter.c | 120 DE_ASSERT(d == &buf[0]); /* buffer must be empty */ in writeEscaped() 140 DE_ASSERT(writer); in qpXmlWriter_destroy() 163 DE_ASSERT(writer && !writer->xmlIsWriting); in qpXmlWriter_startDocument() 180 DE_ASSERT(writer); in qpXmlWriter_endDocument() 181 DE_ASSERT(writer->xmlIsWriting); in qpXmlWriter_endDocument() 182 DE_ASSERT(writer->xmlElementDepth == 0); in qpXmlWriter_endDocument() 230 DE_ASSERT(DE_FALSE); in qpXmlWriter_startElement() 242 DE_ASSERT(writer && writer->xmlElementDepth > 0); in qpXmlWriter_endElement() 272 DE_ASSERT(writer && data && (numBytes > 0)); in qpXmlWriter_writeBase64() 321 DE_ASSERT(srcNdx == numBytes); in qpXmlWriter_writeBase64()
|
D | qpWatchDog.c | 63 DE_ASSERT(dog); in watchDogThreadFunc() 96 DE_ASSERT(timeOutFunc); in qpWatchDog_create() 97 DE_ASSERT((totalTimeLimitSecs > 0) && (intervalTimeLimitSecs > 0)); in qpWatchDog_create() 125 DE_ASSERT(dog); in qpWatchDog_reset() 134 DE_ASSERT(dog); in qpWatchDog_destroy() 148 DE_ASSERT(dog); in qpWatchDog_touch()
|
/external/deqp/framework/randomshaders/ |
D | rsgVariableType.cpp | 103 DE_ASSERT(m_elementType); in getScalarSize() 108 DE_ASSERT(false); in getScalarSize() 115 DE_ASSERT(isStruct()); in getMemberScalarOffset() 126 DE_ASSERT(isArray()); in getElementScalarOffset() 175 DE_ASSERT(DE_FALSE); in getScalarType() 182 DE_ASSERT(m_precision == PRECISION_NONE); // \todo [pyry] Precision in getElementType() 194 DE_ASSERT(m_elementType); in getElementType() 199 DE_ASSERT(DE_FALSE); in getElementType() 227 default: DE_ASSERT(DE_FALSE); break; in tokenizeShortType() 238 default: DE_ASSERT(DE_FALSE); break; in tokenizeShortType() [all …]
|
/external/deqp/framework/delibs/debase/ |
D | deInt32.h | 53 DE_ASSERT((unsigned int) a != 0x80000000u); in deAbs32() 138 DE_ASSERT(mn <= mx); in deClamp32() 174 DE_ASSERT(r >= 0 && r <= 32); in deRor32() 189 DE_ASSERT(r >= 0 && r <= 32); in deRol32() 295 DE_ASSERT(deIsPowerOfTwo32(align)); in deIsAligned32() 307 DE_ASSERT(deIsPowerOfTwo64(align)); in deIsAligned64() 319 DE_ASSERT((align & (align-1)) == 0); /* power of two */ in deIsAlignedPtr() 331 DE_ASSERT(deIsPowerOfTwo32(align)); in deAlign32() 343 DE_ASSERT(deIsPowerOfTwo64(align)); in deAlign64() 356 DE_ASSERT((align & (align-1)) == 0); /* power of two */ in deAlignPtr() [all …]
|
/external/deqp/framework/egl/ |
D | egluNativeDisplay.cpp | 39 DE_ASSERT(platformType != EGL_NONE && platformExtension); in NativeDisplay() 40 DE_ASSERT(capabilities & CAPABILITY_GET_DISPLAY_PLATFORM); in NativeDisplay() 48 DE_ASSERT(!(capabilities & CAPABILITY_GET_DISPLAY_PLATFORM)); in NativeDisplay() 49 DE_ASSERT(capabilities & CAPABILITY_GET_DISPLAY_LEGACY); in NativeDisplay() 88 DE_ASSERT(platformType != EGL_NONE && platformExtension); in NativeDisplayFactory() 89 DE_ASSERT(capabilities & NativeDisplay::CAPABILITY_GET_DISPLAY_PLATFORM); in NativeDisplayFactory() 98 DE_ASSERT(!(capabilities & NativeDisplay::CAPABILITY_GET_DISPLAY_PLATFORM)); in NativeDisplayFactory() 99 DE_ASSERT(capabilities & NativeDisplay::CAPABILITY_GET_DISPLAY_LEGACY); in NativeDisplayFactory()
|
/external/deqp/framework/common/ |
D | tcuTestSessionExecutor.cpp | 43 DE_ASSERT(false); in nodeTypeToTestCaseType() 112 DE_ASSERT(false); in iterate() 121 DE_ASSERT(hierIterState == TestHierarchyIterator::STATE_FINISHED); in iterate() 129 DE_ASSERT(m_iterator.getState() == TestHierarchyIterator::STATE_LEAVE_NODE && in iterate() 142 DE_ASSERT(false); in iterate() 153 DE_ASSERT(!m_caseExecutor); in enterTestPackage() 185 DE_ASSERT(!initOk); in enterTestCase() 191 DE_ASSERT(!initOk); in enterTestCase() 192 DE_ASSERT(e.getTestResult() != QP_TEST_RESULT_LAST); in enterTestCase() 199 DE_ASSERT(!initOk); in enterTestCase() [all …]
|
D | tcuVector.hpp | 129 …VecAccess<T, Size, 2> xy (void) { DE_ASSERT(Size >= 2); return VecAccess<T, Size, 2>(*this, 0, 1… in xy() 130 …VecAccess<T, Size, 2> xz (void) { DE_ASSERT(Size >= 2); return VecAccess<T, Size, 2>(*this, 0, 2… in xz() 131 …VecAccess<T, Size, 2> xw (void) { DE_ASSERT(Size >= 2); return VecAccess<T, Size, 2>(*this, 0, 3… in xw() 132 …VecAccess<T, Size, 2> yz (void) { DE_ASSERT(Size >= 2); return VecAccess<T, Size, 2>(*this, 1, 2… in yz() 133 …VecAccess<T, Size, 2> yw (void) { DE_ASSERT(Size >= 2); return VecAccess<T, Size, 2>(*this, 1, 3… in yw() 134 …VecAccess<T, Size, 2> zw (void) { DE_ASSERT(Size >= 2); return VecAccess<T, Size, 2>(*this, 2, 3… in zw() 135 …VecAccess<T, Size, 3> xyz (void) { DE_ASSERT(Size >= 3); return VecAccess<T, Size, 3>(*this, 0, … in xyz() 136 …VecAccess<T, Size, 3> xyw (void) { DE_ASSERT(Size >= 3); return VecAccess<T, Size, 3>(*this, 0, … in xyw() 137 …VecAccess<T, Size, 3> xzw (void) { DE_ASSERT(Size >= 3); return VecAccess<T, Size, 3>(*this, 0, … in xzw() 138 …VecAccess<T, Size, 3> zyx (void) { DE_ASSERT(Size >= 3); return VecAccess<T, Size, 3>(*this, 2, … in zyx() [all …]
|
D | tcuTestHierarchyUtil.cpp | 47 DE_ASSERT(false); in getNodeTypeName() 64 DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE && in writeXmlCaselist() 73 DE_ASSERT(numAttribs <= DE_LENGTH_OF_ARRAY(attribs)); in writeXmlCaselist() 88 DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE || in writeXmlCaselist() 101 DE_ASSERT(numAttribs <= DE_LENGTH_OF_ARRAY(attribs)); in writeXmlCaselist() 137 DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE && in writeXmlCaselistsToFiles() 172 DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_LEAVE_NODE && in writeXmlCaselistsToFiles() 193 DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE && in writeTxtCaselistsToFiles() 211 DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_LEAVE_NODE && in writeTxtCaselistsToFiles()
|
D | tcuTexture.cpp | 301 DE_ASSERT(DE_FALSE); in channelToFloat() 333 DE_ASSERT(DE_FALSE); in channelToInt() 365 DE_ASSERT(DE_FALSE); in floatToChannel() 450 DE_ASSERT(DE_FALSE); in intToChannel() 678 DE_ASSERT(DE_FALSE); in getNumUsedChannels() 710 DE_ASSERT(DE_FALSE); in getChannelSize() 721 DE_ASSERT(isValid(format)); in getPixelSize() 812 DE_ASSERT(false); // combined formats cannot be read from in getChannelReadSwizzle() 816 DE_ASSERT(DE_FALSE); in getChannelReadSwizzle() 866 DE_ASSERT(false); // combined formats cannot be written to in getChannelWriteSwizzle() [all …]
|
/external/deqp/framework/delibs/decpp/ |
D | deBlockBuffer.hpp | 114 DE_ASSERT(blockSize > 0); in BlockBuffer() 115 DE_ASSERT(numBlocks > 0); in BlockBuffer() 131 DE_ASSERT(m_fill && m_empty); in BlockBuffer() 161 DE_ASSERT(m_fill && m_empty); in clear() 167 DE_ASSERT(!m_canceled); in cancel() 177 DE_ASSERT(numElements > 0 && elements != DE_NULL); in writeToCurrentBlock() 204 DE_ASSERT(numToWrite > 0); in writeToCurrentBlock() 220 DE_ASSERT(numElements > 0 && elements != DE_NULL); in readFromCurrentBlock() 248 DE_ASSERT(numToRead > 0); in readFromCurrentBlock() 271 DE_ASSERT(numElements > 0 && elements != DE_NULL); in tryWrite() [all …]
|
D | deRingBuffer.hpp | 76 DE_ASSERT(size > 0); in RingBuffer() 97 DE_ASSERT(newSize >= m_numElements); in resize() 124 DE_ASSERT(getNumFree() > 0); in pushFront() 133 DE_ASSERT(de::inRange(count, 0, getNumFree())); in pushFront() 143 DE_ASSERT(getNumElements() > 0); in popBack() 153 DE_ASSERT(de::inBounds(offset, 0, getNumElements())); in peekBack() 160 DE_ASSERT(de::inRange(count, 0, getNumElements())); in peekBack() 168 DE_ASSERT(de::inRange(count, 0, getNumElements())); in popBack()
|
/external/deqp/framework/delibs/depool/ |
D | deMemPool.c | 142 DE_ASSERT(deIsAlignedPtr(page+1, MEM_PAGE_BASE_ALIGN)); in MemPage_create() 188 DE_ASSERT((int)sizeof(deMemPool) <= initialPage->capacity); in createPoolInternal() 263 DE_ASSERT(util->allocFailCallback); in deMemPool_createRoot() 284 DE_ASSERT(parent); in deMemPool_create() 324 DE_ASSERT(pool->numChildren == 0); in deMemPool_destroy() 337 DE_ASSERT(parent->numChildren >= 0); in deMemPool_destroy() 459 DE_ASSERT(curPage); in deMemPool_allocInternal() 460 DE_ASSERT(deIsPowerOfTwo32((int)alignBytes)); in deMemPool_allocInternal() 479 DE_ASSERT(curPage->bytesAllocated == 0); in deMemPool_allocInternal() 485 DE_ASSERT(numBytes + alignPadding <= (size_t)curPage->capacity); in deMemPool_allocInternal() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fPrimitiveRestartTests.cpp | 158 DE_ASSERT(de::inRange(index, (deUint32)0, MAX_UNSIGNED_BYTE)); in addIndex() 163 DE_ASSERT(de::inRange(index, (deUint32)0, MAX_UNSIGNED_SHORT)); in addIndex() 168 DE_ASSERT(de::inRange(index, (deUint32)0, MAX_UNSIGNED_INT)); in addIndex() 172 DE_ASSERT(DE_FALSE); in addIndex() 183 DE_ASSERT(DE_FALSE); in getIndex() 196 DE_ASSERT(DE_FALSE); in getNumIndices() 210 DE_ASSERT(DE_FALSE); in getIndexPtr() 237 DE_ASSERT(!m_program); in init() 251 DE_ASSERT(restartIndex != 0); in init() 253 DE_ASSERT(getNumIndices() == 0); in init() [all …]
|
/external/deqp/executor/ |
D | xeContainerFormatParser.cpp | 81 DE_ASSERT(m_element == CONTAINERELEMENT_SESSION_INFO); in getSessionInfoAttribute() 87 DE_ASSERT(m_element == CONTAINERELEMENT_SESSION_INFO); in getSessionInfoValue() 93 DE_ASSERT(m_element == CONTAINERELEMENT_BEGIN_TEST_CASE_RESULT); in getTestCasePath() 99 DE_ASSERT(m_element == CONTAINERELEMENT_TERMINATE_TEST_CASE_RESULT); in getTerminateReason() 105 DE_ASSERT(m_element == CONTAINERELEMENT_TEST_LOG_DATA); in getDataSize() 111 …DE_ASSERT(de::inBounds(offset, 0, m_elementLen) && numBytes > 0 && de::inRange(numBytes+offset, 0,… in getData() 119 DE_ASSERT(de::inRange(offset, 0, m_buf.getNumElements())); in getChar() 182 DE_ASSERT(m_elementLen == 1); in advance() 204 DE_ASSERT(m_elementLen >= 1); in parseContainerLine() 205 DE_ASSERT(getChar(0) == '#'); in parseContainerLine() [all …]
|
D | xeXMLParser.cpp | 100 DE_ASSERT(de::inRange(offset, 0, m_buf.getNumElements())); in getChar() 113 DE_ASSERT(m_curToken != TOKEN_END_OF_STRING); in advance() 166 DE_ASSERT(m_state == STATE_TAG || m_state == STATE_ENTITY); in advance() 188 DE_ASSERT(m_curToken == TOKEN_INCOMPLETE); in advance() 202 DE_ASSERT(m_state == STATE_ENTITY); in advance() 241 DE_ASSERT(m_curTokenLen >= 2); // 2 characters have been parsed if we are in comment state. in advance() 282 DE_ASSERT(m_state == STATE_TAG && m_curTokenLen == 1); in advance() 340 DE_ASSERT(m_curToken == TOKEN_STRING); in getString() 389 DE_ASSERT(m_element == ELEMENT_START); in advance() 414 DE_ASSERT(m_element == ELEMENT_INCOMPLETE); in advance() [all …]
|
/external/deqp/framework/delibs/deutil/ |
D | deTimer.c | 66 DE_ASSERT(timer); in deTimer_destroy() 83 DE_ASSERT(timer && milliseconds > 0); in deTimer_scheduleSingle() 92 DE_ASSERT(!timer->timer); in deTimer_scheduleSingle() 103 DE_ASSERT(timer && milliseconds > 0); in deTimer_scheduleInterval() 112 DE_ASSERT(!timer->timer); in deTimer_scheduleInterval() 126 DE_ASSERT(waitEvent); in deTimer_disable() 135 DE_ASSERT(res == WAIT_OBJECT_0); in deTimer_disable() 148 DE_ASSERT(tryNdx < maxTries); in deTimer_disable() 204 DE_ASSERT(timer); in deTimer_destroy() 219 DE_ASSERT(timer && milliseconds > 0); in deTimer_scheduleSingle() [all …]
|
D | deFile.c | 71 DE_ASSERT((mode & DE_FILEMODE_READ) != 0 || ((mode & DE_FILEMODE_WRITE) != 0)); in mapOpenMode() 74 DE_ASSERT((mode & DE_FILEMODE_OPEN) != 0 || ((mode & DE_FILEMODE_CREATE) != 0)); in mapOpenMode() 77 DE_ASSERT(!(mode & DE_FILEMODE_CREATE) || (mode & DE_FILEMODE_WRITE)); in mapOpenMode() 80 …DE_ASSERT(!(mode & DE_FILEMODE_TRUNCATE) || ((mode & DE_FILEMODE_WRITE) && (mode & DE_FILEMODE_OPE… in mapOpenMode() 144 DE_ASSERT(DE_FALSE); in mapSeekPosition() 248 DE_ASSERT((mode & DE_FILEMODE_READ) != 0 || ((mode & DE_FILEMODE_WRITE) != 0)); in deFile_create() 251 DE_ASSERT((mode & DE_FILEMODE_OPEN) != 0 || ((mode & DE_FILEMODE_CREATE) != 0)); in deFile_create() 254 DE_ASSERT(!(mode & DE_FILEMODE_CREATE) || (mode & DE_FILEMODE_WRITE)); in deFile_create() 257 …DE_ASSERT(!(mode & DE_FILEMODE_TRUNCATE) || ((mode & DE_FILEMODE_WRITE) && (mode & DE_FILEMODE_OPE… in deFile_create() 273 DE_ASSERT(DE_FALSE); in deFile_create() [all …]
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceUtils.cpp | 43 DE_ASSERT(false); in mapGLPureIntegerVertexAttributeType() 125 DE_ASSERT(false); in mapGLFloatVertexAttributeType() 141 DE_ASSERT(false); in mapGLSize() 162 DE_ASSERT(false); in mapGLPrimitiveType() 175 DE_ASSERT(false); in mapGLIndexType() 189 DE_ASSERT(DE_FALSE); in mapGLGeometryShaderOutputType() 210 DE_ASSERT(DE_FALSE); in mapGLGeometryShaderInputType() 228 DE_ASSERT(false); in mapGLTestFunc() 246 DE_ASSERT(false); in mapGLStencilOp() 261 DE_ASSERT(false); in mapGLBlendEquation() [all …]
|
/external/deqp/framework/opengl/ |
D | gluVarTypeUtil.hpp | 130 …path.push_back(VarTypeComponent(VarTypeComponent::STRUCT_MEMBER, ndx)); DE_ASSERT(isValid()); retu… in member() 131 …path.push_back(VarTypeComponent(VarTypeComponent::ARRAY_ELEMENT, ndx)); DE_ASSERT(isValid()); retu… in element() 132 …path.push_back(VarTypeComponent(VarTypeComponent::MATRIX_COLUMN, ndx)); DE_ASSERT(isValid()); retu… in column() 133 …h.push_back(VarTypeComponent(VarTypeComponent::VECTOR_COMPONENT, ndx)); DE_ASSERT(isValid()); retu… in component() 134 …SubTypeAccess& parent (void) { DE_ASSERT(!m_path.empty()); m_path.pop_back(); return *this;… in parent() 227 DE_ASSERT(IsExpanded()(getVarType(*m_type, m_path))); in operator ++() 237 DE_ASSERT(m_type && !m_path.empty()); in removeTraversed() 247 DE_ASSERT(isDataTypeMatrix(parentType.getBasicType())); in removeTraversed() 253 DE_ASSERT(isDataTypeVector(parentType.getBasicType())); in removeTraversed() 259 DE_ASSERT(parentType.isArrayType()); in removeTraversed() [all …]
|
/external/deqp/framework/platform/android/ |
D | tcuAndroidRenderActivity.hpp | 75 DE_ASSERT(type_ == MESSAGE_RESUME || in Message() 83 DE_ASSERT(type_ == MESSAGE_WINDOW_CREATED || in Message() 86 DE_ASSERT(window); in Message() 93 DE_ASSERT(type_ == MESSAGE_INPUT_QUEUE_CREATED || in Message() 95 DE_ASSERT(inputQueue); in Message() 102 DE_ASSERT(type_ == MESSAGE_SYNC); in Message() 103 DE_ASSERT(semaphore); in Message()
|
/external/deqp/framework/delibs/dethread/unix/ |
D | deSemaphoreUnix.c | 39 DE_ASSERT(initialValue >= 0); in deSemaphore_create() 56 DE_ASSERT(sem); in deSemaphore_destroy() 65 DE_ASSERT(ret == 0); in deSemaphore_increment() 73 DE_ASSERT(ret == 0); in deSemaphore_decrement() 80 DE_ASSERT(sem); in deSemaphore_tryDecrement()
|