/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/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 | 261 …return ConstPixelBufferAccess(access.getFormat(), tcu::IVec3(width, height, depth), access.getPitc… in getSubregion() 287 return PixelBufferAccess(access.getFormat(), tcu::IVec3(width, height, depth), access.getPitch(), in getSubregion() 330 …return PixelBufferAccess(access.getFormat(), access.getSize(), pitch, (deUint8*)access.getDataPtr(… in flipYAccess() 344 …return ConstPixelBufferAccess(access.getFormat(), access.getSize(), pitch, (deUint8*)access.getDat… in flipYAccess() 708 const int pixelSize = access.getFormat().getPixelSize(); in clear() 722 PixelBufferAccess(access.getFormat(), 1, 1, 1, 0, 0, &pixel.u8[0]).setPixel(color, 0, 0); in clear() 739 const int pixelSize = access.getFormat().getPixelSize(); in clear() 753 PixelBufferAccess(access.getFormat(), 1, 1, 1, 0, 0, &pixel.u8[0]).setPixel(color, 0, 0); in clear() 775 …DE_ASSERT(access.getFormat().order == TextureFormat::DS || access.getFormat().order == TextureForm… in clearDepth() 782 …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 | 67 final String keyFormat = key.getFormat(); in fromPrivateKey() 70 } else if (!"PKCS#8".equals(key.getFormat())) { in fromPrivateKey() 176 if (!"PKCS#8".equals(key.getFormat())) { in fromKeyMaterial() 218 if (!"X.509".equals(key.getFormat())) { in fromPublicKey() 219 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() 342 GLenum Texture2D::getFormat(GLenum target, GLint level) const in getFormat() function in gl::Texture2D 345 return image[level] ? image[level]->getFormat() : GL_NONE; in getFormat() 473 copy(renderTarget, sourceRect, image[level]->getFormat(), xoffset, yoffset, image[level]); in copySubImage() 532 if(image[level]->getFormat() != image[0]->getFormat()) in isMipmapComplete() 558 return IsCompressed(getFormat(target, level)); in isCompressed() 563 return IsDepthTexture(getFormat(target, level)); in isDepth() 582 …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/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
D | ElapsedTimer.java | 38 return diffTime(getFormat(), start, end); in elapsedTime() 42 return diffTime(getFormat(), start, System.currentTimeMillis()); in elapsedTime() 91 private static NumberFormat getFormat() { in getFormat() method in ElapsedTimer 101 fmt = getFormat(); in diffTime()
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
D | ElapsedTimer.java | 37 return diffTime(getFormat(), start, end); in elapsedTime() 41 return diffTime(getFormat(), start, System.currentTimeMillis()); in elapsedTime() 90 private static NumberFormat getFormat() { in getFormat() method in ElapsedTimer 100 fmt = getFormat(); in diffTime()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 355 …tcu::copy(*resultLevel, tcu::ConstPixelBufferAccess(resultLevel->getFormat(), resultLevel->getSize… in readColorAttachment() 677 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in getSize() 685 …textureSize += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().getPixe… in getSize() 701 offsetMultiples.push_back(tcu::getBlockSize(getCompressedLevel(0, 0).getFormat())); in getCompressedSize() 741 offsetMultiples.push_back(tcu::getBlockSize(getCompressedLevel(0, 0).getFormat())); in getBufferCopyRegions() 748 tcu::IVec3 blockPixelSize = getBlockPixelSize(level.getFormat()); in getBufferCopyRegions() 789 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in getBufferCopyRegions() 822 …layerDataOffset += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().get… in getBufferCopyRegions() 839 offsetMultiples.push_back(tcu::getBlockSize(getCompressedLevel(0, 0).getFormat())); in write() 856 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/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/swiftshader/src/OpenGL/libGLESv2/ |
D | Renderbuffer.cpp | 125 GLenum RenderbufferTexture2D::getFormat() const in getFormat() function in es2::RenderbufferTexture2D 127 return mTexture2D->getFormat(GL_TEXTURE_2D, mLevel); in getFormat() 202 GLenum RenderbufferTexture3D::getFormat() const in getFormat() function in es2::RenderbufferTexture3D 204 return mTexture3D->getFormat(mTexture3D->getTarget(), mLevel); in getFormat() 270 GLenum RenderbufferTextureCubeMap::getFormat() const in getFormat() function in es2::RenderbufferTextureCubeMap 272 return mTextureCubeMap->getFormat(mTarget, mLevel); in getFormat() 358 GLenum Renderbuffer::getFormat() const in getFormat() function in es2::Renderbuffer 360 return mInstance->getFormat(); in getFormat() 444 GLenum RenderbufferStorage::getFormat() const in getFormat() function in es2::RenderbufferStorage
|
D | Texture.cpp | 439 if(IsCompressed(image->getFormat(), egl::getClientVersion())) in subImage() 444 if(format != image->getFormat()) in subImage() 467 if(format != image->getFormat()) in subImageCompressed() 609 GLenum Texture2D::getFormat(GLenum target, GLint level) const in getFormat() function in es2::Texture2D 612 return image[level] ? image[level]->getFormat() : GL_NONE; in getFormat() 808 copy(renderTarget, sourceRect, image[level]->getFormat(), xoffset, yoffset, zoffset, image[level]); in copySubImage() 872 if(image[level]->getFormat() != image[0]->getFormat()) in isMipmapComplete() 898 return IsCompressed(getFormat(target, level), egl::getClientVersion()); in isCompressed() 903 return IsDepthTexture(getFormat(target, level)); in isDepth() 922 …getWidth() >> i, 1), std::max(image[0]->getHeight() >> i, 1), image[0]->getFormat(), image[0]->get… in generateMipmaps() [all …]
|
D | Renderbuffer.h | 56 virtual GLenum getFormat() const = 0; 88 virtual GLenum getFormat() const; 118 virtual GLenum getFormat() const; 148 virtual GLenum getFormat() const; 176 virtual GLenum getFormat() const; 214 GLenum getFormat() const;
|
/external/deqp/modules/internal/ |
D | ditTextureFormatTests.cpp | 1223 switch (getTextureChannelClass(dst.getFormat().type)) in copyPixels() 1311 getReferenceValues<T>(m_format, src.getFormat(), ref); in verifyRead() 1329 const bool isFloat32Or64 = src.getFormat().type == tcu::TextureFormat::FLOAT || in verifyRead() 1330 src.getFormat().type == tcu::TextureFormat::FLOAT64; in verifyRead() 1332 if (isAccessValid(src.getFormat(), tcu::TEXTUREACCESSTYPE_FLOAT)) in verifyRead() 1335 if (isAccessValid(src.getFormat(), tcu::TEXTUREACCESSTYPE_UNSIGNED_INT) && !isFloat32Or64) in verifyRead() 1338 if (isAccessValid(src.getFormat(), tcu::TEXTUREACCESSTYPE_SIGNED_INT) && !isFloat32Or64) in verifyRead() 1412 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate() 1413 …const PixelBufferAccess tmpAccess (inputAccess.getFormat(), inputAccess.getWidth(), 1, 1, &tmpM… in iterate() 1445 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate() [all …]
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
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()
|
D | Texture.cpp | 260 if(IsCompressed(image->getFormat())) in subImage() 265 if(format != image->getFormat()) in subImage() 290 if(format != image->getFormat()) in subImageCompressed() 433 GLenum Texture2D::getFormat(GLenum target, GLint level) const in getFormat() function in es1::Texture2D 436 return image[level] ? image[level]->getFormat() : GL_NONE; in getFormat() 612 copy(renderTarget, sourceRect, image[level]->getFormat(), xoffset, yoffset, image[level]); in copySubImage() 671 if(image[level]->getFormat() != image[0]->getFormat()) in isMipmapComplete() 697 return IsCompressed(getFormat(target, level)); in isCompressed() 702 return IsDepthTexture(getFormat(target, level)); in isDepth() 721 …getWidth() >> i, 1), std::max(image[0]->getHeight() >> i, 1), image[0]->getFormat(), image[0]->get… in generateMipmaps()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkPrograms.cpp | 79 DE_ASSERT(binary.getFormat() == PROGRAM_FORMAT_SPIRV); in isSaneSpirVBinary() 169 if (program.getFormat() == PROGRAM_FORMAT_SPIRV) in disassembleProgram() 184 if (program.getFormat() == PROGRAM_FORMAT_SPIRV) in validateProgram() 203 if (binary.getFormat() == PROGRAM_FORMAT_SPIRV) in createShaderModule()
|