Home
last modified time | relevance | path

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

/base/powermgr/thermal_manager/services/native/src/thermal_action/action/action_soc/
Dsoc_action_base.cpp34 std::vector<int32_t> tags; in SocLimitRequest() local
36 tags.push_back(tag); in SocLimitRequest()
38 …OHOS::SOCPERF::SocPerfClient::GetInstance().LimitRequest(ACTION_TYPE_THERMAL_ID, tags, configs, ""… in SocLimitRequest()
/base/web/webview/ohos_adapter/hiviewdfx_adapter/src/
Dhitrace_adapter_impl.cpp58 uint64_t tags = OHOS::system::GetUintParameter<uint64_t>(KEY_TRACE_TAG, 0); in IsHiTraceEnable() local
59 if (tags == 0) { in IsHiTraceEnable()
63 return (tags & HITRACE_TAG_NWEB); in IsHiTraceEnable()
/base/hiviewdfx/hilog/services/hilogd/include/
Dlog_filter.h35 char tags[MAX_TAGS][MAX_TAG_LEN]; member
54 std::cout << " tag[" << i << "]: " << tags[i] << std::endl; in Print()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
Dmemory_util.cpp53 bool MemoryUtil::GetTypeValue(const string &str, const vector<string> &tags, string &type, uint64_t… in GetTypeValue() argument
63 auto iter = find(tags.begin(), tags.end(), tempType); in GetTypeValue()
64 if (iter != tags.end()) { in GetTypeValue()
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
DPluralFetcher.java124 String[] tags = languageTag.split("-"); in getPluralItems() local
125 ret[0] = tags[0]; in getPluralItems()
/base/hiviewdfx/hiview/base/
Dplugin.cpp100 const std::unordered_set<std::string> &eventNames, const std::unordered_set<std::string> &tags, in AddDispatchInfo() argument
106 context_->AddDispatchInfo(shared_from_this(), types, eventNames, tags, domainRulesMap); in AddDispatchInfo()
/base/hiviewdfx/hilog/services/hilogtool/
Dmain.cpp314 string tags[MAX_TAGS]; member
325 … pidCount(0), pids { 0 }, types(0), blackTag(false), tagCount(0), tags { "" }, colorful(false),
343 (void)strncpy_s(rqst.tags[i], MAX_TAG_LEN, tags[i].c_str(), tags[i].length()); in ToOutputRqst()
469 ret = SetTagLevel(context.tags[i], context.baseLevel); in BaseLogLevelHandler()
470 PrintResult(ret, (string("Set tag ") + context.tags[i] + " log level to " + arg)); in BaseLogLevelHandler()
773 std::vector<std::string> tags; in TagHandler() local
774 Split(context.blackTag ? arg + 1 : arg, tags); in TagHandler()
776 for (string t : tags) { in TagHandler()
783 context.tags[index++] = t; in TagHandler()
/base/hiviewdfx/hitrace/interfaces/native/innerkits/
Dhitrace.para.dac14 debug.hitrace.tags.enableflags = root:shell:0775
Dhitrace.para14 debug.hitrace.tags.enableflags=0
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
Dhitrace_dump.cpp58 std::vector<std::string> tags; member
201 cJSON* tags = nullptr; in ParseTagCategory() local
202 cJSON_ArrayForEach(tags, tagCategoryNode) { in ParseTagCategory()
204 cJSON* description = cJSON_GetObjectItem(tags, "description"); in ParseTagCategory()
208 cJSON* tagOffset = cJSON_GetObjectItem(tags, "tag_offset"); in ParseTagCategory()
212 cJSON* type = cJSON_GetObjectItem(tags, "type"); in ParseTagCategory()
216 cJSON* sysFiles = cJSON_GetObjectItem(tags, "sysFiles"); in ParseTagCategory()
225 allTags.insert(std::pair<std::string, TagCategory>(tags->string, tagCategory)); in ParseTagCategory()
278 bool CheckTags(const std::vector<std::string> &tags, const std::map<std::string, TagCategory> &allT… in CheckTags() argument
280 for (auto tag : tags) { in CheckTags()
[all …]
Dhitrace_meter.cpp99 uint64_t tags = OHOS::system::GetUintParameter<uint64_t>(KEY_TRACE_TAG, 0); in GetSysParamTags() local
100 if (tags == 0) { in GetSysParamTags()
106 return (tags | HITRACE_TAG_ALWAYS) & HITRACE_TAG_VALID_MASK; in GetSysParamTags()
197 uint64_t tags = strtoull(paramValue, nullptr, 0); in AddHitraceMeterMarker() local
198 g_tagsProperty = (tags | HITRACE_TAG_ALWAYS) & HITRACE_TAG_VALID_MASK; in AddHitraceMeterMarker()
/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace_meter/
Dhitrace_meter.h86 #error HITRACE_TAG must be defined to be one of the tags defined in hitrace_meter.h
88 #error HITRACE_TAG must be defined to be one of the tags defined in hitrace_meter.h
/base/global/i18n/frameworks/intl/src/
Dlocale_config.cpp1027 std::set<std::string> tags; in setOtherExtension() local
1028 tags.insert("-ca-"); in setOtherExtension()
1029 tags.insert("-co-"); in setOtherExtension()
1030 tags.insert("-kn-"); in setOtherExtension()
1031 tags.insert("-kf-"); in setOtherExtension()
1032 tags.insert("-nu-"); in setOtherExtension()
1033 tags.insert("-hc-"); in setOtherExtension()
1035 for (auto it = tags.begin(); it != tags.end(); it++) { in setOtherExtension()
/base/hiviewdfx/hiview/base/include/
Dplugin.h100 …std::unordered_set<std::string> &eventNames = {}, const std::unordered_set<std::string> &tags = {},
299 … const std::unordered_set<std::string>& eventNames, const std::unordered_set<std::string>& tags, in AddDispatchInfo() argument
/base/startup/init/services/modules/trace/
Dinit_trace.c218 static bool SetTraceTagsEnabled(uint64_t tags) in SetTraceTagsEnabled() argument
222 int len = sprintf_s((char *)workspace->buffer, sizeof(workspace->buffer), "%" PRIu64 "", tags); in SetTraceTagsEnabled()
223 PLUGIN_CHECK(len > 0, return false, "Failed to format tags %" PRId64 "", tags); in SetTraceTagsEnabled()
/base/hiviewdfx/hilog/frameworks/libhilog/include/
Dhilog_cmd.h79 char tags[MAX_TAGS][MAX_TAG_LEN]; member
/base/hiviewdfx/hiview/core/
Dhiview_platform.cpp985 const std::unordered_set<std::string>& eventNames, const std::unordered_set<std::string>& tags, in AddDispatchInfo() argument
1006 if (!tags.empty()) { in AddDispatchInfo()
1007 data->tagsInfo_.insert(tags.begin(), tags.end()); in AddDispatchInfo()
/base/hiviewdfx/hitrace/cmd/src/
Dhitrace_cmd.cpp313 static bool SetTraceTagsEnabled(uint64_t tags) in SetTraceTagsEnabled() argument
315 string value = std::to_string(tags); in SetTraceTagsEnabled()
/base/hiviewdfx/hiview/core/include/
Dhiview_platform.h72 … const std::unordered_set<std::string>& eventNames, const std::unordered_set<std::string>& tags,
/base/hiviewdfx/hilog/services/hilogd/
Dlog_buffer.cpp183 if (strcmp(logData.tag, filter.tags[i]) == 0) { in LogMatchFilter()
Dservice_controller.cpp461 (void)strncpy_s(filter.tags[i], MAX_TAG_LEN, rqst.tags[i], MAX_TAG_LEN - 1); in LogFilterFromOutputRqst()
/base/hiviewdfx/hitrace/cmd/config/
Dhitrace.cfg412 "setparam debug.hitrace.tags.enableflags 0"
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest004/
Dlast_kmsg50 <11>[ 3.832376] [pid=1][PARAM][ERROR][param_base.c:344]Invalid workSpace for debug.hitrace.tags.…
51 …8] [pid=1][PARAM][ERROR][param_base.c:571]Forbid to access parameter debug.hitrace.tags.enableflags
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest008/
Dlast_kmsg50 <11>[ 3.832376] [pid=1][PARAM][ERROR][param_base.c:344]Invalid workSpace for debug.hitrace.tags.…
51 …8] [pid=1][PARAM][ERROR][param_base.c:571]Forbid to access parameter debug.hitrace.tags.enableflags
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest005/
Dlast_kmsg50 <11>[ 3.832376] [pid=1][PARAM][ERROR][param_base.c:344]Invalid workSpace for debug.hitrace.tags.…
51 …8] [pid=1][PARAM][ERROR][param_base.c:571]Forbid to access parameter debug.hitrace.tags.enableflags