Home
last modified time | relevance | path

Searched refs:tmp_msg_q (Results 1 – 17 of 17) sorted by relevance

/hardware/qcom/sdm845/gps/msm8084/utils/
Dmsg_q.c100 msg_q* tmp_msg_q; in msg_q_init() local
101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); in msg_q_init()
102 if( tmp_msg_q == NULL ) in msg_q_init()
108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) in msg_q_init()
111 free(tmp_msg_q); in msg_q_init()
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
118 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
119 free(tmp_msg_q); in msg_q_init()
123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) in msg_q_init()
126 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
[all …]
/hardware/qcom/gps/msm8996/utils/
Dmsg_q.c100 msg_q* tmp_msg_q; in msg_q_init() local
101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); in msg_q_init()
102 if( tmp_msg_q == NULL ) in msg_q_init()
108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) in msg_q_init()
111 free(tmp_msg_q); in msg_q_init()
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
118 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
119 free(tmp_msg_q); in msg_q_init()
123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) in msg_q_init()
126 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
[all …]
/hardware/qcom/gps/msm8084/utils/
Dmsg_q.c100 msg_q* tmp_msg_q; in msg_q_init() local
101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); in msg_q_init()
102 if( tmp_msg_q == NULL ) in msg_q_init()
108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) in msg_q_init()
111 free(tmp_msg_q); in msg_q_init()
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
118 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
119 free(tmp_msg_q); in msg_q_init()
123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) in msg_q_init()
126 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
[all …]
/hardware/qcom/gps/msm8998/utils/
Dmsg_q.c99 msg_q* tmp_msg_q; in msg_q_init() local
100 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); in msg_q_init()
101 if( tmp_msg_q == NULL ) in msg_q_init()
107 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) in msg_q_init()
110 free(tmp_msg_q); in msg_q_init()
114 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
117 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
118 free(tmp_msg_q); in msg_q_init()
122 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) in msg_q_init()
125 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
[all …]
/hardware/qcom/sdm845/gps/sdm845/utils/
Dmsg_q.c99 msg_q* tmp_msg_q; in msg_q_init() local
100 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); in msg_q_init()
101 if( tmp_msg_q == NULL ) in msg_q_init()
107 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) in msg_q_init()
110 free(tmp_msg_q); in msg_q_init()
114 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
117 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
118 free(tmp_msg_q); in msg_q_init()
122 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) in msg_q_init()
125 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
[all …]
/hardware/qcom/gps/utils/
Dmsg_q.c100 msg_q* tmp_msg_q; in msg_q_init() local
101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); in msg_q_init()
102 if( tmp_msg_q == NULL ) in msg_q_init()
108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) in msg_q_init()
111 free(tmp_msg_q); in msg_q_init()
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
118 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
119 free(tmp_msg_q); in msg_q_init()
123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) in msg_q_init()
126 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
[all …]
/hardware/qcom/gps/msm8909w_3100/utils/
Dmsg_q.c99 msg_q* tmp_msg_q; in msg_q_init() local
100 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); in msg_q_init()
101 if( tmp_msg_q == NULL ) in msg_q_init()
107 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) in msg_q_init()
110 free(tmp_msg_q); in msg_q_init()
114 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
117 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
118 free(tmp_msg_q); in msg_q_init()
122 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) in msg_q_init()
125 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
[all …]
/hardware/qcom/gps/msm8909/utils/
Dmsg_q.c100 msg_q* tmp_msg_q; in msg_q_init() local
101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); in msg_q_init()
102 if( tmp_msg_q == NULL ) in msg_q_init()
108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) in msg_q_init()
111 free(tmp_msg_q); in msg_q_init()
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
118 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
119 free(tmp_msg_q); in msg_q_init()
123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) in msg_q_init()
126 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
[all …]
/hardware/qcom/sdm845/gps/utils/
Dmsg_q.c100 msg_q* tmp_msg_q; in msg_q_init() local
101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); in msg_q_init()
102 if( tmp_msg_q == NULL ) in msg_q_init()
108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) in msg_q_init()
111 free(tmp_msg_q); in msg_q_init()
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
118 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
119 free(tmp_msg_q); in msg_q_init()
123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) in msg_q_init()
126 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
[all …]
/hardware/qcom/sdm845/gps/msm8909/utils/
Dmsg_q.c100 msg_q* tmp_msg_q; in msg_q_init() local
101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); in msg_q_init()
102 if( tmp_msg_q == NULL ) in msg_q_init()
108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) in msg_q_init()
111 free(tmp_msg_q); in msg_q_init()
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
118 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
119 free(tmp_msg_q); in msg_q_init()
123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) in msg_q_init()
126 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
[all …]
/hardware/qcom/sdm845/gps/msm8998/utils/
Dmsg_q.c99 msg_q* tmp_msg_q; in msg_q_init() local
100 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); in msg_q_init()
101 if( tmp_msg_q == NULL ) in msg_q_init()
107 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) in msg_q_init()
110 free(tmp_msg_q); in msg_q_init()
114 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
117 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
118 free(tmp_msg_q); in msg_q_init()
122 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) in msg_q_init()
125 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
[all …]
/hardware/qcom/gps/msm8994/utils/
Dmsg_q.c100 msg_q* tmp_msg_q; in msg_q_init() local
101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); in msg_q_init()
102 if( tmp_msg_q == NULL ) in msg_q_init()
108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) in msg_q_init()
111 free(tmp_msg_q); in msg_q_init()
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
118 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
119 free(tmp_msg_q); in msg_q_init()
123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) in msg_q_init()
126 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
[all …]
/hardware/qcom/sdm845/gps/msm8996/utils/
Dmsg_q.c100 msg_q* tmp_msg_q; in msg_q_init() local
101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); in msg_q_init()
102 if( tmp_msg_q == NULL ) in msg_q_init()
108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) in msg_q_init()
111 free(tmp_msg_q); in msg_q_init()
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
118 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
119 free(tmp_msg_q); in msg_q_init()
123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) in msg_q_init()
126 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
[all …]
/hardware/qcom/sdm845/gps/msm8960/utils/
Dmsg_q.c100 msg_q* tmp_msg_q; in msg_q_init() local
101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); in msg_q_init()
102 if( tmp_msg_q == NULL ) in msg_q_init()
108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) in msg_q_init()
111 free(tmp_msg_q); in msg_q_init()
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
118 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
119 free(tmp_msg_q); in msg_q_init()
123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) in msg_q_init()
126 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
[all …]
/hardware/qcom/sdm845/gps/msm8994/utils/
Dmsg_q.c100 msg_q* tmp_msg_q; in msg_q_init() local
101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); in msg_q_init()
102 if( tmp_msg_q == NULL ) in msg_q_init()
108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) in msg_q_init()
111 free(tmp_msg_q); in msg_q_init()
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
118 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
119 free(tmp_msg_q); in msg_q_init()
123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) in msg_q_init()
126 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
[all …]
/hardware/qcom/gps/msm8960/utils/
Dmsg_q.c100 msg_q* tmp_msg_q; in msg_q_init() local
101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); in msg_q_init()
102 if( tmp_msg_q == NULL ) in msg_q_init()
108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) in msg_q_init()
111 free(tmp_msg_q); in msg_q_init()
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
118 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
119 free(tmp_msg_q); in msg_q_init()
123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) in msg_q_init()
126 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
[all …]
/hardware/qcom/sm8150/gps/utils/
Dmsg_q.c99 msg_q* tmp_msg_q; in msg_q_init() local
100 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); in msg_q_init()
101 if( tmp_msg_q == NULL ) in msg_q_init()
107 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) in msg_q_init()
110 free(tmp_msg_q); in msg_q_init()
114 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
117 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
118 free(tmp_msg_q); in msg_q_init()
122 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) in msg_q_init()
125 linked_list_destroy(&tmp_msg_q->msg_list); in msg_q_init()
[all …]