Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 20 of 20) sorted by relevance

/hardware/qcom/sdm845/gps/msm8909/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGV("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/sdm845/gps/msm8996/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGV("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/sdm845/gps/msm8960/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGD("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/sdm845/gps/msm8084/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGD("%s: Received message 0x%p rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/sdm845/gps/msm8994/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGD("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/gps/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGD("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/gps/msm8084/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGD("%s: Received message 0x%p rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/gps/msm8996/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGV("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/gps/msm8909/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGV("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/gps/msm8960/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGD("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/sdm845/gps/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGD("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/sdm845/gps/sdm845/utils/
Dmsg_q.c186 msq_q_err_type rv; in msg_q_snd() local
210 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
219 return rv; in msg_q_snd()
229 msq_q_err_type rv; in msg_q_rcv() local
259 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
263 LOC_LOGV("%s: Received message %p rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
265 return rv; in msg_q_rcv()
275 msq_q_err_type rv; in msg_q_flush() local
289 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
295 return rv; in msg_q_flush()
DLocIpc.cpp223 ssize_t rv = ::sendto(fd, data + sentBytes, partLen, 0, in sendData() local
225 if (rv < 0) { in sendData()
230 sentBytes += rv; in sendData()
/hardware/qcom/gps/msm8994/utils/
Dmsg_q.c187 msq_q_err_type rv; in msg_q_snd() local
211 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
220 return rv; in msg_q_snd()
230 msq_q_err_type rv; in msg_q_rcv() local
262 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
266 LOC_LOGD("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
268 return rv; in msg_q_rcv()
278 msq_q_err_type rv; in msg_q_flush() local
292 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
298 return rv; in msg_q_flush()
/hardware/qcom/gps/msm8909w_3100/utils/
Dmsg_q.c186 msq_q_err_type rv; in msg_q_snd() local
210 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
219 return rv; in msg_q_snd()
229 msq_q_err_type rv; in msg_q_rcv() local
259 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
263 LOC_LOGV("%s: Received message %p rv = %d\n", __FUNCTION__, *msg_obj, rv); in msg_q_rcv()
265 return rv; in msg_q_rcv()
275 msq_q_err_type rv; in msg_q_flush() local
289 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
295 return rv; in msg_q_flush()
/hardware/qcom/sdm845/gps/msm8998/utils/
Dmsg_q.c186 msq_q_err_type rv; in msg_q_snd() local
210 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
219 return rv; in msg_q_snd()
229 msq_q_err_type rv; in msg_q_rcv() local
261 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
267 return rv; in msg_q_rcv()
277 msq_q_err_type rv; in msg_q_flush() local
291 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
297 return rv; in msg_q_flush()
/hardware/qcom/gps/msm8998/utils/
Dmsg_q.c186 msq_q_err_type rv; in msg_q_snd() local
210 rv = convert_linked_list_err_type(linked_list_add(p_msg_q->msg_list, msg_obj, dealloc)); in msg_q_snd()
219 return rv; in msg_q_snd()
229 msq_q_err_type rv; in msg_q_rcv() local
261 rv = convert_linked_list_err_type(linked_list_remove(p_msg_q->msg_list, msg_obj)); in msg_q_rcv()
267 return rv; in msg_q_rcv()
277 msq_q_err_type rv; in msg_q_flush() local
291 rv = convert_linked_list_err_type(linked_list_flush(p_msg_q->msg_list)); in msg_q_flush()
297 return rv; in msg_q_flush()
/hardware/qcom/sdm845/thermal/
Dthermal_common.c103 int rv; in read_line_from_file() local
111 rv = (int)strlen(buf); in read_line_from_file()
113 rv = ferror(fd); in read_line_from_file()
118 return rv; in read_line_from_file()
/hardware/invensense/65xx/libsensors_iio/
DMPLSensor.cpp259 inv_error_t rv; in MPLSensor() local
615 rv = inv_load_calibration(); in MPLSensor()
616 if(rv == INV_SUCCESS) { in MPLSensor()
635 LOGE("HAL:Could not open or load MPL calibration file (%d)", rv); in MPLSensor()
/hardware/invensense/6515/libsensors_iio/
DMPLSensor.cpp161 inv_error_t rv; in MPLSensor() local
546 rv = inv_load_calibration(); in MPLSensor()
547 if(rv == INV_SUCCESS) { in MPLSensor()
566 LOGE("HAL:Could not open or load MPL calibration file (%d)", rv); in MPLSensor()