Searched refs:newString (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/base/telephony/cellular_call/services/utils/src/ |
H A D | standardize_utils.cpp | 23 std::string newString; in RemoveSeparatorsPhoneNumber() local 27 return newString; in RemoveSeparatorsPhoneNumber() 32 newString += c; in RemoveSeparatorsPhoneNumber() 36 return newString; in RemoveSeparatorsPhoneNumber() 45 std::string newString; in FormatNumberAndToa() local 48 newString += '+'; in FormatNumberAndToa() 50 newString += c; in FormatNumberAndToa() 53 newString = phoneNumber; in FormatNumberAndToa() 55 return newString; in FormatNumberAndToa()
|
/ohos5.0/base/telephony/call_manager/utils/src/ |
H A D | call_number_utils.cpp | 208 std::string newString; in RemoveSeparatorsPhoneNumber() local 211 return newString; in RemoveSeparatorsPhoneNumber() 215 newString += c; in RemoveSeparatorsPhoneNumber() 219 return newString; in RemoveSeparatorsPhoneNumber() 224 std::string newString = ""; in RemovePostDialPhoneNumber() local 227 return newString; in RemovePostDialPhoneNumber() 231 newString += c; in RemovePostDialPhoneNumber() 237 return newString; in RemovePostDialPhoneNumber()
|
/ohos5.0/foundation/ability/idl_tool/util/ |
H A D | string.cpp | 621 String newString(newSize); in operator +=() local 622 if (newString.string_ != nullptr) { in operator +=() 623 errno_t retMem = memcpy_s(newString.string_, newSize + 1, string_, thisSize); in operator +=() 627 errno_t ret = strcpy_s(newString.string_ + thisSize, newSize + 1 - thisSize, string); in operator +=() 632 return newString; in operator +=() 643 String newString(newSize); in operator +=() local 644 if (newString.string_ != nullptr) { in operator +=() 645 (void)memcpy_s(newString.string_, newSize + 1, string_, thisSize); in operator +=() 646 errno_t ret = strcpy_s(newString.string_ + thisSize, newSize + 1 - thisSize, other.string_); in operator +=() 651 return newString; in operator +=()
|
/ohos5.0/base/update/updateservice/foundations/ability/utils/include/ |
H A D | string_utils.h | 101 …eplaceStringAll(std::string &srcString, const std::string &subString, const std::string &newString) in ReplaceStringAll() argument 104 for (std::string::size_type pos = 0; pos != std::string::npos; pos += newString.length()) { in ReplaceStringAll() 107 resultString.replace(pos, subString.length(), newString); in ReplaceStringAll()
|
/ohos5.0/base/print/print_fwk/services/scan_service/src/ |
H A D | scan_usb_manager.cpp | 165 std::string newString = "0"; in FormatUsbPort() local 166 newString.append(port); in FormatUsbPort() 167 port = newString; in FormatUsbPort()
|
/ohos5.0/base/telephony/cellular_call/services/control/src/ |
H A D | cs_control.cpp | 518 std::string newString = standardizeUtils.FormatNumberAndToa(callInfo.number, callInfo.type); in EncapsulationCallReportInfo() local 526 size_t cpyLen = strlen(newString.c_str()) + 1; in EncapsulationCallReportInfo() 531 if (strcpy_s(callReportInfo.accountNum, cpyLen, newString.c_str()) != EOK) { in EncapsulationCallReportInfo()
|
H A D | ims_control.cpp | 491 std::string newString = standardizeUtils.FormatNumberAndToa(phoneNumber, callInfo.toa); in EncapsulationCallReportInfo() local 492 size_t cpyLen = strlen(newString.c_str()) + 1; in EncapsulationCallReportInfo() 497 if (strcpy_s(callReportInfo.accountNum, cpyLen, newString.c_str()) != EOK) { in EncapsulationCallReportInfo()
|
/ohos5.0/commonlibrary/ets_utils/js_util_module/util/src/ |
H A D | util_js.ts | 89 let newString: string = ''; 100 newString = newString + temp + '\r\n'; 103 return newString;
|