/external/deqp/framework/opengl/ |
D | gluPixelTransfer.cpp | 54 TCU_CHECK_INTERNAL(dst.getRowPitch() == dst.getFormat().getPixelSize()*dst.getWidth()); in readPixels() 58 TransferFormat format = getTransferFormat(dst.getFormat()); in readPixels() 60 gl.pixelStorei(GL_PACK_ALIGNMENT, getTransferAlignment(dst.getFormat())); in readPixels() 73 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texImage2D() 77 TransferFormat format = getTransferFormat(src.getFormat()); in texImage2D() 79 gl.pixelStorei(GL_UNPACK_ALIGNMENT, getTransferAlignment(src.getFormat())); in texImage2D() 91 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texImage3D() 97 TransferFormat format = getTransferFormat(src.getFormat()); in texImage3D() 99 gl.pixelStorei(GL_UNPACK_ALIGNMENT, getTransferAlignment(src.getFormat())); in texImage3D() 112 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texSubImage2D() [all …]
|
D | gluTexture.cpp | 86 gl.pixelStorei(GL_UNPACK_ALIGNMENT, computePixelStore(m_refTexture.getFormat())); in upload() 89 TransferFormat transferFormat = getTransferFormat(m_refTexture.getFormat()); in upload() 132 , m_format (getGLFormat(levels[0].getFormat())) in Texture2D() 133 …, m_refTexture (getUncompressedFormat(levels[0].getFormat()), levels[0].getWidth(), levels[0].get… in Texture2D() 169 gl.pixelStorei(GL_UNPACK_ALIGNMENT, computePixelStore(m_refTexture.getFormat())); in upload() 172 TransferFormat transferFormat = getTransferFormat(m_refTexture.getFormat()); in upload() 180 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload() 190 deUint32 compressedFormat = getGLFormat(levels[0].getFormat()); in loadCompressed() 229 …TCU_CHECK_INTERNAL(level.getFormat() == tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureF… in create() 230 … level.getFormat() == tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8)); in create() [all …]
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Renderbuffer.cpp | 46 return GetRedSize(getFormat()); in getRedSize() 51 return GetGreenSize(getFormat()); in getGreenSize() 56 return GetBlueSize(getFormat()); in getBlueSize() 61 return GetAlphaSize(getFormat()); in getAlphaSize() 66 return GetDepthSize(getFormat()); in getDepthSize() 71 return GetStencilSize(getFormat()); in getStencilSize() 127 GLint RenderbufferTexture2D::getFormat() const in getFormat() function in es2::RenderbufferTexture2D 129 return mTexture2D->getFormat(GL_TEXTURE_2D, mLevel); in getFormat() 190 GLint RenderbufferTexture2DRect::getFormat() const in getFormat() function in es2::RenderbufferTexture2DRect 192 return mTexture2DRect->getFormat(GL_TEXTURE_RECTANGLE_ARB, 0); in getFormat() [all …]
|
D | Framebuffer.cpp | 352 if(!IsColorRenderable(colorbuffer->getFormat(), version)) in completeness() 359 GLenum format = colorbuffer->getFormat(); in completeness() 420 if(!es2::IsDepthRenderable(depthbuffer->getFormat(), version)) in completeness() 427 if(!es2::IsDepthTexture(depthbuffer->getFormat())) in completeness() 477 if(!es2::IsStencilRenderable(stencilbuffer->getFormat(), version)) in completeness() 484 GLenum internalformat = stencilbuffer->getFormat(); in completeness() 545 switch(colorbuffer->getFormat()) in getImplementationColorReadFormat() 593 UNREACHABLE(colorbuffer->getFormat()); in getImplementationColorReadFormat() 606 switch(colorbuffer->getFormat()) in getImplementationColorReadType() 654 UNREACHABLE(colorbuffer->getFormat()); in getImplementationColorReadType() [all …]
|
D | Renderbuffer.h | 57 virtual GLint getFormat() const = 0; 87 GLint getFormat() const override; 113 GLint getFormat() const override; 138 GLint getFormat() const override; 165 GLint getFormat() const override; 192 GLint getFormat() const override; 227 GLint getFormat() const;
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Renderbuffer.cpp | 44 return GetRedSize(getFormat()); in getRedSize() 49 return GetGreenSize(getFormat()); in getGreenSize() 54 return GetBlueSize(getFormat()); in getBlueSize() 59 return GetAlphaSize(getFormat()); in getAlphaSize() 64 return GetDepthSize(getFormat()); in getDepthSize() 69 return GetStencilSize(getFormat()); in getStencilSize() 125 GLint RenderbufferTexture2D::getFormat() const in getFormat() function in es1::RenderbufferTexture2D 127 return mTexture2D->getFormat(GL_TEXTURE_2D, 0); in getFormat() 193 GLenum Renderbuffer::getFormat() const in getFormat() function in es1::Renderbuffer 195 return mInstance->getFormat(); in getFormat() [all …]
|
D | Framebuffer.cpp | 257 if(!IsColorRenderable(colorbuffer->getFormat())) in completeness() 264 GLenum format = colorbuffer->getFormat(); in completeness() 306 if(!es1::IsDepthRenderable(depthbuffer->getFormat())) in completeness() 313 if(!es1::IsDepthTexture(depthbuffer->getFormat())) in completeness() 356 if(!es1::IsStencilRenderable(stencilbuffer->getFormat())) in completeness() 363 GLenum internalformat = stencilbuffer->getFormat(); in completeness() 408 switch(colorbuffer->getFormat()) in getImplementationColorReadFormat() 417 UNREACHABLE(colorbuffer->getFormat()); in getImplementationColorReadFormat() 430 switch(colorbuffer->getFormat()) in getImplementationColorReadType() 439 UNREACHABLE(colorbuffer->getFormat()); in getImplementationColorReadType()
|
/external/clang/include/clang/Frontend/ |
D | PCHContainerOperations.h | 44 virtual StringRef getFormat() const = 0; 62 virtual StringRef getFormat() const = 0; 72 StringRef getFormat() const override { return "raw"; } in getFormat() function 84 StringRef getFormat() const override { return "raw"; } in getFormat() function 100 Writers[Writer->getFormat()] = std::move(Writer); in registerWriter() 103 Readers[Reader->getFormat()] = std::move(Reader); in registerReader()
|
/external/deqp/framework/common/ |
D | tcuImageCompare.cpp | 232 …if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && referen… in fuzzyCompare() 246 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in fuzzyCompare() 293 …TCU_CHECK_INTERNAL(ref.getFormat().type == TextureFormat::UNORM_INT8 && cmp.getFormat().type == Te… in computeSquaredDiffSum() 348 …if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && referen… in measurePixelDiffAccuracy() 359 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in measurePixelDiffAccuracy() 524 …if (tcu::getTextureChannelClass(reference.getFormat().type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_F… in floatUlpThresholdCompare() 525 …tcu::getTextureChannelClass(result.getFormat().type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_PO… in floatUlpThresholdCompare() 542 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in floatUlpThresholdCompare() 611 …if (tcu::getTextureChannelClass(reference.getFormat().type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_F… in floatThresholdCompare() 612 …tcu::getTextureChannelClass(result.getFormat().type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_PO… in floatThresholdCompare() [all …]
|
D | tcuTextureUtil.cpp | 263 …return ConstPixelBufferAccess(access.getFormat(), tcu::IVec3(width, height, depth), access.getPitc… in getSubregion() 289 return PixelBufferAccess(access.getFormat(), tcu::IVec3(width, height, depth), access.getPitch(), in getSubregion() 332 …return PixelBufferAccess(access.getFormat(), access.getSize(), pitch, (deUint8*)access.getDataPtr(… in flipYAccess() 346 …return ConstPixelBufferAccess(access.getFormat(), access.getSize(), pitch, (deUint8*)access.getDat… in flipYAccess() 716 const int pixelSize = access.getFormat().getPixelSize(); in clear() 730 PixelBufferAccess(access.getFormat(), 1, 1, 1, 0, 0, &pixel.u8[0]).setPixel(color, 0, 0); in clear() 747 const int pixelSize = access.getFormat().getPixelSize(); in clear() 761 PixelBufferAccess(access.getFormat(), 1, 1, 1, 0, 0, &pixel.u8[0]).setPixel(color, 0, 0); in clear() 783 …DE_ASSERT(access.getFormat().order == TextureFormat::DS || access.getFormat().order == TextureForm… in clearDepth() 790 …DE_ASSERT(access.getFormat().order == TextureFormat::DS || access.getFormat().order == TextureForm… in clearStencil() [all …]
|
D | tcuTestLog.cpp | 67 if (tcu::isCombinedDepthStencilType(m_access.getFormat().type)) in LogImage() 69 if (m_access.getFormat().order == tcu::TextureFormat::D) in LogImage() 71 else if (m_access.getFormat().order == tcu::TextureFormat::S) in LogImage() 76 if (m_access.getFormat().order != tcu::TextureFormat::DS) in LogImage() 105 DE_ASSERT(access.getFormat().order != tcu::TextureFormat::DS); in LogImage() 108 if (tcu::isCombinedDepthStencilType(access.getFormat().type)) in LogImage() 110 if (access.getFormat().order == tcu::TextureFormat::D) in LogImage() 112 if (access.getFormat().order == tcu::TextureFormat::S) in LogImage() 125 if (m_access.getFormat().order != tcu::TextureFormat::DS) in write() 238 const TextureFormat& format = access.getFormat(); in writeImage() [all …]
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLECKeyFactory.java | 97 if (!"X.509".equals(key.getFormat()) || encoded == null) { in engineGetKeySpec() 112 if (!"PKCS#8".equals(key.getFormat()) || encoded == null) { in engineGetKeySpec() 123 if (!"PKCS#8".equals(key.getFormat())) { in engineGetKeySpec() 125 + key.getFormat()); in engineGetKeySpec() 133 if (!"X.509".equals(key.getFormat())) { in engineGetKeySpec() 135 + key.getFormat()); in engineGetKeySpec() 178 } else if ((key instanceof PrivateKey) && ("PKCS#8".equals(key.getFormat()))) { in engineTranslateKey() 188 } else if ((key instanceof PublicKey) && ("X.509".equals(key.getFormat()))) { in engineTranslateKey()
|
D | OpenSSLRSAKeyFactory.java | 100 if (!"X.509".equals(key.getFormat()) || encoded == null) { in engineGetKeySpec() 132 if (!"PKCS#8".equals(key.getFormat()) || encoded == null) { in engineGetKeySpec() 150 if (!"PKCS#8".equals(key.getFormat()) || encoded == null) { in engineGetKeySpec() 161 if (!"PKCS#8".equals(key.getFormat())) { in engineGetKeySpec() 163 + key.getFormat()); in engineGetKeySpec() 171 if (!"X.509".equals(key.getFormat())) { in engineGetKeySpec() 173 + key.getFormat()); in engineGetKeySpec() 230 } else if ((key instanceof PrivateKey) && ("PKCS#8".equals(key.getFormat()))) { in engineTranslateKey() 240 } else if ((key instanceof PublicKey) && ("X.509".equals(key.getFormat()))) { in engineTranslateKey()
|
D | OpenSSLKey.java | 65 final String keyFormat = key.getFormat(); in fromPrivateKey() 68 } else if (!"PKCS#8".equals(key.getFormat())) { in fromPrivateKey() 178 if (!"PKCS#8".equals(key.getFormat())) { in fromKeyMaterial() 224 if (!"X.509".equals(key.getFormat())) { in fromPublicKey() 225 throw new InvalidKeyException("Unknown key format " + key.getFormat()); in fromPublicKey()
|
/external/swiftshader/src/OpenGL/libGL/ |
D | Texture.cpp | 202 if(IsCompressed(image->getFormat())) in subImage() 207 if(format != image->getFormat()) in subImage() 230 if(format != image->getFormat()) in subImageCompressed() 338 GLenum Texture2D::getFormat(GLenum target, GLint level) const in getFormat() function in gl::Texture2D 341 return image[level] ? image[level]->getFormat() : GL_NONE; in getFormat() 469 copy(renderTarget, sourceRect, image[level]->getFormat(), xoffset, yoffset, image[level]); in copySubImage() 528 if(image[level]->getFormat() != image[0]->getFormat()) in isMipmapComplete() 554 return IsCompressed(getFormat(target, level)); in isCompressed() 559 return IsDepthTexture(getFormat(target, level)); in isDepth() 578 …getWidth() >> i, 1), std::max(image[0]->getHeight() >> i, 1), image[0]->getFormat(), image[0]->get… in generateMipmaps() [all …]
|
D | Renderbuffer.cpp | 113 GLenum RenderbufferTexture2D::getFormat() const in getFormat() function in gl::RenderbufferTexture2D 115 return mTexture2D->getFormat(GL_TEXTURE_2D, 0); in getFormat() 169 GLenum RenderbufferTextureCubeMap::getFormat() const in getFormat() function in gl::RenderbufferTextureCubeMap 171 return mTextureCubeMap->getFormat(mTarget, 0); in getFormat() 230 GLenum Renderbuffer::getFormat() const in getFormat() function in gl::Renderbuffer 232 return mInstance->getFormat(); in getFormat() 313 GLenum RenderbufferStorage::getFormat() const in getFormat() function in gl::RenderbufferStorage
|
D | Renderbuffer.h | 53 virtual GLenum getFormat() const = 0; 79 virtual GLenum getFormat() const; 101 virtual GLenum getFormat() const; 124 virtual GLenum getFormat() const; 157 GLenum getFormat() const;
|
D | Framebuffer.cpp | 248 if(!gl::IsColorRenderable(colorbuffer->getFormat())) in completeness() 255 GLenum format = colorbuffer->getFormat(); in completeness() 300 if(!gl::IsDepthRenderable(depthbuffer->getFormat())) in completeness() 307 if(!gl::IsDepthTexture(depthbuffer->getFormat())) in completeness() 350 if(!gl::IsStencilRenderable(stencilbuffer->getFormat())) in completeness() 357 GLenum internalformat = stencilbuffer->getFormat(); in completeness()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 326 …tcu::copy(*resultLevel, tcu::ConstPixelBufferAccess(resultLevel->getFormat(), resultLevel->getSize… in readColorAttachment() 619 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in getSize() 627 …textureSize += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().getPixe… in getSize() 643 offsetMultiples.push_back(tcu::getBlockSize(getCompressedLevel(0, 0).getFormat())); in getCompressedSize() 683 offsetMultiples.push_back(tcu::getBlockSize(getCompressedLevel(0, 0).getFormat())); in getBufferCopyRegions() 690 tcu::IVec3 blockPixelSize = getBlockPixelSize(level.getFormat()); in getBufferCopyRegions() 731 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in getBufferCopyRegions() 764 …layerDataOffset += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().get… in getBufferCopyRegions() 781 offsetMultiples.push_back(tcu::getBlockSize(getCompressedLevel(0, 0).getFormat())); in write() 798 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in write() [all …]
|
D | vktPipelineImageUtil.hpp | 150 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat() 172 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat() 193 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat() 215 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat() 236 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat() 258 …virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat();… in getTextureFormat() 280 …virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat();… in getTextureFormat()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
D | ElapsedTimer.java | 42 return diffTime(getFormat(), start, end); in elapsedTime() 46 return diffTime(getFormat(), start, System.currentTimeMillis()); in elapsedTime() 95 private static NumberFormat getFormat() { in getFormat() method in ElapsedTimer 105 fmt = getFormat(); in diffTime()
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
D | ElapsedTimer.java | 39 return diffTime(getFormat(), start, end); in elapsedTime() 43 return diffTime(getFormat(), start, System.currentTimeMillis()); in elapsedTime() 92 private static NumberFormat getFormat() { in getFormat() method in ElapsedTimer 102 fmt = getFormat(); in diffTime()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/ |
D | BuilderInstruction.java | 48 Preconditions.checkFormat(opcode, getFormat()); in BuilderInstruction() 56 public abstract Format getFormat(); in getFormat() method in BuilderInstruction 59 return getFormat().size / 2; in getCodeUnits()
|
/external/deqp/modules/internal/ |
D | ditTextureFormatTests.cpp | 1308 switch (getTextureChannelClass(dst.getFormat().type)) in copyPixels() 1396 getReferenceValues<T>(m_format, src.getFormat(), ref); in verifyRead() 1414 const bool isFloat32Or64 = src.getFormat().type == tcu::TextureFormat::FLOAT || in verifyRead() 1415 src.getFormat().type == tcu::TextureFormat::FLOAT64; in verifyRead() 1417 if (isAccessValid(src.getFormat(), tcu::TEXTUREACCESSTYPE_FLOAT)) in verifyRead() 1420 if (isAccessValid(src.getFormat(), tcu::TEXTUREACCESSTYPE_UNSIGNED_INT) && !isFloat32Or64) in verifyRead() 1423 if (isAccessValid(src.getFormat(), tcu::TEXTUREACCESSTYPE_SIGNED_INT) && !isFloat32Or64) in verifyRead() 1497 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate() 1498 …const PixelBufferAccess tmpAccess (inputAccess.getFormat(), inputAccess.getWidth(), 1, 1, &tmpM… in iterate() 1530 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fCopyImageTests.cpp | 350 deUint32 getFormat (void) const { return m_format; } in getFormat() function in deqp::gles31::Functional::__anon0223fef30111::ImageInfo 372 builder << info.getFormat() << info.getTarget() << info.getSize(); in operator <<() 822 const int texelBlockSize = getTexelBlockSize(info.getFormat()); in genTextureImage() 823 const IVec3 texelBlockPixelSize = getTexelBlockPixelSize(info.getFormat()); in genTextureImage() 850 …genericTexImage(gl, info.getTarget(), faceNdx, levelNdx, levelPixelSize, info.getFormat(), levelSi… in genTextureImage() 876 const tcu::TextureFormat format = glu::mapGLInternalFormat(info.getFormat()); in genRenderbufferImage() 881 DE_ASSERT(!glu::isCompressedFormat(info.getFormat())); in genRenderbufferImage() 890 gl.renderbufferStorage(GL_RENDERBUFFER, info.getFormat(), info.getSize().x(), info.getSize().y()); in genRenderbufferImage() 900 if (isFixedPointFormat(info.getFormat())) in genRenderbufferImage() 919 if (isIntFormat(info.getFormat())) in genRenderbufferImage() [all …]
|