Lines Matching refs:location

116                                const UlpLocation &location,
127 time_t utcTime(location.gpsLocation.timestamp/1000);
216 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING)
218 float magTrack = location.gpsLocation.bearing;
221 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation;
228 length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTrack);
243 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED)
245 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0);
246 float speedKmPerHour = location.gpsLocation.speed * 3.6;
263 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG))
291 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)
293 double latitude = location.gpsLocation.latitude;
294 double longitude = location.gpsLocation.longitude;
340 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED)
342 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0);
358 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING)
360 length = snprintf(pMarker, lengthRemaining, "%.1lf,", location.gpsLocation.bearing);
416 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG))
444 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)
446 double latitude = location.gpsLocation.latitude;
447 double longitude = location.gpsLocation.longitude;
494 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG))
543 if ((location.gpsLocation.flags & GPS_LOCATION_HAS_ALTITUDE) &&
547 location.gpsLocation.altitude - locationExtended.altitudeMeanSeaLevel);