/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | Formatters.h | 34 void format(raw_ostream &Stream, StringRef Style) override; 51 static void format(const codeview::TypeIndex &V, raw_ostream &Stream, in format() function 64 static void format(const codeview::GUID &V, llvm::raw_ostream &Stream, in format() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | FormatCommon.h | 29 void format(raw_ostream &S, StringRef Options) { in format() function 30 // If we don't need to align, we can format straight into the underlying in format() 33 // TODO: Make the format method return the number of bytes written, that in format() 36 Adapter.format(S, Options); in format() 42 Adapter.format(Stream, Options); in format()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | FormatCommon.h | 28 void format(raw_ostream &S, StringRef Options) { in format() function 29 // If we don't need to align, we can format straight into the underlying in format() 32 // TODO: Make the format method return the number of bytes written, that in format() 35 Adapter.format(S, Options); in format() 41 Adapter.format(Stream, Options); in format()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | excessPropertyCheckWithMultipleDiscriminants.js | 19 format?: string; 32 format: "what?" 69 format: "what?"
|
/third_party/skia/third_party/externals/dawn/src/utils/ |
H A D | TestUtils.h | 33 uint32_t GetMinimumBytesPerRow(wgpu::TextureFormat format, uint32_t width); 35 wgpu::TextureFormat format, 63 uint32_t VertexFormatSize(wgpu::VertexFormat format);
|
/third_party/rust/crates/cxx/gen/lib/src/gen/ |
H A D | ifndef.rs | 5 let ifndef = format!("#ifndef {}", guard); 6 let define = format!("#define {}", guard); 7 let endif = format!("#endif // {}", guard);
|
/third_party/skia/infra/bots/assets/clang_linux/ |
H A D | create.py | 51 os.mkdir("../{}_out".format(short)) 52 os.chdir("../{}_out".format(short)) 59 "-DLLVM_USE_SANITIZER={}".format(full)])
|
/third_party/skia/modules/canvaskit/htmlcanvas/ |
H A D | htmlcanvas.js | 59 var format = CanvasKit.ImageFormat.PNG; 61 format = CanvasKit.ImageFormat.JPEG; 64 var imgBytes = img.encodeToBytes(format, quality);
|
/third_party/vk-gl-cts/modules/gles3/performance/ |
H A D | es3pTextureCountTests.cpp | 72 deUint32 format = texFormats[formatNdx].internalFormat; in init() local 79 string description = glu::getTextureFormatName(format); in init() 81 addChild(new Texture2DRenderCase(m_context, name.c_str(), description.c_str(), format, wrapS, wrapT, minFilter, magFilter, tcu::Mat3(), numTextures, false /* npot */)); in init()
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
H A D | platform_wayland.c | 65 /* alt_dri_image_format is a substitute wl_buffer format to use for a 68 * __DRI_IMAGE_FORMAT_NONE if an alternate format is not needed or supported. 188 /* wl_drm format codes overlap with DRIImage FourCC codes for all formats in dri2_wl_visual_idx_from_fourcc() 220 dri2_wl_is_format_supported(void* user_data, uint32_t format) in dri2_wl_is_format_supported() argument 224 int j = dri2_wl_visual_idx_from_fourcc(format); in dri2_wl_is_format_supported() 287 /* formats->formats_bitmap tells us if a format in dri2_wl_visuals is present in dri2_wl_formats_init() 298 * each format in the bitmask. */ in dri2_wl_formats_init() 498 uint32_t format; in surface_dmabuf_feedback_tranche_formats() local 502 /* Compositor may advertise or not a format table. If it does, we use it. in surface_dmabuf_feedback_tranche_formats() 503 * Otherwise, we steal the most recent advertised format tabl in surface_dmabuf_feedback_tranche_formats() 1257 image_get_buffers(__DRIdrawable *driDrawable, unsigned int format, uint32_t *stamp, void *loaderPrivate, uint32_t buffer_mask, struct __DRIimageList *buffers) image_get_buffers() argument 1638 int format, visual_idx; dri2_wl_create_wayland_buffer_from_image() local 1728 drm_handle_format(void *data, struct wl_drm *drm, uint32_t format) drm_handle_format() argument 1763 dmabuf_ignore_format(void *data, struct zwp_linux_dmabuf_v1 *dmabuf, uint32_t format) dmabuf_ignore_format() argument 1770 dmabuf_handle_modifier(void *data, struct zwp_linux_dmabuf_v1 *dmabuf, uint32_t format, uint32_t modifier_hi, uint32_t modifier_lo) dmabuf_handle_modifier() argument 1869 uint32_t format; default_dmabuf_feedback_tranche_formats() local 2268 dri2_wl_swrast_get_stride_for_format(int format, int w) dri2_wl_swrast_get_stride_for_format() argument 2278 dri2_wl_swrast_allocate_buffer(struct dri2_egl_surface *dri2_surf, int format, int w, int h, void **data, int *size, struct wl_buffer **buffer) dri2_wl_swrast_allocate_buffer() argument 2595 shm_handle_format(void *data, struct wl_shm *shm, uint32_t format) shm_handle_format() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageHostImageCopyTests.cpp | 55 vk::VkImageAspectFlags getAspectFlags (vk::VkFormat format) in getAspectFlags() argument 57 if (isCompressedFormat(format)) in getAspectFlags() 62 const auto sampledFormat = mapVkFormat(format); in getAspectFlags() 74 deUint32 getChannelSize (vk::VkFormat format) in getChannelSize() argument 76 const auto tcuFormat = isCompressedFormat(format) ? tcu::getUncompressedFormat(mapVkCompressedFormat(format)) : mapVkFormat(format); in getChannelSize() 81 switch (format) in getChannelSize() 98 deUint32 getNumChannels (vk::VkFormat format) in getNumChannels() argument 100 const auto tcuFormat = isCompressedFormat(format) in getNumChannels() 108 generateData(void* ptr, deUint32 size, vk::VkFormat format) generateData() argument 143 isBlockCompressedFormat(vk::VkFormat format) isBlockCompressedFormat() argument 170 checkSupportedFormatFeatures(const vk::InstanceDriver& vki, VkPhysicalDevice physicalDevice, vk::VkFormat format, vk::VkImageTiling tiling, deUint64 *outDrmModifier) checkSupportedFormatFeatures() argument 1229 PreinitializedTestInstance(vkt::Context& context, const vk::VkFormat format, vk::VkImageLayout srcLayout, vk::VkImageLayout dstLayout, vk::VkExtent3D size, deUint32 arrayLayers, bool imageToImageCopy, bool memcpy, vk::VkImageTiling tiling) PreinitializedTestInstance() argument 1489 PreinitializedTestCase(tcu::TestContext& context, const char* name, const vk::VkFormat format, vk::VkImageLayout srcLayout, vk::VkImageLayout dstLayout, vk::VkExtent3D size, deUint32 arrayLayers, bool imageToImageCopy, bool memcpy, vk::VkImageTiling tiling) PreinitializedTestCase() argument 1716 QueryTestInstance(vkt::Context& context, const vk::VkFormat format, const vk::VkImageTiling tiling) QueryTestInstance() argument 1806 QueryTestCase(tcu::TestContext& context, const char* name, const vk::VkFormat format, const vk::VkImageTiling tiling) QueryTestCase() argument 2089 vk::VkFormat format; testGenerator() member 2193 vk::VkFormat format; testGenerator() member [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcInternalformatTests.cpp | 77 GLenum format; member 92 : format(aFormat) in TextureFormat() 133 GLenum format; member 140 : format(aFormat) in RenderbufferFormat() 158 GLuint createTexture(GLint internalFormat, GLenum format, GLenum type, GLint minFilter, GLint magFilter, 160 glu::ProgramSources prepareTexturingProgramSources(GLint internalFormat, GLenum format, GLenum type) const; 221 GLuint InternalformatCaseBase::createTexture(GLint internalFormat, GLenum format, GLenum type, GLint minFilter, in createTexture() argument 231 tcu::TextureFormat tcuTextureFormat = glu::mapGLTransferFormat(format, type); in createTexture() 236 // note: getPixelSize hits assertion for GL_UNSIGNED_INT_2_10_10_10_REV when format is RGB in createTexture() 249 gl.texImage2D(GL_TEXTURE_2D, 0, internalFormat, m_renderWidth, m_renderHeight, 0, format, typ in createTexture() 262 prepareTexturingProgramSources(GLint internalFormat, GLenum format, GLenum type) const prepareTexturingProgramSources() argument 1450 prepareColoringProgramSources(GLenum format, GLenum type) const prepareColoringProgramSources() argument 1803 formatToString(GLenum format) formatToString() argument 1853 std::string format = formatToString(tf.format); init() local [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | image_packer_test.cpp | 90 option.format = "image/jpeg";
in HWTEST_F() 111 option.format = "image/jpeg";
in HWTEST_F() 146 option.format = "image/jpeg";
in HWTEST_F() 181 option.format = "image/jpeg";
in HWTEST_F() 186 option2.format = "";
in HWTEST_F() 219 option.format = "image/jpeg";
in HWTEST_F() 238 option.format = "";
in HWTEST_F() 261 option.format = "image/jpeg";
in HWTEST_F() 265 option.format = "";
in HWTEST_F() 377 option.format in HWTEST_F() [all...] |
/third_party/libsnd/src/ |
H A D | caf.c | 115 int subformat, format, error = 0 ; in caf_open() local 131 subformat = SF_CODEC (psf->sf.format) ; in caf_open() 137 format = SF_CONTAINER (psf->sf.format) ; in caf_open() 138 if (format != SF_FORMAT_CAF) in caf_open() 252 { int format = SF_FORMAT_CAF ; in decode_desc_chunk() local 263 format |= SF_FORMAT_ALAC_16 ; in decode_desc_chunk() 267 format |= SF_FORMAT_ALAC_20 ; in decode_desc_chunk() 271 format |= SF_FORMAT_ALAC_24 ; in decode_desc_chunk() 275 format | in decode_desc_chunk() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | incaltst.cpp | 172 * The int[] data array should have the format: 276 // $ intltest format/IntlCalendarTest collate/G7CollationTest format/IntlCalendarTest in TestGregorian() 438 // Test simple parse/format with adopt in TestBuddhistFormat() 443 CHECK(status, "creating date format instance"); in TestBuddhistFormat() 445 CHECK(status, "creating gregorian date format instance"); in TestBuddhistFormat() 447 fmt2.format(aDate, str); in TestBuddhistFormat() 450 fmt.format(aDate, str); in TestBuddhistFormat() 459 fmt.format(otherDate, str3); in TestBuddhistFormat() 506 // TaiwanFormat has been moved to testdata/format [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/ |
H A D | vktYCbCrCopyTests.cpp | 21 * \brief YCbCr format copy tests 69 : format (format_) in ImageConfig() 76 vk::VkFormat format; member 99 const vk::VkFormatProperties properties (vk::getPhysicalDeviceFormatProperties(context.getInstanceInterface(), context.getPhysicalDevice(), config.format)); in checkFormatSupport() 145 vk::VkFormat format, in createImage() 157 format, in createImage() 382 deUint32 getBlockByteSize (vk::VkFormat format) in getBlockByteSize() argument 384 switch (format) in getBlockByteSize() 439 return (deUint32)vk::mapVkFormat(format).getPixelSize(); in getBlockByteSize() 544 builder << (deUint32)config.format << (deUint3 in operator <<() 143 createImage(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::VkFormat format, const UVec2& size, bool disjoint, vk::VkImageTiling tiling) createImage() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_state.c | 30 #include "util/format/u_format.h" 31 #include "util/format/u_format_s3tc.h" 140 unsigned format, swap, spi_format, colormask; in si_emit_cb_render_state() local 145 * as the SPI color format, because the hw doesn't allow in si_emit_cb_render_state() 153 format = sctx->gfx_level >= GFX11 ? G_028C70_FORMAT_GFX11(surf->cb_color_info): in si_emit_cb_render_state() 163 if (format == V_028C70_COLOR_8 || format == V_028C70_COLOR_16 || in si_emit_cb_render_state() 164 format == V_028C70_COLOR_32) in si_emit_cb_render_state() 169 /* Check the colormask and export format. */ in si_emit_cb_render_state() 187 switch (format) { in si_emit_cb_render_state() 1658 si_translate_colorformat(enum amd_gfx_level gfx_level, enum pipe_format format) si_translate_colorformat() argument 1797 si_translate_dbformat(enum pipe_format format) si_translate_dbformat() argument 1819 si_translate_texformat(struct pipe_screen *screen, enum pipe_format format, const struct util_format_description *desc, int first_non_void) si_translate_texformat() argument 2208 si_is_sampler_format_supported(struct pipe_screen *screen, enum pipe_format format) si_is_sampler_format_supported() argument 2340 si_is_vertex_format_supported(struct pipe_screen *screen, enum pipe_format format, unsigned usage) si_is_vertex_format_supported() argument 2384 si_is_colorbuffer_format_supported(enum amd_gfx_level gfx_level, enum pipe_format format) si_is_colorbuffer_format_supported() argument 2391 si_is_zs_format_supported(enum pipe_format format) si_is_zs_format_supported() argument 2396 si_is_format_supported(struct pipe_screen *screen, enum pipe_format format, enum pipe_texture_target target, unsigned sample_count, unsigned storage_sample_count, unsigned usage) si_is_format_supported() argument 2499 si_choose_spi_color_formats(struct si_surface *surf, unsigned format, unsigned swap, unsigned ntype, bool is_depth) si_choose_spi_color_formats() argument 2516 unsigned format, swap, ntype, endian; si_initialize_color_surface() local 2698 unsigned format, stencil_format; si_init_depth_surface() local 3900 si_make_buffer_descriptor(struct si_screen *screen, struct si_resource *buf, enum pipe_format format, unsigned offset, unsigned num_elements, uint32_t *state) si_make_buffer_descriptor() argument 4120 uint32_t format; gfx10_make_texture_descriptor() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureShadowTests.cpp | 89 bool isFloatingPointDepthFormat (const tcu::TextureFormat& format) in isFloatingPointDepthFormat() argument 92 return (format.order == tcu::TextureFormat::D && format.type == tcu::TextureFormat::FLOAT) || in isFloatingPointDepthFormat() 93 (format.order == tcu::TextureFormat::DS && format.type == tcu::TextureFormat::FLOAT_UNSIGNED_INT_24_8_REV); in isFloatingPointDepthFormat() 188 // sample raw values (they are guaranteed to be in [0, 1] range as the format cannot represent any other values) in verifyTexCompareResult() 212 bool isDepthFormat(VkFormat format) in isDepthFormat() argument 214 if (isCompressedFormat(format)) in isDepthFormat() 217 if (isYCbCrFormat(format)) in isDepthFormat() 220 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in isDepthFormat() 1615 const VkFormat format; populateTextureShadowTests() member [all...] |
/third_party/skia/third_party/externals/libpng/ |
H A D | pngread.c | 1608 /* Utility to find the base format of a PNG file from a png_struct. */ 1612 png_uint_32 format = 0; in png_image_format() local 1615 format |= PNG_FORMAT_FLAG_COLOR; in png_image_format() 1618 format |= PNG_FORMAT_FLAG_ALPHA; in png_image_format() 1626 format |= PNG_FORMAT_FLAG_ALPHA; in png_image_format() 1629 format |= PNG_FORMAT_FLAG_LINEAR; in png_image_format() 1632 format |= PNG_FORMAT_FLAG_COLORMAP; in png_image_format() 1634 return format; in png_image_format() 1678 png_uint_32 format = png_image_format(png_ptr); in png_image_read_header() local 1680 image->format in png_image_read_header() 3935 png_uint_32 format = image->format; png_image_read_direct() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineBlendTests.cpp | 68 bool isSupportedBlendFormat (const InstanceInterface& instanceInterface, VkPhysicalDevice device, VkFormat format) in isSupportedBlendFormat() argument 72 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedBlendFormat() 446 throw tcu::NotSupportedError(std::string("Unsupported color blending format: ") + getFormatName(m_colorFormat)); in checkSupport() 561 throw tcu::NotSupportedError(std::string("Unsupported color blending format: ") + getFormatName(m_colorFormat)); in checkSupport() 632 m_colorFormat, // VkFormat format; 662 m_colorFormat, // VkFormat format; 724 VK_FORMAT_R32G32B32A32_SFLOAT, // VkFormat format; 730 VK_FORMAT_R32G32B32A32_SFLOAT, // VkFormat format; 885 float getNormChannelThreshold (const tcu::TextureFormat& format, int numBits) in getNormChannelThreshold() argument 887 switch (tcu::getTextureChannelClass(format in getNormChannelThreshold() 899 getFormatThreshold(const tcu::TextureFormat& format) getFormatThreshold() argument 2081 getFormatCaseName(VkFormat format) getFormatCaseName() argument 2153 const VkFormat format = blendFormats[formatNdx]; createBlendTests() local 2249 const auto& format = clampFormats[formatIdx]; createBlendTests() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureShadowTests.cpp | 88 bool isFloatingPointDepthFormat (const tcu::TextureFormat& format) in isFloatingPointDepthFormat() argument 91 return (format.order == tcu::TextureFormat::D && format.type == tcu::TextureFormat::FLOAT) || in isFloatingPointDepthFormat() 92 (format.order == tcu::TextureFormat::DS && format.type == tcu::TextureFormat::FLOAT_UNSIGNED_INT_24_8_REV); in isFloatingPointDepthFormat() 186 // sample raw values (they are guaranteed to be in [0, 1] range as the format cannot represent any other values) in verifyTexCompareResult() 210 bool isDepthFormat(VkFormat format) in isDepthFormat() argument 212 if (isCompressedFormat(format)) in isDepthFormat() 215 if (isYCbCrFormat(format)) in isDepthFormat() 218 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in isDepthFormat() 1613 const VkFormat format; populateTextureShadowTests() member [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
H A D | NumberFormatterApiTest.java | 23 import com.ibm.icu.dev.test.format.FormattedValueTest; 539 FormattedNumber fn = nf.format(inputValue); in unitWithLocaleTags() 628 "Measure format method takes precedence over fluent chain", in unitMeasure() 975 "Pounds Per Square Mile Short (secondary unit has per-format)", in unitCompoundMeasure() 1085 nf.format(2.4d); in unitCompoundMeasure() 1087 nf.format(2.4d) + "."); in unitCompoundMeasure() 1099 nf.format(2.4d); in unitCompoundMeasure() 1100 fail("Expected failure, got: " + nf.format(2.4d) + "."); in unitCompoundMeasure() 1219 lnf.format(1); in unitArbitraryMeasureUnits() 1220 fail("Expected failure for pow4-mile, got: " + lnf.format( in unitArbitraryMeasureUnits() [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
H A D | fd6_gmem.c | 31 #include "util/format/u_format.h" 100 enum pipe_format pformat = psurf->format; in emit_mrt() 108 enum a6xx_format format = fd6_color_format(pformat, tile_mode); in emit_mrt() local 128 A6XX_RB_MRT_BUF_INFO(i, .color_format = format, in emit_mrt() 135 OUT_REG(ring, A6XX_SP_FS_MRT_REG(i, .color_format = format, in emit_mrt() 143 mrt0_format = format; in emit_mrt() 162 enum a6xx_depth_format fmt = fd6_pipe2depth(zsbuf->format); in emit_zs() 269 enum pipe_format format = psurf->format; in patch_fb_read_gmem() local 272 fdl6_format_swiz(psurf->format, fals in patch_fb_read_gmem() 1005 enum a6xx_format format = fd6_color_format(pfmt, tile_mode); emit_blit() local 1276 blit_can_resolve(enum pipe_format format) blit_can_resolve() argument 1323 fd6_unknown_8c01(enum pipe_format format, unsigned buffers) fd6_unknown_8c01() argument [all...] |
/third_party/python/Modules/ |
H A D | _struct.c | 44 /* The translation function for each format character is table driven */ 46 char format; member 116 """.format(argname=argname, paramname=self.name, 128 /* Helper for integer format codes: converts an arbitrary Python object to a 351 /* Helper to format the range error exceptions */ 367 "'%c' format requires 0 <= number <= %zu", in _range_error() 368 f->format, in _range_error() 373 "'%c' format requires %zd <= number <= %zd", in _range_error() 374 f->format, in _range_error() 552 "byte format require in np_byte() 1470 Struct___init___impl(PyStructObject *self, PyObject *format) Struct___init___impl() argument 2206 PyObject *format, *result; pack() local 2234 PyObject *format, *result; pack_into() local [all...] |
/foundation/multimedia/av_codec/frameworks/native/avcodec/ |
H A D | avcodec_audio_codec_impl.cpp | 53 Format format; in Init() local 63 return codecService_->Init(type, isMimeType, name, *format.GetMeta(), API_VERSION::API_VERSION_11); in Init() 77 int32_t AVCodecAudioCodecImpl::Configure(const Format &format) in Configure() argument 81 auto meta = const_cast<Format &>(format).GetMeta(); in Configure() 236 int32_t AVCodecAudioCodecImpl::GetOutputFormat(Format &format) in GetOutputFormat() argument 243 format.SetMeta(parameter); in GetOutputFormat() 270 int32_t AVCodecAudioCodecImpl::SetParameter(const Format &format) in SetParameter() argument 274 auto meta = const_cast<Format &>(format).GetMeta(); in SetParameter() 478 void AVCodecAudioCodecImpl::AVCodecInnerCallback::OnOutputFormatChanged(const Format &format) in OnOutputFormatChanged() argument 481 impl_->callback_->OnOutputFormatChanged(format); in OnOutputFormatChanged() [all...] |