/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/ |
H A D | ContextSubst.java | 20 switch (format) { in ContextSubst() 30 throw new IllegalStateException("Subt format value is " + format + " (should be 1 or 2)."); in ContextSubst() 38 switch (format) { in fmt1Table() 42 throw new IllegalArgumentException("unexpected format table requested: " + format); in fmt1Table() 47 switch (format) { in fmt2Table() 51 throw new IllegalArgumentException("unexpected format table requested: " + format); in fmt2Table() 56 return (format in recordList() [all...] |
H A D | ClassDefTable.java | 20 switch (format) { in ClassDefTable() 28 throw new IllegalArgumentException("class def format " + format + " unexpected"); in ClassDefTable() 36 switch (format) { in fmt1Table() 40 throw new IllegalArgumentException("unexpected format table requested: " + format); in fmt1Table() 45 switch (format) { in fmt2Table() 49 throw new IllegalArgumentException("unexpected format table requested: " + format); in fmt2Table() 58 switch (format) { in Builder() [all...] |
H A D | CoverageTable.java | 17 switch (format) { in CoverageTable() 25 throw new IllegalArgumentException("coverage format " + format + " unexpected"); in CoverageTable() 33 switch (format) { in fmt1Table() 37 throw new IllegalArgumentException("unexpected format table requested: " + format); in fmt1Table() 42 switch (format) { in fmt2Table() 46 throw new IllegalArgumentException("unexpected format table requested: " + format); in fmt2Table() 60 switch (format) { in Builder() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | RenderBundleEncoder.cpp | 32 const Format* format = nullptr; in ValidateColorAttachmentFormat() local 33 DAWN_TRY_ASSIGN(format, device->GetInternalFormat(textureFormat)); in ValidateColorAttachmentFormat() 34 DAWN_INVALID_IF(!format->IsColor() || !format->isRenderable, in ValidateColorAttachmentFormat() 35 "Texture format %s is not color renderable.", textureFormat); in ValidateColorAttachmentFormat() 44 const Format* format = nullptr; in ValidateDepthStencilAttachmentFormat() local 45 DAWN_TRY_ASSIGN(format, device->GetInternalFormat(textureFormat)); in ValidateDepthStencilAttachmentFormat() 46 DAWN_INVALID_IF(!format->HasDepthOrStencil() || !format->isRenderable, in ValidateDepthStencilAttachmentFormat() 47 "Texture format in ValidateDepthStencilAttachmentFormat() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | es2020IntlAPIs.js | 8 `${new Intl.DateTimeFormat(locale).format(date)} ${new Intl.NumberFormat(locale).format(count)}` 21 console.log(rtf1.format(3, 'quarter')); 24 console.log(rtf1.format(-1, 'day')); 29 console.log(rtf2.format(2, 'day')); 66 console.log(`${new Intl.DateTimeFormat(locale).format(date)} ${new Intl.NumberFormat(locale).format(count)}`);
74 console.log(rtf1.format(3, 'quarter'));
76 console.log(rtf1.format(-1, 'day'));
79 console.log(rtf2.format( [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | mime-type.c | 33 switch (ss->format) { in pa_sample_spec_is_mime() 104 switch (ss->format) { in pa_sample_spec_mimefy() 113 ss->format = PA_SAMPLE_S24BE; in pa_sample_spec_mimefy() 118 ss->format = PA_SAMPLE_S16BE; in pa_sample_spec_mimefy() 125 ss->format = PA_SAMPLE_ULAW; in pa_sample_spec_mimefy() 127 ss->format = PA_SAMPLE_S16BE; in pa_sample_spec_mimefy() 131 ss->format = PA_SAMPLE_U8; in pa_sample_spec_mimefy() 151 switch (ss->format) { in pa_sample_spec_to_mime_type() 160 ss->format == PA_SAMPLE_S16BE ? "L16" : in pa_sample_spec_to_mime_type() 161 (ss->format in pa_sample_spec_to_mime_type() [all...] |
/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/ |
H A D | NativeAVMuxerParamCheckTest.cpp | 69 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_M4A; in HWTEST_F() local 71 OH_AVMuxer *handle = muxerDemo->NativeCreate(fd, format); in HWTEST_F() 75 handle = muxerDemo->NativeCreate(fd, format); in HWTEST_F() 78 fd = muxerDemo->GetFdByMode(format); in HWTEST_F() 79 handle = muxerDemo->NativeCreate(fd, format); in HWTEST_F() 87 * @tc.name : OH_AVMuxer_Create - format check 93 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_DEFAULT; in HWTEST_F() local 94 int32_t fd = muxerDemo->GetFdByMode(format); in HWTEST_F() 95 OH_AVMuxer *handle = muxerDemo->NativeCreate(fd, format); in HWTEST_F() 100 format in HWTEST_F() 124 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 168 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 211 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 271 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 331 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 378 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 439 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 500 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 527 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 581 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 635 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 689 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 743 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 797 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 851 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 905 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 958 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 1012 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 1066 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 1120 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 1174 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MP3; HWTEST_F() local 1223 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 1272 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_AMR; HWTEST_F() local [all...] |
/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/ |
H A D | func_test.cpp | 62 OH_AVFormat *format; member 427 format = OH_AVFormat_Create(); in HWTEST_F() 428 ASSERT_NE(nullptr, format); in HWTEST_F() 429 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F() 430 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, AV_PIXEL_FORMAT_NV12); in HWTEST_F() 431 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F() 432 ASSERT_EQ(AV_ERR_OK, OH_VideoDecoder_Configure(vdec_, format)); in HWTEST_F() 433 OH_AVFormat_Destroy(format); in HWTEST_F() 463 format = OH_AVFormat_Create(); in HWTEST_F() 464 ASSERT_NE(nullptr, format); in HWTEST_F() [all...] |
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Avbuffer/src/ |
H A D | status_check_test.cpp | 55 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local 64 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F() 201 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local 214 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F() 216 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F() 231 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local 244 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F() 260 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local 274 result0 = audioBufferAacEncDemo->Configure(codec, format, channel, sampleRate, bitRate, sampleFormat, sampleBit, in HWTEST_F() 291 OH_AVFormat *format in HWTEST_F() local 323 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 352 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 381 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 410 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 438 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 470 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 501 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 534 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 568 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 599 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 630 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 661 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 691 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 727 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 762 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 798 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 835 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 870 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 905 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 940 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 974 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1010 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1045 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1081 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1118 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1153 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1188 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1223 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1257 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1291 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1324 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1359 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1395 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1428 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1461 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1494 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1526 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1560 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1593 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1628 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1664 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1697 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1730 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1763 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local 1796 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local [all...] |
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/ |
H A D | sys_log.c | 22 __attribute__((format(printf, 3, 4))) 23 void PrintfImpl(const char *moduleName, uint32_t logLevel, const char *format, ...) in PrintfImpl() argument 27 va_start(args, format); in PrintfImpl() 29 vprintf(format, args); in PrintfImpl() 64 __attribute__((format(printf, 5, 6))) void NstackxHiLogImpl(const char *tag, in NstackxHiLogImpl() argument 68 const char *format, in NstackxHiLogImpl() 83 va_start(args, format); in NstackxHiLogImpl() 84 ret = vsprintf_s(&szStr[ulPos], sizeof(szStr) - ulPos, format, args); in NstackxHiLogImpl()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/ |
H A D | sys_log.c | 22 __attribute__((format(printf, 3, 4))) 23 void PrintfImpl(const char *moduleName, uint32_t logLevel, const char *format, ...) in PrintfImpl() argument 27 va_start(args, format); in PrintfImpl() 29 vprintf(format, args); in PrintfImpl() 64 __attribute__((format(printf, 5, 6))) void NstackxHiLogImpl(const char *tag, in NstackxHiLogImpl() argument 68 const char *format, in NstackxHiLogImpl() 83 va_start(args, format); in NstackxHiLogImpl() 84 ret = vsprintf_s(&szStr[ulPos], sizeof(szStr) - ulPos, format, args); in NstackxHiLogImpl()
|
/third_party/NuttX/fs/nfs/ |
H A D | nfs.h | 64 #define nfs_debug_error(format, ...) PRINT_ERR(format, ##__VA_ARGS__) 65 #define nfs_debug_info(format, ...) PRINTK(format, ##__VA_ARGS__) 71 #define nfs_error(format, ...) PRINT_ERR(format, ##__VA_ARGS__) 72 #define nfs_info(format, ...) PRINTK(format, ##__VA_ARGS__)
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | ScientificNumberFormatterTest.java | 10 package ohos.global.icu.dev.test.format; 38 markup.format(1.23456e-78)); in TestBasic() 42 superscript.format(1.23456e-78)); in TestBasic() 53 fmt.format(1.23456e-78)); in TestFarsi() 67 fmt.format(6.02e23)); in TestPlusSignInExponentMarkup() 80 fmt.format(6.02e23)); in TestPlusSignInExponentSuperscript() 91 fmt.format(123456.0)); in TestFixedDecimalMarkup() 101 fmt.format(123456.0)); in TestFixedDecimalSuperscript()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | ScientificNumberFormatterTest.java | 9 package com.ibm.icu.dev.test.format; 35 markup.format(1.23456e-78)); in TestBasic() 39 superscript.format(1.23456e-78)); in TestBasic() 50 fmt.format(1.23456e-78)); in TestFarsi() 64 fmt.format(6.02e23)); in TestPlusSignInExponentMarkup() 77 fmt.format(6.02e23)); in TestPlusSignInExponentSuperscript() 88 fmt.format(123456.0)); in TestFixedDecimalMarkup() 98 fmt.format(123456.0)); in TestFixedDecimalSuperscript()
|
/third_party/nghttp2/ |
H A D | gentokenlookup.py | 31 {},'''.format(to_enum_hd(k, prefix))) 34 }};'''.format(prefix)) 39 switch (namelen) {{'''.format(return_type, value_type)) 44 case {}:'''.format(size)) 46 switch (name[{}]) {{'''.format(size - 1)) 50 case '{}':'''.format(c)) 55 }}'''.format(comp_fun, k[:-1], size - 1, to_enum_hd(k, prefix))) 64 }}'''.format(fail_value))
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_gen_mipmap.c | 37 #include "util/format/u_format.h" 55 enum pipe_format format; in st_generate_mipmap() local 125 format = texObj->surface_format; in st_generate_mipmap() 127 format = pt->format; in st_generate_mipmap() 130 format = util_format_linear(format); in st_generate_mipmap() 138 !st->pipe->generate_mipmap(st->pipe, pt, format, baseLevel, in st_generate_mipmap() 141 if (!util_gen_mipmap(st->pipe, pt, format, baseLevel, lastLevel, in st_generate_mipmap()
|
/third_party/mesa3d/src/gallium/frontends/dri/ |
H A D | dri_screen.c | 45 #include "util/format/u_format_s3tc.h" 120 * \param format Mesa mesa_format enum describing the pixel format 145 * \c format). 148 driCreateConfigs(mesa_format format, in driCreateConfigs() argument 208 switch (format) { in driCreateConfigs() 260 _mesa_get_format_name(format), format); in driCreateConfigs() 264 red_bits = _mesa_get_format_bits(format, GL_RED_BITS); in driCreateConfigs() 265 green_bits = _mesa_get_format_bits(format, GL_GREEN_BIT in driCreateConfigs() 437 mesa_format format; dri_fill_in_modes() local [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderreset_fuzzer/ |
H A D | audio_decoder_reset_demo.cpp | 54 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 57 (void)format; in OnOutputFormatChanged() 116 bool ADecBufferDemo::InitFormat(OH_AVFormat *format) in InitFormat() argument 121 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AAC_IS_ADTS.data(), in InitFormat() 123 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 128 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 133 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 141 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 144 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), channelCount); in InitFormat() 145 OH_AVFormat_SetIntValue(format, MediaDescriptionKe in InitFormat() 263 Configure(OH_AVFormat *format) Configure() argument [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderdescription_fuzzer/ |
H A D | audio_decoder_description_demo.cpp | 54 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 57 (void)format; in OnOutputFormatChanged() 116 bool ADecBufferDemo::InitFormat(OH_AVFormat *format) in InitFormat() argument 121 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AAC_IS_ADTS.data(), in InitFormat() 123 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 128 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 133 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 141 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 144 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), channelCount); in InitFormat() 145 OH_AVFormat_SetIntValue(format, MediaDescriptionKe in InitFormat() 263 Configure(OH_AVFormat *format) Configure() argument [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderflush_fuzzer/ |
H A D | audio_decoder_flush_demo.cpp | 54 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 57 (void)format; in OnOutputFormatChanged() 116 bool ADecBufferDemo::InitFormat(OH_AVFormat *format) in InitFormat() argument 121 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AAC_IS_ADTS.data(), in InitFormat() 123 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 128 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 133 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 141 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 144 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), channelCount); in InitFormat() 145 OH_AVFormat_SetIntValue(format, MediaDescriptionKe in InitFormat() 263 Configure(OH_AVFormat *format) Configure() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | image.c | 78 enum pipe_format format; in vlVaQueryImageFormats() local 92 format = VaFourccToPipeFormat(formats[i].fourcc); in vlVaQueryImageFormats() 93 if (pscreen->is_video_format_supported(pscreen, format, in vlVaQueryImageFormats() 103 vlVaCreateImage(VADriverContextP ctx, VAImageFormat *format, int width, int height, VAImage *image) in vlVaCreateImage() argument 113 if (!(format && image && width && height)) in vlVaCreateImage() 125 img->format = *format; in vlVaCreateImage() 131 switch (format->fourcc) { in vlVaCreateImage() 275 img->format.fourcc = PipeFormatToVaFourcc(surf->buffer->buffer_format); in vlVaDeriveImage() 287 if (img->format in vlVaDeriveImage() 475 enum pipe_format format; vlVaGetImage() local 619 enum pipe_format format; vlVaPutImage() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/modifiers/ |
H A D | vktModifiersTests.cpp | 68 void checkModifiersSupported (Context& context, VkFormat format) in checkModifiersSupported() argument 83 if (format == VK_FORMAT_A8_UNORM_KHR || format == VK_FORMAT_A1B5G5R5_UNORM_PACK16_KHR) in checkModifiersSupported() 96 std::string getFormatCaseName (VkFormat format) in getFormatCaseName() argument 98 return de::toLower(de::toString(getFormatStr(format)).substr(10)); in getFormatCaseName() 104 VkFormat format) in getDrmFormatModifiers() 117 vki.getPhysicalDeviceFormatProperties2(physicalDevice, format, &formatProperties); in getDrmFormatModifiers() 122 vki.getPhysicalDeviceFormatProperties2(physicalDevice, format, &formatProperties); in getDrmFormatModifiers() 130 const VkFormat format, in verifyHandleTypeForFormatModifier() 157 format, in verifyHandleTypeForFormatModifier() 102 getDrmFormatModifiers(const InstanceInterface& vki, VkPhysicalDevice physicalDevice, VkFormat format) getDrmFormatModifiers() argument 128 verifyHandleTypeForFormatModifier(const InstanceInterface& vki, VkPhysicalDevice physicalDevice, const VkFormat format, const VkImageType imageType, const VkImageUsageFlags imageUsages, const VkExternalMemoryHandleTypeFlags handleType, const deUint64 drmFormatModifier) verifyHandleTypeForFormatModifier() argument 187 getExportImportCompatibleModifiers(Context& context, VkFormat format) getExportImportCompatibleModifiers() argument 226 checkExportImportExtensions(Context& context, VkFormat format) checkExportImportExtensions() argument 324 listModifiersCase(Context& context, VkFormat format) listModifiersCase() argument 365 createImageNoModifiers(const DeviceInterface& vkd, const VkDevice device, const VkImageUsageFlags imageUsages, const VkFormat format, const UVec2& size) createImageNoModifiers() argument 515 createImageListModifiersCase(Context& context, const VkFormat format) createImageListModifiersCase() argument 570 createImageModifierExplicitCase(Context& context, const VkFormat format) createImageModifierExplicitCase() argument 677 exportImportMemoryExplicitModifiersCase(Context& context, const VkFormat format, const ModifierProps& modifier) exportImportMemoryExplicitModifiersCase() argument 975 exportImportMemoryExplicitModifiersCase(Context& context, const VkFormat format) exportImportMemoryExplicitModifiersCase() argument [all...] |
/third_party/bounds_checking_function/src/ |
H A D | vsnprintf_s.c | 31 * format Format-control string. 44 int vsnprintf_s(char *strDest, size_t destMax, size_t count, const char *format, va_list argList) in vsnprintf_s() argument 48 if (SECUREC_VSNPRINTF_PARAM_ERROR(format, strDest, destMax, count, SECUREC_STRING_MAX_LEN)) { in vsnprintf_s() 55 retVal = SecVsnprintfImpl(strDest, count + 1, format, argList); in vsnprintf_s() 61 retVal = SecVsnprintfImpl(strDest, destMax, format, argList); in vsnprintf_s() 99 * format Format-control string. 112 int vsnprintf_truncated_s(char *strDest, size_t destMax, const char *format, va_list argList) in vsnprintf_truncated_s() argument 116 if (SECUREC_VSPRINTF_PARAM_ERROR(format, strDest, destMax, SECUREC_STRING_MAX_LEN)) { in vsnprintf_truncated_s() 122 retVal = SecVsnprintfImpl(strDest, destMax, format, argList); in vsnprintf_truncated_s()
|
/third_party/jerryscript/jerry-port/default/ |
H A D | default-io.c | 80 const char *format, /**< format string */ in jerry_port_log() 86 va_start (args, format); in jerry_port_log() 90 int length = vsnprintf (NULL, 0, format, args); in jerry_port_log() 92 va_start (args, format); in jerry_port_log() 95 vsnprintf (buffer, (size_t) length + 1, format, args); in jerry_port_log() 102 vfprintf (stderr, format, args); in jerry_port_log() 105 vfprintf (stderr, format, args); in jerry_port_log() 79 jerry_port_log(jerry_log_level_t level, const char *format, ...) jerry_port_log() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | format_map_desktop.cpp | 6 // Determining the sized internal format from a (format,type) pair. 7 // Also check DesktopGL format combinations for validity. 19 bool ValidDesktopFormat(GLenum format) in ValidDesktopFormat() argument 21 switch (format) in ValidDesktopFormat() 83 bool ValidDesktopFormatCombination(GLenum format, GLenum type, GLenum internalFormat) in ValidDesktopFormatCombination() argument 85 ASSERT(ValidDesktopFormat(format) && ValidDesktopType(type)); in ValidDesktopFormatCombination() 87 const InternalFormat &formatInfo = GetInternalFormatInfo(format, type); in ValidDesktopFormatCombination() 89 switch (format) in ValidDesktopFormatCombination() 113 // format i in ValidDesktopFormatCombination() [all...] |