/third_party/python/Python/ |
H A D | errors.c | 28 const char *format, va_list vargs); 660 const char *format, va_list vargs) in _PyErr_FormatVFromCause() 674 _PyErr_FormatV(tstate, exception, format, vargs); in _PyErr_FormatVFromCause() 688 const char *format, ...) in _PyErr_FormatFromCauseTstate() 692 va_start(vargs, format); in _PyErr_FormatFromCauseTstate() 696 _PyErr_FormatVFromCause(tstate, exception, format, vargs); in _PyErr_FormatFromCauseTstate() 702 _PyErr_FormatFromCause(PyObject *exception, const char *format, ...) in _PyErr_FormatFromCause() argument 707 va_start(vargs, format); in _PyErr_FormatFromCause() 711 _PyErr_FormatVFromCause(tstate, exception, format, vargs); in _PyErr_FormatFromCause() 1070 const char *format, va_lis in _PyErr_FormatV() 659 _PyErr_FormatVFromCause(PyThreadState *tstate, PyObject *exception, const char *format, va_list vargs) _PyErr_FormatVFromCause() argument 687 _PyErr_FormatFromCauseTstate(PyThreadState *tstate, PyObject *exception, const char *format, ...) _PyErr_FormatFromCauseTstate() argument 1069 _PyErr_FormatV(PyThreadState *tstate, PyObject *exception, const char *format, va_list vargs) _PyErr_FormatV() argument 1087 PyErr_FormatV(PyObject *exception, const char *format, va_list vargs) PyErr_FormatV() argument 1095 _PyErr_Format(PyThreadState *tstate, PyObject *exception, const char *format, ...) _PyErr_Format() argument 1111 PyErr_Format(PyObject *exception, const char *format, ...) PyErr_Format() argument [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsLifetimeTests.cpp | 363 static bool isTextureFormatColorRenderable (const glu::RenderContext& renderCtx, const glu::TransferFormat& format) in isTextureFormatColorRenderable() argument 379 GLU_CHECK_GLW_CALL(gl, texImage2D(GL_TEXTURE_2D, 0, format.format, FRAMEBUFFER_SIZE, FRAMEBUFFER_SIZE, 0, in isTextureFormatColorRenderable() 380 format.format, format.dataType, DE_NULL)); in isTextureFormatColorRenderable() 441 const glu::TransferFormat format = getRenderableColorTextureFormat(getRenderContext()); in initStorage() local 443 if (format.format == GL_NONE) in initStorage() 444 TCU_THROW(NotSupportedError, "No renderable texture format foun in initStorage() 452 isRenderbufferFormatColorRenderable(const glu::RenderContext& renderCtx, const deUint32 format) isRenderbufferFormatColorRenderable() argument 528 const deUint32 format = getRenderableColorRenderbufferFormat(getRenderContext()); initStorage() local [all...] |
/third_party/vk-gl-cts/modules/gles2/accuracy/ |
H A D | es2aTextureFilteringTests.cpp | 58 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 format, deUint32 dataType, int width, int height); 90 Texture2DFilteringCase::Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 format, deUint32 dataType, int width, int height) in Texture2DFilteringCase() argument 98 , m_format (format) in Texture2DFilteringCase() 319 TextureCubeFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 format, deUint32 dataType, int width, int height); 351 TextureCubeFilteringCase::TextureCubeFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 format, deUint32 dataType, int width, int height) in TextureCubeFilteringCase() argument 359 , m_format (format) in TextureCubeFilteringCase() 704 deUint32 format; in init() member 720 FOR_EACH(format, formats, in init() 732 if ((format != 0) && !(!isMipmap || (isRepeat && isMagNearest))) in init() 735 string name = string("") + minFilterModes[minFilter].name + "_" + magFilterModes[magFilter].name + "_" + wrapModes[wrapMode].name + "_" + formats[format] in init() [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fTextureFilteringTests.cpp | 64 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 format, deUint32 dataType, int width, int height); 118 Texture2DFilteringCase::Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 format, deUint32 dataType, int width, int height) in Texture2DFilteringCase() argument 126 , m_format (format) in Texture2DFilteringCase() 327 TextureCubeFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 format, deUint32 dataType, int width, int height); 381 TextureCubeFilteringCase::TextureCubeFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 format, deUint32 dataType, int width, int height) in TextureCubeFilteringCase() argument 389 , m_format (format) in TextureCubeFilteringCase() 686 deUint32 format; in init() member 704 FOR_EACH(format, formats, in init() 716 if ((format != 0) && !(!isMipmap || (isRepeat && isMagNearest))) in init() 719 string name = string("") + minFilterModes[minFilter].name + "_" + magFilterModes[magFilter].name + "_" + wrapModes[wrapMode].name + "_" + formats[format] in init() [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/ |
H A D | image_source.cpp | 381 const string *format = nullptr; in GetSupportedFormats() local 382 if (attr.GetValue(format) != SUCCESS || format == nullptr) { in GetSupportedFormats() 383 IMAGE_LOGE("[ImageSource]attr data get format failed."); in GetSupportedFormats() 387 if (*format == InnerFormat::RAW_FORMAT) { in GetSupportedFormats() 390 formats.insert(*format); in GetSupportedFormats() 529 "format = %d", opts.sourceOptions.size.width, opts.sourceOptions.size.height, opts.sourceOptions.pixelFormat); 756 PixelFormat format = PixelFormat::RGBA_1010102; 758 format = PixelFormat::YCBCR_P010; 760 format [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_clock/ |
H A D | text_clock_model_ng.cpp | 44 void TextClockModelNG::SetFormat(const std::string& format) in SetFormat() argument 46 if (format.empty()) { in SetFormat() 49 ACE_UPDATE_LAYOUT_PROPERTY(TextClockLayoutProperty, Format, format); in SetFormat() 164 void TextClockModelNG::SetFormat(FrameNode* frameNode, const std::string& format) in SetFormat() argument 166 if (format.empty()) { in SetFormat() 169 ACE_UPDATE_NODE_LAYOUT_PROPERTY(TextClockLayoutProperty, Format, format, frameNode); in SetFormat()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | js_fwk_common.h | 76 #define LOG_PROFILER(format, ...) printf(format "\n", ##__VA_ARGS__) 77 #define LOG_PROFILER_TRACE(format, ...) printf("[PERFORMANCE]:" format "\n", ##__VA_ARGS__) 81 #define LOG_PROFILER(format, ...) 82 #define LOG_PROFILER_TRACE(format, ...)
|
/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/ |
H A D | hevc_decoder.h | 52 int32_t Configure(const Format &format) override; 58 int32_t SetParameter(const Format &format) override; 59 int32_t GetOutputFormat(Format &format) override; 131 void ConfigureSurface(const Format &format, const std::string_view &formatKey, FormatDataType formatType); 132 void ConfigureDefaultVal(const Format &format, const std::string_view &formatKey, int32_t minVal = 0, 140 void SetSurfaceParameter(const Format &format, const std::string_view &formatKey, FormatDataType formatType);
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | gpu_image_gles.cpp | 50 PLUGIN_ASSERT_MSG(false, "Unsupported texture format in GpuImageGLES::convertFormat!"); in ConvertFormat() 54 result.format = fmt.format; in ConvertFormat() 160 GpuImagePlatformDataGL GpuImageGLES::GetPlatformData(const DeviceGLES& device, Format format) in GetPlatformData() argument 162 const auto& fmt = device.GetGlImageFormat(format); in GetPlatformData() 173 plat_ = GetPlatformData(device_, desc_.format); in GpuImageGLES() 176 // Force the format to "other" (there might be others that require "special handling". in GpuImageGLES() 177 if (desc_.format == BASE_FORMAT_B10G11R11_UFLOAT_PACK32) { in GpuImageGLES()
|
/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | audio_device_descriptor.cpp | 81 audioStreamInfo_.format = deviceDescriptor.audioStreamInfo_.format; in AudioDeviceDescriptor() 108 audioStreamInfo_.format = deviceDescriptor->audioStreamInfo_.format; in AudioDeviceDescriptor() 203 audioStreamInfo_.format = audioStreamInfo.format; in SetDeviceCapability()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/include/ |
H A D | videoenc_inner_sample.h | 33 #include "meta/format.h" 45 GraphicPixelFormat format; member 71 void OnOutputFormatChanged(const Format& format) override; 111 int32_t GetOutputFormat(Format &format); 113 int32_t SetParameter(const Format &format); 116 int32_t GetInputFormat(Format &format); 132 uint32_t ReadOneFrameByType(uint8_t *dst, GraphicPixelFormat format);
|
/foundation/multimedia/av_codec/test/unittest/filter_test/ |
H A D | surface_decoder_unit_test.cpp | 77 Format format;
in HWTEST_F() local 78 EXPECT_EQ(surfaceDecoderAdapter_->Configure(format), Status::ERROR_UNKNOWN);
in HWTEST_F() 80 EXPECT_EQ(surfaceDecoderAdapter_->Configure(format), Status::ERROR_UNKNOWN);
in HWTEST_F() 183 Format format;
in HWTEST_F() local 184 EXPECT_EQ(surfaceDecoderAdapter_->SetParameter(format), Status::ERROR_UNKNOWN);
in HWTEST_F() 186 EXPECT_EQ(surfaceDecoderAdapter_->SetParameter(format), Status::OK);
in HWTEST_F()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/mtp_native_test/src/ |
H A D | mtp_data_utils_test.cpp | 26 uint16_t format = 12287U; in HWTEST_F() local 29 int32_t ret = MtpDataUtils::SolveHandlesFormatData(format, outExtension, outMediaType); in HWTEST_F() 41 uint16_t format = 12287U; in HWTEST_F() local 43 int32_t ret = MtpDataUtils::SolveSendObjectFormatData(format, outMediaType); in HWTEST_F() 84 uint16_t format = 12287U; in HWTEST_F() local 86 MtpDataUtils::GetMediaTypeByformat(format, outMediaType); in HWTEST_F()
|
/test/testfwk/xdevice/src/xdevice/_core/executor/ |
H A D | request.py | 81 LOG.debug("StartTime={}".format(time.strftime("%Y-%m-%d %H:%M:%S", start_time))) 120 err_msg = ErrorMessage.Common.Code_0101015.format(task_file) 137 raise ParamError(ErrorMessage.Common.Code_0101015.format(task_file)) 164 LOG.error(ErrorMessage.Common.Code_0101017.format(source.test_name)) 170 error_message = ErrorMessage.Common.Code_0101018.format(source.test_name, plugin_id) 186 LOG.error(ErrorMessage.Common.Code_0101019.format(source.test_name, plugin_id))
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_kerndeint.c | 82 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format); in config_props() 85 kerndeint->is_packed_rgb = av_pix_fmt_desc_get(inlink->format)->flags & AV_PIX_FMT_FLAG_RGB; in config_props() 89 inlink->w, inlink->h, inlink->format, 16); in config_props() 94 if ((ret = av_image_fill_linesizes(kerndeint->tmp_bwidth, inlink->format, inlink->w)) < 0) in config_props() 205 } else if (inlink->format == AV_PIX_FMT_YUYV422) { in filter_frame() 216 } else if (inlink->format == AV_PIX_FMT_YUYV422) { in filter_frame()
|
/third_party/ffmpeg/libavutil/ |
H A D | hwcontext_drm.c | 88 frame->format = AV_PIX_FMT_DRM_PRIME; in drm_get_buffer() 234 map->format = dst->format; in drm_transfer_data_from() 265 map->format = src->format; in drm_transfer_data_to() 290 if (hwfc->sw_format != dst->format) in drm_map_from()
|
/third_party/glslang/glslang/Include/ |
H A D | Common.h | 75 #define safe_vsprintf(buf,max,format,args) vsnprintf_s((buf), (max), (max), (format), (args)) 77 #define safe_vsprintf(buf,max,format,args) vsnprintf((buf), (max), (format), (args)) 81 #define safe_vsprintf(buf,max,format,args) vsnprintf((buf), (max), (format), (args))
|
/third_party/backends/backend/genesys/ |
H A D | image.cpp | 35 Image::Image(std::size_t width, std::size_t height, PixelFormat format) : in Image() argument 38 format_{format}, 79 void Image::resize(std::size_t width, std::size_t height, PixelFormat format) in resize() argument 83 format_ = format; in resize() 136 throw SaneException("Unknown pixel format %d", static_cast<unsigned>(out_format)); in convert_pixel_row_impl() 181 throw SaneException("Unknown pixel format %d", static_cast<unsigned>(in_format)); in convert_pixel_row_format() 224 bool is_supported_write_tiff_file_image_format(PixelFormat format) in is_supported_write_tiff_file_image_format() argument 226 switch (format) { in is_supported_write_tiff_file_image_format() 242 throw SaneException("Unsupported format %d", static_cast<unsigned>(image.get_format())); in write_tiff_file()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | RelativeDateFormat.java | 105 * @see com.ibm.icu.text.DateFormat#format(com.ibm.icu.util.Calendar, java.lang.StringBuffer, java.text.FieldPosition) 108 public StringBuffer format(Calendar cal, StringBuffer toAppendTo, in format() method in RelativeDateFormat 149 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 156 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 165 fCombinedFormat.format(new Object[] {fTimePattern, datePattern}, combinedPattern, new FieldPosition(0)); in format() 167 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 175 fDateFormat.format(cal, toAppendTo, fieldPosition); in format() 213 private MessageFormat fCombinedFormat; // the {0} {1} format.
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tzoffloc.cpp | 214 df.format(MILLIS[d], dateStr); in TestGetOffsetAroundTransition() 231 df.format(MILLIS[m], dateStr); in TestGetOffsetAroundTransition() 252 df.format(MILLIS[m], dateStr); in TestGetOffsetAroundTransition() 273 df.format(MILLIS[m], dateStr); in TestGetOffsetAroundTransition() 294 df.format(MILLIS[m], dateStr); in TestGetOffsetAroundTransition() 315 df.format(MILLIS[m], dateStr); in TestGetOffsetAroundTransition()
|
/third_party/icu/icu4c/source/common/ |
H A D | simpleformatter.cpp | 158 UnicodeString& SimpleFormatter::format( in format() function in SimpleFormatter 165 UnicodeString& SimpleFormatter::format( in format() function in SimpleFormatter 173 UnicodeString& SimpleFormatter::format( in format() function in SimpleFormatter 194 return format(compiledPattern.getBuffer(), compiledPattern.length(), values, in formatAndAppend() 243 return format(cp, cpLength, values, in formatAndReplace() 274 UnicodeString &SimpleFormatter::format( in format() function in SimpleFormatter
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
H A D | TimeZoneOffsetLocalTest.java | 172 + df.format(new Date(MILLIS[d])) + "(standard) - Got: " + offset + " Expected: " + OFFSETS1[d]); in TestGetOffsetAroundTransition() 183 + df.format(new Date(MILLIS[m])) + "(wall) - Got: " in TestGetOffsetAroundTransition() 197 + df.format(new Date(MILLIS[m])) + "(wall/STD/STD) - Got: " in TestGetOffsetAroundTransition() 211 + df.format(new Date(MILLIS[m])) + "(wall/DST/DST) - Got: " in TestGetOffsetAroundTransition() 225 + df.format(new Date(MILLIS[m])) + "(wall/FORMER/LATTER) - Got: " in TestGetOffsetAroundTransition() 239 + df.format(new Date(MILLIS[m])) + "(wall/LATTER/FORMER) - Got: " in TestGetOffsetAroundTransition()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
H A D | TimeZoneOffsetLocalTest.java | 170 + df.format(new Date(MILLIS[d])) + "(standard) - Got: " + offset + " Expected: " + OFFSETS1[d]); in TestGetOffsetAroundTransition() 181 + df.format(new Date(MILLIS[m])) + "(wall) - Got: " in TestGetOffsetAroundTransition() 195 + df.format(new Date(MILLIS[m])) + "(wall/STANDARD_FORMER/STANDARD_LATTER) - Got: " in TestGetOffsetAroundTransition() 209 + df.format(new Date(MILLIS[m])) + "(wall/DAYLIGHT_LATTER/DAYLIGHT_FORMER) - Got: " in TestGetOffsetAroundTransition() 223 + df.format(new Date(MILLIS[m])) + "(wall/FORMER/LATTER) - Got: " in TestGetOffsetAroundTransition() 237 + df.format(new Date(MILLIS[m])) + "(wall/LATTER/FORMER) - Got: " in TestGetOffsetAroundTransition()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | RelativeDateFormat.java | 108 * @see ohos.global.icu.text.DateFormat#format(ohos.global.icu.util.Calendar, java.lang.StringBuffer, java.text.FieldPosition) 111 public StringBuffer format(Calendar cal, StringBuffer toAppendTo, in format() method in RelativeDateFormat 152 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 159 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 168 fCombinedFormat.format(new Object[] {fTimePattern, datePattern}, combinedPattern, new FieldPosition(0)); in format() 170 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 178 fDateFormat.format(cal, toAppendTo, fieldPosition); in format() 216 private MessageFormat fCombinedFormat; // the {0} {1} format.
|
/third_party/mesa3d/src/amd/addrlib/src/core/ |
H A D | addrlib.cpp | 537 GetElemLib()->Flt32ToDepthPixel(pIn->format, pIn->comps, pOut->pPixel); in Flt32ToDepthPixel() 544 switch (pIn->format) in Flt32ToDepthPixel() 615 GetElemLib()->Flt32ToColorPixel(pIn->format, in Flt32ToColorPixel() 631 * Check one format can be EXPORT_NUM 653 enabled = GetElemLib()->PixGetExportNorm(pIn->format, pIn->num, pIn->swap); in GetExportNorm() 664 * Get bits-per-element for specified format 666 * bits-per-element of specified format 669 UINT_32 Lib::GetBpe(AddrFormat format) const in GetBpe() 671 return GetElemLib()->GetBitsPerPixel(format); in GetBpe()
|