/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | SelectFormatUnitTest.java | 11 package ohos.global.icu.dev.test.format; 62 assertEquals("should use first occurrence of the 'odd' keyword", "foo", selFmt.format("odd")); in TestPatternSyntax() 64 assertEquals("should use first occurrence of the 'other' keyword", "bar", selFmt.format("other")); in TestPatternSyntax() 90 selFmt.format( keywords[i]); in TestInvalidKeyword() 104 * API tests for applyPattern and format 145 log("SelectFormat Unit test: Testing applyPattern() and format() ..."); in TestApplyFormat() 159 assertEquals("ERROR: SelectFormat Unit test failed in format() with unexpected result", selFmt.format(formatArgs[j]) ,expFormatResult[i][j] ); in TestApplyFormat()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | SelectFormatUnitTest.java | 10 package com.ibm.icu.dev.test.format; 59 assertEquals("should use first occurrence of the 'odd' keyword", "foo", selFmt.format("odd")); in TestPatternSyntax() 61 assertEquals("should use first occurrence of the 'other' keyword", "bar", selFmt.format("other")); in TestPatternSyntax() 87 selFmt.format( keywords[i]); in TestInvalidKeyword() 101 * API tests for applyPattern and format 142 log("SelectFormat Unit test: Testing applyPattern() and format() ..."); in TestApplyFormat() 156 assertEquals("ERROR: SelectFormat Unit test failed in format() with unexpected result", selFmt.format(formatArgs[j]) ,expFormatResult[i][j] ); in TestApplyFormat()
|
/third_party/mesa3d/src/freedreno/fdl/ |
H A D | fd5_layout.c | 33 fdl5_layout(struct fdl_layout *layout, enum pipe_format format, in fdl5_layout() argument 43 layout->cpp = util_format_get_blocksize(format); in fdl5_layout() 47 layout->format = format; in fdl5_layout() 69 util_format_get_nblocksy(format, u_minify(height0, level)); in fdl5_layout()
|
/third_party/node/tools/ |
H A D | checkimports.py | 11 if not any(not re.match('using \w+::{0};'.format(imported), line) and 12 re.search('\\b{0}\\b'.format(imported), line) for line in lines): 13 print('File "{0}" does not use "{1}"'.format(file_name, imported)) 34 print("using statements aren't sorted in '{0}'.".format(file_name)) 38 .format(num, actual, expected))
|
/third_party/mesa3d/src/intel/isl/ |
H A D | isl_gfx8.c | 71 if (!isl_format_supports_multisampling(dev->info, info->format)) in isl_gfx8_choose_msaa_layout() 99 assert(info->format != ISL_FORMAT_HIZ); in isl_gfx8_choose_image_alignment_el() 103 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gfx8_choose_image_alignment_el() 132 *image_align_el = info->format == ISL_FORMAT_R16_UNORM ? in isl_gfx8_choose_image_alignment_el() 138 } else if (isl_format_is_compressed(info->format)) { in isl_gfx8_choose_image_alignment_el() 156 * many formats. Depending on the format's block size, we may need to in isl_gfx8_choose_image_alignment_el() 183 * "For surface format = 32 bpp, num_multisamples = 1 , MIpcount > 0 in isl_gfx8_choose_image_alignment_el()
|
H A D | isl_gfx9.c | 39 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in gfx9_calc_std_image_alignment_sa() 108 assert(info->format != ISL_FORMAT_HIZ); in isl_gfx9_choose_image_alignment_el() 110 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format); in isl_gfx9_choose_image_alignment_el() 173 *image_align_el = isl_extent3d_sa_to_el(info->format, image_align_sa); in isl_gfx9_choose_image_alignment_el() 185 if (isl_format_is_compressed(info->format)) { in isl_gfx9_choose_image_alignment_el()
|
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnCaps.h | 22 bool isFormatRenderable(const GrBackendFormat& format, 24 bool isFormatAsColorTypeRenderable(GrColorType ct, const GrBackendFormat& format, 28 bool isFormatCopyable(const GrBackendFormat& format) const override { return true; } 30 bool isFormatTexturable(const GrBackendFormat& format, GrTextureType) const override; 43 int maxRenderTargetSampleCount(const GrBackendFormat& format) const override;
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
H A D | Image.cpp | 18 Image::Image(vk::Device device, vk::PhysicalDevice physicalDevice, uint32_t width, uint32_t height, vk::Format format, vk::SampleCountFlagBits sampleCount /*= vk::SampleCountFlagBits::e1*/) in Image() argument 23 imageInfo.format = format; in Image() 47 imageViewInfo.format = format; in Image()
|
/third_party/skia/third_party/externals/freetype/src/base/ |
H A D | ftsynth.c | 59 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE ) in FT_GlyphSlot_Oblique() 103 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE && in FT_GlyphSlot_Embolden() 104 slot->format != FT_GLYPH_FORMAT_BITMAP ) in FT_GlyphSlot_Embolden() 112 if ( slot->format == FT_GLYPH_FORMAT_OUTLINE ) in FT_GlyphSlot_Embolden() 115 else /* slot->format == FT_GLYPH_FORMAT_BITMAP */ in FT_GlyphSlot_Embolden() 157 if ( slot->format == FT_GLYPH_FORMAT_BITMAP ) in FT_GlyphSlot_Embolden()
|
/third_party/skia/third_party/externals/tint/src/writer/glsl/ |
H A D | test_helper.h | 52 << diag::Formatter().format(Diagnostics()); in Build() 57 << diag::Formatter().format(program->Diagnostics()); in Build() 75 << formatter.format(Diagnostics()); in SanitizeAndBuild() 80 << formatter.format(program->Diagnostics()); in SanitizeAndBuild() 92 << formatter.format(result.program.Diagnostics()); in SanitizeAndBuild()
|
/third_party/skia/third_party/externals/tint/src/writer/msl/ |
H A D | test_helper.h | 48 << diag::Formatter().format(Diagnostics()); in Build() 53 << diag::Formatter().format(program->Diagnostics()); in Build() 71 << diag::Formatter().format(Diagnostics()); 76 << diag::Formatter().format(program->Diagnostics()); 85 << diag::Formatter().format(result.program.Diagnostics());
|
/third_party/skia/tools/ |
H A D | embed_resources.py | 54 .format(index, args.align)) 66 .format(index, bytes_written)) 74 out(' {{ resource{0:d}, resource{0:d}_size }},\n'.format(index)) 77 out('static const int header_count = {0:d};\n'.format(index)) 82 .format(args.name))
|
/third_party/skia/tools/sk_app/android/ |
H A D | RasterWindowContext_android.cpp | 49 int32_t format = 0; in setBuffersGeometry() local 52 format = WINDOW_FORMAT_RGBA_8888; in setBuffersGeometry() 55 format = WINDOW_FORMAT_RGB_565; in setBuffersGeometry() 60 ANativeWindow_setBuffersGeometry(fNativeWindow, fWidth, fHeight, format); in setBuffersGeometry() 77 const int bytePerPixel = fBuffer.format == WINDOW_FORMAT_RGB_565 ? 2 : 4; in getBackbufferSurface()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuSurfaceAccess.hpp | 34 inline deUint8 getColorMask (const tcu::PixelFormat& format) in getColorMask() argument 36 return (deUint8)((format.redBits ? tcu::RGBA::RED_MASK : 0) | in getColorMask() 37 (format.greenBits ? tcu::RGBA::GREEN_MASK : 0) | in getColorMask() 38 (format.blueBits ? tcu::RGBA::BLUE_MASK : 0) | in getColorMask() 39 (format.alphaBits ? tcu::RGBA::ALPHA_MASK : 0)); in getColorMask() 47 (mask&tcu::RGBA::ALPHA_MASK) ? tcu::floatToU8(v.w()) : 0xFF); //!< \note Alpha defaults to full saturation when reading masked format in toRGBAMasked()
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
H A D | sglrContext.cpp | 44 deUint32 format = GL_NONE; in texImage2D() local 54 format = internalFormat; in texImage2D() 61 format = transferFmt.format; in texImage2D() 67 texImage2D(target, level, internalFormat, width, height, 0, format, dataType, DE_NULL); in texImage2D()
|
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | ov5647.c | 90 struct v4l2_mbus_framefmt format; member 510 .format = { 531 .format = { 552 .format = { 573 .format = { 596 #define OV5647_DEFAULT_FORMAT (ov5647_modes[3].format) 964 fmt = &ov5647_modes[fse->index].format; in ov5647_enum_frame_size() 975 struct v4l2_subdev_format *format) in ov5647_get_pad_fmt() 977 struct v4l2_mbus_framefmt *fmt = &format->format; in ov5647_get_pad_fmt() 973 ov5647_get_pad_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) ov5647_get_pad_fmt() argument 998 ov5647_set_pad_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) ov5647_set_pad_fmt() argument 1129 struct v4l2_mbus_framefmt *format = ov5647_open() local [all...] |
H A D | ov5693.c | 150 struct v4l2_mbus_framefmt format; member 458 u16 vts = ov5693->mode.format.height + vblank; in ov5693_vts_configure() 486 exposure_max = ov5693->mode.format.height + ctrl->val - in ov5693_s_ctrl() 567 cci_write(ov5693->regmap, OV5693_OUTPUT_SIZE_X_REG, mode->format.width, in ov5693_mode_configure() 586 cci_write(ov5693->regmap, OV5693_OUTPUT_SIZE_Y_REG, mode->format.height, in ov5693_mode_configure() 760 * We need to set a sensible default VTS for whatever format height we in __ov5693_calc_vts() 781 return &ov5693->mode.format; in __ov5693_get_pad_format() 804 struct v4l2_subdev_format *format) in ov5693_get_fmt() 808 format->format in ov5693_get_fmt() 802 ov5693_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) ov5693_get_fmt() argument 813 ov5693_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) ov5693_set_fmt() argument 926 struct v4l2_mbus_framefmt *format; ov5693_set_selection() local [all...] |
/kernel/linux/linux-5.10/drivers/crypto/cavium/zip/ |
H A D | zip_deflate.c | 159 /* Update the CRC depending on the format */ in zip_deflate() 160 switch (zip_ops->format) { in zip_deflate() 162 zip_dbg("RAW Format: %d ", zip_ops->format); in zip_deflate() 168 zip_dbg("ZLIB Format: %d ", zip_ops->format); in zip_deflate() 173 zip_dbg("GZIP Format: %d ", zip_ops->format); in zip_deflate() 178 zip_dbg("LZS Format: %d ", zip_ops->format); in zip_deflate() 182 zip_err("Unknown Format:%d\n", zip_ops->format); in zip_deflate()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | r852.h | 93 /* ECC syndrome format - read from reg #0 will return two copies of these for 145 #define dbg(format, ...) \ 147 pr_debug(format "\n", ## __VA_ARGS__) 149 #define dbg_verbose(format, ...) \ 151 pr_debug(format "\n", ## __VA_ARGS__) 154 #define message(format, ...) \ 155 pr_info(format "\n", ## __VA_ARGS__)
|
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/ |
H A D | tdc_batch.py | 76 " flower {} src_mac {} dst_mac {} action drop {}".format( 83 " flower {} src_mac {} dst_mac {} action drop {}".format( 90 "flower".format(device, prio, handle)) 103 mac = ("{:02x}:{:02x}:{:02x}".format(i, j, k)) 104 src_mac = "e4:11:{:02x}:{}".format(mac_prefix, mac) 108 file.write("{}\n".format(cmd))
|
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/ |
H A D | pxe1610.c | 63 .format[PSC_VOLTAGE_IN] = linear, 64 .format[PSC_VOLTAGE_OUT] = vid, 65 .format[PSC_CURRENT_IN] = linear, 66 .format[PSC_CURRENT_OUT] = linear, 67 .format[PSC_TEMPERATURE] = linear, 68 .format[PSC_POWER] = linear,
|
H A D | ir35221.c | 110 info->format[PSC_VOLTAGE_IN] = linear; in ir35221_probe() 111 info->format[PSC_VOLTAGE_OUT] = linear; in ir35221_probe() 112 info->format[PSC_CURRENT_IN] = linear; in ir35221_probe() 113 info->format[PSC_CURRENT_OUT] = linear; in ir35221_probe() 114 info->format[PSC_POWER] = linear; in ir35221_probe() 115 info->format[PSC_TEMPERATURE] = linear; in ir35221_probe()
|
H A D | xdpe12284.c | 112 .format[PSC_VOLTAGE_IN] = linear, 113 .format[PSC_VOLTAGE_OUT] = vid, 114 .format[PSC_TEMPERATURE] = linear, 115 .format[PSC_CURRENT_IN] = linear, 116 .format[PSC_CURRENT_OUT] = linear, 117 .format[PSC_POWER] = linear,
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ar5523/ |
H A D | ar5523.h | 137 #define ar5523_dbg(ar, format, arg...) \ 138 dev_dbg(&(ar)->dev->dev, format, ## arg) 144 #define ar5523_err(ar, format, arg...) \ 147 dev_err(&(ar)->dev->dev, format, ## arg); \ 150 #define ar5523_info(ar, format, arg...) \ 151 dev_info(&(ar)->dev->dev, format, ## arg)
|
/kernel/linux/linux-5.10/drivers/vdpa/mlx5/core/ |
H A D | mlx5_vdpa.h | 84 #define mlx5_vdpa_warn(__dev, format, ...) \ 85 dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ 88 #define mlx5_vdpa_info(__dev, format, ...) \ 89 dev_info((__dev)->mdev->device, "%s:%d:(pid %d): " format, __func__, __LINE__, \ 92 #define mlx5_vdpa_dbg(__dev, format, ...) \ 93 dev_debug((__dev)->mdev->device, "%s:%d:(pid %d): " format, __func__, __LINE__, \
|