/frameworks/base/wifi/java/android/net/wifi/aware/ |
TlvBufferUtils.java | 73 * @param typeSize Number of bytes used for the Type (T) field. Values 80 public TlvConstructor(int typeSize, int lengthSize) { 81 if (typeSize < 0 || typeSize > 2 || lengthSize <= 0 || lengthSize > 2) { 83 "Invalid sizes - typeSize=" + typeSize + ", lengthSize=" + lengthSize); 85 mTypeSize = typeSize; 424 * @param typeSize Number of bytes used for the Type (T) field. Valid 431 public TlvIterable(int typeSize, int lengthSize, @Nullable byte[] array) { 432 if (typeSize < 0 || typeSize > 2 || lengthSize <= 0 || lengthSize > 2) [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
CastSizeChecker.cpp | 50 CharUnits TypeSize, QualType ToPointeeTy) { 68 if (ArrayTy->getSize() == 1 && TypeSize > FlexSize) 69 TypeSize -= FlexSize; 81 CharUnits Left = RegionSize - TypeSize; 119 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy); 122 if (typeSize.isZero()) 125 if (regionSize % typeSize == 0) 128 if (evenFlexibleArraySize(Ctx, regionSize, typeSize, ToPointeeTy))
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
IndexDataManager.h | 63 static std::size_t typeSize(GLenum type);
|
IndexDataManager.cpp | 99 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)
|
VertexDataManager.cpp | 65 int elementSize = attribute.typeSize(); 72 output = (char*)vertexBuffer->map(attribute, attribute.typeSize() * count, &streamOffset); 131 mStreamingBuffer->addRequiredSpace(attribs[i].typeSize() * count); 171 translated[i].stride = attribs[i].typeSize();
|
Context.h | 157 int typeSize() const 173 return mStride ? mStride : typeSize();
|
/external/swiftshader/src/OpenGL/libGL/ |
IndexDataManager.h | 66 static std::size_t typeSize(GLenum type);
|
IndexDataManager.cpp | 116 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)
|
VertexDataManager.cpp | 64 int elementSize = attribute.typeSize(); 71 output = (char*)vertexBuffer->map(attribute, attribute.typeSize() * count, &streamOffset); 133 mStreamingBuffer->addRequiredSpace(attribs[i].typeSize() * count); 176 translated[i].stride = attribs[i].typeSize();
|
Context.h | 379 int typeSize() const 395 return mStride ? mStride : typeSize();
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
IndexDataManager.h | 66 static std::size_t typeSize(GLenum type);
|
IndexDataManager.cpp | 284 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)
|
VertexDataManager.cpp | 64 int elementSize = attribute.typeSize(); 71 output = (char*)vertexBuffer->map(attribute, attribute.typeSize() * count, &streamOffset); 133 mStreamingBuffer->addRequiredSpace(attrib.typeSize() * (isInstanced ? 1 : count)); 182 translated[i].stride = isInstanced ? 0 : attrib.typeSize();
|
Context.h | 205 int typeSize() const 232 return mStride ? mStride : typeSize();
|
/external/deqp/modules/gles3/functional/ |
es3fInstancedRenderingTests.cpp | 181 int typeSize = glu::getDataTypeScalarSize(m_rgbAttrType); 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); 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);
|
es3fVertexArrayObjectTests.cpp | 269 int typeSize = 0; 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; 848 case GL_UNSIGNED_INT: typeSize = sizeof(GLuint); break; 849 case GL_UNSIGNED_SHORT: typeSize = sizeof(GLushort); break; 850 case GL_UNSIGNED_BYTE: typeSize = sizeof(GLubyte); break [all...] |
es3fUniformApiTests.cpp | [all...] |
/frameworks/rs/ |
rsScriptGroup.h | 87 const Type ** type, size_t typeSize);
|
rsScriptGroup.cpp | 197 const Type ** type, size_t typeSize) { 200 size_t linkCount = typeSize / sizeof(Type *); 371 const RsType * type, size_t typeSize) { 379 (const Type **) type, typeSize);
|
/external/javassist/src/main/javassist/bytecode/ |
StackMapTable.java | 499 int typeSize = (varTag == LONG || varTag == DOUBLE) ? 2 : 1; 500 int[] localTags2 = new int[len + typeSize]; 501 int[] localData2 = new int[len + typeSize]; 506 j += typeSize; 514 if (typeSize > 1) {
|
/external/deqp/modules/gles31/functional/ |
es31fProgramUniformTests.cpp | [all...] |
/frameworks/base/core/jni/ |
android_hardware_camera2_CameraMetadata.cpp | 126 size_t typeSize = getTypeSize(type); 128 if (dataBytes % typeSize != 0) { 129 ALOGE("%s: Expected dataBytes (%zu) to be divisible by typeSize " 130 "(%zu)", __FUNCTION__, dataBytes, typeSize); 134 size_t dataCount = dataBytes / typeSize;
|
/external/deqp/modules/gles2/functional/ |
es2fUniformApiTests.cpp | [all...] |
/external/clang/lib/CodeGen/ |
CGExprCXX.cpp | 555 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); 557 = llvm::ConstantInt::get(CGF.SizeTy, typeSize.getQuantity()); 594 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); 595 llvm::APInt typeSizeMultiplier(sizeWidth, typeSize.getQuantity()); 753 if (typeSize.isOne()) { [all...] |
/external/clang/lib/Sema/ |
SemaType.cpp | [all...] |