/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiImageCompressionControlTests.cpp | 74 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/ffmpeg/libavcodec/ |
H A D | v4l2_context.c | 86 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 D | cuviddec.c | 118 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 D | SkString.cpp | 30 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 D | image_enc.c | 212 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...] |
/third_party/skia/third_party/externals/brotli/research/ |
H A D | brotlidump.py | 2 """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 D | hb-ot-layout-gpos-table.hh | 117 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/python/Lib/test/ |
H A D | test_struct.py | 72 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...] |
/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | decimfmt.h | 76 * and format numbers in any locale, including support for Western, Arabic, or 100 * // format for each locale. 125 * cout << " -> " << form->format(myNumber,str) << endl; 126 * form->parse(form->format(myNumber,str), fmtable, success); 138 * // format for each locale</strong> 149 * cout << "format result " << form->format(myNumber, str) << endl; 150 * format->parse(form->format(myNumber, str), fmtable, success); 510 * <td align=left>Output of format() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | NumberFormatRegressionTest.java | 11 * Port From: ICU4C v1.8.1 : format : NumberFormatRegressionTest 15 package com.ibm.icu.dev.test.format; 51 String s = nf.format(a); in Test4161100() 98 // format back to a string in TestJ691() 99 String outString = df.format(ulocdat); in TestJ691() 120 //Test format in Test4408066() 136 String result = nf1.format(data[i]); in Test4408066() 188 NumberFormat format = (NumberFormat) ois.readObject(); in TestSerialization() 189 String result = format.format(dat in TestSerialization() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | NumberFormatRegressionTest.java | 12 * Port From: ICU4C v1.8.1 : format : NumberFormatRegressionTest 16 package ohos.global.icu.dev.test.format; 54 String s = nf.format(a); in Test4161100() 101 // format back to a string in TestJ691() 102 String outString = df.format(ulocdat); in TestJ691() 123 //Test format in Test4408066() 139 String result = nf1.format(data[i]); in Test4408066() 191 NumberFormat format = (NumberFormat) ois.readObject(); in TestSerialization() 192 String result = format.format(dat in TestSerialization() [all...] |
/third_party/libsnd/src/ |
H A D | nist.c | 66 if ((SF_CONTAINER (psf->sf.format)) != SF_FORMAT_NIST) in nist_open() 69 psf->endian = SF_ENDIAN (psf->sf.format) ; in nist_open() 84 switch (SF_CODEC (psf->sf.format)) in nist_open() 216 psf->sf.format |= psf->endian ; in nist_read_header() 235 psf->sf.format |= SF_FORMAT_PCM_S8 ; in nist_read_header() 239 psf->sf.format |= SF_FORMAT_PCM_16 ; in nist_read_header() 243 psf->sf.format |= SF_FORMAT_PCM_24 ; in nist_read_header() 247 psf->sf.format |= SF_FORMAT_PCM_32 ; in nist_read_header() 254 psf->sf.format |= encoding ; in nist_read_header() 258 /* Sanitize psf->sf.format in nist_read_header() [all...] |
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_android.c | 305 format_supported_with_usage(VkDevice device_h, VkFormat format, in format_supported_with_usage() argument 329 .format = format, in format_supported_with_usage() 339 /* Check that requested format and usage are supported. */ in format_supported_with_usage() 353 setup_gralloc0_usage(struct tu_device *device, VkFormat format, in setup_gralloc0_usage() argument 381 if (format == VK_FORMAT_B8G8R8A8_UNORM || in setup_gralloc0_usage() 382 format == VK_FORMAT_B5G6R5_UNORM_PACK16) { in setup_gralloc0_usage() 395 VkFormat format, in tu_GetSwapchainGrallocUsageANDROID() 402 result = format_supported_with_usage(device_h, format, imageUsage); in tu_GetSwapchainGrallocUsageANDROID() 407 return setup_gralloc0_usage(device, format, imageUsag in tu_GetSwapchainGrallocUsageANDROID() 394 tu_GetSwapchainGrallocUsageANDROID(VkDevice device_h, VkFormat format, VkImageUsageFlags imageUsage, int *grallocUsage) tu_GetSwapchainGrallocUsageANDROID() argument 412 tu_GetSwapchainGrallocUsage2ANDROID(VkDevice device_h, VkFormat format, VkImageUsageFlags imageUsage, VkSwapchainImageUsageFlagsANDROID swapchainImageUsage, uint64_t *grallocConsumerUsage, uint64_t *grallocProducerUsage) tu_GetSwapchainGrallocUsage2ANDROID() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_screen.c | 32 #include "util/format/u_format.h" 327 enum pipe_format format, in vc4_screen_is_format_supported() 346 switch (format) { in vc4_screen_is_format_supported() 398 !vc4_rt_format_supported(format)) { in vc4_screen_is_format_supported() 403 (!vc4_tex_format_supported(format) || in vc4_screen_is_format_supported() 404 (format == PIPE_FORMAT_ETC1_RGB8 && !screen->has_etc1))) { in vc4_screen_is_format_supported() 409 format != PIPE_FORMAT_S8_UINT_Z24_UNORM && in vc4_screen_is_format_supported() 410 format != PIPE_FORMAT_X8Z24_UNORM) { in vc4_screen_is_format_supported() 415 format != PIPE_FORMAT_R8_UINT && in vc4_screen_is_format_supported() 416 format ! in vc4_screen_is_format_supported() 326 vc4_screen_is_format_supported(struct pipe_screen *pscreen, enum pipe_format format, enum pipe_texture_target target, unsigned sample_count, unsigned storage_sample_count, unsigned usage) vc4_screen_is_format_supported() argument 448 vc4_screen_query_dmabuf_modifiers(struct pipe_screen *pscreen, enum pipe_format format, int max, uint64_t *modifiers, unsigned int *external_only, int *count) vc4_screen_query_dmabuf_modifiers() argument 476 vc4_screen_is_dmabuf_modifier_supported(struct pipe_screen *pscreen, uint64_t modifier, enum pipe_format format, bool *external_only) vc4_screen_is_dmabuf_modifier_supported() argument [all...] |
/third_party/node/deps/icu-small/source/i18n/unicode/ |
H A D | decimfmt.h | 76 * and format numbers in any locale, including support for Western, Arabic, or 100 * // format for each locale. 125 * cout << " -> " << form->format(myNumber,str) << endl; 126 * form->parse(form->format(myNumber,str), fmtable, success); 138 * // format for each locale</strong> 149 * cout << "format result " << form->format(myNumber, str) << endl; 150 * format->parse(form->format(myNumber, str), fmtable, success); 510 * <td align=left>Output of format() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | dadrfmt.cpp | 36 driver = TestDataModule::getTestDataModule("format", *this, status); in DataDrivenFormatTest() 69 dataerrln("format/DataDriven*Test data (format.res) not initialized!"); in runIndexedTest() 159 DateFormat *format = NULL; in testConvertDate() local 167 format = new SimpleDateFormat(pattern, loc, status); in testConvertDate() 177 format = DateFormat::createDateTimeInstance((DateFormat::EStyle)styleSet.getDateStyle(), (DateFormat::EStyle)styleSet.getTimeStyle(), loc); in testConvertDate() 178 if(format == NULL ) { in testConvertDate() 192 format->setTimeZone(*tz); in testConvertDate() 252 format->format(fromDat in testConvertDate() [all...] |
/third_party/littlefs/scripts/ |
H A D | explode_asserts.py | 145 format = { 152 desc['print'].strip().format(**format))+'\n') 154 desc['fail'].strip().format(**format))+'\n') 157 format.update({ 162 desc['assert'].strip().format(**format))+'\n') 165 format = { 175 .format(**forma [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
H A D | vktSparseResourcesImageAlignedMipSize.cpp | 63 const VkFormat format); 79 const VkFormat format) in ImageAlignedMipSizeCase() 83 , m_format (format) in ImageAlignedMipSizeCase() 117 const VkFormat format); 130 const VkFormat format) in ImageAlignedMipSizeInstance() 134 , m_format (format) in ImageAlignedMipSizeInstance() 154 imageCreateInfo.format = m_format; in iterate() 171 // Check if device supports sparse operations for image format in iterate() 173 TCU_THROW(NotSupportedError, "The image format does not support sparse operations"); in iterate() 179 imageCreateInfo.format, in iterate() 75 ImageAlignedMipSizeCase(tcu::TestContext& testCtx, const std::string& name, const ImageType imageType, const tcu::UVec3& imageSize, const VkFormat format) ImageAlignedMipSizeCase() argument 127 ImageAlignedMipSizeInstance(Context& context, const ImageType imageType, const tcu::UVec3& imageSize, const VkFormat format) ImageAlignedMipSizeInstance() argument 280 VkFormat format = imageParameters[imageTypeNdx].formats[formatNdx].format; createImageAlignedMipSizeTests() local [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
H A D | decimfmt.h | 76 * and format numbers in any locale, including support for Western, Arabic, or 100 * // format for each locale. 125 * cout << " -> " << form->format(myNumber,str) << endl; 126 * form->parse(form->format(myNumber,str), fmtable, success); 138 * // format for each locale</strong> 149 * cout << "format result " << form->format(myNumber, str) << endl; 150 * format->parse(form->format(myNumber, str), fmtable, success); 510 * <td align=left>Output of format() [all...] |
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
H A D | ttpost.c | 375 FT_Fixed format; in load_post_names() local 387 format = face->postscript.FormatType; in load_post_names() 394 if ( format == 0x00020000L && post_len >= 34 ) in load_post_names() 396 else if ( format == 0x00025000L && post_len >= 34 ) in load_post_names() 413 FT_Fixed format; in tt_face_free_ps_names() local 418 format = face->postscript.FormatType; in tt_face_free_ps_names() 420 if ( format == 0x00020000L ) in tt_face_free_ps_names() 437 else if ( format == 0x00025000L ) in tt_face_free_ps_names() 482 FT_Fixed format; in FT_LOCAL_DEF() local 506 format in FT_LOCAL_DEF() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/ |
H A D | vktSparseResourcesImageAlignedMipSize.cpp | 64 const VkFormat format); 81 const VkFormat format) in ImageAlignedMipSizeCase() 85 , m_format (format) in ImageAlignedMipSizeCase() 119 const VkFormat format); 132 const VkFormat format) in ImageAlignedMipSizeInstance() 136 , m_format (format) in ImageAlignedMipSizeInstance() 156 imageCreateInfo.format = m_format; in iterate() 173 // Check if device supports sparse operations for image format in iterate() 175 TCU_THROW(NotSupportedError, "The image format does not support sparse operations"); in iterate() 181 imageCreateInfo.format, in iterate() 76 ImageAlignedMipSizeCase(tcu::TestContext& testCtx, const std::string& name, const std::string& description, const ImageType imageType, const tcu::UVec3& imageSize, const VkFormat format) ImageAlignedMipSizeCase() argument 129 ImageAlignedMipSizeInstance(Context& context, const ImageType imageType, const tcu::UVec3& imageSize, const VkFormat format) ImageAlignedMipSizeInstance() argument 282 VkFormat format = imageParameters[imageTypeNdx].formats[formatNdx].format; createImageAlignedMipSizeTests() local [all...] |
/base/hiviewdfx/hidumper/frameworks/native/ |
H A D | common.h | 44 #define LOG_ERR(format, ...) \ 47 fprintf(stdout, "Error:" format "", ##__VA_ARGS__); \ 52 #define LOG_DEBUG(format, ...) \ 55 fprintf(stdout, "Debug:" format "(%s %d)\n", ##__VA_ARGS__, __FILE__, __LINE__); \ 58 #define LOG_DEBUG(format, ...)
|
/base/time/time_service/services/dfx/src/ |
H A D | time_cmd_parse.cpp | 20 : format(argsFormat), help(strHelp), action(action) in TimeCmdParse() 36 if (format.size() == 0) { in GetOption() 39 for (unsigned long i = 0; i < format.size() - 1; i++) { in GetOption() 40 formatTitle += format.at(i); in GetOption() 52 for (auto &seg : format) { in GetFormat()
|
/third_party/libwebsockets/lib/drivers/settings/ |
H A D | settings.c | 50 const char *format, ...) in lws_settings_plat_printf() 56 va_start(ap, format); in lws_settings_plat_printf() 57 n = vsnprintf(NULL, 0, format, ap); in lws_settings_plat_printf() 61 va_start(ap, format); in lws_settings_plat_printf() 62 vsnprintf((char *)p, n + 2, format, ap); in lws_settings_plat_printf() 49 lws_settings_plat_printf(lws_settings_instance_t *si, const char *name, const char *format, ...) lws_settings_plat_printf() argument
|
/third_party/jerryscript/tools/ |
H A D | check-signed-off.sh | 74 parent_hashes=(`git show -s --format=%p HEAD | head -1`) 78 commit_hash=`git show -s --format=%h HEAD | head -1` 88 actual_signed_off_by_line=`git show -s --format=%B $commit_hash | sed '/^$/d' | tr -d '\015' | tail -n 1` 92 author_name=`git show -s --format=%an $commit_hash` 93 author_email=`git show -s --format=%ae $commit_hash`
|