Lines Matching refs:location

112                                const UlpLocation &location,
117 time_t utcTime(location.gpsLocation.timestamp/1000);
215 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING)
217 float magTrack = location.gpsLocation.bearing;
220 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation;
227 length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTrack);
242 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED)
244 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0);
245 float speedKmPerHour = location.gpsLocation.speed * 3.6;
262 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG))
290 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)
292 double latitude = location.gpsLocation.latitude;
293 double longitude = location.gpsLocation.longitude;
339 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED)
341 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0);
357 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING)
359 length = snprintf(pMarker, lengthRemaining, "%.1lf,", location.gpsLocation.bearing);
415 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG))
443 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)
445 double latitude = location.gpsLocation.latitude;
446 double longitude = location.gpsLocation.longitude;
493 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG))
542 if ((location.gpsLocation.flags & GPS_LOCATION_HAS_ALTITUDE) &&
546 location.gpsLocation.altitude - locationExtended.altitudeMeanSeaLevel);