Home
last modified time | relevance | path

Searched refs:converter (Results 1 – 6 of 6) sorted by relevance

/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/
Dsys_event_callback_ohos_test.cpp24 std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t> converter; in U16String2String() local
25 return converter.to_bytes(source); in U16String2String()
/base/telephony/call_manager/services/call/call_state_observer/src/
Dreject_call_sms.cpp50 std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t> converter; in ConvertToUtf16() local
51 return converter.from_bytes(str); in ConvertToUtf16()
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/
Dfaultlogger_service_ohos.cpp65 std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t> converter; in Dump() local
66 return converter.to_bytes(arg); in Dump()
/base/hiviewdfx/hiview/base/utility/include/
Dstring_util.h114 std::wstring_convert<std::codecvt_utf8_utf16<T>, T> converter; in ConvertToUTF8() local
115 std::string result = converter.to_bytes(source); in ConvertToUTF8()
/base/hiviewdfx/hilog/frameworks/libhilog/param/
Dproperties.cpp190 …CacheData(DataConverter converter, const T& defaultValue, PropType propType, const std::string& su… in CacheData() argument
191 …: m_value(defaultValue), m_defaultValue(defaultValue), m_propType(propType), m_converter(converter) in CacheData()
/base/telephony/sms_mms/test/unittest/
Dcdma_sms_test.cpp68 std::wstring_convert<std::codecvt_utf8<char32_t>, char32_t> converter; in UnicodeToString() local
71 u8str += converter.to_bytes(u8char); in UnicodeToString()