Home
last modified time | relevance | path

Searched refs:str16 (Results 1 - 18 of 18) sorted by relevance

/base/telephony/state_registry/frameworks/cj/src/
H A Dtelephony_observer_utils.cpp33 std::string ToUtf8(std::u16string str16) in ToUtf8() argument
37 std::string result = convert.to_bytes(str16); in ToUtf8()
H A Dtelephony_observer_utils.h38 std::string ToUtf8(std::u16string str16);
/base/customization/enterprise_device_management/common/native/src/
H A Dedm_utils.cpp49 std::string EdmUtils::Utf16ToUtf8(const std::u16string &str16) in Utf16ToUtf8() argument
51 if (str16 == ERROR_USTRING) { in Utf16ToUtf8()
55 std::string result = convert.to_bytes(str16); in Utf16ToUtf8()
/base/telephony/core_service/utils/common/src/
H A Dstr_convert.cpp27 std::string ToUtf8(std::u16string str16) in ToUtf8() argument
29 return std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t> {}.to_bytes(str16); in ToUtf8()
/base/telephony/sms_mms/utils/
H A Dstring_utils.cpp118 std::string StringUtils::ToUtf8(const std::u16string &str16) in ToUtf8() argument
120 if (str16.empty()) { in ToUtf8()
124 return Str16ToStr8(str16); in ToUtf8()
H A Dstring_utils.h31 static std::string ToUtf8(const std::u16string &str16);
/base/security/access_token/interfaces/innerkits/token_callback/src/
H A Dtoken_callback_stub.cpp33 static std::string to_utf8(std::u16string str16) in to_utf8() argument
35 return std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t> {}.to_bytes(str16); in to_utf8()
/base/customization/enterprise_device_management/common/native/include/
H A Dedm_utils.h30 static std::string Utf16ToUtf8(const std::u16string &str16);
/base/telephony/core_service/utils/common/include/
H A Dstr_convert.h24 std::string ToUtf8(std::u16string str16);
/base/telephony/sms_mms/services/sms/
H A Dsms_dump_helper.cpp37 static std::string to_utf8(std::u16string str16) in to_utf8() argument
39 return std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t> {}.to_bytes(str16); in to_utf8()
/base/location/services/location_gnss/gnss/source/
H A Dstring_utils.cpp120 std::string StringUtils::ToUtf8(const std::u16string &str16) in ToUtf8() argument
122 if (str16.empty()) { in ToUtf8()
126 return Str16ToStr8(str16); in ToUtf8()
/base/location/services/location_gnss/gnss/include/
H A Dstring_utils.h33 static std::string ToUtf8(const std::u16string &str16);
/base/telephony/core_service/services/core/src/
H A Dcore_service_dump_helper.cpp53 static std::string to_utf8(std::u16string str16) in to_utf8() argument
55 return std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t> {}.to_bytes(str16); in to_utf8()
/base/telephony/core_service/frameworks/cj/telephony_sim/src/
H A Dtelephony_sim_impl.cpp109 static std::string ToUtf8(std::u16string str16) in ToUtf8() argument
113 std::string result = convert.to_bytes(str16); in ToUtf8()
/base/telephony/core_service/frameworks/js/napi/
H A Dnapi_util.h32 static std::string ToUtf8(std::u16string str16);
H A Dnapi_util.cpp109 std::string NapiUtil::ToUtf8(std::u16string str16) in ToUtf8() argument
111 if (str16 == ERROR_USTRING) { in ToUtf8()
115 std::string result = convert.to_bytes(str16); in ToUtf8()
/base/telephony/core_service/frameworks/cj/telephony_radio/src/
H A Dtelephony_radio_impl.cpp169 static std::string ToUtf8(std::u16string str16) in ToUtf8() argument
173 std::string result = convert.to_bytes(str16); in ToUtf8()
/base/telephony/sms_mms/frameworks/js/napi/src/
H A Dnapi_sms.cpp1707 static std::string to_utf8(std::u16string str16) in to_utf8() argument
1709 return std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t> {}.to_bytes(str16); in to_utf8()

Completed in 10 milliseconds