/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 | tcuCompressedTexture.cpp | 364 inline deInt16 extend11To16WithSign (deInt16 src) in extend11To16WithSign() 367 return (deInt16)(-(deInt16)extend11To16((deUint16)(-src))); in extend11To16WithSign() 369 return (deInt16)extend11To16(src); in extend11To16WithSign() 787 deInt16 value; in decompressEAC11Block() 790 value = (deInt16)deClamp32(baseCodeword*8 + multiplier*modifier*8, -1023, 1023); in decompressEAC11Block() 792 value = (deInt16)deClamp32(baseCodeword*8 + modifier, -1023, 1023); in decompressEAC11Block() 794 *((deInt16*)(dst + dstOffset)) = value; in decompressEAC11Block() 923 …const deInt16* const srcPixel = (deInt16*)&uncompressedBlock[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPR… in decompressEAC_R11() 924 deInt16* const dstPixel = (deInt16*)(dstPtr + y*dstRowPitch + x*dstPixelSize); in decompressEAC_R11() 965 …const deInt16* const srcPixelR = (deInt16*)&uncompressedBlockR[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOM… in decompressEAC_RG11() [all …]
|
D | tcuRandomValueIterator.hpp | 53 template <> inline deInt16 getRandomValue<deInt16> (de::Random& rnd) { return (deInt16)rnd.getUint… in getRandomValue()
|
D | tcuSeedBuilder.cpp | 96 SeedBuilder& operator<< (SeedBuilder& builder, deInt16 value) in operator <<() 98 const deInt16 val = value ^ 555; in operator <<()
|
D | tcuSeedBuilder.hpp | 54 SeedBuilder& operator<< (SeedBuilder& builder, deInt16 value);
|
D | tcuTexture.cpp | 332 …case TextureFormat::SNORM_INT16: return de::max(-1.0f, (float)*((const deInt16*)value) / 32767.0f… in channelToFloat() 339 case TextureFormat::SIGNED_INT16: return (float)*((const deInt16*)value); in channelToFloat() 362 case TextureFormat::SNORM_INT16: return (int)*((const deInt16*)value); in channelToInt() 369 case TextureFormat::SIGNED_INT16: return (int)*((const deInt16*)value); in channelToInt() 392 …case TextureFormat::SNORM_INT16: *((deInt16*)dst) = convertSatRte<deInt16> (src * 32767.0f); br… in floatToChannel() 399 case TextureFormat::SIGNED_INT16: *((deInt16*)dst) = convertSatRte<deInt16> (src); break; in floatToChannel() 449 case TextureFormat::SNORM_INT16: *((deInt16*)dst) = convertSat<deInt16> (src); break; in intToChannel() 454 case TextureFormat::SIGNED_INT16: *((deInt16*)dst) = convertSat<deInt16> (src); break; in intToChannel()
|
/external/deqp/modules/internal/ |
D | ditSeedBuilderTests.cpp | 130 …addChild(new SeedBuilderTest<deInt16>(m_testCtx, 0, 133071403u, "int16_zero", "Seed from int16 ze… in init() 131 …addChild(new SeedBuilderTest<deInt16>(m_testCtx, 1, 57421642u, "int16_one", "Seed from int16 one… in init() 132 …addChild(new SeedBuilderTest<deInt16>(m_testCtx, -1, 74389771u, "int16_minus_one", "Seed from int… in init()
|
/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 | deMath.h | 216 DE_INLINE deInt16 deRoundFloatToInt16 (float x) { if(x >= 0.0f) return (deInt16)(x + 0.5f); els… in deRoundFloatToInt16()
|
D | deInt32.h | 527 DE_INLINE deUint32 deInt16Hash (deInt16 v) { return deInt32Hash(v); } in deInt16Hash() 532 DE_INLINE deBool deInt16Equal (deInt16 a, deInt16 b) { return (a == b); } in deInt16Equal()
|
D | deDefs.c | 33 DE_STATIC_ASSERT(sizeof(deInt16) == 2);
|
D | deDefs.h | 161 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/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderPackingFunctionTests.cpp | 333 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); in iterate() 334 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16); in iterate()
|