Home
last modified time | relevance | path

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

/base/location/frameworks/native/source/
Dnapi_util.cpp140 napi_value eachObj; in GeoAddressesToJsObj() local
141 NAPI_CALL_BASE(env, napi_create_object(env, &eachObj), false); in GeoAddressesToJsObj()
142 SetValueDouble(env, "latitude", geoAddress->GetLatitude(), eachObj); in GeoAddressesToJsObj()
143 SetValueDouble(env, "longitude", geoAddress->GetLongitude(), eachObj); in GeoAddressesToJsObj()
144 SetValueUtf8String(env, "locale", geoAddress->locale_.c_str(), eachObj); in GeoAddressesToJsObj()
145 SetValueUtf8String(env, "placeName", geoAddress->placeName_.c_str(), eachObj); in GeoAddressesToJsObj()
146 SetValueUtf8String(env, "countryCode", geoAddress->countryCode_.c_str(), eachObj); in GeoAddressesToJsObj()
147 SetValueUtf8String(env, "countryName", geoAddress->countryName_.c_str(), eachObj); in GeoAddressesToJsObj()
148 … SetValueUtf8String(env, "administrativeArea", geoAddress->administrativeArea_.c_str(), eachObj); in GeoAddressesToJsObj()
149 …ValueUtf8String(env, "subAdministrativeArea", geoAddress->subAdministrativeArea_.c_str(), eachObj); in GeoAddressesToJsObj()
[all …]