Home
last modified time | relevance | path

Searched refs:deInt64 (Results 1 – 25 of 66) sorted by relevance

123

/external/deqp/framework/referencerenderer/
DrrRasterizer.cpp31 inline deInt64 toSubpixelCoord (float v) in toSubpixelCoord()
33 return (deInt64)(v * (1<<RASTERIZER_SUBPIXEL_BITS) + (v < 0.f ? -0.5f : 0.5f)); in toSubpixelCoord()
36 inline deInt64 toSubpixelCoord (deInt32 v) in toSubpixelCoord()
41 inline deInt32 ceilSubpixelToPixelCoord (deInt64 coord, bool fillEdge) in ceilSubpixelToPixelCoord()
49 inline deInt32 floorSubpixelToPixelCoord (deInt64 coord, bool fillEdge) in floorSubpixelToPixelCoord()
57 …lFill, const VerticalFill verticalFill, const deInt64 x0, const deInt64 y0, const deInt64 x1, cons… in initEdgeCCW()
61 const deInt64 xd = x1-x0; in initEdgeCCW()
62 const deInt64 yd = y1-y0; in initEdgeCCW()
84 static inline deInt64 evaluateEdge (const EdgeFunction& edge, const deInt64 x, const deInt64 y) in evaluateEdge()
89 static inline bool isInsideCCW (const EdgeFunction& edge, const deInt64 edgeVal) in isInsideCCW()
[all …]
DrrRasterizer.hpp102 deInt64 a;
103 deInt64 b;
104 deInt64 c;
/external/deqp/framework/delibs/deutil/
DdeFile.c149 deBool deFile_seek (deFile* file, deFilePosition base, deInt64 offset) in deFile_seek()
154 deInt64 deFile_getPosition (const deFile* file) in deFile_getPosition()
159 deInt64 deFile_getSize (const deFile* file) in deFile_getSize()
161 deInt64 size = 0; in deFile_getSize()
162 deInt64 curPos = lseek(file->fd, 0, SEEK_CUR); in deFile_getSize()
177 static deFileResult mapReadWriteResult (deInt64 numBytes) in mapReadWriteResult()
187 deFileResult deFile_read (deFile* file, void* buf, deInt64 bufSize, deInt64* numReadPtr) in deFile_read()
189 deInt64 numRead = read(file->fd, buf, (size_t)bufSize); in deFile_read()
197 deFileResult deFile_write (deFile* file, const void* buf, deInt64 bufSize, deInt64* numWrittenPtr) in deFile_write()
199 deInt64 numWritten = write(file->fd, buf, (size_t)bufSize); in deFile_write()
[all …]
DdeFile.h78 deInt64 deFile_getPosition (const deFile* file);
79 deBool deFile_seek (deFile* file, deFilePosition base, deInt64 offset);
80 deInt64 deFile_getSize (const deFile* file);
82 deFileResult deFile_read (deFile* file, void* buf, deInt64 bufSize, deInt64* numRead);
83 deFileResult deFile_write (deFile* file, const void* buf, deInt64 bufSize, deInt64* numWritten);
DdeTimer.c316 deInt64 lastCallback = (deInt64)deGetMicroseconds(); in timerThread()
335 sleepTime = thread->interval - (int)(((deInt64)deGetMicroseconds()-lastCallback)/1000); in timerThread()
339 lastCallback = (deInt64)deGetMicroseconds(); in timerThread()
/external/deqp/framework/delibs/debase/
DdeInt32.h305 DE_INLINE deBool deIsAligned64 (deInt64 a, deInt64 align) in deIsAligned64()
341 DE_INLINE deInt64 deAlign64 (deInt64 val, deInt64 align) in deAlign64()
512 DE_ASSERT((deInt64)res == ((deInt64)a * (deInt64)b)); in deSafeMul32()
518 DE_ASSERT((deInt64)a + (deInt64)b == (deInt64)(a + b)); in deSafeAdd32()
531 return (deInt32)(((deInt64)a * (deInt64)b) >> shift); in deMulAsr32()
536 deInt64 res = ((deInt64)a * (deInt64)b) >> shift; in deSafeMulAsr32()
537 DE_ASSERT(res == (deInt64)(deInt32)res); in deSafeMulAsr32()
548 DE_INLINE deInt64 deMul32_32_64 (deInt32 a, deInt32 b) in deMul32_32_64()
550 return ((deInt64)a * (deInt64)b); in deMul32_32_64()
553 DE_INLINE deInt64 deAbs64 (deInt64 a) in deAbs64()
[all …]
DdeInt32Test.c202 DE_TEST_ASSERT(deInt64InInt32Range((deInt64)0x7FFFFFF)); in deInt32_selfTest()
206 DE_TEST_ASSERT(deInt64InInt32Range(-((deInt64)0x7FFFFFF))); in deInt32_selfTest()
207 DE_TEST_ASSERT(deInt64InInt32Range(-((deInt64)0x8000 << 16))); in deInt32_selfTest()
208 DE_TEST_ASSERT(deInt64InInt32Range((deInt64)deIntMinValue32(32))); in deInt32_selfTest()
210 DE_TEST_ASSERT(!deInt64InInt32Range((((deInt64)0x7FFFFFF) << 32) | (deInt64)0xFFFFFFFF)); in deInt32_selfTest()
211 DE_TEST_ASSERT(!deInt64InInt32Range((deInt64)0x7FFFFFFF + 1)); in deInt32_selfTest()
212 DE_TEST_ASSERT(!deInt64InInt32Range(-((deInt64)0x7FFFFFFF + 2))); in deInt32_selfTest()
213 DE_TEST_ASSERT(!deInt64InInt32Range(-((((deInt64)0x7FFFFFF) << 32) | (deInt64)0xFFFFFFFF))); in deInt32_selfTest()
214 DE_TEST_ASSERT(!deInt64InInt32Range((deInt64)deIntMinValue32(32) - 1)); in deInt32_selfTest()
DdeMathTest.c88 …const deInt64 x = (deInt64)(sign == -1 ? (-1) : (+1)) * (1LL << (deInt64)numBits) + (deInt64)delta; in testInt32ToFloat()
DdeMath.h222 DE_INLINE deInt64 deRoundFloatToInt64 (float x) { if(x >= 0.0f) return (deInt64)(x + 0.5f); els… in deRoundFloatToInt64()
226 DE_INLINE deInt64 deRoundToInt64 (double x) { if(x >= 0.0) return (deInt64)(x + 0.5); else ret… in deRoundToInt64()
/external/deqp/modules/glshared/
DglsShaderPerformanceMeasurer.cpp304 deInt64 numQuadGrids = measureState.numDrawCalls * numFrames; in iterate()
305 deInt64 numPixels = (deInt64)m_viewportWidth * (deInt64)m_viewportHeight * numQuadGrids; in iterate()
306 deInt64 numVertices = (deInt64)getNumVertices(m_gridSizeX, m_gridSizeY) * numQuadGrids; in iterate()
324 deInt64 numQuadGrids = measureState.numDrawCalls * numFrames; in logMeasurementInfo()
325 deInt64 numPixels = (deInt64)m_viewportWidth * (deInt64)m_viewportHeight * numQuadGrids; in logMeasurementInfo()
326 deInt64 numVertices = (deInt64)getNumVertices(m_gridSizeX, m_gridSizeY) * numQuadGrids; in logMeasurementInfo()
/external/deqp/modules/gles3/performance/
Des3pShaderCompilationCases.cpp418 deInt64 sourceSetTime;
419 deInt64 vertexCompileTime;
420 deInt64 fragmentCompileTime;
421 deInt64 programLinkTime;
422 deInt64 firstInputSetTime;
423 deInt64 firstDrawTime;
425 deInt64 secondInputSetTime;
426 deInt64 secondDrawTime;
428deInt64 firstPhase (void) const { return sourceSetTime + vertexCompileTime + fragmentCompileTim… in firstPhase()
429 deInt64 secondPhase (void) const { return secondInputSetTime + secondDrawTime; } in secondPhase()
[all …]
/external/deqp/modules/gles2/performance/
Des2pShaderCompilationCases.cpp418 deInt64 sourceSetTime;
419 deInt64 vertexCompileTime;
420 deInt64 fragmentCompileTime;
421 deInt64 programLinkTime;
422 deInt64 firstInputSetTime;
423 deInt64 firstDrawTime;
425 deInt64 secondInputSetTime;
426 deInt64 secondDrawTime;
428deInt64 firstPhase (void) const { return sourceSetTime + vertexCompileTime + fragmentCompileTim… in firstPhase()
429 deInt64 secondPhase (void) const { return secondInputSetTime + secondDrawTime; } in secondPhase()
[all …]
/external/deqp/framework/delibs/dethread/
DdeAtomic.h123 DE_INLINE deInt64 deAtomicIncrementInt64 (volatile deInt64* dstAddr) in deAtomicIncrementInt64()
141 return deAtomicIncrementInt64((volatile deInt64*)dstAddr); in deAtomicIncrementUint64()
149 DE_INLINE deInt64 deAtomicDecrementInt64 (volatile deInt64* dstAddr) in deAtomicDecrementInt64()
167 return deAtomicDecrementInt64((volatile deInt64*)dstAddr); in deAtomicDecrementUint64()
DdeThreadTest.c545 volatile deInt64 a = 11; in deAtomic_selfTest()
569 a = (deInt64)((1ull << 63) - 1ull); in deAtomic_selfTest()
570 DE_TEST_ASSERT(deAtomicIncrementInt64(&a) == (deInt64)(1ull << 63)); in deAtomic_selfTest()
571 DE_TEST_ASSERT(a == (deInt64)(1ull << 63)); in deAtomic_selfTest()
572 DE_TEST_ASSERT(deAtomicDecrementInt64(&a) == (deInt64)((1ull << 63) - 1)); in deAtomic_selfTest()
573 DE_TEST_ASSERT(a == (deInt64)((1ull << 63) - 1)); in deAtomic_selfTest()
/external/deqp/framework/common/
DtcuCPUWarmup.cpp95 deInt64 times[numMeasurements]; in warmupCPU()
101 times[i] = (deInt64)(deGetMicroseconds() - startTime); in warmupCPU()
115 deInt64 latestTimes[numConsecutiveMeasurementsRequired]; in warmupCPU()
127 …latestTimes[measurementNdx % numConsecutiveMeasurementsRequired] = (deInt64)(deGetMicroseconds() -… in warmupCPU()
DtcuTestLog.hpp103 typedef LogNumber<deInt64> Integer;
154 … (const char* name, const char* description, const char* unit, qpKeyValueTag tag, deInt64 value);
170 void writeSampleValue (deInt64 value);
207 SampleBuilder& operator<< (int v) { m_values.push_back(Value((deInt64)v)); return *this; } in operator <<()
208 SampleBuilder& operator<< (deInt64 v) { m_values.push_back(Value(v)); return *this; } in operator <<()
222 deInt64 int64;
228 Value (deInt64 v) : type(TYPE_INT64) { value.int64 = v; } in Value()
533 inline void LogNumber<deInt64>::write (TestLog& log) const in write()
DtcuRandomValueIterator.hpp55 template <> inline deInt64 getRandomValue<deInt64> (de::Random& rnd) { return (deInt64)rnd.getUint… in getRandomValue()
/external/deqp/execserver/
DxsPosixTestProcess.cpp69 deInt64 pos = 0; in run()
71 while (m_run && pos < (deInt64)m_caseList.size()) in run()
73 deInt64 numWritten = 0; in run()
124 deInt64 numRead = 0; in run()
128 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead); in run()
DxsPosixFileReader.cpp69 deInt64 numRead = 0; in run()
73 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead); in run()
/external/deqp/modules/internal/
DditTestLogTests.cpp62 …<< TestLog::Sample << std::numeric_limits<deInt64>::max() << std::numeric_limits<deInt64>::min() <… in iterate()
/external/deqp/execserver/tools/
DxsTest.cpp254 deInt64 numRead = 0; in run()
256 while (deFile_read(m_curFile, &buf[0], (deInt64)sizeof(buf), &numRead) == DE_FILERESULT_SUCCESS) in run()
602 deInt64 numWritten = 0; in runProgram()
705 deInt64 numWrittenInBatch = 0; in runProgram()
962 deInt64 numRead = 0;
999 deInt64 numWritten = 0;
1017 deInt64 numRead = 0;
/external/deqp/executor/
DxeTestCaseResult.hpp174 NumericValue (deInt64 value) : m_type(TYPE_INT64) { m_value.int64 = value; } in NumericValue()
178 deInt64 getInt64 (void) const { DE_ASSERT(getType() == TYPE_INT64); return m_value.int64; } in getInt64()
185 deInt64 int64;
/external/deqp/framework/delibs/destream/
DdeFileStream.c36 deInt64 _numRead = 0; in fileIOStream_read()
69 deInt64 _numWritten = 0; in fileIOStream_write()
/external/deqp/framework/qphelper/
DqpTestLog.h201 …og, const char* name, const char* description, const char* unit, qpKeyValueTag tag, deInt64 value);
228 deBool qpTestLog_writeValueInteger (qpTestLog* log, deInt64 value);
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp609 deInt64 signExtend (deUint64 src, int bits) in signExtend()
615 return (deInt64) src; in signExtend()
630 void convertNormalizedInt (deInt64 num, in convertNormalizedInt()
870 deInt64 chanVal = 0; in convertNormalizedFormat()
878 chanVal = (deInt64) chanUVal; in convertNormalizedFormat()

123