/ohos5.0/base/hiviewdfx/hiview/plugins/faultlogger/common/ |
H A D | faultlog_util.cpp | 135 std::vector<std::string> splitStr; in ExtractInfoFromFileName() local 137 StringUtil::SplitStr(fileName, "-", splitStr); in ExtractInfoFromFileName() 138 if (splitStr.size() == expectedVecSize) { in ExtractInfoFromFileName() 141 StringUtil::ConvertStringTo<int32_t>(splitStr[2], info.id); // 2 : index of uid in ExtractInfoFromFileName() 152 std::vector<std::string> splitStr; in ExtractInfoFromTempFile() local 154 StringUtil::SplitStr(fileName, "-", splitStr); in ExtractInfoFromTempFile() 155 if (splitStr.size() == expectedVecSize) { in ExtractInfoFromTempFile() 165 std::vector<std::string> splitStr; in RegulateModuleNameIfNeed() local 166 StringUtil::SplitStr(name, "/", splitStr); in RegulateModuleNameIfNeed() 167 auto size = splitStr.size(); in RegulateModuleNameIfNeed() [all …]
|
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/network/rule/ |
H A D | firewall_chain_rule.cpp | 81 std::string splitStr = ","; in Parameter() local 82 auto sidx = srcPort_.find(splitStr); in Parameter() 83 auto didx = destPort_.find(splitStr); in Parameter() 105 std::string splitStr = "-"; in IpToParameter() local 106 auto idx = ip.find(splitStr); in IpToParameter()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | js_card_parser.cpp | 694 } else if (StartWith(splitStr, "!{{") && EndWith(splitStr, "}}")) { in GetShownValue() 696 auto key = splitStr.substr(1, splitStr.size() - 1); in GetShownValue() 874 if (!StartWith(splitStr[0], "'") || !EndWith(splitStr[0], "'")) { in GetPlurals() 878 auto tempStr = splitStr[0].substr(1, splitStr[0].size() - 2); in GetPlurals() 1439 if ((GetAndParseProps(splitStr[0], propsJson) || GetVariable(splitStr[0])) && in ParseLogicalExpression() 1440 (GetAndParseProps(splitStr[1], propsJson) || GetVariable(splitStr[1]))) { in ParseLogicalExpression() 1441 value = (splitStr[0] == TRUE && splitStr[1] == TRUE) ? TRUE : FALSE; in ParseLogicalExpression() 1450 if ((GetAndParseProps(splitStr[0], propsJson) || GetVariable(splitStr[0])) && in ParseLogicalExpression() 1451 (GetAndParseProps(splitStr[1], propsJson) || GetVariable(splitStr[1]))) { in ParseLogicalExpression() 1452 value = (splitStr[0] == TRUE || splitStr[1] == TRUE) ? TRUE : FALSE; in ParseLogicalExpression() [all …]
|
H A D | js_card_parser.h | 138 …void LoadResImageUrl(const std::string& jsonFile, const std::string& splitStr, std::string& value);
|
/ohos5.0/foundation/communication/wifi/wifi/utils/src/ |
H A D | wifi_common_util.cpp | 611 std::string splitStr = input; in getAuthInfo() local 613 while ((pos = splitStr.find(delimiter)) != std::string::npos) { in getAuthInfo() 614 token = splitStr.substr(0, pos); in getAuthInfo() 617 splitStr.erase(0, pos + delimiter.length()); in getAuthInfo() 618 …GD("%{public}s token:%{private}s, splitStr:%{public}s", __func__, token.c_str(), splitStr.c_str()); in getAuthInfo() 621 results.push_back(splitStr); in getAuthInfo()
|
/ohos5.0/base/update/updateservice/foundations/ability/utils/include/ |
H A D | string_utils.h | 91 … static std::string GetLastSplitString(const std::string &stringName, const std::string &splitStr) in GetLastSplitString() argument 93 std::size_t found = stringName.find_last_of(splitStr); in GetLastSplitString()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_layout_algorithm.cpp | 364 std::string splitStr = contents[i]; in CreateParagraphDrag() local 365 if (splitStr.empty()) { in CreateParagraphDrag() 370 StringUtils::TransformStrCase(splitStr, static_cast<int32_t>(style.GetTextCase())); in CreateParagraphDrag() 371 paragraph->AddText(StringUtils::Str8ToStr16(splitStr)); in CreateParagraphDrag()
|
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/ |
H A D | iptables_rule_plugin.cpp | 259 std::string splitStr = "-"; in ConvertIpAddressCommand() local 260 std::string::size_type idx = ipAddress.find(splitStr); in ConvertIpAddressCommand()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_layout_algorithm.cpp | 847 std::string splitStr = contents[i]; in CreateParagraph() local 848 if (splitStr.empty()) { in CreateParagraph() 852 std::replace(splitStr.begin(), splitStr.end(), '\n', ' '); in CreateParagraph() 856 StringUtils::TransformStrCase(splitStr, static_cast<int32_t>(style.GetTextCase())); in CreateParagraph() 859 …FieldPattern::CreateObscuredText(static_cast<int32_t>(StringUtils::ToWstring(splitStr).length()))); in CreateParagraph() 861 paragraph_->AddText(StringUtils::Str8ToStr16(splitStr)); in CreateParagraph()
|
/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/src/ |
H A D | date_time_rule.cpp | 237 std::string splitStr = "|"; in Get() local 238 Split(result, splitStr, temps); in Get()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_base_utils.h | 97 static std::string GetRelativePath(const std::string& sources, std::string splitStr = "/\\");
|
H A D | jsi_base_utils.cpp | 547 std::string JsiBaseUtils::GetRelativePath(const std::string& sources, std::string splitStr) in GetRelativePath() argument 554 splitPos = temp.find_last_of(splitStr); in GetRelativePath()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_render_node.cpp | 854 std::string splitStr = ", "; in DumpDrawCmdModifiers() local 863 propertyDesc += splitStr; in DumpDrawCmdModifiers() 865 …modifierDesc += propertyDesc.substr(0, propertyDesc.length() - splitStr.length()) + "]" + splitStr; in DumpDrawCmdModifiers() 867 out += modifierDesc.substr(0, modifierDesc.length() - splitStr.length()) + "]"; in DumpDrawCmdModifiers() 875 std::string splitStr = ", "; in DumpModifiers() local 881 propertyDesc += splitStr; in DumpModifiers() 883 out += propertyDesc.substr(0, propertyDesc.length() - splitStr.length()) + "]"; in DumpModifiers()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_view_register.cpp | 518 std::vector<std::string> splitStr; in JsGetI18nResource() local 520 StringUtils::SplitStr(str, ".", splitStr); in JsGetI18nResource() 521 if (splitStr.size() != 2) { in JsGetI18nResource() 525 auto targetStringKey = splitStr[0]; in JsGetI18nResource() 526 auto targetStringKeyValue = splitStr[1]; in JsGetI18nResource()
|