/external/deqp/framework/delibs/debase/ |
deFloat16.h | 30 typedef deUint16 deFloat16;
|
deInt32.h | 437 DE_INLINE deUint16 deReverseBytes16 (deUint16 v) 439 return (deUint16)((v << 8) | (v >> 8)); 528 DE_INLINE deUint32 deUint16Hash (deUint16 v) { return deInt32Hash((deInt32)v); } 533 DE_INLINE deBool deUint16Equal (deUint16 a, deUint16 b) { return (a == b); }
|
/external/deqp/framework/delibs/decpp/ |
deThreadSafeRingBuffer.cpp | 42 Message (deUint16 threadId, deUint16 payload) 52 deUint16 getThreadId (void) const { return (deUint16)(data >> 16); } 53 deUint16 getPayload (void) const { return (deUint16)(data & 0xffff); } 72 deUint16 threadId = msg.getThreadId(); 85 deUint32 getPayloadSum (deUint16 threadId) const 92 vector<deUint16> m_lastPayload; 99 Producer (ThreadSafeRingBuffer<Message>& buffer, deUint16 threadId, int dataSize [all...] |
deBlockBuffer.cpp | 43 Message (deUint16 threadId, deUint16 payload) 53 deUint16 getThreadId (void) const { return (deUint16)(data >> 16); } 54 deUint16 getPayload (void) const { return (deUint16)(data & 0xffff); } 84 deUint16 threadId = msg.getThreadId(); 111 deUint32 getPayloadSum (deUint16 threadId) const 118 vector<deUint16> m_lastPayload; 125 Producer (MessageBuffer& buffer, deUint16 threadId, int numMessages [all...] |
deRandom.hpp | 54 deUint16 getUint16 (void) { return (deUint16)deRandom_getUint32(&m_rnd); }
|
/external/deqp/modules/gles3/functional/ |
es3fShaderPackingFunctionTests.cpp | 209 const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f, 1.0f) * 32767.0f), -(1<<15), (1<<15)-1); 210 const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f, 1.0f) * 32767.0f), -(1<<15), (1<<15)-1); 213 const deUint16 res0 = (deUint16)(res & 0xffff); 214 const deUint16 res1 = (deUint16)(res >> 16); 297 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); 298 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16) [all...] |
/external/deqp/framework/common/ |
tcuImageIO.cpp | 213 static inline deUint16 readBigEndianShort (tcu::Resource* resource) 215 deUint16 val; 217 return (deUint16)(((val >> 8) & 0xFF) | ((val << 8) & 0xFF00)); 240 deUint16 type = readBigEndianShort(resource.get()); 244 deUint16 width = readBigEndianShort(resource.get()); 245 deUint16 height = readBigEndianShort(resource.get()); 246 deUint16 activeWidth = readBigEndianShort(resource.get()); 247 deUint16 activeHeight = readBigEndianShort(resource.get());
|
tcuRandomValueIterator.hpp | 49 template <> inline deUint16 getRandomValue<deUint16> (de::Random& rnd) { return (deUint16)rnd.getUint32(); }
|
tcuSeedBuilder.cpp | 101 (deUint8)(((deUint16)val) & 0xFFu), 102 (deUint8)(((deUint16)val) >> 8), 109 SeedBuilder& operator<< (SeedBuilder& builder, deUint16 value) 111 const deUint16 val = value ^ 37323u;
|
tcuSeedBuilder.hpp | 55 SeedBuilder& operator<< (SeedBuilder& builder, deUint16 value);
|
tcuCompressedTexture.cpp | 358 inline deUint16 extend11To16 (deUint16 src) 361 return (deUint16)((src << 5) | (src >> 6)); 367 return (deInt16)(-(deInt16)extend11To16((deUint16)(-src))); 798 deUint16 value; 801 value = (deUint16)deClamp32(baseCodeword*8 + 4 + multiplier*modifier*8, 0, 2047); 803 value= (deUint16)deClamp32(baseCodeword*8 + 4 + modifier, 0, 2047); 805 *((deUint16*)(dst + dstOffset)) = value; [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderPackingFunctionTests.cpp | 226 const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f, 1.0f) * 32767.0f), -(1<<15), (1<<15)-1); 227 const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f, 1.0f) * 32767.0f), -(1<<15), (1<<15)-1); 230 const deUint16 res0 = (deUint16)(res & 0xffff); 231 const deUint16 res1 = (deUint16)(res >> 16); 333 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); 334 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fShaderPackingFunctionTests.cpp | 213 const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f, 1.0f) * 32767.0f), -(1<<15), (1<<15)-1); 214 const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f, 1.0f) * 32767.0f), -(1<<15), (1<<15)-1); 217 const deUint16 res0 = (deUint16)(res & 0xffff); 218 const deUint16 res1 = (deUint16)(res >> 16); 301 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); 302 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16) [all...] |
/external/deqp/framework/opengl/wrapper/ |
glwTypes.inl | 53 typedef deUint16 GLushort; 58 typedef deUint16 GLhalf;
|
/external/deqp/modules/gles2/stress/ |
es2sSpecialFloatTests.cpp | 606 std::vector<deUint16> indices ((DE_LENGTH_OF_ARRAY(s_specialFloats) - 1) * (DE_LENGTH_OF_ARRAY(s_specialFloats) - 1) * 6); 627 indices[baseNdx + 0] = (deUint16)((x+0) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+0)); 628 indices[baseNdx + 1] = (deUint16)((x+1) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+1)); 629 indices[baseNdx + 2] = (deUint16)((x+1) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+0)); 631 indices[baseNdx + 3] = (deUint16)((x+0) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+0)); 632 indices[baseNdx + 4] = (deUint16)((x+1) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+1)); 633 indices[baseNdx + 5] = (deUint16)((x+0) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+1)); 655 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (glw::GLsizeiptr)(indices.size() * sizeof(deUint16)), &indices[0], GL_STATIC_DRAW); 827 std::vector<deUint16> indices (DE_LENGTH_OF_ARRAY(s_specialFloats) * DE_LENGTH_OF_ARRAY(s_specialFloats) * 6); 846 indices[baseNdx + 0] = (deUint16)((x+0) * (DE_LENGTH_OF_ARRAY(s_specialFloats) + 1) + (y+0)) [all...] |
/external/deqp/framework/delibs/deutil/ |
deSocket.c | 223 static deUint16 deHostToNetworkOrder16 (deUint16 v) 232 static deUint16 deNetworkToHostOrder16 (deUint16 v) 241 DE_STATIC_ASSERT(sizeof(((struct sockaddr_in*)DE_NULL)->sin_port) == sizeof(deUint16)); 242 DE_STATIC_ASSERT(sizeof(((struct sockaddr_in6*)DE_NULL)->sin6_port) == sizeof(deUint16)); 321 ((struct sockaddr_in*)bsdAddr)->sin_port = deHostToNetworkOrder16((deUint16)address->port); 327 ((struct sockaddr_in6*)bsdAddr)->sin6_port = deHostToNetworkOrder16((deUint16)address->port); 344 addr4->sin_port = deHostToNetworkOrder16((deUint16)address->port); 362 addr6->sin6_port = deHostToNetworkOrder16((deUint16)address->port) [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrContextUtil.cpp | 62 const deUint16 indices[] = { 0, 1, 2, 2, 1, 3 }; 102 ctx.bufferData(GL_ELEMENT_ARRAY_BUFFER, DE_LENGTH_OF_ARRAY(indices)*sizeof(deUint16), &indices[0], GL_STATIC_DRAW); 132 const deUint16 indices[] = { 0, 1, 2, 2, 1, 3 };
|
/external/deqp/modules/gles3/stress/ |
es3sSpecialFloatTests.cpp | 618 std::vector<deUint16> indices ((DE_LENGTH_OF_ARRAY(s_specialFloats) - 1) * (DE_LENGTH_OF_ARRAY(s_specialFloats) - 1) * 6); 639 indices[baseNdx + 0] = (deUint16)((x+0) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+0)); 640 indices[baseNdx + 1] = (deUint16)((x+1) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+1)); 641 indices[baseNdx + 2] = (deUint16)((x+1) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+0)); 643 indices[baseNdx + 3] = (deUint16)((x+0) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+0)); 644 indices[baseNdx + 4] = (deUint16)((x+1) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+1)); 645 indices[baseNdx + 5] = (deUint16)((x+0) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+1)); 667 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (glw::GLsizeiptr)(indices.size() * sizeof(deUint16)), &indices[0], GL_STATIC_DRAW); 842 std::vector<deUint16> indices (DE_LENGTH_OF_ARRAY(s_specialFloats) * DE_LENGTH_OF_ARRAY(s_specialFloats) * 6); 861 indices[baseNdx + 0] = (deUint16)((x+0) * (DE_LENGTH_OF_ARRAY(s_specialFloats) + 1) + (y+0)) [all...] |
/external/deqp/framework/opengl/ |
gluDrawUtil.hpp | 217 inline PrimitiveList NAME (int numElements, const deUint16* indices) \ 262 DECLARE_VA_CTOR(Uint16, deUint16, VTX_COMP_UNSIGNED_INT16, VTX_COMP_CONVERT_NONE); 270 DECLARE_VA_CTOR(Unorm16, deUint16, VTX_COMP_UNSIGNED_INT16, VTX_COMP_CONVERT_NORMALIZE_TO_FLOAT); 278 DECLARE_VA_CTOR(Uint16Float, deUint16, VTX_COMP_UNSIGNED_INT16, VTX_COMP_CONVERT_CAST_TO_FLOAT);
|
/external/deqp/modules/gles2/functional/ |
es2fBufferTestUtil.cpp | 339 static void computeIndices (vector<deUint16>& indices, int gridSizeX, int gridSizeY) 352 indices[quadNdx*6 + 0] = (deUint16)v10; 353 indices[quadNdx*6 + 1] = (deUint16)v00; 354 indices[quadNdx*6 + 2] = (deUint16)v01; 356 indices[quadNdx*6 + 3] = (deUint16)v10; 357 indices[quadNdx*6 + 4] = (deUint16)v01; 358 indices[quadNdx*6 + 5] = (deUint16)v11; 421 vector<deUint16> indices;
|
/external/deqp/modules/internal/ |
ditBuildInfoTests.cpp | 154 const deUint16 multiByte = (deUint16)0x0102;
|
ditSeedBuilderTests.cpp | 142 addChild(new SeedBuilderTest<deUint16>(m_testCtx, 0, 78413740u, "uint16_zero", "Seed from uint16 zero.")); 143 addChild(new SeedBuilderTest<deUint16>(m_testCtx, 1, 3068621u, "uint16_one", "Seed from uint16 one.")); 144 addChild(new SeedBuilderTest<deUint16>(m_testCtx, 65535, 120448140u, "uint16_max", "Seed from uint16 max."));
|
/external/deqp/modules/glshared/ |
glsRandomShaderCase.hpp | 108 std::vector<deUint16> m_indices;
|
glsStateChangePerfTestCases.hpp | 102 std::vector<deUint16> m_indices;
|
glsShaderPerformanceMeasurer.cpp | 72 static inline deUint16 getVtxIndex (int x, int y, int gridSizeX) 74 return (deUint16)(y*(gridSizeX+1) + x); 98 static void generateIndices (std::vector<deUint16>& dst, int gridSizeX, int gridSizeY) 183 std::vector<deUint16> indices; 188 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)(indices.size()*sizeof(deUint16)), &indices[0], GL_STATIC_DRAW);
|