Home
last modified time | relevance | path

Searched refs:DE_ASSERT (Results 1 – 25 of 466) sorted by relevance

12345678910>>...19

/external/deqp/framework/delibs/destream/
DdeIOStream.h88 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 …]
DdeRingbuffer.c56 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/
DqpTestLog.c107 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()
383 DE_ASSERT(log); in qpTestLog_destroy()
413 DE_ASSERT(log && testCasePath && (testCasePath[0] != 0)); in qpTestLog_startCase()
[all …]
DqpXmlWriter.c118 DE_ASSERT(d == &buf[0]); /* buffer must be empty */ in writeEscaped()
137 DE_ASSERT(writer); in qpXmlWriter_destroy()
160 DE_ASSERT(writer && !writer->xmlIsWriting); in qpXmlWriter_startDocument()
177 DE_ASSERT(writer); in qpXmlWriter_endDocument()
178 DE_ASSERT(writer->xmlIsWriting); in qpXmlWriter_endDocument()
179 DE_ASSERT(writer->xmlElementDepth == 0); in qpXmlWriter_endDocument()
227 DE_ASSERT(DE_FALSE); in qpXmlWriter_startElement()
239 DE_ASSERT(writer && writer->xmlElementDepth > 0); in qpXmlWriter_endElement()
269 DE_ASSERT(writer && data && (numBytes > 0)); in qpXmlWriter_writeBase64()
318 DE_ASSERT(srcNdx == numBytes); in qpXmlWriter_writeBase64()
DqpWatchDog.c63 DE_ASSERT(dog); in watchDogThreadFunc()
93 DE_ASSERT(timeOutFunc); in qpWatchDog_create()
94 DE_ASSERT((totalTimeLimitSecs > 0) && (intervalTimeLimitSecs > 0)); in qpWatchDog_create()
122 DE_ASSERT(dog); in qpWatchDog_reset()
131 DE_ASSERT(dog); in qpWatchDog_destroy()
145 DE_ASSERT(dog); in qpWatchDog_touch()
/external/deqp/framework/randomshaders/
DrsgVariableType.cpp103 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/
DdeInt32.h53 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()
216 DE_ASSERT(deIsPowerOfTwo32(align)); in deIsAligned32()
228 DE_ASSERT((align & (align-1)) == 0); /* power of two */ in deIsAlignedPtr()
240 DE_ASSERT(deIsPowerOfTwo32(align)); in deAlign32()
253 DE_ASSERT((align & (align-1)) == 0); /* power of two */ in deAlignPtr()
295 DE_ASSERT(a > 0); in deLog2Floor32()
362 DE_ASSERT((deInt64)res == ((deInt64)a * (deInt64)b)); in deSafeMul32()
[all …]
DdeString.c51 DE_ASSERT(str); in deStringHash()
63 DE_ASSERT(str); in deStringHashLeading()
76 DE_ASSERT(ptr); in deMemoryHash()
96 DE_ASSERT(a && b); in deStringEqual()
119 DE_ASSERT(string && format); in deVsprintf()
144 DE_ASSERT(string && format); in deSprintf()
/external/deqp/framework/egl/
DegluNativeDisplay.cpp39 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()
82 DE_ASSERT(platformType != EGL_NONE && platformExtension); in NativeDisplayFactory()
83 DE_ASSERT(capabilities & NativeDisplay::CAPABILITY_GET_DISPLAY_PLATFORM); in NativeDisplayFactory()
92 DE_ASSERT(!(capabilities & NativeDisplay::CAPABILITY_GET_DISPLAY_PLATFORM)); in NativeDisplayFactory()
93 DE_ASSERT(capabilities & NativeDisplay::CAPABILITY_GET_DISPLAY_LEGACY); in NativeDisplayFactory()
/external/deqp/framework/common/
DtcuTestSessionExecutor.cpp43 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 …]
DtcuVector.hpp129 …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 …]
DtcuTexture.cpp174 DE_ASSERT(DE_FALSE); in getChannelSize()
205 DE_ASSERT(DE_FALSE); in getNumUsedChannels()
234 DE_ASSERT(DE_FALSE); in channelToFloat()
263 DE_ASSERT(DE_FALSE); in channelToInt()
292 DE_ASSERT(DE_FALSE); in floatToChannel()
346 DE_ASSERT(DE_FALSE); in intToChannel()
431 DE_ASSERT(DE_FALSE); in getChannelReadSwizzle()
478 DE_ASSERT(DE_FALSE); in getChannelWriteSwizzle()
505 DE_ASSERT(order == RGB || order == RGBA); in getPixelSize()
512 DE_ASSERT(order == RGB); in getPixelSize()
[all …]
DtcuTestHierarchyUtil.cpp45 DE_ASSERT(false); in getNodeTypeName()
76 DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE || in writeXmlCaselists()
87 DE_ASSERT(!curFile && !writer); in writeXmlCaselists()
101 DE_ASSERT(numAttribs <= DE_LENGTH_OF_ARRAY(attribs)); in writeXmlCaselists()
132 DE_ASSERT(numAttribs <= DE_LENGTH_OF_ARRAY(attribs)); in writeXmlCaselists()
158 DE_ASSERT(!curFile && !writer); in writeXmlCaselists()
169 DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE && in writeTxtCaselists()
190 DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_LEAVE_NODE && in writeTxtCaselists()
/external/deqp/framework/delibs/decpp/
DdeBlockBuffer.hpp114 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 …]
DdeRingBuffer.hpp76 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/
DdeMemPool.c142 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(alignBytes)); in deMemPool_allocInternal()
479 DE_ASSERT(curPage->bytesAllocated == 0); in deMemPool_allocInternal()
485 DE_ASSERT(numBytes + alignPadding <= curPage->capacity); in deMemPool_allocInternal()
[all …]
/external/deqp/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp158 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/
DxeContainerFormatParser.cpp81 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()
111DE_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 …]
DxeXMLParser.cpp100 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/opengl/
DgluShaderUtil.cpp82 DE_ASSERT(version != GLSL_VERSION_LAST); in glslVersionIsES()
128 DE_ASSERT(false); in getContextTypeGLSLVersion()
147 DE_ASSERT(deInBounds32((int)shaderType, 0, SHADERTYPE_LAST)); in getShaderTypeName()
163 DE_ASSERT(deInBounds32((int)precision, 0, PRECISION_LAST)); in getPrecisionName()
244 DE_ASSERT(deInBounds32((int)dataType, 0, DE_LENGTH_OF_ARRAY(s_names))); in getDataTypeName()
323 DE_ASSERT(deInBounds32((int)dataType, 0, DE_LENGTH_OF_ARRAY(s_sizes))); in getDataTypeScalarSize()
402 DE_ASSERT(deInBounds32((int)dataType, 0, DE_LENGTH_OF_ARRAY(s_scalarTypes))); in getDataTypeScalarType()
481 DE_ASSERT(deInBounds32((int)dataType, 0, DE_LENGTH_OF_ARRAY(s_floatTypes))); in getDataTypeFloatScalars()
487 DE_ASSERT(deInRange32(size, 1, 4)); in getDataTypeVector()
522 DE_ASSERT(de::inRange(numCols, 2, 4) && de::inRange(numRows, 2, 4)); in getDataTypeMatrix()
[all …]
DgluVarTypeUtil.hpp130 …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/delibs/deutil/
DdeFile.c71 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()
80DE_ASSERT(!(mode & DE_FILEMODE_TRUNCATE) || ((mode & DE_FILEMODE_WRITE) && (mode & DE_FILEMODE_OPE… in mapOpenMode()
144 DE_ASSERT(DE_FALSE); in mapSeekPosition()
247 DE_ASSERT((mode & DE_FILEMODE_READ) != 0 || ((mode & DE_FILEMODE_WRITE) != 0)); in deFile_create()
250 DE_ASSERT((mode & DE_FILEMODE_OPEN) != 0 || ((mode & DE_FILEMODE_CREATE) != 0)); in deFile_create()
253 DE_ASSERT(!(mode & DE_FILEMODE_CREATE) || (mode & DE_FILEMODE_WRITE)); in deFile_create()
256DE_ASSERT(!(mode & DE_FILEMODE_TRUNCATE) || ((mode & DE_FILEMODE_WRITE) && (mode & DE_FILEMODE_OPE… in deFile_create()
272 DE_ASSERT(DE_FALSE); in deFile_create()
[all …]
DdeTimer.c66 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 …]
/external/deqp/framework/opengl/simplereference/
DsglrReferenceUtils.cpp43 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/platform/android/
DtcuAndroidRenderActivity.hpp75 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()

12345678910>>...19