Home
last modified time | relevance | path

Searched refs:locale_ (Results 1 - 9 of 9) sorted by relevance

/base/location/services/location_geocode/geocode/source/
H A Dgeo_convert_request.cpp23 locale_ = ""; in GeoConvertRequest()
43 return locale_; in GetLocale()
48 locale_ = locale; in SetLocale()
184 parcel.WriteString16(Str8ToStr16(locale_)); // locale in Marshalling()
189 parcel.WriteString16(Str8ToStr16(locale_)); // locale in Marshalling()
215 locale_ = Str16ToStr8(parcel.ReadString16()); // locale in ReadFromParcel()
220 locale_ = Str16ToStr8(parcel.ReadString16()); // locale in ReadFromParcel()
/base/global/i18n/interfaces/js/kits/src/
H A Dintl_addon.cpp354 locale_ = std::make_unique<LocaleInfo>(localeTag, map); in InitLocaleContext()
356 return locale_ != nullptr; in InitLocaleContext()
677 if (status != napi_ok || !obj || !obj->locale_) { in GetLanguage()
681 std::string value = obj->locale_->GetLanguage(); in GetLanguage()
700 if (status != napi_ok || !obj || !obj->locale_) { in GetScript()
704 std::string value = obj->locale_->GetScript(); in GetScript()
723 if (status != napi_ok || !obj || !obj->locale_) { in GetRegion()
727 std::string value = obj->locale_->GetRegion(); in GetRegion()
746 if (status != napi_ok || !obj || !obj->locale_) { in GetBaseName()
750 std::string value = obj->locale_ in GetBaseName()
[all...]
/base/location/interfaces/inner_api/include/
H A Dgeo_address.h41 std::string locale_; member in OHOS::Location::GeoAddress
/base/location/frameworks/location_common/common/source/
H A Dgeo_address.cpp77 locale_ = Str16ToStr8(in.ReadString16()); in ReadFromParcel()
113 parcel.WriteString16(Str8ToStr16(locale_)); in Marshalling()
/base/location/services/location_geocode/geocode/include/
H A Dgeo_convert_request.h74 std::string locale_; member in OHOS::Location::GeoConvertRequest
/base/global/i18n/interfaces/js/kits/include/
H A Dintl_addon.h121 std::unique_ptr<LocaleInfo> locale_ = nullptr; member in OHOS::Global::I18n::IntlAddon
/base/location/frameworks/cj/source/
H A Dgeolocationmanager_utils.cpp152 eachObj.locale = MallocCString(geoAddress->locale_.c_str()); in ListGeoAddressToCJGeoAddressArr()
/base/location/frameworks/js/napi/source/
H A Dnapi_util.cpp186 SetValueUtf8String(env, "locale", geoAddress->locale_.c_str(), eachObj); in GeoAddressesToJsObj()
542 JsObjectToString(env, value, "locale", bufLen, address->locale_); in GetGeoAddressInfo()
/base/location/test/location_common/source/
H A Dlocation_common_test.cpp121 EXPECT_EQ("locale", geoAddress->locale_); in VerifyGeoAddressReadFromParcel()

Completed in 9 milliseconds