/base/startup/init/services/utils/ |
D | list.c | 85 ListNode *match; in OH_ListAddWithOrder() local 91 match = head->next; in OH_ListAddWithOrder() 92 while ((match != NULL) && (match != head)) { in OH_ListAddWithOrder() 93 if (compareProc(match, item) > 0) { in OH_ListAddWithOrder() 96 match = match->next; in OH_ListAddWithOrder() 98 if (match == NULL) { in OH_ListAddWithOrder() 103 item->next = match; in OH_ListAddWithOrder() 104 item->prev = match->prev; in OH_ListAddWithOrder() 105 match->prev->next = item; in OH_ListAddWithOrder() 106 match->prev = item; in OH_ListAddWithOrder() [all …]
|
/base/security/selinux_adapter/scripts/ |
D | build_contexts.py | 124 match = pattern.match(line_) 125 if match: 126 type_hash[match.group(1)].append(line_index) 191 match = pattern.match(line_) 192 if match: 194 line = match.group(1) + " u:r:" + match.group(4) + ":s0\n" 196 line = match.group(1) + " u:object_r:" + match.group(5) + ":s0\n"
|
D | build_policy_api.py | 266 match_type = pattern_type.match(line) 267 match_typeattribute = pattern_typeattribute.match(line)
|
/base/hiviewdfx/hilog/services/hilogd/ |
D | log_buffer.cpp | 168 bool match = false; in LogMatchFilter() local 173 match = true; in LogMatchFilter() 177 if (filter.domainCount && match == filter.blackDomain) { in LogMatchFilter() 180 match = false; in LogMatchFilter() 184 match = true; in LogMatchFilter() 188 if (filter.tagCount && match == filter.blackTag) { in LogMatchFilter() 191 match = false; in LogMatchFilter() 195 match = true; in LogMatchFilter() 199 if (filter.pidCount && match == filter.blackPid) { in LogMatchFilter()
|
/base/web/webview/interfaces/inner_api/src/ |
D | web_clipboard_controller.cpp | 117 std::smatch match; in SplitHtmlWithImgSrcLabel() local 123 while (std::regex_search(iterStart, iterEnd, match, re)) { in SplitHtmlWithImgSrcLabel() 124 std::string tmp = match[0]; in SplitHtmlWithImgSrcLabel() 125 iterStart = match[0].second; in SplitHtmlWithImgSrcLabel() 126 uint32_t offset = static_cast<uint32_t>(match[0].first - node.first.begin()); in SplitHtmlWithImgSrcLabel()
|
/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
D | contexts_trie.c | 162 ParamContextsTrie *match = childNode->childPtr; in SearchFromParamTrie() local 163 if (match->labeled == MATCH_LABELED) { in SearchFromParamTrie() 164 return match->matchLabel; in SearchFromParamTrie() 198 ParamContextsTrie *match = childNode->childPtr; in GetLabelIndex() local 199 if (match->labeled == MATCH_LABELED) { in GetLabelIndex() 200 return match->index; in GetLabelIndex()
|
/base/hiviewdfx/hitrace/test/unittest/hitrace_meter/ |
D | hitrace_ndk_test.cpp | 294 smatch match; in GetTraceResult() local 297 if (regex_match(list[i], match, pattern)) { in GetTraceResult() 298 param.m_task = match[TASK]; in GetTraceResult() 299 param.m_tid = match[TID]; in GetTraceResult() 300 param.m_tgid = match[TGID]; in GetTraceResult() 301 param.m_cpu = match[CPU]; in GetTraceResult() 302 param.m_dnh2 = match[DNH2]; in GetTraceResult() 303 param.m_timestamp = match[TIMESTAMP]; in GetTraceResult() 304 param.m_pid = match[PID]; in GetTraceResult() 305 if (match.size() == TRACE_FMA11) { in GetTraceResult() [all …]
|
/base/global/i18n/frameworks/intl/src/ |
D | preferred_language.cpp | 237 std::smatch match; in GetResources() local 238 bool found = regex_search(qualifiers[i], match, languagePattern); in GetResources() 242 std::string locale = match.str(1); in GetResources() 243 found = regex_search(qualifiers[i], match, countryPattern); in GetResources() 246 locale += match.str(1); in GetResources()
|
D | i18n_timezone.cpp | 1264 std::smatch match; in FindTzData() local 1265 bool found = std::regex_search(path, match, reg); in FindTzData() 1267 bool hasVerison = std::regex_search(path, match, regVersion); in FindTzData() 1269 std::string version = match[0].str(); in FindTzData()
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
D | sys_event_service_ohos.cpp | 49 bool MatchContent(int type, const string& rule, const string& match) in MatchContent() argument 51 if (match.empty()) { in MatchContent() 56 return rule.empty() || match.compare(rule) == 0; in MatchContent() 58 return rule.empty() || match.find(rule) == 0; in MatchContent() 62 return rule.empty() || regex_search(match, result, pattern); in MatchContent() 70 bool MatchEventType(int rule, int match) in MatchEventType() argument 72 return rule == INVALID_EVENT_TYPE || rule == match; in MatchEventType()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/ |
D | hap_parser.cpp | 308 bool &match, const ResConfigImpl *defaultConfig) in ParseKey() argument 334 match = IsLocaleMatch(defaultConfig, key->keyParams_); in ParseKey() 335 if (!match) { in ParseKey() 381 bool match = true; in ParseResHex() local 382 int32_t ret = ParseKey(buffer, offset, key, match, defaultConfig); in ParseResHex() 387 if (match) { in ParseResHex()
|
/base/useriam/face_auth/ui/Settings_FaceAuth/ |
D | hvigorw.bat | 47 echo Please set the NODE_HOME variable in your environment to match the 60 echo Please set the NODE_HOME variable in your environment to match the
|
/base/startup/init/ueventd/etc/ |
D | ueventd.config | 51 /dev/match 0660 1000 1005
|
/base/global/resource_management/frameworks/resmgr/src/utils/ |
D | hap_parser.cpp | 497 bool &match, const ResConfigImpl *defaultConfig) in ParseKey() argument 566 bool match = true; in ParseResHex() local 567 int32_t ret = ParseKey(buffer, offset, key, match, defaultConfig); in ParseResHex() 572 if (match) { in ParseResHex()
|
/base/update/updater/test/unittest/test_data/applypatch/ |
D | TestGZipModeImagePatch.old.gz |
|
/base/telephony/sms_mms/frameworks/js/napi/src/ |
D | napi_sms.cpp | 220 bool match = (parameterCount == 1) && NapiUtil::MatchParameters(env, parameters, {napi_object}); in MatchSendMessageParameters() local 221 if (!match) { in MatchSendMessageParameters() 338 bool match = false; in MatchSendShortMessageParameters() local 341 match = NapiUtil::MatchParameters(env, parameters, { napi_object }); in MatchSendShortMessageParameters() 345 match = NapiUtil::MatchParameters(env, parameters, { napi_object, napi_function }); in MatchSendShortMessageParameters() 351 if (!match) { in MatchSendShortMessageParameters()
|
/base/useriam/face_auth/ui/Settings_FaceAuth/hvigor/ |
D | hvigor-wrapper.js | 16 …match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(e){e.lchmod=function(t,n,r){e.open(t,ue.O_WRONLY|ue.O_SY… 17 …match(/^\d+$/)?(i=e.slice(0,-1*(o.length+1)),gc(`dateStr is ${i}`),n&&!i&&(i=o,o="0")):o="0";try{c…
|
/base/startup/init/services/modules/seccomp/scripts/ |
D | generate_code_from_policy.py | 155 k = const_pattern.match(line)
|