/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | CommandEncoder.cpp | 89 switch (src.texture->GetFormat().format) { in ValidateTextureDepthStencilToBufferCopyRestrictions() 94 "The depth aspect of %s format %s cannot be selected in a texture to " in ValidateTextureDepthStencilToBufferCopyRestrictions() 96 src.texture, src.texture->GetFormat().format); in ValidateTextureDepthStencilToBufferCopyRestrictions() 204 wgpu::TextureFormat resolveTargetFormat = resolveTarget->GetFormat().format; in ValidateResolveTarget() 206 resolveTargetFormat != attachment->GetFormat().format, in ValidateResolveTarget() 207 "The resolve target %s format (%s) does not match the color attachment %s format " in ValidateResolveTarget() 209 resolveTarget, resolveTargetFormat, attachment, attachment->GetFormat().format); in ValidateResolveTarget() 227 "The color attachment %s format (%s) is not color renderable.", in ValidateRenderPassColorAttachment() 228 attachment, attachment->GetFormat().format); in ValidateRenderPassColorAttachment() 265 const Format& format = attachment->GetFormat(); ValidateRenderPassDepthStencilAttachment() local [all...] |
/third_party/python/Python/ |
H A D | _warnings.c | 1117 const char *format, va_list vargs) in _PyErr_WarnFormatV() 1122 message = PyUnicode_FromFormatV(format, vargs); in _PyErr_WarnFormatV() 1133 const char *format, ...) in PyErr_WarnFormat() 1139 va_start(vargs, format); in PyErr_WarnFormat() 1143 res = _PyErr_WarnFormatV(NULL, category, stack_level, format, vargs); in PyErr_WarnFormat() 1150 const char *format, ...) in _PyErr_WarnFormat() 1156 va_start(vargs, format); in _PyErr_WarnFormat() 1160 res = _PyErr_WarnFormatV(source, category, stack_level, format, vargs); in _PyErr_WarnFormat() 1167 const char *format, ...) in PyErr_ResourceWarning() 1173 va_start(vargs, format); in PyErr_ResourceWarning() 1115 _PyErr_WarnFormatV(PyObject *source, PyObject *category, Py_ssize_t stack_level, const char *format, va_list vargs) _PyErr_WarnFormatV() argument 1132 PyErr_WarnFormat(PyObject *category, Py_ssize_t stack_level, const char *format, ...) PyErr_WarnFormat() argument 1149 _PyErr_WarnFormat(PyObject *source, PyObject *category, Py_ssize_t stack_level, const char *format, ...) _PyErr_WarnFormat() argument 1166 PyErr_ResourceWarning(PyObject *source, Py_ssize_t stack_level, const char *format, ...) PyErr_ResourceWarning() argument 1257 PyErr_WarnExplicitFormat(PyObject *category, const char *filename_str, int lineno, const char *module_str, PyObject *registry, const char *format, ...) PyErr_WarnExplicitFormat() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/ |
H A D | vktSparseResourcesImageMemoryAliasing.cpp | 101 const VkFormat format, 123 const VkFormat format, in ImageSparseMemoryAliasingCase() 130 , m_format (format) in ImageSparseMemoryAliasingCase() 172 const VkFormat format, 187 const VkFormat format, in ImageSparseMemoryAliasingInstance() 193 , m_format (format) in ImageSparseMemoryAliasingInstance() 238 imageSparseInfo.format = m_format; in iterate() 254 // Check if device supports sparse operations for image format in iterate() 256 TCU_THROW(NotSupportedError, "The image format does not support sparse operations"); in iterate() 262 imageSparseInfo.format, in iterate() 118 ImageSparseMemoryAliasingCase(tcu::TestContext& testCtx, const std::string& name, const std::string& description, const ImageType imageType, const tcu::UVec3& imageSize, const VkFormat format, const glu::GLSLVersion glslVersion, const bool useDeviceGroups) ImageSparseMemoryAliasingCase() argument 184 ImageSparseMemoryAliasingInstance(Context& context, const ImageType imageType, const tcu::UVec3& imageSize, const VkFormat format, const bool useDeviceGroups) ImageSparseMemoryAliasingInstance() argument 918 VkFormat format = imageParameters[imageTypeNdx].formats[formatNdx].format; createImageSparseMemoryAliasingTestsCommon() local [all...] |
/third_party/vixl/src/aarch64/ |
H A D | simulator-aarch64.cc | 708 // clang-format off in Simulator() 768 // clang-format on in Simulator() 1157 uint32_t format = 0; in Simulator() local 1164 format = kPrintRegAsQVector; in Simulator() 1167 format = kPrintRegAsDVector; in Simulator() 1177 format |= kPrintReg1Q; in Simulator() 1180 format |= kPrintReg1D; in Simulator() 1183 format |= kPrintReg1S; in Simulator() 1186 format |= kPrintReg1H; in Simulator() 1189 format | in Simulator() 1333 PrintRegisterValue(const uint8_t* value, int value_size, PrintRegisterFormat format) Simulator() argument 1351 PrintRegisterValueFPAnnotations(const uint8_t* value, uint16_t lane_mask, PrintRegisterFormat format) Simulator() argument 1411 PrintRegister(int code, PrintRegisterFormat format, const char* suffix) Simulator() argument 1472 PrintVRegister(int code, PrintRegisterFormat format, const char* suffix) Simulator() argument 1540 PrintVRegistersForStructuredAccess(int rt_code, int reg_count, uint16_t focus_mask, PrintRegisterFormat format) Simulator() argument 1559 PrintZRegistersForStructuredAccess(int rt_code, int q_index, int reg_count, uint16_t focus_mask, PrintRegisterFormat format) Simulator() argument 1586 PrintZRegister(int code, PrintRegisterFormat format) Simulator() argument 1598 PrintPRegister(int code, PrintRegisterFormat format) Simulator() argument 1610 PrintFFR(PrintRegisterFormat format) Simulator() argument 1623 PrintPartialZRegister(int code, int q_index, PrintRegisterFormat format, const char* suffix) Simulator() argument 1663 PrintPartialPRegister(const char* name, const SimPRegister& reg, int q_index, PrintRegisterFormat format, const char* suffix) Simulator() argument 1701 PrintPartialPRegister(int code, int q_index, PrintRegisterFormat format, const char* suffix) Simulator() argument 1709 format, Simulator() local 1808 PrintAccess(int code, PrintRegisterFormat format, const char* op, uintptr_t address) Simulator() argument 1832 PrintVAccess(int code, PrintRegisterFormat format, const char* op, uintptr_t address) Simulator() argument 1851 PrintVStructAccess(int rt_code, int reg_count, PrintRegisterFormat format, const char* op, uintptr_t address) Simulator() argument 1881 PrintVSingleStructAccess(int rt_code, int reg_count, int lane, PrintRegisterFormat format, const char* op, uintptr_t address) Simulator() argument 1900 PrintVReplicatingStructAccess(int rt_code, int reg_count, PrintRegisterFormat format, const char* op, uintptr_t address) Simulator() argument 1943 PrintZStructAccess(int rt_code, int reg_count, const LogicPRegister& pg, PrintRegisterFormat format, int msize_in_bytes, const char* op, const LogicSVEAddressVector& addr) Simulator() argument 2045 PrintRead(int rt_code, PrintRegisterFormat format, uintptr_t address) Simulator() argument 2055 PrintExtendingRead(int rt_code, PrintRegisterFormat format, int access_size_in_bytes, uintptr_t address) Simulator() argument 4642 PrintRegisterFormat format = GetPrintRegisterFormatForSize(element_size); Simulator() local 4853 PrintRegisterFormat format = GetPrintRegisterFormatForSize(reg_size); Simulator() local 4918 PrintRegisterFormat format = Simulator() local 4992 PrintRegisterFormat format = GetPrintRegisterFormatForSize(register_size); Simulator() local 5028 PrintRegisterFormat format = GetPrintRegisterFormatForSize(element_size); Simulator() local 11818 VectorFormat format = instr->GetSVEVectorFormat(); Simulator() local 14509 char* const format = allocator_.New<char[]>(length + arg_count); Simulator() local [all...] |
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/unittest/capturer_test/src/ |
H A D | audio_capturer_extra_unit_test.cpp | 531 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_S32LE; in HWTEST() 710 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_U8; in HWTEST() 736 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_U8; in HWTEST() 767 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_U8; in HWTEST() 795 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_U8; in HWTEST() 827 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_U8; in HWTEST() 856 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_U8; in HWTEST() 869 EXPECT_EQ(AudioSampleFormat::SAMPLE_U8, streamInfo.format); in HWTEST() 886 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_U8; in HWTEST() 903 EXPECT_EQ(AudioSampleFormat::SAMPLE_U8, streamInfo.format); in HWTEST() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | rbnf.cpp | 1120 RuleBasedNumberFormat::format(const DecimalQuantity &number, in format() function in RuleBasedNumberFormat 1129 format(number.toLong(), appendTo, pos, status); in format() 1134 format(number.toDouble(), appendTo, pos, status); in format() 1151 decimalFormat->format(f, appendTo, pos, status); in format() 1158 RuleBasedNumberFormat::format(int32_t number, in format() function in RuleBasedNumberFormat 1162 return format((int64_t)number, toAppendTo, pos); in format() 1167 RuleBasedNumberFormat::format(int64_t number, in format() function in RuleBasedNumberFormat 1173 format(number, defaultRuleSet, toAppendTo, status); in format() 1180 RuleBasedNumberFormat::format(double number, in format() function in RuleBasedNumberFormat 1186 format(numbe in format() 1193 RuleBasedNumberFormat::format(int32_t number, format() function in RuleBasedNumberFormat 1204 RuleBasedNumberFormat::format(int64_t number, format() function in RuleBasedNumberFormat 1226 RuleBasedNumberFormat::format(double number, format() function in RuleBasedNumberFormat 1247 RuleBasedNumberFormat::format(double number, format() function in RuleBasedNumberFormat 1275 RuleBasedNumberFormat::format(int64_t number, NFRuleSet *ruleSet, UnicodeString& toAppendTo, UErrorCode& status) const format() function in RuleBasedNumberFormat [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | rbnf.cpp | 1120 RuleBasedNumberFormat::format(const DecimalQuantity &number, in format() function in RuleBasedNumberFormat 1129 format(number.toLong(), appendTo, pos, status); in format() 1134 format(number.toDouble(), appendTo, pos, status); in format() 1151 decimalFormat->format(f, appendTo, pos, status); in format() 1158 RuleBasedNumberFormat::format(int32_t number, in format() function in RuleBasedNumberFormat 1162 return format((int64_t)number, toAppendTo, pos); in format() 1167 RuleBasedNumberFormat::format(int64_t number, in format() function in RuleBasedNumberFormat 1173 format(number, defaultRuleSet, toAppendTo, status); in format() 1180 RuleBasedNumberFormat::format(double number, in format() function in RuleBasedNumberFormat 1186 format(numbe in format() 1193 RuleBasedNumberFormat::format(int32_t number, format() function in RuleBasedNumberFormat 1204 RuleBasedNumberFormat::format(int64_t number, format() function in RuleBasedNumberFormat 1226 RuleBasedNumberFormat::format(double number, format() function in RuleBasedNumberFormat 1247 RuleBasedNumberFormat::format(double number, format() function in RuleBasedNumberFormat 1275 RuleBasedNumberFormat::format(int64_t number, NFRuleSet *ruleSet, UnicodeString& toAppendTo, UErrorCode& status) const format() function in RuleBasedNumberFormat [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | rbnf.cpp | 1120 RuleBasedNumberFormat::format(const DecimalQuantity &number, in format() function in RuleBasedNumberFormat 1129 format(number.toLong(), appendTo, pos, status); in format() 1134 format(number.toDouble(), appendTo, pos, status); in format() 1151 decimalFormat->format(f, appendTo, pos, status); in format() 1158 RuleBasedNumberFormat::format(int32_t number, in format() function in RuleBasedNumberFormat 1162 return format((int64_t)number, toAppendTo, pos); in format() 1167 RuleBasedNumberFormat::format(int64_t number, in format() function in RuleBasedNumberFormat 1173 format(number, defaultRuleSet, toAppendTo, status); in format() 1180 RuleBasedNumberFormat::format(double number, in format() function in RuleBasedNumberFormat 1186 format(numbe in format() 1193 RuleBasedNumberFormat::format(int32_t number, format() function in RuleBasedNumberFormat 1204 RuleBasedNumberFormat::format(int64_t number, format() function in RuleBasedNumberFormat 1226 RuleBasedNumberFormat::format(double number, format() function in RuleBasedNumberFormat 1247 RuleBasedNumberFormat::format(double number, format() function in RuleBasedNumberFormat 1275 RuleBasedNumberFormat::format(int64_t number, NFRuleSet *ruleSet, UnicodeString& toAppendTo, UErrorCode& status) const format() function in RuleBasedNumberFormat [all...] |
/third_party/python/Lib/test/ |
H A D | test_types.py | 114 test(float('1.5e'+str(i)), '1.500000e{0:+03d}'.format(i)) 359 # format spec must be string 377 # ensure that float type specifiers work; format converts 401 self.assertEqual(locale.format_string('%g', x, grouping=True), format(x, 'n')) 402 self.assertEqual(locale.format_string('%.10g', x, grouping=True), format(x, '.10n')) 410 self.assertEqual(locale.format_string('%d', x, grouping=True), format(x, 'n')) 419 self.assertEqual(len(format(0, rfmt)), len(format(x, rfmt))) 420 self.assertEqual(len(format(0, lfmt)), len(format( [all...] |
H A D | test_cmath.py | 89 self.fail(msg.format(x, y)) 116 self.fail(msg or '{!r} should be nan'.format(b)) 122 'expected {!r}, got {!r}'.format(a, b)) 131 'got {!r}'.format(a, b)) 149 '{!r} and {!r} are not sufficiently close'.format(a, b)) 155 msg="cmath.pi is {}; should be {}".format(cmath.pi, pi_expected)) 157 msg="cmath.e is {}; should be {}".format(cmath.e, e_expected)) 380 '{}: {}(complex({!r}, {!r}))'.format(id, fn, ar, ai)) 389 '{}: {}(complex({!r}, {!r}))'.format(id, fn, ar, ai)) 412 ).format(i [all...] |
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | hcodec.h | 39 int32_t Configure(const Format &format) override; 51 int32_t SetParameter(const Format& format) override; 52 int32_t GetInputFormat(Format& format) override; 53 int32_t GetOutputFormat(Format& format) override; 177 virtual int32_t OnConfigure(const Format &format) = 0; 179 bool GetPixelFmtFromUser(const Format &format); 180 static std::optional<double> GetFrameRateFromUser(const Format &format); 186 int32_t SetFrameRateAdaptiveMode(const Format &format); 188 int32_t SetLowLatency(const Format &format); 191 virtual int32_t OnSetParameters(const Format &format) { retur argument [all...] |
/foundation/multimedia/image_effect/frameworks/native/render_environment/ |
H A D | render_environment.cpp | 248 GLuint RenderEnvironment::ConvertFromYUVToRGB(const EffectBuffer *source, IEffectFormat format)
in ConvertFromYUVToRGB() argument 263 if (format == IEffectFormat::YUVNV12) {
in ConvertFromYUVToRGB() 285 void RenderEnvironment::ConvertFromRGBToYUV(RenderTexturePtr input, IEffectFormat format, void *data)
in ConvertFromRGBToYUV() argument 302 if (format == IEffectFormat::YUVNV12) {
in ConvertFromRGBToYUV() 486 void RenderEnvironment::DrawSurfaceBufferFromTex(RenderTexturePtr tex, SurfaceBuffer *buffer, IEffectFormat format)
in DrawSurfaceBufferFromTex() argument 492 if (format == IEffectFormat::RGBA8888) {
in DrawSurfaceBufferFromTex() 506 void RenderEnvironment::DrawFlipSurfaceBufferFromTex(RenderTexturePtr tex, SurfaceBuffer *buffer, IEffectFormat format)
in DrawFlipSurfaceBufferFromTex() argument 512 if (format == IEffectFormat::RGBA8888) {
in DrawFlipSurfaceBufferFromTex() 527 void RenderEnvironment::DrawTexFromSurfaceBuffer(RenderTexturePtr tex, SurfaceBuffer *buffer, IEffectFormat format)
in DrawTexFromSurfaceBuffer() argument 536 if (format in DrawTexFromSurfaceBuffer() [all...] |
/test/xts/acts/multimedia/media/media_cpp_standard/videoDecEncNdk/src/ |
H A D | VDecEncNdkSample.cpp | 48 void VdecAsyncStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in VdecAsyncStreamChanged() argument 87 void VencAsyncStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in VencAsyncStreamChanged() argument 237 int32_t VDecEncNdkSample::ConfigureDec(struct OH_AVFormat *format) in ConfigureDec() argument 239 return OH_VideoDecoder_Configure(vdec_, format); in ConfigureDec() 242 int32_t VDecEncNdkSample::SetParameterDec(struct OH_AVFormat *format) in SetParameterDec() argument 244 return OH_VideoDecoder_SetParameter(vdec_, format); in SetParameterDec() 560 int32_t VDecEncNdkSample::ConfigureEnc(struct OH_AVFormat *format) in ConfigureEnc() argument 562 return OH_VideoEncoder_Configure(venc_, format); in ConfigureEnc() 565 int32_t VDecEncNdkSample::SetParameterEnc(struct OH_AVFormat *format) in SetParameterEnc() argument 567 return OH_VideoEncoder_SetParameter(venc_, format); in SetParameterEnc() [all...] |
/test/xts/acts/multimedia/media/media_cpp_standard/audioDecEncNdk/src/ |
H A D | ADecEncNdkSample.cpp | 36 void AdecAsyncStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in AdecAsyncStreamChanged() argument 76 void AencAsyncStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in AencAsyncStreamChanged() argument 167 int32_t ADecEncNdkSample::ConfigureDec(struct OH_AVFormat *format) in ConfigureDec() argument 169 return OH_AudioDecoder_Configure(adec_, format); in ConfigureDec() 172 int32_t ADecEncNdkSample::SetParameterDec(struct OH_AVFormat *format) in SetParameterDec() argument 174 return OH_AudioDecoder_SetParameter(adec_, format); in SetParameterDec() 446 int32_t ADecEncNdkSample::ConfigureEnc(struct OH_AVFormat *format) in ConfigureEnc() argument 448 return OH_AudioEncoder_Configure(aenc_, format); in ConfigureEnc() 451 int32_t ADecEncNdkSample::SetParameterEnc(struct OH_AVFormat *format) in SetParameterEnc() argument 453 return OH_AudioEncoder_SetParameter(aenc_, format); in SetParameterEnc() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | BytesTrieTest.java | 613 errln(String.format("trie.first(%c)!=trie.reset().next(same) for %s", in checkFirst() 630 errln(String.format("trie value for %s is %d=0x%x instead of expected %d=0x%x", in checkNext() 641 errln(String.format("trie.current()!=hasNext before end of %s (at index %d)", in checkNext() 648 errln(String.format("trie.getValue().current()!=BytesTrie.Result.INTERMEDIATE_VALUE "+ in checkNext() 655 errln(String.format("trie.next()=BytesTrie.Result.NO_MATCH "+ in checkNext() 660 errln(String.format("trie.next()!=following current() "+ in checkNext() 737 errln(String.format("trie value for %s is %d=0x%x instead of expected %d=0x%x", in checkNextWithState() 785 errln(String.format("trie value for %s is %d=0x%x instead of expected %d=0x%x", in checkNextWithState64() 833 errln(String.format("trie iterator next().getString()=%s but expected %s for item %d", in checkIterator() 837 errln(String.format("tri in checkIterator() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/ |
H A D | RBBIMonkeyTest.java | 181 // String msg = String.format("%s: Redefinition of character class %s\n", in addCharClass() 297 String msg = String.format("%s Rule %s contains multiple รท signs", fMonkeyImpl.fRuleFileName, name); in addRule() 360 String msg = String.format("%s: Unrecognized break type %s", fMonkeyImpl.fRuleFileName, value); in setKeywordParameter() 386 String msg = String.format("%s: Bad break iterator type of %d", fMonkeyImpl.fRuleFileName, fType); in createICUBreakIterator() 436 String msg = String.format("Unrecognized line in rule file %s:%d \"%s\"", in compileRules() 457 String.format("%s: internal error, set names (%s, %s) inconsistent.\n", in compileRules() 596 String msg = String.format("%s: No reference rules matched at position %d. ", in set() 604 String msg = String.format("%s:%s: Zero length rule match at %d.", in set() 638 throw new IllegalArgumentException(String.format("%s: Rule %s internal error.", in set() 817 String formattedMsg = String.format( in run() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | NumberFormatDataDrivenTest.java | 3 package com.ibm.icu.dev.test.format; 125 public String format(DataDrivenNumberFormatTestData tuple) { 127 String actual = fmt.format(toNumber(tuple.format)); 302 public String format(DataDrivenNumberFormatTestData tuple) { 304 String actual = fmt.format(toNumber(tuple.format)); 591 * contains the parameters of the format test. 594 public String format(DataDrivenNumberFormatTestData tuple) { 604 Number number = toNumber(tuple.format); [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | BytesTrieTest.java | 647 errln(String.format("trie.first(%c)!=trie.reset().next(same) for %s", in checkFirst() 664 errln(String.format("trie value for %s is %d=0x%x instead of expected %d=0x%x", in checkNext() 675 errln(String.format("trie.current()!=hasNext before end of %s (at index %d)", in checkNext() 682 errln(String.format("trie.getValue().current()!=BytesTrie.Result.INTERMEDIATE_VALUE "+ in checkNext() 689 errln(String.format("trie.next()=BytesTrie.Result.NO_MATCH "+ in checkNext() 694 errln(String.format("trie.next()!=following current() "+ in checkNext() 771 errln(String.format("trie value for %s is %d=0x%x instead of expected %d=0x%x", in checkNextWithState() 819 errln(String.format("trie value for %s is %d=0x%x instead of expected %d=0x%x", in checkNextWithState64() 867 errln(String.format("trie iterator next().getString()=%s but expected %s for item %d", in checkIterator() 871 errln(String.format("tri in checkIterator() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | NumberFormatDataDrivenTest.java | 4 package ohos.global.icu.dev.test.format; 128 public String format(DataDrivenNumberFormatTestData tuple) { 130 String actual = fmt.format(toNumber(tuple.format)); 305 public String format(DataDrivenNumberFormatTestData tuple) { 307 String actual = fmt.format(toNumber(tuple.format)); 594 * contains the parameters of the format test. 597 public String format(DataDrivenNumberFormatTestData tuple) { 607 Number number = toNumber(tuple.format); [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_state.c | 78 VkFormat format; in zink_create_vertex_elements_state() local 80 format = zink_get_format(screen, elem->src_format); in zink_create_vertex_elements_state() 92 format = zink_get_format(screen, new_format); in zink_create_vertex_elements_state() 113 ves->hw_state.dynattribs[i].format = format; in zink_create_vertex_elements_state() 114 assert(ves->hw_state.dynattribs[i].format != VK_FORMAT_UNDEFINED); in zink_create_vertex_elements_state() 119 ves->hw_state.attribs[i].format = format; in zink_create_vertex_elements_state() 120 assert(ves->hw_state.attribs[i].format != VK_FORMAT_UNDEFINED); in zink_create_vertex_elements_state() 122 ves->min_stride[binding] = MAX2(ves->min_stride[binding], elem->src_offset + vk_format_get_blocksize(format)); in zink_create_vertex_elements_state() [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_get.c | 734 enum pipe_video_format format = u_reduce_video_profile(profile); in si_get_video_param() local 736 if (format >= PIPE_VIDEO_FORMAT_HEVC) in si_get_video_param() 782 static bool si_vid_is_format_supported(struct pipe_screen *screen, enum pipe_format format, in si_vid_is_format_supported() argument 788 return (format == PIPE_FORMAT_NV12) || (format == PIPE_FORMAT_P010) || in si_vid_is_format_supported() 789 (format == PIPE_FORMAT_P016); in si_vid_is_format_supported() 793 return (format == PIPE_FORMAT_P010) || (format == PIPE_FORMAT_P016); in si_vid_is_format_supported() 797 return format == PIPE_FORMAT_NV12; in si_vid_is_format_supported() 799 return vl_video_buffer_is_format_supported(screen, format, profil in si_vid_is_format_supported() [all...] |
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | generator.py | 341 print('breakName {}: {}'.format(name, msg)) 544 msg = 'Two enums found with the same value: {} = {} = {}'.format( 665 body += '#ifdef {}\n'.format(protect) 668 decl += "#define {} {}\n".format(name, strVal) 670 decl += "static constexpr {} {} {{{}}};\n".format(flagTypeName, name, strVal) 680 self.logMsg('error', 'No such alias {} for enum {}'.format(strVal, name)) 681 decl += "static const {} {} = {};\n".format(flagTypeName, name, strVal) 758 decl += '#ifdef {}\n'.format(protect) 765 decl += ' {} = {},'.format(name, strVal) 1024 def genFormat(self, format, formatinf [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | libGLESv2.hpp | 69 GLenum format, GLsizei imageSize, const GLvoid* data); 160 GLenum format, GLenum type, GLsizei bufSize, GLvoid *data); 161 void (GL_APIENTRY *glReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels); 179 GLint border, GLenum format, GLenum type, const GLvoid* pixels); 185 GLenum format, GLenum type, const GLvoid* pixels); 221 GLint border, GLenum format, GLenum type, const GLvoid* pixels); 222 void (GL_APIENTRY *glTexSubImage3DOES)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); 225 void (GL_APIENTRY *glCompressedTexSubImage3DOES)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); 248 egl::Image *(*createBackBuffer)(int width, int height, sw::Format format, int multiSampleDepth); 250 egl::Image *(*createDepthStencil)(int width, int height, sw::Format format, in [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/ |
H A D | RuleExtractor.java | 61 switch (table.format) { in extract() 74 throw new IllegalArgumentException("unimplemented format " + table.format); in extract() 130 switch (table.format) { in extract() 136 throw new IllegalArgumentException("unimplemented format " + table.format); in extract() 191 switch (table.format) { in extract() 197 throw new IllegalArgumentException("unimplemented format " + table.format); in extract() 276 switch (table.format) { in extract() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
H A D | PPCVSXSwapRemoval.cpp | 624 LLVM_DEBUG(dbgs() << format("Unioning %d with %d\n", in formWebs() 658 dbgs() << format("Web %d rejected for physreg, partial reg, or not " in recordUnoptimizableWebs() 684 LLVM_DEBUG(dbgs() << format( in recordUnoptimizableWebs() 708 LLVM_DEBUG(dbgs() << format( in recordUnoptimizableWebs() 726 dbgs() << format( in recordUnoptimizableWebs() 955 LLVM_DEBUG(dbgs() << format("Replaced %d with copy: ", in removeSwaps() 975 dbgs() << format("%6d", ID); in dumpSwapVector() 976 dbgs() << format("%6d", EC->getLeaderValue(ID)); in dumpSwapVector() 977 dbgs() << format(" %bb.%3d", MI->getParent()->getNumber()); in dumpSwapVector() 978 dbgs() << format(" in dumpSwapVector() [all...] |