Home
last modified time | relevance | path

Searched refs:tempList (Results 1 - 5 of 5) sorted by relevance

/base/global/i18n/frameworks/intl/entity_recognition/phone_number_recognition/src/
H A Dregex_rule.cpp386 std::vector<MatchedNumberInfo> tempList = GetNumbersWithSlant(number); in HandleSlant() local
387 // 2 is the size of tempList. in HandleSlant()
388 if (tempList.size() == 2 && start == 1) { in HandleSlant()
391 if (tempList.size() > 0) { in HandleSlant()
392 matchedNumberInfo.SetBegin(tempList[0].GetBegin() + start + possibleNumber->start()); in HandleSlant()
393 matchedNumberInfo.SetEnd(tempList[0].GetEnd() + possibleNumber->start()); in HandleSlant()
394 icu::UnicodeString contentFirst = tempList[0].GetContent(); in HandleSlant()
397 // 2 is the size of tempList. in HandleSlant()
398 if (tempList.size() == 2) { in HandleSlant()
399 numberInfo.SetBegin(tempList[ in HandleSlant()
[all...]
H A Dpositive_rule.cpp197 std::vector<MatchedNumberInfo> tempList = GetNumbersWithSlant(number); in HandleSlant() local
198 // 2 is the size of tempList. in HandleSlant()
199 if (tempList.size() == 2 && start == 1) { in HandleSlant()
202 if (tempList.size() > 0) { in HandleSlant()
203 matchedNumberInfo.SetBegin(tempList[0].GetBegin() + start + possibleNumber->start()); in HandleSlant()
204 matchedNumberInfo.SetEnd(tempList[0].GetEnd() + possibleNumber->start()); in HandleSlant()
205 icu::UnicodeString contentFirst = tempList[0].GetContent(); in HandleSlant()
208 // 2 is the size of tempList. in HandleSlant()
209 if (tempList.size() == 2) { in HandleSlant()
210 numberInfo.SetBegin(tempList[ in HandleSlant()
[all...]
/base/useriam/user_auth_framework/services/context/src/
H A Dwidget_client.cpp275 std::vector<AuthType> tempList = notice.AuthTypeList(); in GetAuthTypeList() local
276 if (tempList.empty()) { in GetAuthTypeList()
280 if (tempList.size() == 1 && tempList[0] == AuthType::ALL) { in GetAuthTypeList()
288 for (auto &type : tempList) { in GetAuthTypeList()
/base/global/i18n/interfaces/js/kits/src/
H A Di18n_timezone_addon.cpp286 std::vector<std::string> tempList = I18nTimeZone::GetTimezoneIdByLocation(x, y); in GetTimezonesByLocation() local
287 for (size_t i = 0; i < tempList.size(); i++) { in GetTimezonesByLocation()
289 status = napi_create_string_utf8(env, tempList[i].c_str(), NAPI_AUTO_LENGTH, &timezoneId); in GetTimezonesByLocation()
/base/customization/enterprise_device_management/interfaces/kits/network_manager/src/
H A Dnetwork_manager_addon.cpp1021 std::list<std::string> tempList = httpProxy.GetExclusionList(); in ConvertHttpProxyToJS() local
1022 NAPI_CALL(env, napi_create_array_with_length(env, tempList.size(), &list)); in ConvertHttpProxyToJS()
1024 for (const auto &item : tempList) { in ConvertHttpProxyToJS()

Completed in 6 milliseconds