Home
last modified time | relevance | path

Searched refs:formatSize (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/commonlibrary/ets_utils/js_util_module/util/
H A Dnative_module_util.cpp88 size_t formatSize = format.size(); in DealWithPrintf() local
90 while (i < formatSize && j < valueSize) { in DealWithPrintf()
91 if (format[i] == '%' && (i + 1 < formatSize && format[i + 1] == '%')) { in DealWithPrintf()
94 …} else if (format[i] == '%' && (i + 1 < formatSize && (temp.find(format[i + 1])) != std::string::n… in DealWithPrintf()
101 …} else if (format[i] == '%' && (i + 1 < formatSize && (temp.find(format[i + 1])) == std::string::n… in DealWithPrintf()
105 if (i < formatSize && format[i] != '%') { in DealWithPrintf()
109 i = formatSize; in DealWithPrintf()
120 if (i < formatSize) { in DealWithPrintf()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/
H A Ddepth_data_output_napi.cpp91 const int32_t formatSize = 4; in ExecuteDepthData() local
93 depthDataWidth * depthDataHeight * formatSize, 0, depthDataWidth, opts, true); in ExecuteDepthData()
H A Dphoto_output_napi.cpp1596 const int32_t formatSize = 4; in ExecuteDeepCopySurfaceBuffer() local
1598 thumbnailWidth * thumbnailHeight * formatSize, 0, thumbnailWidth, opts, true); in ExecuteDeepCopySurfaceBuffer()
1720 const int32_t formatSize = 4; in UpdateJSCallback() local
1722 thumbnailWidth * thumbnailHeight * formatSize, 0, thumbnailWidth, opts, true); in UpdateJSCallback()
/ohos5.0/foundation/multimedia/image_effect/test/unittest/
H A Dnative_image_effect_unittest.cpp898 uint32_t formatSize = 0; variable
900 OH_EffectFilterInfo_GetSupportedFormats(info, &formatSize, &formatArray);
901 ASSERT_EQ(formatSize, 2);