Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 30) sorted by relevance

12

/test/xts/acts/multimedia/drm/drm_ndk_test/src/main/cpp/
Dcapi_drm_log.h33 #define CAPI_DRM_LOG(func, fmt, args...) \ argument
35 (void)func(LOG_APP, "{%{public}s():%{public}d} " fmt, __FUNCTION__, __LINE__, ##args); \
38 #define CAPI_DRM_LOGF(fmt, ...) CAPI_DRM_LOG(OH_LOG_FATAL, fmt, ##__VA_ARGS__) argument
39 #define CAPI_DRM_LOGE(fmt, ...) CAPI_DRM_LOG(OH_LOG_ERROR, fmt, ##__VA_ARGS__) argument
40 #define CAPI_DRM_LOGW(fmt, ...) CAPI_DRM_LOG(OH_LOG_WARN, fmt, ##__VA_ARGS__) argument
41 #define CAPI_DRM_LOGI(fmt, ...) CAPI_DRM_LOG(OH_LOG_INFO, fmt, ##__VA_ARGS__) argument
42 #define CAPI_DRM_LOGD(fmt, ...) CAPI_DRM_LOG(OH_LOG_DEBUG, fmt, ##__VA_ARGS__) argument
43 #define CAPI_DRM_LOGD_LIMIT(frequency, fmt, ...) \ argument
46 CAPI_DRM_LOGD(fmt, ##__VA_ARGS__); \
49 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \ argument
[all …]
/test/xts/acts/multimedia/avcodec/avcodecNdk/entry/src/main/cpp/
Dcapi_drm_log.h33 #define CAPI_DRM_LOG(func, fmt, args...) \ argument
35 (void)func(LOG_APP, "{%{public}s():%{public}d} " fmt, __FUNCTION__, __LINE__, ##args); \
38 #define CAPI_DRM_LOGF(fmt, ...) CAPI_DRM_LOG(OH_LOG_FATAL, fmt, ##__VA_ARGS__) argument
39 #define CAPI_DRM_LOGE(fmt, ...) CAPI_DRM_LOG(OH_LOG_ERROR, fmt, ##__VA_ARGS__) argument
40 #define CAPI_DRM_LOGW(fmt, ...) CAPI_DRM_LOG(OH_LOG_WARN, fmt, ##__VA_ARGS__) argument
41 #define CAPI_DRM_LOGI(fmt, ...) CAPI_DRM_LOG(OH_LOG_INFO, fmt, ##__VA_ARGS__) argument
42 #define CAPI_DRM_LOGD(fmt, ...) CAPI_DRM_LOG(OH_LOG_DEBUG, fmt, ##__VA_ARGS__) argument
43 #define CAPI_DRM_LOGD_LIMIT(frequency, fmt, ...) \ argument
46 CAPI_DRM_LOGD(fmt, ##__VA_ARGS__); \
49 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \ argument
[all …]
/test/xts/acts/multimedia/media/media_cpp_standard/include/
Dndktest_log.h24 #define NDK_CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \ argument
27 (void)printf("%s\n", fmt, ##__VA_ARGS__); \
32 #define NDK_CHECK_AND_RETURN_LOG(cond, fmt, ...) \ argument
35 (void)printf("%s\n", fmt, ##__VA_ARGS__); \
40 #define NDK_CHECK_AND_BREAK_LOG(cond, fmt, ...) \ argument
42 (void)printf("%s\n", fmt, ##__VA_ARGS__); \
46 #define NDK_CHECK_AND_CONTINUE_LOG(cond, fmt, ...) \ argument
48 (void)printf("%s\n", fmt, ##__VA_ARGS__); \
52 #define NDK_CHECK_AND_LOG(cond, fmt, ...) \ argument
54 (void)printf("%s\n", fmt, ##__VA_ARGS__); \
/test/xts/device_attest_lite/common/log/
Ddevattest_log.h30 #define HILOGD(fmt, ...) \ argument
31 ((void)HiLogPrint(LOG_CORE, LOG_DEBUG, ATTEST_LOG_DOMAIN, ATTEST_LOG_LABEL, fmt, ##__VA_ARGS__))
32 #define HILOGI(fmt, ...) \ argument
33 ((void)HiLogPrint(LOG_CORE, LOG_INFO, ATTEST_LOG_DOMAIN, ATTEST_LOG_LABEL, fmt, ##__VA_ARGS__))
34 #define HILOGW(fmt, ...) \ argument
35 ((void)HiLogPrint(LOG_CORE, LOG_WARN, ATTEST_LOG_DOMAIN, ATTEST_LOG_LABEL, fmt, ##__VA_ARGS__))
36 #define HILOGE(fmt, ...) \ argument
37 ((void)HiLogPrint(LOG_CORE, LOG_ERROR, ATTEST_LOG_DOMAIN, ATTEST_LOG_LABEL, fmt, ##__VA_ARGS__))
38 #define HILOGT(fmt, ...) \ argument
39 ((void)HiLogPrint(LOG_CORE, LOG_FATAL, ATTEST_LOG_DOMAIN, ATTEST_LOG_LABEL, fmt, ##__VA_ARGS__))
/test/xts/acts/security_lite/huks/common/include/
Dhks_test_log.h28 #define HKS_TEST_LOG_E(fmt...) \ argument
31 printf(fmt); \
35 #define HKS_TEST_LOG_I(fmt...) \ argument
38 printf(fmt); \
42 #define HKS_TEST_LOG_W(fmt...) \ argument
45 printf(fmt); \
49 #define HKS_TEST_LOG_D(fmt...) \ argument
52 printf(fmt); \
/test/xts/device_attest/services/core/utils/
Dattest_utils_log.c48 void AttestLog(AttestLogLevel logLevel, const char* fmt, ...) in AttestLog() argument
55 va_start(arg, fmt); in AttestLog()
56 int32_t ret = vsprintf_s(outStr, sizeof(outStr), fmt, arg); in AttestLog()
65 void AttestLogAnonyStr(AttestLogLevel logLevel, const char* fmt, const char* str) in AttestLogAnonyStr() argument
67 if (fmt == NULL || str == NULL || logLevel < ATTEST_HILOG_LEVEL) { in AttestLogAnonyStr()
81 ret = sprintf_s(outStr, sizeof(outStr), fmt, strDup); in AttestLogAnonyStr()
/test/xts/device_attest_lite/services/core/utils/
Dattest_utils_log.c73 void AttestLog(AttestLogLevel logLevel, const char* fmt, ...) in AttestLog() argument
82 va_start(arg, fmt); in AttestLog()
83 int32_t ret = vsprintf_s(outStr, sizeof(outStr), fmt, arg); in AttestLog()
92 void AttestLogAnonyStr(AttestLogLevel logLevel, const char* fmt, const char* str) in AttestLogAnonyStr() argument
99 if (fmt == NULL || str == NULL) { in AttestLogAnonyStr()
113 ret = sprintf_s(outStr, sizeof(outStr), fmt, strDup); in AttestLogAnonyStr()
/test/xts/acts/communication_lite/dsoftbus_hal/src/
Dsession_test.c28 #define LOG2_DBG(fmt, ...) printf("DEBUG:%s:%s:%d " fmt "\n", __FILE__, __FUNCTION__, __LINE__, ##_… argument
29 #define LOG2_INFO(fmt, ...) printf("INFO:%s:%d " fmt "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__) argument
30 #define LOG2_WARN(fmt, ...) printf("WARN:%s:%d " fmt "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__) argument
31 #define LOG2_ERR(fmt, ...) printf("ERROR:%s:%d " fmt "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__) argument
/test/xts/device_attest/services/core/include/utils/
Dattest_utils_log.h39 void AttestLog(AttestLogLevel logLevel, const char* fmt, ...);
47 void AttestLogAnonyStr(AttestLogLevel logLevel, const char* fmt, const char* str);
/test/xts/device_attest_lite/services/core/include/utils/
Dattest_utils_log.h39 void AttestLog(AttestLogLevel logLevel, const char* fmt, ...);
47 void AttestLogAnonyStr(AttestLogLevel logLevel, const char* fmt, const char* str);
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
Dstdiondk.cpp212 int vsnprintfChk_test(char *str, size_t n, char *fmt, const char *funcName, ...) in vsnprintfChk_test() argument
217 size_t bos = __DIAGNOSE_BOS(fmt); in vsnprintfChk_test()
218 int vsnval = __vsnprintf_chk(s, n, ZEROVAL, bos, fmt, ap); in vsnprintfChk_test()
433 int vfsf(FILE *file, char *fmt, ...) in vfsf() argument
437 va_start(argp, fmt); in vfsf()
438 value = vfscanf(file, fmt, argp); in vfsf()
530 int vsnprintf_test(char *str, size_t n, char *fmt, const char *funcName, ...) in vsnprintf_test() argument
535 int vsnval = vsnprintf(s, n, fmt, ap); in vsnprintf_test()
590 const char *fmt = "temp"; in Sscanf() local
592 int snprintf_value = sscanf(s, fmt, fmt); in Sscanf()
Dunistdndk.cpp1944 void test(va_list ap, const char *fmt, ...) in test() argument
1946 va_start(ap, fmt); in test()
1947 vwarn(fmt, ap); in test()
1958 const char *fmt = "vwarn_error:Unable to create file: "; in Vwarn() local
1960 test(ap, fmt); in Vwarn()
1969 void VwarnxTest(va_list ap, const char *fmt, ...) in VwarnxTest() argument
1971 va_start(ap, fmt); in VwarnxTest()
1972 vwarnx(fmt, ap); in VwarnxTest()
1983 const char *fmt = "vwarnx_error:Unable to create file: "; in Vwarnx() local
1985 VwarnxTest(ap, fmt); in Vwarnx()
/test/xts/acts/kernel_lite/io_posix/src/
DIoTestStdio.cpp313 int FormatVasprintf(char **buffer, const char *fmt, ...) in FormatVasprintf() argument
316 va_start(ap, fmt); in FormatVasprintf()
317 int ret = vasprintf(buffer, fmt, ap); in FormatVasprintf()
564 void VwarnTest(char *fmt, ...) in VwarnTest() argument
567 va_start(ap, fmt); in VwarnTest()
568 vwarn(fmt, ap); in VwarnTest()
572 void VwarnxTest(char *fmt, ...) in VwarnxTest() argument
575 va_start(ap, fmt); in VwarnxTest()
576 vwarnx(fmt, ap); in VwarnxTest()
/test/xts/acts/multimedia/image/image_js_standard/imagePackingNDK/entry/src/main/cpp/napi/
Dimage_packing_test.cpp40 #define MY_HILOG(op, fmt, args...) \ argument
42 op(LABEL, "{%{public}s:%{public}d} " fmt, __FUNCTION__, __LINE__, ##args); \
44 #define DEBUG_LOG(fmt, ...) MY_HILOG(OHOS::HiviewDFX::HiLog::Info, fmt, ##__VA_ARGS__) argument
/test/xts/hats/hdf/display/composer/common/
Ddisplay_test_utils.cpp82 static uint32_t ConverToRGBA(Composer::V1_0::PixelFormat fmt, uint32_t color) in ConverToRGBA() argument
84 switch (fmt) { in ConverToRGBA()
90 DISPLAY_TEST_LOGE("the fmt can not convert %{public}d", fmt); in ConverToRGBA()
Dhdi_test_layer.h30 HdiGrallocBuffer(uint32_t seqNo, uint32_t w, uint32_t h, Composer::V1_0::PixelFormat fmt);
Dhdi_test_layer.cpp30 …ocBuffer::HdiGrallocBuffer(uint32_t seqNo, uint32_t w, uint32_t h, Composer::V1_0::PixelFormat fmt) in HdiGrallocBuffer() argument
37 info.format = fmt; in HdiGrallocBuffer()
/test/xts/tools/lite/hctest/src/
Dhctest.c199 void LiteTestPrint(const char *fmt, ...) in LiteTestPrint() argument
202 va_start(ap, fmt); in LiteTestPrint()
203 printf(fmt, ap); in LiteTestPrint()
/test/xts/dcts/distributedhardware/distributedaudiotest/
Ddistributedaudiotest.h46 uint8_t fmt[4] = {'f', 'm', 't', ' '}; member
/test/xts/tools/lite/hctest/include/
Dhctest.h115 void LiteTestPrint(const char *fmt, ...);
/test/xts/acts/driver/device_manager_ndk/entry/src/main/cpp/
Dusbddk.cpp42 #define MY_HILOG(op, fmt, args...) … argument
44 …op(LABEL, "{%{public}s:%{public}d} " fmt, __FUNCTION__, __LINE__, ##args); …
46 #define DEBUG_LOG(fmt, ...) MY_HILOG(OHOS::HiviewDFX::HiLog::Info, fmt, ##__VA_ARGS__) argument
/test/xts/acts/multimedia/media/media_js_standard/avplayeraudiondk/src/main/cpp/
DAudioPlayerNDK.cpp30 #define LOG(cond, fmt, ...) … argument
32 …(void)printf(fmt, ##__VA_ARGS__); …
/test/xts/acts/multimedia/image/image_js_standard/imageSourceNDK/entry/src/main/cpp/napi/
Dimage_source_test.cpp43 #define MY_HILOG(op, fmt, args...) \ argument
45 op(LABEL, "{%{public}s:%{public}d} " fmt, __FUNCTION__, __LINE__, ##args); \
47 #define DEBUG_LOG(fmt, ...) MY_HILOG(OHOS::HiviewDFX::HiLog::Info, fmt, ##__VA_ARGS__) argument
/test/xts/acts/multimedia/image/image_js_standard/imageCreator/src/main/js/test/
Dcreator.test.js60 function createCreator(done, testNum, wid, hei, fmt, cap) { argument
62 image.createImageCreator(wid, hei, fmt, cap);
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
Ddmlib.py896 fmt = "!I%ss" % len(req)
897 result = struct.pack(fmt, len(req), req)
1038 fmt = "!I12s256s"
1039 pack_cmd = struct.pack(fmt, size, banner_str, connect_key)

12