/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | net_diag_wrapper.cpp | 134 std::smatch match; in GetRouteTable() local 178 std::smatch match; in GetSocketsInfo() local 210 std::smatch match; in GetInterfaceConfig() local 217 ExtractIfaceName(match, config); in GetInterfaceConfig() 221 ExtractIfaceInet(match, config); in GetInterfaceConfig() 225 ExtractIfaceInet6(match, config); in GetInterfaceConfig() 229 ExtractIfaceMtu(match, config); in GetInterfaceConfig() 377 std::smatch match; in ExtractPingResult() local 413 pingResult.host_ = match[hostPos].str(); in ExtractPingHeader() 414 pingResult.ipAddr_ = match[ipPos].str(); in ExtractPingHeader() [all …]
|
/ohos5.0/base/startup/init/services/utils/ |
H A 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() 96 match = match->next; in OH_ListAddWithOrder() 103 item->next = match; in OH_ListAddWithOrder() 119 ListNode *match; in OH_ListFind() local 125 while ((match != NULL) && (match != head)) { in OH_ListFind() 129 match = match->next; in OH_ListFind() 154 ListNode *match; in OH_ListTraversal() local 166 while ((match != NULL) && (match != head)) { in OH_ListTraversal() [all …]
|
/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/src/ |
H A D | date_time_filter.cpp | 97 … if (match.GetBegin() >= clearMatch.GetBegin() && match.GetEnd() <= clearMatch.GetEnd()) { in FilterByRules() 148 … currentMatch.GetBegin() < match.GetEnd() && match.GetEnd() < currentMatch.GetEnd())) { in FilterOverlayFirst() 223 match.SetType(type); in FilterDate() 225 result.push_back(match); in FilterDate() 239 result.push_back(match); in FilterDate() 245 result.push_back(match); in FilterDate() 254 result.push_back(match); in FilterDate() 261 MatchedDateTimeInfo& match) in DealMatchE() argument 297 int cType = match.GetType(); in FilterDateTime() 352 int nType = match.GetType(); in FilterPeriod() [all …]
|
H A D | date_rule_init.cpp | 122 for (MatchedDateTimeInfo& match : tempMatches) { in GetMatches() 123 GetMatchedInfo(matches, match, message); in GetMatches() 129 …DateRuleInit::GetMatchedInfo(std::vector<MatchedDateTimeInfo>& matches, MatchedDateTimeInfo& match, in GetMatchedInfo() argument 133 if (subDetectsMap.find(match.GetRegex()) != subDetectsMap.end()) { in GetMatchedInfo() 134 RulesEngine subRulesEngine = subDetectsMap[match.GetRegex()]; in GetMatchedInfo() 135 …icu::UnicodeString subMessage = message.tempSubString(match.GetBegin(), match.GetEnd() - match.Get… in GetMatchedInfo() 138 subMatch.SetBegin(subMatch.GetBegin() + match.GetBegin()); in GetMatchedInfo() 139 subMatch.SetEnd(subMatch.GetEnd() + match.GetBegin()); in GetMatchedInfo() 143 matches.push_back(match); in GetMatchedInfo()
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/ |
H A D | net_diag_wrapper.h | 55 void ExtractPingHeader(const std::smatch &match, NetDiagPingResult &pingResult); 56 void ExtractIcmpSeqInfo(const std::smatch &match, NetDiagPingResult &pingResult); 57 void ExtractPingStatistics(const std::smatch &match, NetDiagPingResult &pingResult); 59 void ExtractNetProtoSocketsInfo(const std::smatch &match, NetDiagSocketsInfo &socketsInfo); 60 void ExtractUnixSocketsInfo(const std::smatch &match, NetDiagSocketsInfo &socketsInfo); 61 void ExtractIfaceName(const std::smatch &match, NetDiagIfaceConfig &ifaceInfo); 62 void ExtractIfaceInet(const std::smatch &match, NetDiagIfaceConfig &ifaceInfo); 63 void ExtractIfaceInet6(const std::smatch &match, NetDiagIfaceConfig &ifaceInfo); 64 void ExtractIfaceMtu(const std::smatch &match, NetDiagIfaceConfig &ifaceInfo); 65 void ExtractIfaceTxQueueLen(const std::smatch &match, NetDiagIfaceConfig &ifaceInfo); [all …]
|
/ohos5.0/foundation/ability/ability_base/test/unittest/want/ |
H A D | patterns_matcher_test.cpp | 121 EXPECT_EQ(PatternsMatcherIn_->match("abcdefg"), true); 122 EXPECT_EQ(PatternsMatcherIn_->match("Abcdefg"), false); 135 EXPECT_EQ(PatternsMatcherIn_->match("abcdefgABCDEFG"), true); 149 EXPECT_EQ(PatternsMatcherIn_->match("abcdefgG"), true); 150 EXPECT_EQ(PatternsMatcherIn_->match("abcccccdefgG"), true); 151 EXPECT_EQ(PatternsMatcherIn_->match("abcdefg"), false); 152 EXPECT_EQ(PatternsMatcherIn_->match("ABCDEFG"), false); 165 EXPECT_EQ(PatternsMatcherIn_->match("abcABC123"), true); 168 EXPECT_EQ(PatternsMatcherIn_->match("aBc123"), false); 169 EXPECT_EQ(PatternsMatcherIn_->match("AbC123"), false); [all …]
|
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/want/src/ |
H A D | patterns_matcher.cpp | 84 bool PatternsMatcher::match(std::string match) in match() argument 86 return MatchPattern(pattern_, match, type_); in match() 98 bool PatternsMatcher::MatchPattern(std::string pattern, std::string match, MatchType type) in MatchPattern() argument 100 if (match.empty()) { in MatchPattern() 105 return pattern == match; in MatchPattern() 108 return match.find(pattern) == 0; in MatchPattern() 112 return regex_match(match, regex_); in MatchPattern() 115 return GlobPattern(pattern, match); in MatchPattern() 132 bool PatternsMatcher::GlobPattern(std::string pattern, std::string match) in GlobPattern() argument 149 size_t find_pos_m = match.find(p, indexM); in GlobPattern() [all …]
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.24/ |
H A D | changelogs-multimedia.md | 12 6800101: The input parameter type does not match. 401: The number of input parameters does not matc… 13 …input parameter type does not match, and error code 6800101 is returned when the number of input p… 23 …number of input parameters does not match, error code 6800101 is returned. If the input parameter … 27 …e number of input parameters does not match, error code 401 is returned. If the input parameter ty… 31 …number of input parameters does not match, error code 6800101 is returned. If the input parameter … 35 …e number of input parameters does not match, error code 401 is returned. If the input parameter ty… 53 …pe does not match; change the error code from 6800101 to 401 in the code for the scenario where th…
|
/ohos5.0/base/security/certificate_framework/test/unittest/v1.0/src/ |
H A D | crypto_x509_certificate_test_part3.cpp | 134 ret = g_x509CertExtAttrObj->match(g_x509CertExtAttrObj, &certMatchParameters, &bResult); 155 CfResult ret = g_x509CertExtAttrObj->match(g_x509CertExtAttrObj, &matchParams, &bResult); 164 ret = g_x509CertExtAttrObj->match(g_x509CertExtAttrObj, &matchParams, &bResult); 170 ret = g_x509CertExtAttrObj->match(g_x509CertExtAttrObj, &matchParams, &bResult); 189 ret = g_x509CertExtAttrObj->match(g_x509CertExtAttrObj, &certMatchParameters, &bResult); 194 ret = g_x509CertExtAttrObj->match(g_x509CertExtAttrObj, &certMatchParameters, &bResult); 199 ret = g_x509CertExtAttrObj->match(g_x509CertExtAttrObj, &certMatchParameters, &bResult); 208 ret = g_x509CertExtAttrObj->match(g_x509CertExtAttrObj, &certMatchParameters, &bResult); 237 ret = g_x509CertExtAttrObj->match(g_x509CertExtAttrObj, &certMatchParameters, &bResult); 244 ret = g_x509CertExtAttrObj->match(g_x509CertExtAttrObj, &certMatchParameters, &bResult); [all …]
|
H A D | crypto_x509_crl_test_part2.cpp | 98 CfResult ret = g_x509Crl->match(nullptr, &matchParams, &bResult); 107 CfResult ret = g_x509Crl->match(g_x509Crl, nullptr, &bResult); 116 CfResult ret = g_x509Crl->match(g_x509Crl, &matchParams, nullptr); 139 CfResult ret = g_x509Crl->match(g_x509Crl, &matchParams, &bResult); 165 ret = x509Crl->match(x509Crl, &matchParams, &bResult); 184 ret = g_x509Crl->match(g_x509Crl, &matchParams, &bResult); 197 CfResult ret = g_x509Crl->match(g_x509Crl, &matchParams, &bResult); 218 CfResult ret = g_x509Crl->match(g_x509Crl, &matchParams, &bResult); 248 ret = x509Crl->match(x509Crl, &matchParams, &bResult); 323 ret = x509Crl->match(x509Crl, &matchParams, &bResult); [all …]
|
/ohos5.0/build/tools/component_tools/static_check/bundle_check/ |
H A D | bundle_check_common.py | 45 match = re.match(r'^[~]?(\d+)([a-zA-Z]*)$', string) 46 if not match: 48 return (float(match.group(1)), match.group(2)) 90 match_result = re.match(r'\s*sdk_version\s*=\s*"(\d+\.\d+).*"', line) 102 return re.match(r'^[a-z][a-z0-9_]{1,62}$', name) 109 return re.match(r'^@[a-z]+/([a-z][a-z0-9_]{1,62})$', name)
|
H A D | bundle_check_online.py | 65 match = re.match(r'"(\w+)"\s*:\s*"(.*)"', line) 66 if not match: 68 key = match.group(1) 69 value = match.group(2) 83 if not re.match(r'[a-z]+$', value): 139 match = re.match(r'^SystemCapability(\.[A-Z][a-zA-Z]{1,63}){2,6}$', value) 140 if not match:
|
/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/phone_number_recognition/src/ |
H A D | phone_number_matched.cpp | 73 for (auto& match : matchList) { in DealWithoutFixed() local 74 if (match == nullptr) continue; in DealWithoutFixed() 79 info.SetBegin(match->start()); in DealWithoutFixed() 80 info.SetEnd(match->end()); in DealWithoutFixed() 84 delete match; in DealWithoutFixed() 195 matchList.push_back(match); in AddPhoneNumber() 302 for (auto match : matchList) { in GetPossibleNumberInfos() local 331 delete match; in GetPossibleNumberInfos() 406 if (match == nullptr) { in HandleBorderRule() 430 match = rule->Handle(match, message); in HandleCodesRule() [all …]
|
/ohos5.0/build/hb/util/preloader/ |
H A D | parse_vendor_product_config.py | 28 match = feat.index("=") 29 if match <= 0: 32 key = feat[:match].strip() 33 val = feat[match + 1:].strip().strip('"') 38 elif re.match(r'[0-9]+', val): 55 match = feat.index("=") 56 key = feat[:match].strip() 57 val = feat[match + 1:].strip().strip('"') 62 elif re.match(r'[0-9]+', val):
|
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/ |
H A D | _o_h___predicates.md | 21 | [equalTo](_r_d_b.md#equalto) | Pointer to the function used to set a predicates object to match t… 22 …#notequalto) | Pointer to the function used to set a predicates object to match the field whose va… 27 | [isNull](_r_d_b.md#isnull-22) | Pointer to the function used to set a predicates object to match … 28 …d#isnotnull) | Pointer to the function used to set a predicates object to match the field whose va… 29 | [like](_r_d_b.md#like) | Pointer to the function used to set a predicates object to match a strin… 30 | [between](_r_d_b.md#between) | Pointer to the function used to set a predicates object to match t… 31 …#notbetween) | Pointer to the function used to set a predicates object to match the field whose va… 32 …greaterthan) | Pointer to the function used to set a predicates object to match the field with val… 33 | [lessThan](_r_d_b.md#lessthan) | Pointer to the function used to set a predicates object to match… 41 | [in](_r_d_b.md#in) | Pointer to the function used to set a predicates object to match the field w… [all …]
|
H A D | js-apis-data-ability.md | 71 | value | [ValueType](#valuetype) | Yes | Value to match the **DataAbilityPredicates**. | 100 | value | [ValueType](#valuetype) | Yes | Value to match the **DataAbilityPredicates**. | 214 Sets a **DataAbilityPredicates** object to match a string containing the specified value. 223 | value | string | Yes | Value to match the **DataAbilityPredicates**. | 252 | value | string | Yes | Value to match the **DataAbilityPredicates**. | 281 | value | string | Yes | Value to match the **DataAbilityPredicates**. | 299 Sets a **DataAbilityPredicates** object to match the field whose value is null. 325 Sets a **DataAbilityPredicates** object to match the field whose value is not null. 362 | value | string | Yes | Value to match the **DataAbilityPredicates**. | 389 | value | string | Yes | Value to match the **DataAbilityPredicates**. | [all …]
|
H A D | js-apis-data-dataSharePredicates-sys.md | 43 | value | [ValueType](js-apis-data-valuesBucket.md#valuetype) | Yes | Value to match.| 162 | value | string | Yes | Value to match.| 194 | value | string | Yes | Start value to match.| 226 | value | string | Yes | End value to match.| 245 Sets a **DataSharePredicates** object to match the data whose value is null. 276 Sets a **DataSharePredicates** object to match the data whose value is not null. 339 Sets a **DataSharePredicates** object to match the data that does not match the specified wildcard … 482 | value | [ValueType](js-apis-data-valuesBucket.md#valuetype) | Yes | Value to match.| 716 Sets a **DataSharePredicates** object to match the data with the specified key prefix. 728 | prefix | string | Yes | Key prefix to match.| [all …]
|
/ohos5.0/build/templates/rust/ |
H A D | run_build_script.py | 37 match = rustc_version.match(lines.rstrip()) 38 if match: 39 known_vars[match.group(1)] = match.group(2) 58 match = rustc_cfg.match(line.rstrip()) 59 if match: 60 flags = "%s--cfg\n%s\n" % (flags, match.group(1))
|
/ohos5.0/base/security/selinux_adapter/scripts/ |
H A D | build_contexts.py | 126 match = pattern.match(line_) 127 if match: 128 type_hash[match.group(1)].append(line_index) 198 match = pattern.match(line_) 199 if match: 201 line = match.group(1) + " u:r:" + match.group(5) + ":s0\n" 203 line = match.group(1) + " u:object_r:" + match.group(6) + ":s0\n"
|
/ohos5.0/build/tools/component_tools/static_check/ |
H A D | csct_online_prehandle.py | 62 if re.match(pattern, line) is None: 71 if re.match(pattern, line) is None: 77 res = re.match(pattern, line) 90 if control_block["match_flag"] is False or re.match(pattern, line) is None: 93 res = re.match(pattern, line) 102 if control_block["match_flag"] is False or re.match(pattern1, line) is None: 105 res = re.match(pattern2, line)
|
/ohos5.0/build/toolchain/ |
H A D | get_concurrent_links.py | 44 match = memtotal_re.match(line) 45 if not match: 47 return float(match.group(1)) * 2**10
|
/ohos5.0/docs/en/application-dev/web/ |
H A D | web-in-page-app-function-invoking.md | 147 "scheme": "resource", // Exact match. The value cannot be empty. 148 "host": "rawfile", // Exact match. The value cannot be empty. 153 "scheme": "https", // Exact match. The value cannot be empty. 154 "host": "xxx.com", // Exact match. The value cannot be empty. 164 "scheme": "https", // Exact match. The value cannot be empty. 165 "host": "xxx.com", // Exact match. The value cannot be empty. 171 "host": "rawfile", // Exact match. The value cannot be empty. 181 "scheme": "q", // Exact match. The value cannot be empty. 182 "host": "r", // Exact match. The value cannot be empty. 187 "scheme": "u", // Exact match. The value cannot be empty. [all …]
|
/ohos5.0/foundation/resourceschedule/ffrt/tools/ffrt_trace_process/ |
H A D | ffrt_trace_process.py | 54 match = m.group() 55 if '-' in match: 58 return int(match.split(')')[0].lstrip('(')) 69 match = m.group() 82 match = m.group() 84 … return int(match.strip().split('.')[0]) * int(1e6) + int(match.strip().rstrip(':').split('.')[-1]) 94 match = m.group() 96 return (match.split('|')[-2], int(match.split('|')[-1])) 101 match = m.group() 103 return (match.split('|')[-1].split(' ')[0], int(match.split(' ')[-1])) [all …]
|
/ohos5.0/drivers/hdf_core/framework/tools/idl-gen/ |
H A D | _header_parser.py | 71 tt = re.match(r".*enum *((\w+) *\*) *\w* *;", line) 76 tt = re.match(r".*(\[\w* *\(.*\) *]) *", line) 100 tt = re.match(r"(typedef )* *\w+ \( \* \) \(( .* )\)", params) 108 tt = re.match(" *(const )*(struct |enum |union )* *", params) 115 tt = re.match(r"((unsigned )*[a-zA-Z0-9_:]+( *\** *\**)) *", params) 122 tt = re.match("([a-zA-Z0-9_]+) *(,)", params) 159 tt = re.match(r"0x|0X|\(|-", v_value)
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | engine_helper.cpp | 115 std::pair<int32_t, int32_t> EngineHelper::StringToPair(const std::string& match) in StringToPair() argument 119 StringUtils::SplitStr(match, ":", arr); in StringToPair() 135 std::smatch match; in GetPositionOnJsCode() local 136 if (std::regex_search(stack, match, reg)) { in GetPositionOnJsCode() 137 return StringToPair(match[0].str()); in GetPositionOnJsCode()
|