Home
last modified time | relevance | path

Searched refs:getFormat (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/external/deqp/framework/opengl/
DgluPixelTransfer.cpp54 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 …]
DgluTexture.cpp86 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/
DPCHContainerOperations.h44 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/conscrypt/src/main/java/org/conscrypt/
DOpenSSLECKeyFactory.java89 if (!"X.509".equals(key.getFormat()) || encoded == null) { in engineGetKeySpec()
100 if (!"PKCS#8".equals(key.getFormat()) || encoded == null) { in engineGetKeySpec()
109 if (!"PKCS#8".equals(key.getFormat())) { in engineGetKeySpec()
111 + key.getFormat()); in engineGetKeySpec()
118 if (!"X.509".equals(key.getFormat())) { in engineGetKeySpec()
120 + key.getFormat()); in engineGetKeySpec()
162 } else if ((key instanceof PrivateKey) && ("PKCS#8".equals(key.getFormat()))) { in engineTranslateKey()
172 } else if ((key instanceof PublicKey) && ("X.509".equals(key.getFormat()))) { in engineTranslateKey()
DOpenSSLRSAKeyFactory.java91 if (!"X.509".equals(key.getFormat()) || encoded == null) { in engineGetKeySpec()
115 if (!"PKCS#8".equals(key.getFormat()) || encoded == null) { in engineGetKeySpec()
131 if (!"PKCS#8".equals(key.getFormat()) || encoded == null) { in engineGetKeySpec()
140 if (!"PKCS#8".equals(key.getFormat())) { in engineGetKeySpec()
142 + key.getFormat()); in engineGetKeySpec()
149 if (!"X.509".equals(key.getFormat())) { in engineGetKeySpec()
151 + key.getFormat()); in engineGetKeySpec()
207 } else if ((key instanceof PrivateKey) && ("PKCS#8".equals(key.getFormat()))) { in engineTranslateKey()
217 } else if ((key instanceof PublicKey) && ("X.509".equals(key.getFormat()))) { in engineTranslateKey()
DOpenSSLKey.java87 final String keyFormat = key.getFormat(); in fromPrivateKey()
90 } else if (!"PKCS#8".equals(key.getFormat())) { in fromPrivateKey()
196 if (!"PKCS#8".equals(key.getFormat())) { in fromKeyMaterial()
238 if (!"X.509".equals(key.getFormat())) { in fromPublicKey()
239 throw new InvalidKeyException("Unknown key format " + key.getFormat()); in fromPublicKey()
/external/deqp/framework/common/
DtcuImageCompare.cpp231 …if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && referen… in fuzzyCompare()
245 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in fuzzyCompare()
292 …TCU_CHECK_INTERNAL(ref.getFormat().type == TextureFormat::UNORM_INT8 && cmp.getFormat().type == Te… in computeSquaredDiffSum()
347 …if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && referen… in measurePixelDiffAccuracy()
358 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in measurePixelDiffAccuracy()
523 …if (tcu::getTextureChannelClass(reference.getFormat().type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_F… in floatUlpThresholdCompare()
524 …tcu::getTextureChannelClass(result.getFormat().type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_PO… in floatUlpThresholdCompare()
541 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in floatUlpThresholdCompare()
610 …if (tcu::getTextureChannelClass(reference.getFormat().type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_F… in floatThresholdCompare()
611 …tcu::getTextureChannelClass(result.getFormat().type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_PO… in floatThresholdCompare()
[all …]
DtcuTextureUtil.cpp256 …return ConstPixelBufferAccess(access.getFormat(), tcu::IVec3(width, height, depth), access.getPitc… in getSubregion()
282 return PixelBufferAccess(access.getFormat(), tcu::IVec3(width, height, depth), access.getPitch(), in getSubregion()
325 …return PixelBufferAccess(access.getFormat(), access.getSize(), pitch, (deUint8*)access.getDataPtr(… in flipYAccess()
339 …return ConstPixelBufferAccess(access.getFormat(), access.getSize(), pitch, (deUint8*)access.getDat… in flipYAccess()
698 const int pixelSize = access.getFormat().getPixelSize(); in clear()
712 PixelBufferAccess(access.getFormat(), 1, 1, 1, 0, 0, &pixel.u8[0]).setPixel(color, 0, 0); in clear()
729 const int pixelSize = access.getFormat().getPixelSize(); in clear()
743 PixelBufferAccess(access.getFormat(), 1, 1, 1, 0, 0, &pixel.u8[0]).setPixel(color, 0, 0); in clear()
765 …DE_ASSERT(access.getFormat().order == TextureFormat::DS || access.getFormat().order == TextureForm… in clearDepth()
772 …DE_ASSERT(access.getFormat().order == TextureFormat::DS || access.getFormat().order == TextureForm… in clearStencil()
[all …]
DtcuTestLog.cpp67 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 …]
DtcuBilinearImageCompare.cpp193 DE_ASSERT(reference.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && in bilinearCompareRGBA8()
194 result.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)); in bilinearCompareRGBA8()
224 reference.getFormat() == result.getFormat()); in bilinearCompare()
229 if (reference.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in bilinearCompare()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.cpp319 …tcu::copy(*resultLevel, tcu::ConstPixelBufferAccess(resultLevel->getFormat(), resultLevel->getSize… in readColorAttachment()
551 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in getSize()
559 …textureSize += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().getPixe… in getSize()
575 offsetMultiples.push_back(tcu::getBlockSize(getCompressedLevel(0, 0).getFormat())); in getCompressedSize()
615 offsetMultiples.push_back(tcu::getBlockSize(getCompressedLevel(0, 0).getFormat())); in getBufferCopyRegions()
622 tcu::IVec3 blockPixelSize = getBlockPixelSize(level.getFormat()); in getBufferCopyRegions()
651 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in getBufferCopyRegions()
681 …layerDataOffset += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().get… in getBufferCopyRegions()
698 offsetMultiples.push_back(tcu::getBlockSize(getCompressedLevel(0, 0).getFormat())); in write()
715 offsetMultiples.push_back(getLevel(0, 0).getFormat().getPixelSize()); in write()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DElapsedTimer.java36 return diffTime(getFormat(), start, end); in elapsedTime()
40 return diffTime(getFormat(), start, System.currentTimeMillis()); in elapsedTime()
89 private static NumberFormat getFormat() { in getFormat() method in ElapsedTimer
99 fmt = getFormat(); in diffTime()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DElapsedTimer.java35 return diffTime(getFormat(), start, end); in elapsedTime()
39 return diffTime(getFormat(), start, System.currentTimeMillis()); in elapsedTime()
88 private static NumberFormat getFormat() { in getFormat() method in ElapsedTimer
98 fmt = getFormat(); in diffTime()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/
DKeyPairTest.java82 assertEquals("PublicKey format", key1.getFormat(), key2.getFormat());
93 assertEquals("PrivateKey format", key1.getFormat(), key2.getFormat());
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DFixedSizeInsn.java53 return getOpcode().getFormat().codeSize(); in codeSize()
59 getOpcode().getFormat().writeTo(out, this); in writeTo()
71 return getOpcode().getFormat().listingString(this, noteIndices); in listingString0()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/
DBuilderInstruction.java48 Preconditions.checkFormat(opcode, getFormat()); in BuilderInstruction()
56 public abstract Format getFormat(); in getFormat() method in BuilderInstruction
59 return getFormat().size / 2; in getCodeUnits()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/graphics/glutils/
DFileTextureData.java47 if (format == null) this.format = pixmap.getFormat(); in FileTextureData()
63 if (format == null) format = pixmap.getFormat(); in prepare()
75 Pixmap tmp = new Pixmap(potWidth, potHeight, pixmap.getFormat()); in ensurePot()
109 public Format getFormat () { in getFormat() method in FileTextureData
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
DFileTextureData.java48 if (format == null) this.format = pixmap.getFormat(); in FileTextureData()
67 if (format == null) format = pixmap.getFormat(); in prepare()
79 Pixmap tmp = new Pixmap(potWidth, potHeight, pixmap.getFormat()); in ensurePot()
113 public Format getFormat () { in getFormat() method in FileTextureData
/external/deqp/modules/gles31/functional/
Des31fCopyImageTests.cpp256 deUint32 getFormat (void) const { return m_format; } in getFormat() function in deqp::gles31::Functional::__anon69dde6220111::ImageInfo
278 builder << info.getFormat() << info.getTarget() << info.getSize(); in operator <<()
589 const int texelBlockSize = getTexelBlockSize(info.getFormat()); in genTextureImage()
590 const IVec3 texelBlockPixelSize = getTexelBlockPixelSize(info.getFormat()); in genTextureImage()
617 …genericTexImage(gl, info.getTarget(), faceNdx, levelNdx, levelPixelSize, info.getFormat(), levelSi… in genTextureImage()
643 const tcu::TextureFormat format = glu::mapGLInternalFormat(info.getFormat()); in genRenderbufferImage()
648 DE_ASSERT(!glu::isCompressedFormat(info.getFormat())); in genRenderbufferImage()
657 gl.renderbufferStorage(GL_RENDERBUFFER, info.getFormat(), info.getSize().x(), info.getSize().y()); in genRenderbufferImage()
667 if (isFixedPointFormat(info.getFormat())) in genRenderbufferImage()
686 if (isIntFormat(info.getFormat())) in genRenderbufferImage()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkPrograms.cpp79 DE_ASSERT(binary.getFormat() == PROGRAM_FORMAT_SPIRV); in isSaneSpirVBinary()
161 if (program.getFormat() == PROGRAM_FORMAT_SPIRV) in disassembleProgram()
176 if (program.getFormat() == PROGRAM_FORMAT_SPIRV) in validateProgram()
195 if (binary.getFormat() == PROGRAM_FORMAT_SPIRV) in createShaderModule()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/etc1/
DETC1Compressor.java43 if (pixmap.getFormat() != Format.RGB888 && pixmap.getFormat() != Format.RGB565) { in processFile()
44 System.out.println("Converting from " + pixmap.getFormat() + " to RGB888!"); in processFile()
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
DKeyStoreTestSupport.java80 public String getFormat() { in getFormat() method in KeyStoreTestSupport.SKey
105 public String getFormat() { in getFormat() method in KeyStoreTestSupport.MyPrivateKey
157 public String getFormat() { in getPublicKey() method in KeyStoreTestSupport.MCertificate
/external/deqp/modules/internal/
DditTextureFormatTests.cpp1223 switch (getTextureChannelClass(dst.getFormat().type)) in copyPixels()
1311 getReferenceValues<T>(m_format, src.getFormat(), ref); in verifyRead()
1327 if (isAccessValid(src.getFormat(), tcu::TEXTUREACCESSTYPE_FLOAT)) in verifyRead()
1330 if (isAccessValid(src.getFormat(), tcu::TEXTUREACCESSTYPE_UNSIGNED_INT)) in verifyRead()
1333 if (isAccessValid(src.getFormat(), tcu::TEXTUREACCESSTYPE_SIGNED_INT)) in verifyRead()
1407 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate()
1408 …const PixelBufferAccess tmpAccess (inputAccess.getFormat(), inputAccess.getWidth(), 1, 1, &tmpM… in iterate()
1440 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate()
1441 …const PixelBufferAccess tmpAccess (inputAccess.getFormat(), inputAccess.getWidth(), 1, 1, &tmp… in iterate()
1478 vector<deUint8> tmpMem (getPixelSize(inputAccess.getFormat())*inputAccess.getWidth()); in iterate()
[all …]
/external/clang/include/clang/CodeGen/
DObjectFilePCHContainerOperations.h20 StringRef getFormat() const override { return "obj"; } in getFormat() function
34 StringRef getFormat() const override { return "obj"; } in getFormat() function
/external/deqp/framework/referencerenderer/
DrrMultisamplePixelBufferAccess.cpp44 return tcu::PixelBufferAccess(m_access.getFormat(), in toSinglesampleAccess()
54 original.getFormat(), in fromSinglesampleAccess()
84 return tcu::ConstPixelBufferAccess(m_access.getFormat(), in toSinglesampleAccess()
94 original.getFormat(), in fromSinglesampleAccess()
194 switch (src.raw().getFormat().order) in resolveMultisampleBuffer()

12345678910>>...14