Searched defs:typeSize (Results 1 - 19 of 19) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp119 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy); local
122 if (typeSize.isZero())
125 if (regionSize % typeSize == 0)
128 if (evenFlexibleArraySize(Ctx, regionSize, typeSize, ToPointeeTy))
/external/swiftshader/src/OpenGL/libGL/
H A DIndexDataManager.cpp116 if(typeSize(type) * count + offset > static_cast<std::size_t>(buffer->size()))
140 streamingBuffer->reserveSpace(convertCount * typeSize(type), type);
141 void *output = streamingBuffer->map(typeSize(type) * convertCount, &streamOffset);
161 std::size_t IndexDataManager::typeSize(GLenum type) function in class:gl::IndexDataManager
H A DContext.h379 int typeSize() const function in class:gl::VertexAttribute
395 return mStride ? mStride : typeSize();
/external/swiftshader/src/OpenGL/libGLES_CM/
H A DIndexDataManager.cpp99 if(typeSize(type) * count + offset > static_cast<std::size_t>(buffer->size()))
123 streamingBuffer->reserveSpace(convertCount * typeSize(type), type);
124 void *output = streamingBuffer->map(typeSize(type) * convertCount, &streamOffset);
144 std::size_t IndexDataManager::typeSize(GLenum type) function in class:es1::IndexDataManager
H A DContext.h157 int typeSize() const function in class:es1::VertexAttribute
173 return mStride ? mStride : typeSize();
/external/swiftshader/src/OpenGL/libGLESv2/
H A DIndexDataManager.cpp284 if(typeSize(type) * count + offset > static_cast<std::size_t>(buffer->size()))
311 streamingBuffer->reserveSpace(convertCount * typeSize(type), type);
312 void *output = streamingBuffer->map(typeSize(type) * convertCount, &streamOffset);
338 streamingBuffer->reserveSpace(convertCount * typeSize(type), type);
339 void *output = streamingBuffer->map(typeSize(type) * convertCount, &streamOffset);
362 std::size_t IndexDataManager::typeSize(GLenum type) function in class:es2::IndexDataManager
H A DContext.h205 int typeSize() const function in class:es2::VertexAttribute
232 return mStride ? mStride : typeSize();
/external/swiftshader/src/Reactor/
H A DSubzeroReactor.cpp174 static size_t typeSize(Type *type) function in namespace:sw
620 int typeSize = Ice::typeWidthInBytes(type);
621 int totalSize = typeSize * (arraySize ? arraySize : 1);
625 auto alloca = Ice::InstAlloca::create(::function, address, bytes, typeSize);
850 if(typeSize(type) == 4)
861 else if(typeSize(type) == 8)
882 load->addArg(::context->getConstantInt32(typeSize(type)));
903 if(typeSize(type) == 4)
915 else if(typeSize(type) == 8)
938 store->addArg(::context->getConstantInt32(typeSize(typ
[all...]
H A DLLVMReactor.cpp142 static size_t typeSize(Type *type) function in namespace:sw
590 index = createMul(index, createConstantLong((int64_t)typeSize(type)));
594 index = createMul(index, createConstantInt((int)typeSize(type)));
/external/deqp/modules/gles3/functional/
H A Des3fVertexArrayObjectTests.cpp269 int typeSize = 0; local
272 case GL_UNSIGNED_INT: typeSize = sizeof(GLuint); break;
273 case GL_UNSIGNED_SHORT: typeSize = sizeof(GLushort); break;
274 case GL_UNSIGNED_BYTE: typeSize = sizeof(GLubyte); break;
279 deUint8* indices = new deUint8[m_spec.indexCount * typeSize];
283 deUint8* pos = indices + typeSize * i;
845 int typeSize = 0; local
848 case GL_UNSIGNED_INT: typeSize = sizeof(GLuint); break;
849 case GL_UNSIGNED_SHORT: typeSize = sizeof(GLushort); break;
850 case GL_UNSIGNED_BYTE: typeSize
[all...]
H A Des3fInstancedRenderingTests.cpp181 int typeSize = glu::getDataTypeScalarSize(m_rgbAttrType); local
182 bool isScalarCase = typeSize == 1;
403 for (int j = 0; j < typeSize - 1; j++)
413 for (int j = 0; j < typeSize - 1; j++)
422 for (int j = 0; j < typeSize - 1; j++)
477 int typeSize = glu::getDataTypeScalarSize(m_rgbAttrType); local
488 glVertexAttribPointer(curLoc, typeSize, GL_FLOAT, GL_FALSE, 0, attrPtr);
490 glVertexAttribIPointer(curLoc, typeSize, GL_INT, 0, attrPtr);
492 glVertexAttribIPointer(curLoc, typeSize, GL_UNSIGNED_INT, 0, attrPtr);
H A Des3fUniformApiTests.cpp1866 const int typeSize = glu::getDataTypeScalarSize(uniform.type); local
1905 switch (typeSize)
1917 vector<float> buffer(valuesToAssign.size() * typeSize);
1919 buffer[i] = valuesToAssign[i / typeSize].val.floatV[i % typeSize];
1922 switch (typeSize)
1937 vector<float> buffer(valuesToAssign.size() * typeSize);
1939 buffer[i] = valuesToAssign[i / typeSize].val.floatV[i % typeSize];
1963 switch (typeSize)
[all...]
/external/clang/lib/CodeGen/
H A DCGExprCXX.cpp555 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); local
557 = llvm::ConstantInt::get(CGF.SizeTy, typeSize.getQuantity());
594 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); local
595 llvm::APInt typeSizeMultiplier(sizeWidth, typeSize.getQuantity());
753 if (typeSize.isOne()) {
/external/deqp/modules/gles2/functional/
H A Des2fUniformApiTests.cpp1495 const int typeSize = glu::getDataTypeScalarSize(uniform.type); local
1534 switch (typeSize)
1546 vector<float> buffer(valuesToAssign.size() * typeSize);
1548 buffer[i] = valuesToAssign[i / typeSize].val.floatV[i % typeSize];
1551 switch (typeSize)
1566 vector<float> buffer(valuesToAssign.size() * typeSize);
1568 buffer[i] = valuesToAssign[i / typeSize].val.floatV[i % typeSize];
1585 switch (typeSize)
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fProgramUniformTests.cpp1369 const int typeSize = glu::getDataTypeScalarSize(uniform.type); local
1408 switch (typeSize)
1420 vector<float> buffer(valuesToAssign.size() * typeSize);
1422 buffer[i] = valuesToAssign[i / typeSize].val.floatV[i % typeSize];
1425 switch (typeSize)
1440 vector<float> buffer(valuesToAssign.size() * typeSize);
1442 buffer[i] = valuesToAssign[i / typeSize].val.floatV[i % typeSize];
1466 switch (typeSize)
[all...]
/external/clang/lib/Sema/
H A DSemaInit.cpp1505 unsigned typeSize = SemaRef.Context.getTypeSize(elementType); local
1520 << typeCode << typeSize; local
H A DSemaType.cpp1646 unsigned typeSize = static_cast<unsigned>(Context.getTypeSize(Result)); local
1647 assert(typeSize > 0 && "type size for vector must be greater than 0 bits");
1653 Result = Context.getVectorType(Result, 128/typeSize, VecKind);
6330 unsigned typeSize = static_cast<unsigned>(S.Context.getTypeSize(CurType)); local
6335 if (vectorSize % typeSize) {
6341 if (VectorType::isVectorSizeTooLarge(vectorSize / typeSize)) {
6356 CurType = S.Context.getVectorType(CurType, vectorSize/typeSize,
6487 unsigned typeSize = static_cast<unsigned>(S.Context.getTypeSize(CurType)); local
6489 unsigned vecSize = typeSize * numElts;
/external/guice/extensions/struts2/lib/
H A Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath.java package javassist ...
/external/robolectric/v1/lib/main/
H A Djavassist-3.14.0-GA.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/bytecode/ javassist/bytecode/analysis/ javassist/bytecode/annotation/ javassist/ ...

Completed in 5621 milliseconds