Home
last modified time | relevance | path

Searched refs:matchResults (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/media_query/
H A Dmedia_queryer.cpp43 if (matchResults.size() != matchResultSize_) { in ParseCondition()
133matchResults[LEFT_RELATIONSHIP], StringToDouble(matchResults[LEFT_CONDITION_VALUE]), failReason) && in __anonba08be840202()
135matchResults[RIGHT_RELATIONSHIP], TransferValue(mediaFeatureValue, matchResults[RIGHT_UNIT]), in __anonba08be840202()
150 …TransferValue(mediaFeature->GetDouble(matchResults[MEDIA_FEATURE], NOT_FOUND), matchResults[UNIT]), in __anonba08be840302()
151 matchResults[RELATIONSHIP], StringToDouble(matchResults[CONDITION_VALUE]), failReason); in __anonba08be840302()
163 …return CalculateExpression(StringToDouble(matchResults[CONDITION_VALUE]), matchResults[RELATIONSHI… in __anonba08be840402()
164 …TransferValue(mediaFeature->GetDouble(matchResults[MEDIA_FEATURE], NOT_FOUND), matchResults[UNIT]), in __anonba08be840402()
178 if (matchResults[RELATIONSHIP] == "max") { in __anonba08be840502()
187 …TransferValue(mediaFeature->GetDouble(matchResults[MEDIA_FEATURE], NOT_FOUND), matchResults[UNIT]), in __anonba08be840502()
254 std::smatch matchResults; in ParseSingleCondition() local
[all …]
/ohos5.0/base/accesscontrol/sandbox_manager/services/sandbox_manager/main/cpp/src/service/
H A Dpolicy_info_manager.cpp537 std::vector<uint32_t> matchResults(policySize); in StartAccessingPolicy() local
538 int32_t ret = MatchPolicy(tokenId, policy, matchResults); in StartAccessingPolicy()
547 if (matchResults[i] == SandboxRetType::OPERATE_SUCCESSFULLY) { in StartAccessingPolicy()
550 results[i] = matchResults[i]; in StartAccessingPolicy()
587 std::vector<uint32_t> matchResults(policy.size()); in StopAccessingPolicy() local
588 int32_t ret = MatchPolicy(tokenId, policy, matchResults); in StopAccessingPolicy()
597 if (matchResults[i] == SandboxRetType::OPERATE_SUCCESSFULLY) { in StopAccessingPolicy()
600 results[i] = matchResults[i]; in StopAccessingPolicy()
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/ability_manager/
H A Djs_ability_manager.cpp220 std::match_results<std::string::const_iterator> matchResults; in CheckIsNumString() local
221 if (numStr.empty() || !std::regex_match(numStr, matchResults, regexJsperf)) { in CheckIsNumString()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_runtime.cpp298 std::match_results<std::string::const_iterator> matchResults; in JsperfProfilerCommandParse() local
299 if (!std::regex_match(jsPerfStr, matchResults, regexJsperf)) { in JsperfProfilerCommandParse()
307 if (matchResults.size() < PARAM_TWO) { in JsperfProfilerCommandParse()
312 jsperfResuflt = matchResults[matchResultIndex].str(); in JsperfProfilerCommandParse()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drender_text_field.cpp1490 std::wsmatch matchResults; in WstringSearch() local
1491 while (std::regex_search(wideText, matchResults, regex)) { in WstringSearch()
1492 for (auto&& mr : matchResults) { in WstringSearch()
1495 wideText = matchResults.suffix(); in WstringSearch()
/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/
H A Dability_command.cpp820 std::match_results<std::string::const_iterator> matchResults; in MatchOrderString() local
821 if (!std::regex_match(orderCmd, matchResults, regexScript)) { in MatchOrderString()
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dability_connect_manager.cpp2235 std::match_results<std::string::const_iterator> matchResults; in CheckIsNumString() local
2236 if (numStr.empty() || !std::regex_match(numStr, matchResults, regexJsperf)) { in CheckIsNumString()