Home
last modified time | relevance | path

Searched refs:location (Results 1 - 8 of 8) sorted by relevance

/drivers/hdf_core/framework/tools/hdi-gen/lexer/
H A Dtoken.cpp24 static_cast<size_t>(kind), location.row, location.col, value.c_str()); in Dump()
30 size_t index = token.location.filePath.rfind(SEPARATOR); in LocInfo()
32 (index == std::string::npos) ? token.location.filePath : token.location.filePath.substr(index + 1); in LocInfo()
33 return StringHelper::Format("%s:%zu:%zu", fileName.c_str(), token.location.row, token.location.col); in LocInfo()
H A Dtoken.h98 Location location; member
H A Dlexer.cpp187 token.location.row = file_->GetCharLineNumber(); in ReadToken()
188 token.location.col = file_->GetCharColumnNumber(); in ReadToken()
225 token.location.filePath = file_->GetPath(); in InitCurToken()
226 token.location.row = 1; in InitCurToken()
227 token.location.col = 1; in InitCurToken()
/drivers/peripheral/location/gnss/hdi_service/
H A Dgnss_interface_impl.cpp93 static void LocationUpdate(GnssLocation* location) in LocationUpdate() argument
95 if (location == nullptr) { in LocationUpdate()
96 HDF_LOGE("%{public}s:location is nullptr.", __func__); in LocationUpdate()
102 locationNew.fieldValidity = location->fieldValidity; in LocationUpdate()
103 locationNew.latitude = location->latitude; in LocationUpdate()
104 locationNew.longitude = location->longitude; in LocationUpdate()
105 locationNew.altitude = location->altitude; in LocationUpdate()
106 locationNew.horizontalAccuracy = location->horizontalAccuracy; in LocationUpdate()
107 locationNew.speed = location->speed; in LocationUpdate()
108 locationNew.bearing = location in LocationUpdate()
[all...]
H A Dlocation_vendor_lib.h373 * GNSS location structure.
406 /* Timestamp for the location fix. Number of milliseconds since January 1, 1970. */
477 * Callback for location reporting.
479 typedef void (*OnLocationChange)(GnssLocation* location);
537 * Indicates the method of location reporting,
590 * Callback for GNSS cache location information reporting.
609 * GNSS cached location callback functions.
766 * location - The current GNSS location.
770 typedef void (*OnGeofenceEventChange)(int32_t geofenceId, GnssLocation* location,
[all...]
/drivers/peripheral/camera/test/ut/v4l2/
H A Dtest_camera_base.cpp300 int32_t location = 0; in ProcessImage() local
315 location = (x + vinfo_.xoffset) * (vinfo_.bits_per_pixel / 8) + // 8: The bytes for each time in ProcessImage()
326 fbp[location + 1] = ((r & 0xF8) | (g >> 5)); // 5:display range in ProcessImage()
327 fbp[location + 0] = (((g & 0x1C) << 3) | (b >> 3)); // 3:display range in ProcessImage()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/main_test/
H A Dv4l2_main.cpp232 int32_t location = 0; in ProcessImage() local
244 location = (x + g_vInfo.xoffset) * (g_vInfo.bits_per_pixel / bitsPerByte) + in ProcessImage()
254 fbp[location + 0] = (((g & 0x1C) << 3) | (b >> 3)); // 3:8 bits in ProcessImage()
255 fbp[location + 1] = ((r & 0xF8) | (g >> 5)); // 5:32 bits in ProcessImage()
/drivers/peripheral/camera/test/ut/usb_camera/
H A Dtest_camera_base.cpp311 int32_t location = 0; in ProcessImage() local
326 location = (x + vinfo_.xoffset) * (vinfo_.bits_per_pixel / 8) + // 8: The bytes for each time in ProcessImage()
337 fbp[location + 1] = ((r & 0xF8) | (g >> 5)); // 5:display range in ProcessImage()
338 fbp[location + 0] = (((g & 0x1C) << 3) | (b >> 3)); // 3:display range in ProcessImage()

Completed in 10 milliseconds