Lines Matching refs:location

116                                const UlpLocation &location,
121 time_t utcTime(location.gpsLocation.timestamp/1000);
138 int utcMSeconds = (location.gpsLocation.timestamp)%1000;
220 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING)
222 float magTrack = location.gpsLocation.bearing;
225 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation;
232 length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTrack);
247 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED)
249 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0);
250 float speedKmPerHour = location.gpsLocation.speed * 3.6;
267 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG))
295 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)
297 double latitude = location.gpsLocation.latitude;
298 double longitude = location.gpsLocation.longitude;
344 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED)
346 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0);
362 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING)
364 length = snprintf(pMarker, lengthRemaining, "%.1lf,", location.gpsLocation.bearing);
420 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG))
448 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)
450 double latitude = location.gpsLocation.latitude;
451 double longitude = location.gpsLocation.longitude;
498 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG))
547 if ((location.gpsLocation.flags & GPS_LOCATION_HAS_ALTITUDE) &&
551 location.gpsLocation.altitude - locationExtended.altitudeMeanSeaLevel);