Home
last modified time | relevance | path

Searched defs:str16 (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/commonlibrary/c_utils/base/src/
H A Dunicode_ex.cpp122 int Utf16ToUtf8Length(const char16_t* str16, size_t str16Len) in Utf16ToUtf8Length()
180 char* Char16ToChar8(const char16_t* str16, size_t str16Len) in Char16ToChar8()
199 bool String16ToString8(const u16string& str16, string& str8) in String16ToString8()
331 char16_t* str16 = nullptr; in Char8ToChar16() local
350 bool String8ToString16(const string& str8, u16string& str16) in String8ToString16()
H A Dstring_ex.cpp269 string Str16ToStr8(const u16string& str16) in Str16ToStr8()
279 int GetUtf16ToUtf8Length(const u16string& str16) in GetUtf16ToUtf8Length()
289 int Char16ToChar8(const u16string& str16, char *buffer, int bufferLen) in Char16ToChar8()
/ohos5.0/base/telephony/core_service/utils/common/src/
H A Dstr_convert.cpp27 std::string ToUtf8(std::u16string str16) in ToUtf8()
/ohos5.0/base/telephony/sms_mms/services/sms/
H A Dsms_dump_helper.cpp37 static std::string to_utf8(std::u16string str16) in to_utf8()
/ohos5.0/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()
/ohos5.0/base/customization/enterprise_device_management/common/native/src/
H A Dedm_utils.cpp49 std::string EdmUtils::Utf16ToUtf8(const std::u16string &str16) in Utf16ToUtf8()
/ohos5.0/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()
/ohos5.0/base/telephony/sms_mms/utils/
H A Dstring_utils.cpp118 std::string StringUtils::ToUtf8(const std::u16string &str16) in ToUtf8()
/ohos5.0/base/location/services/location_gnss/gnss/source/
H A Dstring_utils.cpp120 std::string StringUtils::ToUtf8(const std::u16string &str16) in ToUtf8()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/
H A Dobex_utils.cpp263 std::string ObexUtils::UnicodeToUtf8(const std::u16string &str16) in UnicodeToUtf8()
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/common/src/
H A Dshared_block.cpp51 std::string SharedBlock::ToUtf8(const std::u16string& str16) in ToUtf8()
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/fuzztest/profileutils_fuzzer/
H A Dprofileutils_fuzzer.cpp289 std::u16string str16 = u"abc"; in ToStringFuzzTest() local
/ohos5.0/commonlibrary/ets_utils/js_api_module/buffer/
H A Dconverter.cpp110 u16string str16 = u""; in Utf16BEToLE() local
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_string_test.cpp491 u16string str16 = Str8ToStr16(strValue); variable
/ohos5.0/commonlibrary/ets_utils/platform/ohos/
H A Dutil_helper.cpp233 std::u16string str16 = u""; in Utf16BEToLE() local
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp719 std::string ProfileUtils::toString(const std::u16string& str16) in toString()
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/string_benchmark_test/
H A Dstring_benchmark_test.cpp595 u16string str16 = Str8ToStr16(strValue); in BENCHMARK_F() local
/ohos5.0/base/telephony/core_service/frameworks/js/napi/
H A Dnapi_util.cpp109 std::string NapiUtil::ToUtf8(std::u16string str16) in ToUtf8()
/ohos5.0/commonlibrary/ets_utils/js_api_module/buffer/test/
H A Dtest_napi.cpp1325 std::u16string str16 = OHOS::buffer::Utf8ToUtf16BE(str8, &isOk); variable
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dprofile_utils_test.cpp1148 u16string str16 = u"abc"; variable
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/stub/
H A Dnet_conn_service_stub.cpp182 std::string ToUtf8(std::u16string str16) in ToUtf8()
/ohos5.0/base/telephony/sms_mms/frameworks/js/napi/src/
H A Dnapi_sms.cpp1679 static std::string to_utf8(std::u16string str16) in to_utf8()