Searched refs:latitude (Results 1 – 3 of 3) sorted by relevance
/ide/tools/previewer/mock/lite/ |
D | VirtualLocation.cpp | 115 double latitude = SharedData<double>::GetData(SharedDataType::LATITUDE); in IsPostionChanged() local 117 …std::abs(latitude - latitudeChecked) < pow(PRECISION_BASE_NUMBER, -SharedDataManager::POSITIONPREC… in IsPostionChanged() 121 latitudeChecked = latitude; in IsPostionChanged()
|
D | GeoLocation.cpp | 95 result->latitude = SharedData<double>::GetData(SharedDataType::LATITUDE); in SerializeLocData()
|
/ide/tools/previewer/cli/ |
D | CommandLine.cpp | 792 string latitude(args["latitude"].asString()); in IsSetArgValid() local 795 if (!regex_match(latitude, isDob) || !regex_match(longitude, isDob)) { in IsSetArgValid() 800 if (!SharedData<double>::IsValid(SharedDataType::LATITUDE, atof(latitude.data()))) { in IsSetArgValid() 801 ELOG("LocationCommand invalid latitude value: %f", atof(latitude.data())); in IsSetArgValid() 815 double latitude = SharedData<double>::GetData(SharedDataType::LATITUDE); in RunGet() local 817 resultContent["latitude"] = latitude; in RunGet() 825 string latitude(args["latitude"].asString()); in RunSet() local 828 SharedData<double>::SetData(SharedDataType::LATITUDE, atof(latitude.data())); in RunSet() 831 …ILOG("Set location run finished, latitude: %s,longitude: %s", latitude.c_str(), longitude.c_str()); in RunSet()
|