/external/deqp/framework/delibs/depool/ |
D | dePoolMultiSet.c | 26 DE_DECLARE_POOL_MULTISET(deTestMultiSet, deInt16); 27 DE_IMPLEMENT_POOL_MULTISET(deTestMultiSet, deInt16, deInt16Hash, deInt16Equal); 38 DE_TEST_ASSERT(!deTestMultiSet_exists(set, (deInt16)i)); in dePoolMultiSet_selfTest() 42 deTestMultiSet_insert(set, (deInt16)i); in dePoolMultiSet_selfTest() 48 deBool found = deTestMultiSet_exists(set, (deInt16)i); in dePoolMultiSet_selfTest() 54 deTestMultiSet_delete(set, (deInt16)i); in dePoolMultiSet_selfTest() 60 deBool found = deTestMultiSet_exists(set, (deInt16)i); in dePoolMultiSet_selfTest() 66 deTestMultiSet_insert(set, (deInt16)i); in dePoolMultiSet_selfTest() 73 deBool found = deTestMultiSet_exists(set, (deInt16)i); in dePoolMultiSet_selfTest() 83 deTestMultiSet_insert(set, (deInt16)i); in dePoolMultiSet_selfTest() [all …]
|
D | dePoolHashSet.c | 28 DE_DECLARE_POOL_HASH_SET(deTestHashSet, deInt16, int); 29 DE_IMPLEMENT_POOL_HASH_SET(deTestHashSet, deInt16, int, deInt16Hash, deInt16Equal, deInt32Hash, deI… 43 deTestHashSet_insert(hashSet, (deInt16)i, 2*j + 5); in dePoolHashSet_selfTest() 52 deTestHashSet_delete(hashSet, (deInt16)i, 2*j + 5); in dePoolHashSet_selfTest() 61 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHashSet_selfTest() 68 deTestHash_insert(hash, (deInt16)i, -i); in dePoolHashSet_selfTest() 74 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHashSet_selfTest() 80 deTestHash_delete(hash, (deInt16)i); in dePoolHashSet_selfTest() 85 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHashSet_selfTest() 94 deTestHash_insert(hash, (deInt16)i, -i); in dePoolHashSet_selfTest() [all …]
|
D | dePoolSet.c | 28 DE_DECLARE_POOL_SET(deTestSet, deInt16); 29 DE_IMPLEMENT_POOL_SET(deTestSet, deInt16, deInt16Hash, deInt16Equal); 40 DE_TEST_ASSERT(!deTestSet_exists(set, (deInt16)i)); in dePoolSet_selfTest() 44 deTestSet_insert(set, (deInt16)i); in dePoolSet_selfTest() 50 deBool found = deTestSet_exists(set, (deInt16)i); in dePoolSet_selfTest() 56 deTestSet_delete(set, (deInt16)i); in dePoolSet_selfTest() 62 deBool found = deTestSet_exists(set, (deInt16)i); in dePoolSet_selfTest() 68 deTestSet_insert(set, (deInt16)i); in dePoolSet_selfTest() 75 deBool found = deTestSet_exists(set, (deInt16)i); in dePoolSet_selfTest() 86 deInt16 key = deTestSetIter_getKey(&iter); in dePoolSet_selfTest()
|
D | dePoolHash.c | 28 DE_DECLARE_POOL_HASH(deTestHash, deInt16, int); 29 DE_IMPLEMENT_POOL_HASH(deTestHash, deInt16, int, deInt16Hash, deInt16Equal); 32 DE_DECLARE_POOL_ARRAY(deTestInt16Array, deInt16); 51 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHash_selfTest() 58 deTestHash_insert(hash, (deInt16)i, -i); in dePoolHash_selfTest() 64 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHash_selfTest() 70 deTestHash_delete(hash, (deInt16)i); in dePoolHash_selfTest() 75 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHash_selfTest() 84 deTestHash_insert(hash, (deInt16)i, -i); in dePoolHash_selfTest() 88 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHash_selfTest() [all …]
|
D | dePoolHashArray.c | 28 DE_DECLARE_POOL_HASH_ARRAY(deTestHashArray, deInt16, int, deInt16Array, deIntArray); 29 DE_IMPLEMENT_POOL_HASH_ARRAY(deTestHashArray, deInt16, int, deInt16Array, deIntArray, deInt16Hash, … 47 deTestHashArray_insert(hashArray, (deInt16)(-i^0x5), 2*i+5); in dePoolHashArray_selfTest() 58 DE_TEST_ASSERT(deInt16Array_get(keyArray, i) == (deInt16)(-i^0x5)); in dePoolHashArray_selfTest()
|
D | dePoolArray.c | 151 DE_DECLARE_POOL_ARRAY(dePoolInt16Array, deInt16); 171 dePoolInt16Array_pushBack(arr16, (deInt16)i); in dePoolArray_selfTest() 203 dePoolInt16Array_pushBack(arr16, (deInt16)i); in dePoolArray_selfTest()
|
D | dePoolArray.h | 294 DE_DECLARE_POOL_ARRAY(deInt16Array, deInt16);
|
/external/deqp/framework/common/ |
D | tcuRandomValueIterator.hpp | 53 template <> inline deInt16 getRandomValue<deInt16> (de::Random& rnd) { return (deInt16)rnd.getUint… in getRandomValue()
|
D | tcuCompressedTexture.cpp | 395 static inline deInt16 extend11To16WithSign (deInt16 src) in extend11To16WithSign() 398 return -(deInt16)extend11To16(-src); in extend11To16WithSign() 400 return (deInt16)extend11To16(src); in extend11To16WithSign() 819 …*(deInt16*)&dst[dstOffset] = (deInt16)deClamp32(baseCodeword*8 + multiplier*modifier*8, -1023, 102… in decompressEAC11Block() 821 *(deInt16*)&dst[dstOffset] = (deInt16)deClamp32(baseCodeword*8 + modifier, -1023, 1023); in decompressEAC11Block() 1037 …const deInt16* const srcPixel = (deInt16*)&uncompressedBlock[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPR… in decompressEAC_R11() 1038 … deInt16* const dstPixel = (deInt16*)(dstPtr + (baseY+y)*dstRowPitch + (baseX+x)*dstPixelSize); in decompressEAC_R11() 1089 …const deInt16* const srcPixelR = (deInt16*)&uncompressedBlockR[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOM… in decompressEAC_RG11() 1090 …const deInt16* const srcPixelG = (deInt16*)&uncompressedBlockG[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOM… in decompressEAC_RG11() 1091 … deInt16* const dstPixel = (deInt16*)(dstPtr + (baseY+y)*dstRowPitch + (baseX+x)*dstPixelSize); in decompressEAC_RG11()
|
D | tcuTexture.cpp | 266 …case TextureFormat::SNORM_INT16: return de::max(-1.0f, (float)*((const deInt16*)value) / 32767.0f… in channelToFloat() 272 case TextureFormat::SIGNED_INT16: return (float)*((const deInt16*)value); in channelToFloat() 290 case TextureFormat::SNORM_INT16: return (int)*((const deInt16*)value); in channelToInt() 296 case TextureFormat::SIGNED_INT16: return (int)*((const deInt16*)value); in channelToInt() 314 …case TextureFormat::SNORM_INT16: *((deInt16*)dst) = convertSatRte<deInt16> (src * 32767.0f); br… in floatToChannel() 320 case TextureFormat::SIGNED_INT16: *((deInt16*)dst) = convertSatRte<deInt16> (src); break; in floatToChannel() 351 case TextureFormat::SNORM_INT16: *((deInt16*)dst) = convertSat<deInt16> (src); break; in intToChannel() 355 case TextureFormat::SIGNED_INT16: *((deInt16*)dst) = convertSat<deInt16> (src); break; in intToChannel()
|
/external/deqp/framework/delibs/decpp/ |
D | dePoolArray.cpp | 46 arr16.pushBack((deInt16)i); in intArrayTest() 78 arr16.pushBack((deInt16)i); in intArrayTest() 120 arr16.pushBack((deInt16)i); in alignedIntArrayTest() 152 arr16.pushBack((deInt16)i); in alignedIntArrayTest()
|
D | dePoolArray.hpp | 210 DE_SPECIALIZE_POOL_ARRAY_ELEMENT_BASIC_TYPE(deInt16);
|
/external/deqp/framework/opengl/ |
D | gluDrawUtil.hpp | 265 DECLARE_VA_CTOR(Int16, deInt16, VTX_COMP_SIGNED_INT16, VTX_COMP_CONVERT_NONE); 273 DECLARE_VA_CTOR(Snorm16, deInt16, VTX_COMP_SIGNED_INT16, VTX_COMP_CONVERT_NORMALIZE_TO_FLOAT); 281 DECLARE_VA_CTOR(Int16Float, deInt16, VTX_COMP_SIGNED_INT16, VTX_COMP_CONVERT_CAST_TO_FLOAT);
|
/external/deqp/framework/delibs/debase/ |
D | deInt32.h | 434 DE_INLINE int deInt16Hash (deInt16 v) { return deInt32Hash(v); } in deInt16Hash() 439 DE_INLINE deBool deInt16Equal (deInt16 a, deInt16 b) { return (a == b); } in deInt16Equal()
|
D | deMath.h | 198 DE_INLINE deInt16 deRoundFloatToInt16 (float x) { if(x >= 0.0f) return (deInt16)(x + 0.5f); els… in deRoundFloatToInt16()
|
D | deDefs.c | 33 DE_STATIC_ASSERT(sizeof(deInt16) == 2);
|
D | deDefs.h | 135 typedef signed short deInt16; typedef
|
/external/deqp/framework/referencerenderer/ |
D | rrVertexAttrib.cpp | 290 case VERTEXATTRIBTYPE_NONPURE_SNORM16_CLAMP: readSnormClamp<deInt16> (dst, size, ptr); break; in readFloat() 294 case VERTEXATTRIBTYPE_NONPURE_SNORM16_SCALE: readSnormScale<deInt16> (dst, size, ptr); break; in readFloat() 301 case VERTEXATTRIBTYPE_NONPURE_INT16: read<deInt16> (dst, size, ptr); break; in readFloat() 328 case VERTEXATTRIBTYPE_PURE_INT16: read<deInt16> (dst, size, ptr); break; in readInt()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderPackingFunctionTests.cpp | 297 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); in iterate() 298 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16); in iterate()
|
/external/deqp/framework/opengl/wrapper/ |
D | glwTypes.inl | 47 typedef deInt16 GLshort;
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderPackingFunctionTests.cpp | 301 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); in iterate() 302 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16); in iterate()
|
/external/deqp/modules/glshared/ |
D | glsVertexArrayTests.hpp | 271 typedef WrappedType<deInt16> Short;
|
D | glsDrawTest.cpp | 438 typedef WrappedType<deInt16> Short; 1573 alignmentSafeAssignment<deInt16>(data, getRandom<GLValue::Short>(rnd, min.s, max.s)); in setData() 1639 …case DrawTestSpec::INPUTTYPE_SHORT: return createBasicArray<deInt16, GLValue::Short> (seed, ele… in generateBasicArray() 2511 sizeof(deInt16), // INPUTTYPE_SHORT, in inputTypeSize()
|
D | glsVertexArrayTests.cpp | 199 sizeof(deInt16), // INPUTTYPE_SHORT, in inputTypeSize() 1373 alignmentSafeAssignment<deInt16>(data, getRandom<GLValue::Short>(rnd, min.s, max.s)); in setData()
|