/third_party/ffmpeg/libavcodec/ |
H A D | audiotoolboxdec.c | 164 AudioStreamBasicDescription format; in ffat_update_ctx() local 165 UInt32 size = sizeof(format); in ffat_update_ctx() 168 &size, &format)) { in ffat_update_ctx() 169 if (format.mSampleRate) in ffat_update_ctx() 170 avctx->sample_rate = format.mSampleRate; in ffat_update_ctx() 172 av_channel_layout_default(&avctx->ch_layout, format.mChannelsPerFrame); in ffat_update_ctx() 173 avctx->frame_size = format.mFramesPerPacket; in ffat_update_ctx() 178 &size, &format)) { in ffat_update_ctx() 179 format.mSampleRate = avctx->sample_rate; in ffat_update_ctx() 180 format in ffat_update_ctx() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | NFSubstitution.java | 36 * The rule set this substitution uses to format its result, or null. 42 * The DecimalFormat this substitution uses to format its result, 181 // format its result in NFSubstitution() 188 // set we use to format the result: get a reference to the in NFSubstitution() 302 // rule set's format() method to format the result in doSubstitution() 305 ruleSet.format(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution() 310 // to show it), then use that formatter's format() method in doSubstitution() 311 // to format the result in doSubstitution() 317 toInsertInto.insert(position + pos, numberFormat.format(numberToForma in doSubstitution() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | NFSubstitution.java | 37 * The rule set this substitution uses to format its result, or null. 43 * The DecimalFormat this substitution uses to format its result, 182 // format its result in NFSubstitution() 189 // set we use to format the result: get a reference to the in NFSubstitution() 303 // rule set's format() method to format the result in doSubstitution() 306 ruleSet.format(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution() 311 // to show it), then use that formatter's format() method in doSubstitution() 312 // to format the result in doSubstitution() 318 toInsertInto.insert(position + pos, numberFormat.format(numberToForma in doSubstitution() [all...] |
/third_party/mesa3d/src/gallium/drivers/tegra/ |
H A D | tegra_screen.c | 38 #include "util/format/u_format.h" 134 enum pipe_format format, in tegra_screen_is_format_supported() 142 return screen->gpu->is_format_supported(screen->gpu, format, target, in tegra_screen_is_format_supported() 149 enum pipe_format format, in tegra_screen_is_video_format_supported() 155 return screen->gpu->is_video_format_supported(screen->gpu, format, profile, in tegra_screen_is_video_format_supported() 517 enum pipe_format format, in tegra_screen_query_dmabuf_modifiers() 524 screen->gpu->query_dmabuf_modifiers(screen->gpu, format, max, modifiers, in tegra_screen_query_dmabuf_modifiers() 531 enum pipe_format format, in tegra_screen_is_dmabuf_modifier_supported() 537 format, external_only); in tegra_screen_is_dmabuf_modifier_supported() 543 enum pipe_format format) in tegra_screen_get_dmabuf_modifier_planes() 133 tegra_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) tegra_screen_is_format_supported() argument 148 tegra_screen_is_video_format_supported(struct pipe_screen *pscreen, enum pipe_format format, enum pipe_video_profile profile, enum pipe_video_entrypoint entrypoint) tegra_screen_is_video_format_supported() argument 516 tegra_screen_query_dmabuf_modifiers(struct pipe_screen *pscreen, enum pipe_format format, int max, uint64_t *modifiers, unsigned int *external_only, int *count) tegra_screen_query_dmabuf_modifiers() argument 529 tegra_screen_is_dmabuf_modifier_supported(struct pipe_screen *pscreen, uint64_t modifier, enum pipe_format format, bool *external_only) tegra_screen_is_dmabuf_modifier_supported() argument 541 tegra_screen_get_dmabuf_modifier_planes(struct pipe_screen *pscreen, uint64_t modifier, enum pipe_format format) tegra_screen_get_dmabuf_modifier_planes() argument [all...] |
/third_party/node/deps/v8/src/wasm/ |
H A D | decoder.h | 259 void V8_NOINLINE PRINTF_FORMAT(2, 3) errorf(const char* format, ...) { in errorf() argument 261 va_start(args, format); in errorf() 262 verrorf(pc_offset(), format, args); in errorf() local 267 errorf(uint32_t offset, const char* format, ...) { in errorf() argument 269 va_start(args, format); in errorf() 270 verrorf(offset, format, args); in errorf() 275 errorf(const uint8_t* pc, const char* format, ...) { in errorf() argument 277 va_start(args, format); in errorf() 278 verrorf(pc_offset(pc), format, args); in errorf() local 364 void verrorf(uint32_t offset, const char* format, va_lis argument [all...] |
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_texture_state.c | 168 const uint32_t format = translate_texture_format(so->format); in etna_create_sampler_view_state() local 169 const bool ext = !!(format & EXT_FORMAT); in etna_create_sampler_view_state() 170 const bool astc = !!(format & ASTC_FORMAT); in etna_create_sampler_view_state() 171 const bool srgb = util_format_is_srgb(so->format); in etna_create_sampler_view_state() 172 const uint32_t swiz = get_texture_swiz(so->format, so->swizzle_r, in etna_create_sampler_view_state() 194 COND(!ext && !astc, VIVS_TE_SAMPLER_CONFIG0_FORMAT(format)); in etna_create_sampler_view_state() 224 if (res->layout == ETNA_LAYOUT_LINEAR && !util_format_is_compressed(so->format)) { in etna_create_sampler_view_state() 234 sv->config1 |= COND(ext, VIVS_TE_SAMPLER_CONFIG1_FORMAT_EXT(format)) | in etna_create_sampler_view_state() 238 sv->astc0 = COND(astc, VIVS_NTE_SAMPLER_ASTC0_ASTC_FORMAT(format)) | in etna_create_sampler_view_state() [all...] |
/third_party/python/PC/layout/ |
H A D | main.py | 122 yield "tcl/{}".format(dest), src 147 yield from in_build("python_uwp.exe", new_name="python{}".format(VER_DOT)) 148 yield from in_build("pythonw_uwp.exe", new_name="pythonw{}".format(VER_DOT)) 160 yield from in_build("python_uwp.exe", new_name="pip{}".format(VER_DOT)) 162 yield from in_build("pythonw_uwp.exe", new_name="idle{}".format(VER_DOT)) 193 yield "Lib/{}".format(dest), src 207 yield "Tools/{}".format(dest), src 215 yield "include/{}".format(dest), src 232 yield "Doc/{}".format(dest), src 236 yield "Doc/html/{}".format(des [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fASTCDecompressionCases.cpp | 234 CompressedTexFormat format, 271 CompressedTexFormat format, in ASTCRenderer2D() 275 , m_format (format) in ASTCRenderer2D() 276 , m_blockSize (tcu::getBlockPixelSize(format).xy()) in ASTCRenderer2D() 283 DE_ASSERT(tcu::getBlockPixelSize(format).z() == 1); in ASTCRenderer2D() 373 CompressedTexFormat format) in ASTCBlockCase2D() 376 , m_format (format) in ASTCBlockCase2D() 379 , m_renderer (new ASTCRenderer2D(context, format, deStringHash(getName()))) in ASTCBlockCase2D() 527 CompressedTexFormat format) 529 , m_format (format) 270 ASTCRenderer2D(Context& context, CompressedTexFormat format, deUint32 randomSeed) ASTCRenderer2D() argument 369 ASTCBlockCase2D(Context& context, const char* name, const char* description, BlockTestType testType, CompressedTexFormat format) ASTCBlockCase2D() argument [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | itrbnf.cpp | 126 formatter->format(123.45, result); in TestHebrewFraction() 139 formatter->format(123.0045, result); in TestHebrewFraction() 254 logln("Testing getNumberOfRuleSetNames, getRuleSetName and format using rule set names"); in TestAPI() 273 intFormatResult = formatter->format(intFormatNum, ruleSetName, intFormatResult, pos1, status); in TestAPI() 274 doubleFormatResult = formatter->format(doubleFormatNum, ruleSetName, doubleFormatResult, pos2, status); in TestAPI() 297 intFormatResult = formatter->format(intFormatNum, "BLABLA", intFormatResult, pos1, status); in TestAPI() 303 doubleFormatResult = formatter->format(doubleFormatNum, "TRUC", doubleFormatResult, pos2, status); in TestAPI() 316 logln("Testing format(double)"); in TestAPI() 318 formatter->format(4.5,result); in TestAPI() 326 formatter->format((int32_ in TestAPI() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
H A D | NumberFormatterApiTest.java | 27 import ohos.global.icu.dev.test.format.FormattedValueTest; 543 "Measure format method takes precedence over fluent chain", in unitMeasure() 662 "Pounds Per Square Mile Short (secondary unit has per-format)", in unitCompoundMeasure() 790 // The full currency symbol is not shown in NARROW format. in unitCurrency() 847 "Currency-dependent format (Control)", in unitCurrency() 856 "Currency-dependent format (Test)", in unitCurrency() 1564 // NOTE: Bulgarian is interesting because it has no grouping in the default currency format. in grouping() 2045 .format(12345.67) in symbols() 2323 // We fall back to normal currency format. This may change in the future. in sign() 2365 .format(inpu in signNearZero() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | RelativeDateTimeFormatterTest.java | 10 package ohos.global.icu.dev.test.format; 99 String actual = fmt.format( in TestRelativeDateWithQuantity() 174 String actual = fmt.format( in TestRelativeDateWithQuantityCaps() 249 String actual = fmt.format( in TestRelativeDateWithQuantityShort() 324 String actual = fmt.format( in TestRelativeDateWithQuantityNarrow() 341 String actual = fmt.format( in TestRelativeDateWithQuantitySr() 360 String actual = fmt.format( in TestRelativeDateWithQuantitySrFallback() 431 String actual = fmt.format((Direction) row[0], (AbsoluteUnit) row[1]); in TestRelativeDateWithoutQuantity() 505 String actual = fmt.format((Direction) row[0], (AbsoluteUnit) row[1]); in TestRelativeDateWithoutQuantityCaps() 583 String actual = fmt.format((Directio in TestRelativeDateWithoutQuantityShort() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | RelativeDateTimeFormatterTest.java | 9 package com.ibm.icu.dev.test.format; 96 String actual = fmt.format( in TestRelativeDateWithQuantity() 171 String actual = fmt.format( in TestRelativeDateWithQuantityCaps() 246 String actual = fmt.format( in TestRelativeDateWithQuantityShort() 321 String actual = fmt.format( in TestRelativeDateWithQuantityNarrow() 338 String actual = fmt.format( in TestRelativeDateWithQuantitySr() 357 String actual = fmt.format( in TestRelativeDateWithQuantitySrFallback() 428 String actual = fmt.format((Direction) row[0], (AbsoluteUnit) row[1]); in TestRelativeDateWithoutQuantity() 502 String actual = fmt.format((Direction) row[0], (AbsoluteUnit) row[1]); in TestRelativeDateWithoutQuantityCaps() 580 String actual = fmt.format((Directio in TestRelativeDateWithoutQuantityShort() [all...] |
/third_party/libsnd/src/ |
H A D | wavlike.c | 142 &(wav_fmt->format), &(wav_fmt->min.channels), in wavlike_read_fmt_chunk() 146 psf_log_printf (psf, " Format : 0x%X => %s\n", wav_fmt->format, wavlike_format_str (wav_fmt->format)) ; in wavlike_read_fmt_chunk() 150 if (wav_fmt->format == WAVE_FORMAT_PCM && wav_fmt->min.blockalign == 0 in wavlike_read_fmt_chunk() 159 if (wav_fmt->format == WAVE_FORMAT_PCM && wav_fmt->min.bitwidth == 24 && in wavlike_read_fmt_chunk() 173 { switch (wav_fmt->format) in wavlike_read_fmt_chunk() 184 { switch (wav_fmt->format) in wavlike_read_fmt_chunk() 199 switch (wav_fmt->format) in wavlike_read_fmt_chunk() 402 { psf->sf.format = SF_FORMAT_WAVEX | u_bitwidth_to_subformat (psf->bytewidth * 8) ; in wavlike_read_fmt_chunk() 403 psf_log_printf (psf, " format in wavlike_read_fmt_chunk() 526 int format = 0 ; wavlike_analyze() local [all...] |
H A D | paf.c | 56 int format ; member 112 subformat = SF_CODEC (psf->sf.format) ; in paf_open() 115 { if ((SF_CONTAINER (psf->sf.format)) != SF_FORMAT_PAF) in paf_open() 118 endian = SF_ENDIAN (psf->sf.format) ; in paf_open() 172 &(paf_fmt.samplerate), &(paf_fmt.format), &(paf_fmt.channels), &(paf_fmt.source)) ; in paf_read_header() 176 &(paf_fmt.samplerate), &(paf_fmt.format), &(paf_fmt.channels), &(paf_fmt.source)) ; in paf_read_header() 212 psf->sf.format = SF_FORMAT_PAF ; in paf_read_header() 214 psf_log_printf (psf, "Format : %d => ", paf_fmt.format) ; in paf_read_header() 217 psf->sf.format |= paf_fmt.endianness ? SF_ENDIAN_LITTLE : SF_ENDIAN_BIG ; in paf_read_header() 219 switch (paf_fmt.format) in paf_read_header() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_tex.c | 30 #include "util/format/u_format.h" 98 desc = util_format_description(view->pipe.format); in gm107_create_texture_view() 99 tex_int = util_format_is_pure_integer(view->pipe.format); in gm107_create_texture_view() 101 fmt = &nvc0_format_table[view->pipe.format]; in gm107_create_texture_view() 107 tic[0] = fmt->tic.format << GM107_TIC2_0_COMPONENTS_SIZES__SHIFT; in gm107_create_texture_view() 256 templ.format = view->format; in gm107_create_texture_view_from_image() 311 desc = util_format_description(view->pipe.format); in gf100_create_texture_view() 313 fmt = &nvc0_format_table[view->pipe.format]; in gf100_create_texture_view() 315 tex_int = util_format_is_pure_integer(view->pipe.format); in gf100_create_texture_view() [all...] |
/third_party/skia/third_party/externals/libpng/ |
H A D | pngwrite.c | 1525 * png_image format value. 1539 unsigned int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? in png_write_image_16bit() 1544 if ((image->format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_write_image_16bit() 1547 if ((image->format & PNG_FORMAT_FLAG_AFIRST) != 0) in png_write_image_16bit() 1698 unsigned int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? in png_write_image_8bit() 1701 if ((image->format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_write_image_8bit() 1707 if ((image->format & PNG_FORMAT_FLAG_AFIRST) != 0) in png_write_image_8bit() 1792 png_uint_32 format = image->format; in png_image_set_PLTE() local 1793 unsigned int channels = PNG_IMAGE_SAMPLE_CHANNELS(format); in png_image_set_PLTE() 1937 png_uint_32 format = image->format; png_image_write_main() local [all...] |
/third_party/mesa3d/src/amd/registers/ |
H A D | regdb.py | 102 '{k}={v}'.format(**locals()) for k, v, in self.__dict__.items() 149 raise MergeError('{name}: {e}'.format(**locals())) 173 with merge_scope('Key {k}'.format(**locals())): 182 raise MergeError('{base} (from {base_origin}) != {other} (from {other_origin})'.format(**locals())) 272 'Registers {0} and {1} overlap and have conflicting types'.format( 299 'Register type field {0} has unknown enum_ref {1}'.format( 305 'Register mapping {0} has unknown type_ref {1}'.format( 322 ':{0}:{1}'.format(entry.name, entry.value) 362 raise RegisterDatabaseError('Enum {0} already exists'.format(newname)) 408 with merge_scope('Register types {0}'.format(', ' [all...] |
/third_party/node/lib/ |
H A D | url.js | 497 this.href = this.format(); 600 return bindingUrl.format(urlObject.href, fragment, unicode, search, auth); 603 return Url.prototype.format.call(urlObject); 623 Url.prototype.format = function format() { 714 return this.resolveObject(urlParse(relative, false, true)).format(); 742 result.href = result.format(); 762 result.href = result.format(); 781 result.href = result.format(); 812 result.href = result.format(); [all...] |
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
H A D | tr_dump_state.c | 31 #include "util/format/u_format.h" 56 trace_dump_member(format, templat, format); in trace_dump_resource_template() 553 trace_dump_member(format, state, border_color_format); in trace_dump_sampler_state() 571 trace_dump_member(format, state, format); in trace_dump_sampler_view_template() 629 trace_dump_member(format, state, format); in trace_dump_surface_template() 733 trace_dump_member(format, state, src_format); in trace_dump_vertex_element() 787 trace_dump_member(format, stat in trace_dump_image_view() [all...] |
/third_party/rust/crates/cxx/gen/lib/src/syntax/ |
H A D | check.rs | 90 let msg = format!("unsupported type: {}", ident); in check_type_ident() 232 format!( in check_type_ref() 276 let mut msg = format!("unsupported &{}[T] element type", mutable); in check_type_slice_ref() 330 let msg = format!("derive({}) on shared struct is not supported", derive); in check_api_struct() 343 let msg = format!("using {} by value is not supported", desc); in check_api_struct() 363 let msg = format!("derive({}) on shared enum is not supported", derive); in check_api_enum() 381 let msg = format!( in check_api_type() 395 let msg = format!( in check_api_type() 414 let message = format!( in check_api_fn() 433 let msg = format!( in check_api_fn() [all...] |
/third_party/rust/crates/cxx/syntax/ |
H A D | check.rs | 90 let msg = format!("unsupported type: {}", ident); in check_type_ident() 232 format!( in check_type_ref() 276 let mut msg = format!("unsupported &{}[T] element type", mutable); in check_type_slice_ref() 330 let msg = format!("derive({}) on shared struct is not supported", derive); in check_api_struct() 343 let msg = format!("using {} by value is not supported", desc); in check_api_struct() 363 let msg = format!("derive({}) on shared enum is not supported", derive); in check_api_enum() 381 let msg = format!( in check_api_type() 395 let msg = format!( in check_api_type() 414 let message = format!( in check_api_fn() 433 let msg = format!( in check_api_fn() [all...] |
/third_party/rust/crates/cxx/gen/cmd/src/syntax/ |
H A D | check.rs | 90 let msg = format!("unsupported type: {}", ident); in check_type_ident() 232 format!( in check_type_ref() 276 let mut msg = format!("unsupported &{}[T] element type", mutable); in check_type_slice_ref() 330 let msg = format!("derive({}) on shared struct is not supported", derive); in check_api_struct() 343 let msg = format!("using {} by value is not supported", desc); in check_api_struct() 363 let msg = format!("derive({}) on shared enum is not supported", derive); in check_api_enum() 381 let msg = format!( in check_api_type() 395 let msg = format!( in check_api_type() 414 let message = format!( in check_api_fn() 433 let msg = format!( in check_api_fn() [all...] |
/third_party/rust/crates/cxx/macro/src/syntax/ |
H A D | check.rs | 90 let msg = format!("unsupported type: {}", ident); in check_type_ident() 232 format!( in check_type_ref() 276 let mut msg = format!("unsupported &{}[T] element type", mutable); in check_type_slice_ref() 330 let msg = format!("derive({}) on shared struct is not supported", derive); in check_api_struct() 343 let msg = format!("using {} by value is not supported", desc); in check_api_struct() 363 let msg = format!("derive({}) on shared enum is not supported", derive); in check_api_enum() 381 let msg = format!( in check_api_type() 395 let msg = format!( in check_api_type() 414 let message = format!( in check_api_fn() 433 let msg = format!( in check_api_fn() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineImageViewTests.cpp | 76 static std::string getGlslSamplerType (const tcu::TextureFormat& format, 186 const tcu::TextureFormat format = (isCompressedFormat(m_imageFormat)) ? tcu::getUncompressedFormat(mapVkCompressedFormat(m_imageFormat)) in initPrograms() local 233 << "layout(set = 0, binding = 0) uniform highp " << getGlslSamplerType(format, m_imageViewType) << " texSampler;\n" in initPrograms() 257 std::string ImageViewTest::getGlslSamplerType (const tcu::TextureFormat& format, VkImageViewType type) in getGlslSamplerType() argument 261 if (tcu::getTextureChannelClass(format.type) == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER) in getGlslSamplerType() 263 else if (tcu::getTextureChannelClass(format.type) == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER) in getGlslSamplerType() 355 static std::string getFormatCaseName (const VkFormat format) in getFormatCaseName() argument 357 const std::string fullName = getFormatName(format); in getFormatCaseName() 861 de::MovePtr<tcu::TestCaseGroup> formatTests (new tcu::TestCaseGroup(testCtx, "format")); in createImageViewTests() 865 const VkFormat format in createImageViewTests() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/ |
H A D | vktVideoTestUtils.cpp | 239 result->push_back(videoFormatProperty.format); in getSupportedFormats() 248 const VkFormat format) in getSupportedFormatProperties() 251 if (format == VK_FORMAT_UNDEFINED) in getSupportedFormatProperties() 284 if (videoFormatProperty.format == format) in getSupportedFormatProperties() 288 TCU_THROW(NotSupportedError, "Video format not found in properties list"); in getSupportedFormatProperties() 307 const VkFormat format, in validateFormatSupport() 320 if (supportedVideoFormat == format) in validateFormatSupport() 325 TCU_THROW(NotSupportedError, "Required format is not supported for video"); in validateFormatSupport() 339 const VkFormat format, in validateVideoProfileList() 244 getSupportedFormatProperties(const InstanceInterface& vk, const VkPhysicalDevice physicalDevice, const VkImageUsageFlags imageUsageFlags, void* pNext, const VkFormat format) getSupportedFormatProperties() argument 303 validateFormatSupport(const InstanceInterface& vk, VkPhysicalDevice physicalDevice, const VkImageUsageFlags imageUsageFlags, const VkVideoProfileListInfoKHR* videoProfileList, const VkFormat format, bool throwException) validateFormatSupport() argument 336 validateVideoProfileList(const InstanceInterface& vk, VkPhysicalDevice physicalDevice, const VkVideoProfileListInfoKHR* videoProfileList, const VkFormat format, const VkImageUsageFlags usage) validateVideoProfileList() argument 405 makeImageCreateInfo(VkFormat format, const VkExtent2D& extent, const deUint32* queueFamilyIndex, const VkImageUsageFlags usage, void* pNext, const deUint32 arrayLayers) makeImageCreateInfo() argument [all...] |