Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/base/security/device_auth/frameworks/deviceauth_lite/source/log/
Dlog.c32 static void hc_logd(const char *tag, const char *func, const char *format, ...);
33 static void hc_logi(const char *tag, const char *func, const char *format, ...);
34 static void hc_logw(const char *tag, const char *func, const char *format, ...);
35 static void hc_loge(const char *tag, const char *func, const char *format, ...);
78 static void hc_logd(const char *tag, const char *func, const char *format, ...) in hc_logd() argument
82 (void)format; in hc_logd()
85 static void hc_logi(const char *tag, const char *func, const char *format, ...) in hc_logi() argument
89 (void)format; in hc_logi()
92 static void hc_logw(const char *tag, const char *func, const char *format, ...) in hc_logw() argument
96 (void)format; in hc_logw()
[all …]
/base/hiviewdfx/hiview/base/include/
Dhiview_logger.h35 #define HIVIEW_LOGD(format, ...) \ argument
36 …HILOG_IMPL(LOG_CORE, LOG_DEBUG, logLabelDomain, logLabelTag, "%" PUBLIC "s: " format, __func__, ##…
37 #define HIVIEW_LOGI(format, ...) \ argument
38 …HILOG_IMPL(LOG_CORE, LOG_INFO, logLabelDomain, logLabelTag, "%" PUBLIC "s: " format, __func__, ##_…
39 #define HIVIEW_LOGW(format, ...) \ argument
40 …HILOG_IMPL(LOG_CORE, LOG_WARN, logLabelDomain, logLabelTag, "%" PUBLIC "s: " format, __func__, ##_…
41 #define HIVIEW_LOGE(format, ...) \ argument
42 …HILOG_IMPL(LOG_CORE, LOG_ERROR, logLabelDomain, logLabelTag, "%" PUBLIC "s: " format, __func__, ##…
43 #define HIVIEW_LOGF(format, ...) \ argument
44 …HILOG_IMPL(LOG_CORE, LOG_FATAL, logLabelDomain, logLabelTag, "%" PUBLIC "s: " format, __func__, ##…
/base/update/updater/services/flashd/common/
Dflashd_define.h24 #define FLASHD_LOGE(format, ...) Logger(Updater::ERROR, (UPDATER_LOG_FILE_NAME), (__LINE__), format argument
25 #define FLASHD_LOGD(format, ...) Logger(Updater::DEBUG, (UPDATER_LOG_FILE_NAME), (__LINE__), format argument
26 #define FLASHD_LOGI(format, ...) Logger(Updater::INFO, (UPDATER_LOG_FILE_NAME), (__LINE__), format,… argument
27 #define FLASHD_LOGW(format, ...) Logger(Updater::WARNING, (UPDATER_LOG_FILE_NAME), (__LINE__), form… argument
/base/update/updater/services/script/script_manager/
Dscript_utils.h28 #define USCRIPT_LOGE(format, ...) Logger(Updater::ERROR, (UPDATER_LOG_FILE_NAME), (__LINE__), forma… argument
29 #define USCRIPT_LOGI(format, ...) Logger(Updater::INFO, (UPDATER_LOG_FILE_NAME), (__LINE__), format argument
30 #define USCRIPT_LOGW(format, ...) Logger(Updater::WARNING, (UPDATER_LOG_FILE_NAME), (__LINE__), for… argument
/base/hiviewdfx/hilog/frameworks/libhilog/utils/
Dlog_print.cpp77 static void PrintLogPrefix(const LogContent& content, const LogFormat& format, std::ostream& out) in PrintLogPrefix() argument
80 if (format.timeFormat == FormatTime::TIME) { in PrintLogPrefix()
91 if (format.zone) { in PrintLogPrefix()
95 if (format.year) { in PrintLogPrefix()
102 } else if (format.timeFormat == FormatTime::MONOTONIC) { in PrintLogPrefix()
105 } else if (format.timeFormat == FormatTime::EPOCH) { in PrintLogPrefix()
115 if (format.timeAccuFormat == FormatTimeAccu::MSEC) { in PrintLogPrefix()
117 } else if (format.timeAccuFormat == FormatTimeAccu::USEC) { in PrintLogPrefix()
119 } else if (format.timeAccuFormat == FormatTimeAccu::NSEC) { in PrintLogPrefix()
145 void LogPrintWithFormat(const LogContent& content, const LogFormat& format, std::ostream& out) in LogPrintWithFormat() argument
[all …]
/base/web/webview/ohos_glue/ohos_adapter/bridge/
Dark_media_codec_decoder_adapter_impl.cpp40 …kMediaCodecDecoderAdapterImpl::ConfigureDecoder(const ArkWebRefPtr<ArkDecoderFormatAdapter> format) in ConfigureDecoder() argument
42 if (CHECK_REF_PTR_IS_NULL(format)) { in ConfigureDecoder()
45 … return (int32_t)real_->ConfigureDecoder(std::make_shared<ArkDecoderFormatAdapterWrapper>(format)); in ConfigureDecoder()
48 …diaCodecDecoderAdapterImpl::SetParameterDecoder(const ArkWebRefPtr<ArkDecoderFormatAdapter> format) in SetParameterDecoder() argument
50 if (CHECK_REF_PTR_IS_NULL(format)) { in SetParameterDecoder()
53 …turn (int32_t)real_->SetParameterDecoder(std::make_shared<ArkDecoderFormatAdapterWrapper>(format)); in SetParameterDecoder()
97 …t ArkMediaCodecDecoderAdapterImpl::GetOutputFormatDec(ArkWebRefPtr<ArkDecoderFormatAdapter> format) in GetOutputFormatDec() argument
99 if (CHECK_REF_PTR_IS_NULL(format)) { in GetOutputFormatDec()
102 …eturn (int32_t)real_->GetOutputFormatDec(std::make_shared<ArkDecoderFormatAdapterWrapper>(format)); in GetOutputFormatDec()
/base/hiviewdfx/hidumper/frameworks/native/
Dcommon.h44 #define LOG_ERR(format, ...) \ argument
47 fprintf(stdout, "Error:" format "", ##__VA_ARGS__); \
52 #define LOG_DEBUG(format, ...) \ argument
55 fprintf(stdout, "Debug:" format "(%s %d)\n", ##__VA_ARGS__, __FILE__, __LINE__); \
58 #define LOG_DEBUG(format, ...) argument
/base/update/updater/services/diffpatch/
Ddiffpatch.h35 #define PATCH_LOGE(format, ...) Logger(Updater::ERROR, (UPDATER_LOG_FILE_NAME), (__LINE__), format,… argument
36 #define PATCH_DEBUG(format, ...) Logger(Updater::DEBUG, (UPDATER_LOG_FILE_NAME), (__LINE__), format argument
37 #define PATCH_LOGI(format, ...) Logger(Updater::INFO, (UPDATER_LOG_FILE_NAME), (__LINE__), format, … argument
38 #define PATCH_LOGW(format, ...) Logger(Updater::WARNING, (UPDATER_LOG_FILE_NAME), (__LINE__), forma… argument
/base/time/time_service/services/dfx/src/
Dtime_cmd_parse.cpp20 : format(argsFormat), help(strHelp), action(action) in TimeCmdParse()
36 if (format.size() == 0) { in GetOption()
39 for (unsigned long i = 0; i < format.size() - 1; i++) { in GetOption()
40 formatTitle += format.at(i); in GetOption()
52 for (auto &seg : format) { in GetFormat()
/base/startup/init/services/log/
Dinit_log.h84 #define INIT_ERROR_CHECK(ret, statement, format, ...) \ argument
87 INIT_LOGE(format, ##__VA_ARGS__); \
92 #define INIT_INFO_CHECK(ret, statement, format, ...) \ argument
95 INIT_LOGI(format, ##__VA_ARGS__); \
100 #define INIT_WARNING_CHECK(ret, statement, format, ...) \ argument
103 INIT_LOGW(format, ##__VA_ARGS__); \
129 #define INIT_CHECK_ONLY_ELOG(ret, format, ...) \ argument
132 INIT_LOGE(format, ##__VA_ARGS__); \
/base/startup/init/services/modules/seccomp/scripts/
Dgenerate_code_from_policy.py105 … raise ValidateError('{} not exsit in {} function_name_nr_table Table'.format(function_name, arch))
112 raise ValidateError('{} not within the legal range of errno values.'.format(errno))
258 raise ValidateError('{} is not legal by headFiles format'.format(head_files))
280 raise ValidateError('{} not in {}'.format(return_str, ret_str_to_bpf.keys()))
286 raise ValidateError('{} not in [DEFAULT, ONLY_CHECK_ARGS]'.format(mode_str))
295 raise ValidateError('{} of allow list is in block list'.format(syscall))
383 bpf_policy.append(BPF_JEQ.format(const_str + ' & 0xffffffff', jt, jf))
389 bpf_policy.append(BPF_JEQ.format('((unsigned long)' + const_str + ') >> 32', 0, jf + 2))
390 bpf_policy.append(BPF_LOAD_MEM.format(0))
391 bpf_policy.append(BPF_JEQ.format(const_str + ' & 0xffffffff', jt, jf))
[all …]
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_image_util_test/
Dans_image_util_unit_test.cpp83 std::string format = ":"; variable
84 std::string res = imageUtil->PackImage(pixelMap, format);
102 std::string format = ":"; variable
103 std::string res = imageUtil->PackImage(nullptr, format);
142 std::string format = ":"; variable
143 std::string res = imageUtil->PackImage(pixelMap, format);
284 std::string format = "testFormat"; variable
285 bool res = imageUtil->PackImage2File(pixelMap, outFilePath, format);
305 std::string format = "testFormat"; variable
306 bool res = imageUtil->PackImage2File(pixelMap, outFilePath, format);
[all …]
/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/
Dvsnprintf_s_p.c191 static inline int SecVsnprintfPImpl(char *string, size_t count, int priv, const char *format, va_li…
222 int vsnprintfp_s(char *strDest, size_t destMax, size_t count, int priv, const char *format, va_lis… in vsnprintfp_s() argument
226 if (format == NULL || strDest == NULL || destMax == 0 || destMax > SECUREC_STRING_MAX_LEN || in vsnprintfp_s()
236 retVal = SecVsnprintfPImpl(strDest, count + 1, priv, format, arglist); in vsnprintfp_s()
242 retVal = SecVsnprintfPImpl(strDest, destMax, priv, format, arglist); in vsnprintfp_s()
266 int snprintfp_s(char *strDest, size_t destMax, size_t count, int priv, const char *format, ...) in snprintfp_s() argument
269 va_start(ap, format); in snprintfp_s()
270 int ret = vsnprintfp_s(strDest, destMax, count, priv, format, ap); in snprintfp_s()
286 static inline int SecVsnprintfPImpl(char *string, size_t count, int priv, const char *format, va_li… in SecVsnprintfPImpl() argument
294 retVal = SecOutputPS(&str, priv, format, arglist); in SecVsnprintfPImpl()
/base/update/updater/services/package/pkg_manager/
Dpkg_utils.h52 #define PKG_LOGE(format, ...) Logger(Updater::ERROR, (UPDATER_LOG_FILE_NAME), (__LINE__), format, #… argument
53 #define PKG_LOGI(format, ...) Logger(Updater::INFO, (UPDATER_LOG_FILE_NAME), (__LINE__), format, ##… argument
54 #define PKG_LOGW(format, ...) Logger(Updater::WARNING, (UPDATER_LOG_FILE_NAME), (__LINE__), format,… argument
/base/request/request/services/src/service/command/
Ddump.rs76 let _ = file.write(format!("task num: {}\n", len).as_bytes()); in dump_all_task_info()
79 format!( in dump_all_task_info()
87 format!( in dump_all_task_info()
114 format!( in dump_one_task_info()
121 format!( in dump_one_task_info()
134 let _ = file.write(format!("invalid task id {}", task_id).as_bytes()); in dump_one_task_info()
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_image_util.cpp28 …nsImageUtil::PackImage(const std::shared_ptr<Media::PixelMap> &pixelMap, const std::string &format) in PackImage() argument
30 if (!pixelMap || format.empty()) { in PackImage()
37 option.format = format; in PackImage()
101 const std::string &format) in PackImage2File() argument
103 if (!pixelMap || outFilePath.empty() || format.empty()) { in PackImage2File()
110 option.format = format; in PackImage2File()
129 …a::PixelMap> AnsImageUtil::CreatePixelMap(const std::string &inFilePath, const std::string &format) in CreatePixelMap() argument
131 if (inFilePath.empty() || format.empty()) { in CreatePixelMap()
138 opts.formatHint = format; in CreatePixelMap()
/base/theme/screenlock_mgr/services/src/
Dcommand.cpp21 : format(argsFormat), help(help), action(action) in Command()
25 Command::Command(const std::vector<std::string> &argsFormat, const std::string &help) : format(args… in Command()
41 return format.at(0); in GetOption()
47 for (const auto &seg : format) { in GetFormat()
/base/startup/appspawn/service/hnp/base/
Dhnp_log.c31 void HnpLogPrintf(int logLevel, char *module, const char *format, ...) in HnpLogPrintf() argument
41 va_start(args, format); in HnpLogPrintf()
42 ret = vfprintf(stdout, format, args); in HnpLogPrintf()
/base/hiviewdfx/blackbox_lite/interfaces/native/innerkits/
Dblackbox.h31 #define BBOX_PRINT_ERR(format, ...) HILOG_DEBUG(HILOG_MODULE_HIVIEW, "bbox: func: %s line: %d, Err… argument
32 format, __func__, __LINE__, ##__VA_ARGS__)
33 #define BBOX_PRINT_INFO(format, ...) HILOG_DEBUG(HILOG_MODULE_HIVIEW, "bbox: Info: " format, ##__VA… argument
/base/hiviewdfx/blackbox_lite/interfaces/native/kits/
Dblackbox.h31 #define BBOX_PRINT_ERR(format, ...) HILOG_DEBUG(HILOG_MODULE_HIVIEW, "bbox: func: %s line: %d, Err… argument
32 format, __func__, __LINE__, ##__VA_ARGS__)
33 #define BBOX_PRINT_INFO(format, ...) HILOG_DEBUG(HILOG_MODULE_HIVIEW, "bbox: Info: " format, ##__VA… argument
/base/startup/init/interfaces/innerkits/include/
Dbeget_ext.h127 #define BEGET_ERROR_CHECK(ret, statement, format, ...) \ argument
129 BEGET_LOGE(format, ##__VA_ARGS__); \
133 #define BEGET_INFO_CHECK(ret, statement, format, ...) \ argument
135 BEGET_LOGI(format, ##__VA_ARGS__); \
139 #define BEGET_WARNING_CHECK(ret, statement, format, ...) \ argument
141 BEGET_LOGW(format, ##__VA_ARGS__); \
164 #define BEGET_CHECK_ONLY_ELOG(ret, format, ...) \ argument
167 BEGET_LOGE(format, ##__VA_ARGS__); \
/base/telephony/core_service/utils/vcard/src/contact_data/
Dvcard_photo_data.cpp40 void VCardPhotoData::InitPhotoData(std::string &format, std::string &hexBytes) in InitPhotoData() argument
42 format_ = format; in InitPhotoData()
46 void VCardPhotoData::SetFormat(std::string &format) in SetFormat() argument
48 format_ = format; in SetFormat()
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/registelog_fuzzer/
Dregistelog_fuzzer.cpp25 void TestLogd(const char *tag, const char *funcName, const char *format, ...) in TestLogd() argument
29 va_start(ap, format); in TestLogd()
30 if (vsnprintf_s(logBuff, MAX_LOG_BUFF_LENGTH, MAX_LOG_BUFF_LENGTH - 1, format, ap) == -1) { in TestLogd()
/base/security/certificate_framework/frameworks/common/v1.0/src/
Dcf_log.c22 void CfLog(uint32_t logLevel, const char *funcName, uint32_t lineNo, const char *format, ...) in CfLog() argument
27 va_start(ap, format); in CfLog()
28 int32_t ret = vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, format, ap); in CfLog()
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_log.c25 void HksTestLog(uint32_t logLevel, const char *funcName, int32_t lineNo, const char *format, ...) in HksTestLog() argument
30 va_start(ap, format); in HksTestLog()
31 int32_t ret = vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, format, ap); in HksTestLog()

12345678910>>...14