/base/security/device_auth/frameworks/deviceauth_lite/source/log/ |
H A D | log.c | 32 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() 99 hc_loge(const char *tag, const char *func, const char *format, ...) hc_loge() argument [all...] |
/base/update/updater/services/script/script_manager/ |
H A D | script_utils.h | 28 #define USCRIPT_LOGE(format, ...) Logger(Updater::ERROR, (UPDATER_LOG_FILE_NAME), (__LINE__), format, ##__VA_ARGS__)
29 #define USCRIPT_LOGI(format, ...) Logger(Updater::INFO, (UPDATER_LOG_FILE_NAME), (__LINE__), format, ##__VA_ARGS__)
30 #define USCRIPT_LOGW(format, ...) Logger(Updater::WARNING, (UPDATER_LOG_FILE_NAME), (__LINE__), format, ##__VA_ARGS__)
31 #define USCRIPT_LOGD(format, ...) Logger(Updater::DEBUG, (UPDATER_LOG_FILE_NAME), (__LINE__), format, ##__VA_ARGS__)
|
/base/hiviewdfx/hiview/base/include/ |
H A D | hiview_logger.h | 35 #define HIVIEW_LOGD(format, ...) \
36 HILOG_IMPL(LOG_CORE, LOG_DEBUG, logLabelDomain, logLabelTag, "%" PUBLIC "s: " format, __func__, ##__VA_ARGS__)
37 #define HIVIEW_LOGI(format, ...) \
38 HILOG_IMPL(LOG_CORE, LOG_INFO, logLabelDomain, logLabelTag, "%" PUBLIC "s: " format, __func__, ##__VA_ARGS__)
39 #define HIVIEW_LOGW(format, ...) \
40 HILOG_IMPL(LOG_CORE, LOG_WARN, logLabelDomain, logLabelTag, "%" PUBLIC "s: " format, __func__, ##__VA_ARGS__)
41 #define HIVIEW_LOGE(format, ...) \
42 HILOG_IMPL(LOG_CORE, LOG_ERROR, logLabelDomain, logLabelTag, "%" PUBLIC "s: " format, __func__, ##__VA_ARGS__)
43 #define HIVIEW_LOGF(format, ...) \
44 HILOG_IMPL(LOG_CORE, LOG_FATAL, logLabelDomain, logLabelTag, "%" PUBLIC "s: " format, __func_ [all...] |
/base/update/updater/services/flashd/common/ |
H A D | flashd_define.h | 24 #define FLASHD_LOGE(format, ...) Logger(Updater::ERROR, (UPDATER_LOG_FILE_NAME), (__LINE__), format, ##__VA_ARGS__) 25 #define FLASHD_LOGD(format, ...) Logger(Updater::DEBUG, (UPDATER_LOG_FILE_NAME), (__LINE__), format, ##__VA_ARGS__) 26 #define FLASHD_LOGI(format, ...) Logger(Updater::INFO, (UPDATER_LOG_FILE_NAME), (__LINE__), format, ##__VA_ARGS__) 27 #define FLASHD_LOGW(format, ...) Logger(Updater::WARNING, (UPDATER_LOG_FILE_NAME), (__LINE__), format, ##__VA_ARGS__) 34 constexpr const char *CMDSTR_FORMAT_PARTITION = "format";
|
/base/request/request/services/src/manage/scheduler/state/ |
H A D | sql.rs | 95 format!("DELETE FROM request_task WHERE uid = {}", uid) 99 format!( 125 format!( 140 let mut sql = format!( 164 sql.push_str(&format!("{},", active_account)); 175 let mut sql = format!( 189 sql.push_str(&format!("{},", active_account)); 199 format!( 225 let mut unsupported_condition = format!("network != {}", info.network_type.repr); 232 Some(format!( [all...] |
/base/hiviewdfx/hilog/frameworks/libhilog/utils/ |
H A D | log_print.cpp | 78 static void PrintLogPrefix(const LogContent& content, const LogFormat& format, std::ostream& out)
in PrintLogPrefix() argument 81 if (format.timeFormat == FormatTime::TIME) {
in PrintLogPrefix() 92 if (format.zone) {
in PrintLogPrefix() 96 if (format.year) {
in PrintLogPrefix() 103 } else if (format.timeFormat == FormatTime::MONOTONIC) {
in PrintLogPrefix() 106 } else if (format.timeFormat == FormatTime::EPOCH) {
in PrintLogPrefix() 110 out << "Invalid time format" << endl;
in PrintLogPrefix() 116 if (format.timeAccuFormat == FormatTimeAccu::MSEC) {
in PrintLogPrefix() 118 } else if (format.timeAccuFormat == FormatTimeAccu::USEC) {
in PrintLogPrefix() 120 } else if (format in PrintLogPrefix() 146 AdaptWrap(const LogContent& content, const LogFormat& format, std::ostream& out) AdaptWrap() argument 156 LogPrintWithFormat(const LogContent& content, const LogFormat& format, std::ostream& out) LogPrintWithFormat() argument [all...] |
/base/hiviewdfx/hidumper/frameworks/native/ |
H A D | common.h | 44 #define LOG_ERR(format, ...) \ 47 fprintf(stdout, "Error:" format "", ##__VA_ARGS__); \ 52 #define LOG_DEBUG(format, ...) \ 55 fprintf(stdout, "Debug:" format "(%s %d)\n", ##__VA_ARGS__, __FILE__, __LINE__); \ 58 #define LOG_DEBUG(format, ...)
|
/base/time/time_service/services/dfx/src/ |
H A D | time_cmd_parse.cpp | 20 : 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/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_media_codec_decoder_adapter_impl.cpp | 40 int32_t ArkMediaCodecDecoderAdapterImpl::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 int32_t ArkMediaCodecDecoderAdapterImpl::SetParameterDecoder(const ArkWebRefPtr<ArkDecoderFormatAdapter> format) in SetParameterDecoder() argument 50 if (CHECK_REF_PTR_IS_NULL(format)) { in SetParameterDecoder() 53 return (int32_t)real_->SetParameterDecoder(std::make_shared<ArkDecoderFormatAdapterWrapper>(format)); in SetParameterDecoder() 97 int32_t ArkMediaCodecDecoderAdapterImpl::GetOutputFormatDec(ArkWebRefPtr<ArkDecoderFormatAdapter> format) in GetOutputFormatDec() argument 99 if (CHECK_REF_PTR_IS_NULL(format)) { in GetOutputFormatDec() 102 return (int32_t)real_->GetOutputFormatDec(std::make_shared<ArkDecoderFormatAdapterWrapper>(format)); in GetOutputFormatDec()
|
/base/startup/init/services/modules/seccomp/scripts/ |
H A D | generate_code_from_policy.py | 105 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)) 267 syscall'.format(self_define_syscall, self_define_syscall)) 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)) 349 bpf_policy.append(BPF_JEQ.format(const_str + ' & 0xffffffff', jt, jf)) 355 bpf_policy.append(BPF_JEQ.format('((unsigne [all...] |
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_image_util.cpp | 29 std::string AnsImageUtil::PackImage(const std::shared_ptr<Media::PixelMap> &pixelMap, const std::string &format) in PackImage() argument 31 if (!pixelMap || format.empty()) { in PackImage() 38 option.format = format; in PackImage() 73 std::shared_ptr<Media::PixelMap> AnsImageUtil::UnPackImage(const std::string &pixelMapStr, const std::string &format) in UnPackImage() argument 83 opts.formatHint = format; in UnPackImage() 106 const std::string &format) in PackImage2File() 108 if (!pixelMap || outFilePath.empty() || format.empty()) { in PackImage2File() 115 option.format = format; in PackImage2File() 103 PackImage2File( const std::shared_ptr<Media::PixelMap> &pixelMap, const std::string &outFilePath, const std::string &format) PackImage2File() argument 134 CreatePixelMap(const std::string &inFilePath, const std::string &format) CreatePixelMap() argument [all...] |
/base/startup/init/services/log/ |
H A D | init_log.h | 84 #define INIT_ERROR_CHECK(ret, statement, format, ...) \
87 INIT_LOGE(format, ##__VA_ARGS__); \
92 #define INIT_INFO_CHECK(ret, statement, format, ...) \
95 INIT_LOGI(format, ##__VA_ARGS__); \
100 #define INIT_WARNING_CHECK(ret, statement, format, ...) \
103 INIT_LOGW(format, ##__VA_ARGS__); \
129 #define INIT_CHECK_ONLY_ELOG(ret, format, ...) \
132 INIT_LOGE(format, ##__VA_ARGS__); \
|
/base/update/updater/services/diffpatch/ |
H A D | diffpatch.h | 35 #define PATCH_LOGE(format, ...) Logger(Updater::ERROR, (UPDATER_LOG_FILE_NAME), (__LINE__), format, ##__VA_ARGS__)
36 #define PATCH_DEBUG(format, ...) Logger(Updater::DEBUG, (UPDATER_LOG_FILE_NAME), (__LINE__), format, ##__VA_ARGS__)
37 #define PATCH_LOGI(format, ...) Logger(Updater::INFO, (UPDATER_LOG_FILE_NAME), (__LINE__), format, ##__VA_ARGS__)
38 #define PATCH_LOGW(format, ...) Logger(Updater::WARNING, (UPDATER_LOG_FILE_NAME), (__LINE__), format, ##__VA_ARGS__)
|
/base/hiviewdfx/blackbox_lite/interfaces/native/innerkits/ |
H A D | blackbox.h | 31 #define BBOX_PRINT_ERR(format, ...) HILOG_DEBUG(HILOG_MODULE_HIVIEW, "bbox: func: %s line: %d, Err: " \ 32 format, __func__, __LINE__, ##__VA_ARGS__) 33 #define BBOX_PRINT_INFO(format, ...) HILOG_DEBUG(HILOG_MODULE_HIVIEW, "bbox: Info: " format, ##__VA_ARGS__)
|
/base/hiviewdfx/blackbox_lite/interfaces/native/kits/ |
H A D | blackbox.h | 31 #define BBOX_PRINT_ERR(format, ...) HILOG_DEBUG(HILOG_MODULE_HIVIEW, "bbox: func: %s line: %d, Err: " \ 32 format, __func__, __LINE__, ##__VA_ARGS__) 33 #define BBOX_PRINT_INFO(format, ...) HILOG_DEBUG(HILOG_MODULE_HIVIEW, "bbox: Info: " format, ##__VA_ARGS__)
|
/base/theme/screenlock_mgr/services/src/ |
H A D | command.cpp | 21 : format(argsFormat), help(help), action(action) in Command() 25 Command::Command(const std::vector<std::string> &argsFormat, const std::string &help) : format(argsFormat), help(help) in Command() 41 return format.at(0); in GetOption() 47 for (const auto &seg : format) { in GetFormat()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_image_util_test/ |
H A D | ans_image_util_unit_test.cpp | 83 std::string format = ":";
in HWTEST_F() local 84 std::string res = imageUtil->PackImage(pixelMap, format);
in HWTEST_F() 102 std::string format = ":";
in HWTEST_F() local 103 std::string res = imageUtil->PackImage(nullptr, format);
in HWTEST_F() 142 std::string format = ":";
in HWTEST_F() local 143 std::string res = imageUtil->PackImage(pixelMap, format);
in HWTEST_F() 284 std::string format = "testFormat";
in HWTEST_F() local 285 bool res = imageUtil->PackImage2File(pixelMap, outFilePath, format);
in HWTEST_F() 305 std::string format = "testFormat";
in HWTEST_F() local 306 bool res = imageUtil->PackImage2File(pixelMap, outFilePath, format);
in HWTEST_F() 326 std::string format = "testFormat"; HWTEST_F() local 347 std::string format = ""; HWTEST_F() local 368 std::string format = "testFormat"; HWTEST_F() local 390 std::string format = "testFormat"; HWTEST_F() local 413 std::string format = "testFormat"; HWTEST_F() local 436 std::string format = ""; HWTEST_F() local 483 std::string format = "testFormat"; HWTEST_F() local 506 std::string format = "testFormat"; HWTEST_F() local 528 std::string format = "testFormat"; HWTEST_F() local 551 std::string format = "testFormat"; HWTEST_F() local [all...] |
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_media_codec_decoder_adapter_wrapper.cpp | 46 const std::shared_ptr<OHOS::NWeb::DecoderFormatAdapter> format) in ConfigureDecoder() 49 if (CHECK_SHARED_PTR_IS_NULL(format)) { in ConfigureDecoder() 52 result = ctocpp_->ConfigureDecoder(new ArkDecoderFormatAdapterImpl(format)); in ConfigureDecoder() 58 const std::shared_ptr<OHOS::NWeb::DecoderFormatAdapter> format) in SetParameterDecoder() 61 if (CHECK_SHARED_PTR_IS_NULL(format)) { in SetParameterDecoder() 64 result = ctocpp_->SetParameterDecoder(new ArkDecoderFormatAdapterImpl(format)); in SetParameterDecoder() 120 std::shared_ptr<OHOS::NWeb::DecoderFormatAdapter> format) in GetOutputFormatDec() 123 if (CHECK_SHARED_PTR_IS_NULL(format)) { in GetOutputFormatDec() 126 result = ctocpp_->GetOutputFormatDec(new ArkDecoderFormatAdapterImpl(format)); in GetOutputFormatDec() 45 ConfigureDecoder( const std::shared_ptr<OHOS::NWeb::DecoderFormatAdapter> format) ConfigureDecoder() argument 57 SetParameterDecoder( const std::shared_ptr<OHOS::NWeb::DecoderFormatAdapter> format) SetParameterDecoder() argument 119 GetOutputFormatDec( std::shared_ptr<OHOS::NWeb::DecoderFormatAdapter> format) GetOutputFormatDec() argument
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_image_util.h | 37 * @param format Indicates the format of the image. 41 const std::shared_ptr<Media::PixelMap> &pixelMap, const std::string &format = IMAGE_FORMAT_PNG); 50 const std::string &format = IMAGE_FORMAT_PNG); 57 * @param format Indicates the format of the image. 63 const std::string &format = IMAGE_FORMAT_PNG); 69 * @param format Indicates the format of the image. 73 const std::string &inFilePath, const std::string &format [all...] |
/base/request/request/services/src/manage/scheduler/ |
H A D | sql.rs | 19 format!( 33 format!( 45 format!( 57 format!( 91 &format!( in ut_start_pause_start() 101 .prepare(&format!( in ut_start_pause_start() 114 .prepare(&format!( in ut_start_pause_start() 128 .prepare(&format!( in ut_start_pause_start() 156 &format!( in ut_pause() 168 .prepare(&format!( in ut_pause() [all...] |
/base/telephony/core_service/utils/vcard/src/contact_data/ |
H A D | vcard_photo_data.cpp | 42 void VCardPhotoData::InitPhotoData(std::string &format, std::string &hexBytes) in InitPhotoData() argument 44 format_ = format; in InitPhotoData() 48 void VCardPhotoData::SetFormat(std::string &format) in SetFormat() argument 50 format_ = format; in SetFormat()
|
/base/hiviewdfx/hiview/base/ |
H A D | logger.cpp | 48 void Logger::Print(uint32_t level, uint32_t domain, const char* tag, const char* format, ...) in Print() argument 54 va_start(args, format); in Print() 55 m_logger->Print(level, domain, tag, format, args); in Print()
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | dfx_logger.cpp | 26 int WriteLog(int32_t fd, const char *format, ...) in WriteLog() argument 31 va_start(args, format); in WriteLog() 32 ret = vsnprintf_s(buf, sizeof(buf), sizeof(buf) - 1, format, args); in WriteLog()
|
/base/security/certificate_framework/frameworks/common/v1.0/src/ |
H A D | cf_log.c | 22 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/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/log/ |
H A D | cm_log.c | 25 void CmLog(uint32_t logLevel, const char *funcName, uint32_t lineNo, const char *format, ...) in CmLog() argument 30 va_start(ap, format); in CmLog() 31 int32_t ret = vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, format, ap); in CmLog()
|