Home
last modified time | relevance | path

Searched refs:format (Results 901 - 925 of 12675) sorted by relevance

1...<<31323334353637383940>>...507

/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/
H A Dwndw.c210 switch (asyw->state.fb->format->format) { in nv50_wndw_atomic_check_acquire_yuv()
212 asyw->image.format = NV507E_SURFACE_SET_PARAMS_FORMAT_VE8YO8UE8YE8; in nv50_wndw_atomic_check_acquire_yuv()
215 asyw->image.format = NV507E_SURFACE_SET_PARAMS_FORMAT_YO8VE8YE8UE8; in nv50_wndw_atomic_check_acquire_yuv()
229 switch (asyw->state.fb->format->format) { in nv50_wndw_atomic_check_acquire_rgb()
231 asyw->image.format = NV507C_SURFACE_SET_PARAMS_FORMAT_I8; in nv50_wndw_atomic_check_acquire_rgb()
235 asyw->image.format = NV507C_SURFACE_SET_PARAMS_FORMAT_A8R8G8B8; in nv50_wndw_atomic_check_acquire_rgb()
238 asyw->image.format = NV507C_SURFACE_SET_PARAMS_FORMAT_R5G6B5; in nv50_wndw_atomic_check_acquire_rgb()
242 asyw->image.format in nv50_wndw_atomic_check_acquire_rgb()
660 nv50_plane_format_mod_supported(struct drm_plane *plane, u32 format, u64 modifier) nv50_plane_format_mod_supported() argument
696 nv50_wndw_new_(const struct nv50_wndw_func *func, struct drm_device *dev, enum drm_plane_type type, const char *name, int index, const u32 *format, u32 heads, enum nv50_disp_interlock_type interlock_type, u32 interlock_data, struct nv50_wndw **pwndw) nv50_wndw_new_() argument
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DRuleBasedNumberFormat.java60 * <p>For larger numbers, we can use the preceding set of rules to format the ones place, and
76 * isolate the number's ones digit, format it using this same set of rules, and place the
158 * <p>The above syntax suffices only to format positive integers. To format negative numbers,
164 * where the base value would be. This rule is used to format all negative numbers. the
165 * &gt;&gt; token here means &quot;find the number's absolute value, format it with these
193 * are <em>public:</em> the caller can specify that they be used to format and parse numbers.
308 * on whether it is used to format a number's integral part (or the whole number) or a
309 * number's fractional part. Using a rule set to format a rule's fractional part makes it a
312 * <p>Which rule is used to format
810 RuleBasedNumberFormat(Locale locale, int format) RuleBasedNumberFormat() argument
828 RuleBasedNumberFormat(ULocale locale, int format) RuleBasedNumberFormat() argument
886 RuleBasedNumberFormat(int format) RuleBasedNumberFormat() argument
1147 public String format(double number, String ruleSet) throws IllegalArgumentException { format() method in RuleBasedNumberFormat
1166 public String format(long number, String ruleSet) throws IllegalArgumentException { format() method in RuleBasedNumberFormat
1183 public StringBuffer format(double number, format() method in RuleBasedNumberFormat
1213 public StringBuffer format(long number, format() method in RuleBasedNumberFormat
1235 public StringBuffer format(BigInteger number, format() method in RuleBasedNumberFormat
1248 public StringBuffer format(java.math.BigDecimal number, format() method in RuleBasedNumberFormat
1264 public StringBuffer format(com.ibm.icu.math.BigDecimal number, format() method in RuleBasedNumberFormat
1945 private String format(double number, NFRuleSet ruleSet) { format() method in RuleBasedNumberFormat
1969 private String format(long number, NFRuleSet ruleSet) { format() method in RuleBasedNumberFormat
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DRuleBasedNumberFormat.java61 * <p>For larger numbers, we can use the preceding set of rules to format the ones place, and
77 * isolate the number's ones digit, format it using this same set of rules, and place the
159 * <p>The above syntax suffices only to format positive integers. To format negative numbers,
165 * where the base value would be. This rule is used to format all negative numbers. the
166 * &gt;&gt; token here means &quot;find the number's absolute value, format it with these
194 * are <em>public:</em> the caller can specify that they be used to format and parse numbers.
309 * on whether it is used to format a number's integral part (or the whole number) or a
310 * number's fractional part. Using a rule set to format a rule's fractional part makes it a
313 * <p>Which rule is used to format
801 RuleBasedNumberFormat(Locale locale, int format) RuleBasedNumberFormat() argument
818 RuleBasedNumberFormat(ULocale locale, int format) RuleBasedNumberFormat() argument
875 RuleBasedNumberFormat(int format) RuleBasedNumberFormat() argument
1125 public String format(double number, String ruleSet) throws IllegalArgumentException { format() method in RuleBasedNumberFormat
1143 public String format(long number, String ruleSet) throws IllegalArgumentException { format() method in RuleBasedNumberFormat
1159 public StringBuffer format(double number, format() method in RuleBasedNumberFormat
1188 public StringBuffer format(long number, format() method in RuleBasedNumberFormat
1209 public StringBuffer format(BigInteger number, format() method in RuleBasedNumberFormat
1221 public StringBuffer format(java.math.BigDecimal number, format() method in RuleBasedNumberFormat
1236 public StringBuffer format(ohos.global.icu.math.BigDecimal number, format() method in RuleBasedNumberFormat
1906 private String format(double number, NFRuleSet ruleSet) { format() method in RuleBasedNumberFormat
1930 private String format(long number, NFRuleSet ruleSet) { format() method in RuleBasedNumberFormat
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrViewTests.cpp75 // Compatible format for VK_FORMAT_R8_UNORM
106 VkFormat format, in createTestImage()
116 format, in createTestImage()
135 VkFormat format, in createImageView()
146 format, in createImageView()
325 VkFormat format; member
335 , format (format_) in TestParameters()
347 , format (VK_FORMAT_UNDEFINED) in TestParameters()
411 void checkImageFeatureSupport (Context& context, VkFormat format, VkFormatFeatureFlags req) in checkImageFeatureSupport() argument
415 format); in checkImageFeatureSupport()
104 createTestImage(const DeviceInterface& vkd, VkDevice device, VkFormat format, const UVec2& size, VkImageCreateFlags createFlags) createTestImage() argument
132 createImageView(const DeviceInterface& vkd, VkDevice device, VkImage image, VkFormat format, VkImageAspectFlagBits imageAspect, const VkSamplerYcbcrConversionInfo* samplerConversionInfo) createImageView() argument
460 getPixelSetter(const tcu::PixelBufferAccess& access, VkFormat format) getPixelSetter() argument
500 const VkFormat format = params.format; testPlaneView() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiImageCompressionControlTests.cpp74 VkFormat format; member
107 const bool isYCbCr = isYCbCrFormat(testParams.format); in validate()
108 const int numPlanes = isYCbCr ? getPlaneCount(testParams.format) : 1; in validate()
138 formatInfo.format = testParams.format; in validate()
155 "in image format properties."); in validate()
162 "in image format properties."); in validate()
223 // Check android hardware buffer can be allocated for the format with usage. in checkAhbImageSupport()
231 pt::AndroidHardwareBufferPtr ahb = ahbApi->allocate(width,height, 1, ahbApi->vkFormatToAhbFormat(testParams.format), ahbUsage); in checkAhbImageSupport()
234 TCU_THROW(NotSupportedError, "Android hardware buffer format no in checkAhbImageSupport()
[all...]
/third_party/skia/third_party/externals/brotli/research/
H A Dbrotlidump.py2 """Program to dump contents of Brotli compressed files showing the compression format.
4 I found the following issues with the Brotli format:
23 """Show character in readable format
30 else: return '\\x{:02x}'.format(c)
60 return "BitStream(pos={:x}:{})".format(self.pos>>3, self.pos&7)
117 return 'Symbol({}, {})'.format(self.code.name, self.index)
192 return '{:0{}b}'.format(index, self.maxLength)
233 raise ValueError('No symbol {}[{}]'.format(
239 return '{:0{}b}'.format(bits, self.length(index))
323 bitpattern = '{:0{}b}'.format(nextCode
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-layout-gpos-table.hh117 unsigned int format = *this; in apply_value() local
118 if (!format) return ret; in apply_value()
123 if (format & xPlacement) glyph_pos.x_offset += font->em_scale_x (get_short (values++, &ret)); in apply_value()
124 if (format & yPlacement) glyph_pos.y_offset += font->em_scale_y (get_short (values++, &ret)); in apply_value()
125 if (format & xAdvance) { in apply_value()
130 if (format & yAdvance) { in apply_value()
145 if (format & xPlaDevice) { in apply_value()
149 if (format & yPlaDevice) { in apply_value()
153 if (format & xAdvDevice) { in apply_value()
157 if (format in apply_value()
167 unsigned int format = *this; get_effective_format() local
192 unsigned int format = *this; copy_values() local
220 unsigned format = *this; collect_variation_indices() local
256 unsigned int format = *this; sanitize_value_devices() local
313 unsigned int format = *this; has_device() local
400 HBUINT16 format; /* Format identifier--format = 1 */ global() member
444 HBUINT16 format; /* Format identifier--format = 2 */ global() member
494 HBUINT16 format; /* Format identifier--format = 3 */ global() member
568 HBUINT16 format; /* Format identifier */ global() member
856 HBUINT16 format; /* Format identifier--format = 1 */ global() member
981 HBUINT16 format; /* Format identifier--format = 2 */ global() member
1020 unsigned format = 2; serialize() local
1061 HBUINT16 format; /* Format identifier */ global() member
1460 HBUINT16 format; /* Format identifier--format = 1 */ global() member
1668 HBUINT16 format; /* Format identifier--format = 2 */ global() member
1713 HBUINT16 format; /* Format identifier */ global() member
1943 HBUINT16 format; /* Format identifier--format = 1 */ global() member
1969 HBUINT16 format; /* Format identifier */ global() member
2171 HBUINT16 format; /* Format identifier--format = 1 */ global() member
2204 HBUINT16 format; /* Format identifier */ global() member
2409 HBUINT16 format; /* Format identifier--format = 1 */ global() member
2444 HBUINT16 format; /* Format identifier */ global() member
2628 HBUINT16 format; /* Format identifier--format = 1 */ global() member
2663 HBUINT16 format; /* Format identifier */ global() member
[all...]
/third_party/ffmpeg/libavcodec/
H A Dv4l2_context.c86 struct v4l2_format *fmt1 = &ctx->format; in v4l2_resolution_changed()
127 ctx->format.type = ctx->type; in v4l2_save_to_context()
134 ctx->format.fmt.pix_mp.height = ctx->height; in v4l2_save_to_context()
135 ctx->format.fmt.pix_mp.width = ctx->width; in v4l2_save_to_context()
137 ctx->format.fmt.pix_mp.pixelformat = fmt->v4l2_fmt; in v4l2_save_to_context()
140 ctx->format.fmt.pix_mp.plane_fmt[0].sizeimage = in v4l2_save_to_context()
144 ctx->format.fmt.pix.height = ctx->height; in v4l2_save_to_context()
145 ctx->format.fmt.pix.width = ctx->width; in v4l2_save_to_context()
147 ctx->format.fmt.pix.pixelformat = fmt->v4l2_fmt; in v4l2_save_to_context()
150 ctx->format in v4l2_save_to_context()
[all...]
H A Dcuviddec.c118 static int CUDAAPI cuvid_handle_video_sequence(void *opaque, CUVIDEOFORMAT* format) in cuvid_handle_video_sequence() argument
135 av_log(avctx, AV_LOG_TRACE, "pfnSequenceCallback, progressive_sequence=%d\n", format->progressive_sequence); in cuvid_handle_video_sequence()
141 avctx->coded_width = cuinfo.ulWidth = format->coded_width; in cuvid_handle_video_sequence()
142 avctx->coded_height = cuinfo.ulHeight = format->coded_height; in cuvid_handle_video_sequence()
145 cuinfo.display_area.left = format->display_area.left + ctx->crop.left; in cuvid_handle_video_sequence()
146 cuinfo.display_area.top = format->display_area.top + ctx->crop.top; in cuvid_handle_video_sequence()
147 cuinfo.display_area.right = format->display_area.right - ctx->crop.right; in cuvid_handle_video_sequence()
148 cuinfo.display_area.bottom = format->display_area.bottom - ctx->crop.bottom; in cuvid_handle_video_sequence()
169 chroma_444 = format->chroma_format == cudaVideoChromaFormat_444; in cuvid_handle_video_sequence()
171 switch (format in cuvid_handle_video_sequence()
[all...]
/third_party/skia/src/core/
H A DSkString.cpp30 static StringBuffer apply_format_string(const char* format, va_list args, char (&stackBuffer)[SIZE], in apply_format_string() argument
35 int outLength = std::vsnprintf(stackBuffer, SIZE, format, args); in apply_format_string()
47 // format it. Format the string into our heap buffer. `set` automatically reserves an extra in apply_format_string()
51 SkDEBUGCODE(int checkLength =) std::vsnprintf(heapBufferDest, outLength + 1, format, argsCopy); in apply_format_string()
520 void SkString::printf(const char format[], ...) { in printf() argument
522 va_start(args, format); in printf()
523 this->printVAList(format, args); in printf()
527 void SkString::printVAList(const char format[], va_list args) { in printVAList() argument
529 StringBuffer result = apply_format_string(format, args, stackBuffer, this); in printVAList()
536 void SkString::appendf(const char format[], argument
543 appendVAList(const char format[], va_list args) appendVAList() argument
556 prependf(const char format[], ...) prependf() argument
563 prependVAList(const char format[], va_list args) prependVAList() argument
615 SkStringPrintf(const char* format, ...) SkStringPrintf() argument
[all...]
/third_party/skia/third_party/externals/libwebp/imageio/
H A Dimage_enc.c212 fprintf(stderr, "You can run with -ppm flag to decode in PPM format.\n"); in WebPWritePNG()
551 WebPOutputFileFormat format, in WebPSaveImage()
562 needs_open_file = (format != PNG); in WebPSaveImage()
575 if (format == PNG || in WebPSaveImage()
576 format == RGBA || format == BGRA || format == ARGB || in WebPSaveImage()
577 format == rgbA || format == bgrA || format in WebPSaveImage()
550 WebPSaveImage(const WebPDecBuffer* const buffer, WebPOutputFileFormat format, const char* const out_file_name) WebPSaveImage() argument
[all...]
/kernel/linux/linux-6.6/scripts/
H A Drustdoc_test_builder.rs52 &format!("{rustdoc_function_name}() -> Result<(), impl core::fmt::Debug> {{"), in main()
53 &format!("{rustdoc_function_name}() -> core::result::Result<(), impl core::fmt::Debug> {{"), in main()
62 &format!("}} {rustdoc_function_name}().unwrap() }}"), in main()
63 &format!("}} let test_return_value = {rustdoc_function_name}(); assert!(test_return_value.is_ok()); }}"), in main()
69 let path = format!("rust/test/doctests/kernel/{name}"); in main()
/third_party/gn/src/base/strings/
H A Dstringprintf.h19 _Printf_format_string_ const char* format,
23 [[nodiscard]] std::string StringPrintV(const char* format, va_list ap)
28 _Printf_format_string_ const char* format,
33 _Printf_format_string_ const char* format,
38 void StringAppendV(std::string* dst, const char* format, va_list ap)
/third_party/bounds_checking_function/src/
H A Dvsscanf_s.c30 * that corresponds to a type specifier in format. The format argument controls
32 * as the format argument for the scanf function.
37 * format Format control string, see Format Specifications.
49 int vsscanf_s(const char *buffer, const char *format, va_list argList) in vsscanf_s() argument
56 if (buffer == NULL || format == NULL) { in vsscanf_s()
62 SecClearDestBuf(buffer, format, argList); in vsscanf_s()
73 SecClearDestBuf(buffer, format, argList); in vsscanf_s()
77 retVal = SecInputS(&fStr, format, argList); in vsscanf_s()
/third_party/node/benchmark/misc/
H A Darguments.js4 const { format } = require('util');
19 format(...args);
23 format.apply(null, args);
27 format.apply(null, arguments);
31 format('part 1', 'part', 2, 'part 3', 'part', 4);
/third_party/icu/icu4c/source/tools/tzcode/
H A Dscheck.c11 scheck(const char *const string, const char *const format) in scheck() argument
21 if (string == NULL || format == NULL) in scheck()
23 fbuf = malloc(2 * strlen(format) + 4); in scheck()
26 fp = format; in scheck()
61 result = format; in scheck()
/third_party/node/deps/v8/src/base/
H A Dstrings.cc16 int VSNPrintF(Vector<char> str, const char* format, va_list args) { in VSNPrintF() argument
17 return OS::VSNPrintF(str.begin(), str.length(), format, args); in VSNPrintF()
20 int SNPrintF(Vector<char> str, const char* format, ...) { in SNPrintF() argument
22 va_start(args, format); in SNPrintF()
23 int result = VSNPrintF(str, format, args); in SNPrintF()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_util.h37 enum a2xx_sq_surfaceformat format : 7; member
43 struct surface_format fd2_pipe2surface(enum pipe_format format);
44 enum a2xx_colorformatx fd2_pipe2color(enum pipe_format format);
45 uint32_t fd2_tex_swiz(enum pipe_format format, unsigned swizzle_r,
48 uint32_t fd2_vtx_swiz(enum pipe_format format, unsigned swizzle);
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A Dscheck.c11 scheck(const char *const string, const char *const format) in scheck() argument
21 if (string == NULL || format == NULL) in scheck()
23 fbuf = malloc(2 * strlen(format) + 4); in scheck()
26 fp = format; in scheck()
61 result = format; in scheck()
/third_party/protobuf/src/google/protobuf/stubs/
H A Dstringprintf.h1 // Protocol Buffers - Google's data interchange format
55 PROTOBUF_EXPORT extern string StringPrintf(const char* format, ...);
59 const char* format, ...);
62 PROTOBUF_EXPORT extern void StringAppendF(string* dst, const char* format, ...);
66 PROTOBUF_EXPORT extern void StringAppendV(string* dst, const char* format,
75 PROTOBUF_EXPORT extern string StringPrintfVector(const char* format,
/third_party/rust/crates/os_str_bytes/tests/
H A Draw_debug.rs9 assert_eq!(format!("RawOsStr({})", result), format!("{:?}", string)); in test()
11 format!("RawOsString({})", result), in test()
12 format!("{:?}", string.to_owned()), in test()
28 test(&format!("\"foo{}\u{1F4A9}bar\"", wchar), RAW_WTF8_STRING); in test_wft8()
/kernel/linux/linux-5.10/drivers/media/i2c/et8ek8/
H A Det8ek8_driver.c43 struct v4l2_mbus_framefmt format; member
409 struct v4l2_mbus_framefmt format; in et8ek8_reglist_find_mode_fmt() local
418 * Store both the closest mode that matches the requested format, and in et8ek8_reglist_find_mode_fmt()
420 * if found, otherwise the best mode with a non-matching format is in et8ek8_reglist_find_mode_fmt()
429 et8ek8_reglist_to_mbus(*list, &format); in et8ek8_reglist_find_mode_fmt()
431 dist = min(fmt->width, format.width) in et8ek8_reglist_find_mode_fmt()
432 * min(fmt->height, format.height); in et8ek8_reglist_find_mode_fmt()
433 dist = format.width * format.height in et8ek8_reglist_find_mode_fmt()
437 if (fmt->code == format in et8ek8_reglist_find_mode_fmt()
928 struct v4l2_mbus_framefmt format; et8ek8_enum_frame_size() local
966 struct v4l2_mbus_framefmt format; et8ek8_enum_frame_ival() local
1011 struct v4l2_mbus_framefmt *format; et8ek8_get_pad_format() local
1027 struct v4l2_mbus_framefmt *format; et8ek8_set_pad_format() local
1326 struct v4l2_mbus_framefmt *format; et8ek8_open() local
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/et8ek8/
H A Det8ek8_driver.c43 struct v4l2_mbus_framefmt format; member
409 struct v4l2_mbus_framefmt format; in et8ek8_reglist_find_mode_fmt() local
418 * Store both the closest mode that matches the requested format, and in et8ek8_reglist_find_mode_fmt()
420 * if found, otherwise the best mode with a non-matching format is in et8ek8_reglist_find_mode_fmt()
429 et8ek8_reglist_to_mbus(*list, &format); in et8ek8_reglist_find_mode_fmt()
431 dist = min(fmt->width, format.width) in et8ek8_reglist_find_mode_fmt()
432 * min(fmt->height, format.height); in et8ek8_reglist_find_mode_fmt()
433 dist = format.width * format.height in et8ek8_reglist_find_mode_fmt()
437 if (fmt->code == format in et8ek8_reglist_find_mode_fmt()
928 struct v4l2_mbus_framefmt format; et8ek8_enum_frame_size() local
966 struct v4l2_mbus_framefmt format; et8ek8_enum_frame_ival() local
1012 struct v4l2_mbus_framefmt *format; et8ek8_get_pad_format() local
1029 struct v4l2_mbus_framefmt *format; et8ek8_set_pad_format() local
1328 struct v4l2_mbus_framefmt *format; et8ek8_open() local
[all...]
/third_party/python/Lib/test/
H A Dtest_struct.py72 for format in ('xcbhilfd?', 'xcBHILfd?'):
73 format = prefix + format
74 s = struct.pack(format, c, b, h, i, l, f, d, t)
75 cp, bp, hp, ip, lp, fp, dp, tp = struct.unpack(format, s)
87 # (format, argument, big-endian result, little-endian result, asymmetric)
149 format = byteorder+code
150 size = struct.calcsize(format)
177 def __init__(self, format):
179 self.format
322 format = byteorder+code global() variable in StructTest.test_integers.IntTester
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
H A Disppreview.c70 * which filters are enabled. To avoid format changes when the filters are
73 * during streaming are enabled when computing sink crop and source format
996 * preview_config_input_format - Configure the input format
998 * @info: Sink pad format information
1064 const struct v4l2_mbus_framefmt *format = &prev->formats[PREV_PAD_SINK]; in preview_config_input_size() local
1072 if (format->code != MEDIA_BUS_FMT_Y8_1X8 && in preview_config_input_size()
1073 format->code != MEDIA_BUS_FMT_Y10_1X10) { in preview_config_input_size()
1315 params->cfa.format = OMAP3ISP_CFAFMT_BAYER; in preview_init_params()
1382 struct v4l2_mbus_framefmt *format; in preview_configure() local
1394 format in preview_configure()
1893 struct v4l2_mbus_framefmt format; preview_enum_frame_size() local
1933 struct v4l2_mbus_framefmt *format; preview_get_selection() local
1976 struct v4l2_mbus_framefmt *format; preview_set_selection() local
2017 struct v4l2_mbus_framefmt *format; preview_get_format() local
2038 struct v4l2_mbus_framefmt *format; preview_set_format() local
2081 struct v4l2_subdev_format format; preview_init_formats() local
[all...]

Completed in 21 milliseconds

1...<<31323334353637383940>>...507