Lines Matching refs:location

112                                const UlpLocation &location,
123 time_t utcTime(location.gpsLocation.timestamp/1000);
212 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING)
214 float magTrack = location.gpsLocation.bearing;
217 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation;
224 length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTrack);
239 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED)
241 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0);
242 float speedKmPerHour = location.gpsLocation.speed * 3.6;
259 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG))
287 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)
289 double latitude = location.gpsLocation.latitude;
290 double longitude = location.gpsLocation.longitude;
336 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED)
338 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0);
354 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING)
356 length = snprintf(pMarker, lengthRemaining, "%.1lf,", location.gpsLocation.bearing);
412 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG))
440 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)
442 double latitude = location.gpsLocation.latitude;
443 double longitude = location.gpsLocation.longitude;
490 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG))
539 if ((location.gpsLocation.flags & GPS_LOCATION_HAS_ALTITUDE) &&
543 location.gpsLocation.altitude - locationExtended.altitudeMeanSeaLevel);