Searched refs:longitude (Results 1 - 6 of 6) sorted by relevance
| /ide/tools/previewer/mock/lite/ |
| H A D | VirtualLocation.cpp | 114 double longitude = SharedData<double>::GetData(SharedDataType::LONGITUDE); in IsPostionChanged() local 116 if (std::abs(longitude - longitudeChecked) < pow(PRECISION_BASE_NUMBER, -SharedDataManager::POSITIONPRECISION) && in IsPostionChanged() 120 longitudeChecked = longitude; in IsPostionChanged()
|
| H A D | GeoLocation.cpp | 94 result->longitude = SharedData<double>::GetData(SharedDataType::LONGITUDE); in SerializeLocData()
|
| /ide/tools/previewer/test/fuzztest/commandparse_fuzzer/ |
| H A D | LiteCommandParseFuzzer.cpp | 33 {"Location", R"({"latitude":"10.9023142","longitude":"56.3043242"})"},
|
| /ide/tools/previewer/cli/ |
| H A D | CommandLine.cpp | 808 if (args.IsNull() || !args.IsMember("latitude") || !args.IsMember("longitude")) { in IsSetArgValid() 813 std::string longitude(args["longitude"].AsString()); in IsSetArgValid() 815 if (!regex_match(latitude, isDob) || !regex_match(longitude, isDob)) { in IsSetArgValid() 825 if (!SharedData<double>::IsValid(SharedDataType::LONGITUDE, atof(longitude.data()))) { in IsSetArgValid() 826 ELOG("LocationCommand invalid longitude value: %f", atof(longitude.data())); in IsSetArgValid() 834 double longitude = SharedData<double>::GetData(SharedDataType::LONGITUDE); in RunGet() local 838 resultContent.Add("longitude", longitude); in RunGet() [all...] |
| /ide/tools/previewer/test/unittest/cli/ |
| H A D | CommandLineTest.cpp | 885 std::string msg1 = R"({"latitude":"10.0","longitude":"abc"})"; in TEST_F() 891 args1.Replace("longitude", "10.0"); // 10.0 is test longitude value in TEST_F() 896 EXPECT_NE(latitude, -91.0); // -91 is test longitude value in TEST_F() 901 EXPECT_NE(latitude, 91); // 91 is test longitude value in TEST_F() 903 args1.Replace("longitude", "-181.0"); // -181 is test longitude value in TEST_F() 906 double longitude = SharedData<double>::GetData(SharedDataType::LONGITUDE); in TEST_F() local 907 EXPECT_NE(longitude, -181); // -181 is test longitude valu in TEST_F() 922 double longitude = SharedData<double>::GetData(SharedDataType::LONGITUDE); TEST_F() local [all...] |
| H A D | CommandLineInterfaceTest.cpp | 73 "longitude": 116.39647
|
Completed in 7 milliseconds