/hardware/qcom/gps/msm8084/utils/ |
msg_q.c | 100 msg_q* tmp_msg_q; local 101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); 102 if( tmp_msg_q == NULL ) 108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) 111 free(tmp_msg_q); 115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) 118 linked_list_destroy(&tmp_msg_q->msg_list); 119 free(tmp_msg_q); 123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) 126 linked_list_destroy(&tmp_msg_q->msg_list) [all...] |
/hardware/qcom/gps/msm8909/utils/ |
msg_q.c | 100 msg_q* tmp_msg_q; local 101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); 102 if( tmp_msg_q == NULL ) 108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) 111 free(tmp_msg_q); 115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) 118 linked_list_destroy(&tmp_msg_q->msg_list); 119 free(tmp_msg_q); 123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) 126 linked_list_destroy(&tmp_msg_q->msg_list) [all...] |
/hardware/qcom/gps/msm8960/utils/ |
msg_q.c | 100 msg_q* tmp_msg_q; local 101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); 102 if( tmp_msg_q == NULL ) 108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) 111 free(tmp_msg_q); 115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) 118 linked_list_destroy(&tmp_msg_q->msg_list); 119 free(tmp_msg_q); 123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) 126 linked_list_destroy(&tmp_msg_q->msg_list) [all...] |
/hardware/qcom/gps/msm8994/utils/ |
msg_q.c | 100 msg_q* tmp_msg_q; local 101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); 102 if( tmp_msg_q == NULL ) 108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) 111 free(tmp_msg_q); 115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) 118 linked_list_destroy(&tmp_msg_q->msg_list); 119 free(tmp_msg_q); 123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) 126 linked_list_destroy(&tmp_msg_q->msg_list) [all...] |
/hardware/qcom/gps/msm8996/utils/ |
msg_q.c | 100 msg_q* tmp_msg_q; local 101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); 102 if( tmp_msg_q == NULL ) 108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) 111 free(tmp_msg_q); 115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) 118 linked_list_destroy(&tmp_msg_q->msg_list); 119 free(tmp_msg_q); 123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) 126 linked_list_destroy(&tmp_msg_q->msg_list) [all...] |
/hardware/qcom/gps/utils/ |
msg_q.c | 100 msg_q* tmp_msg_q; local 101 tmp_msg_q = (msg_q*)calloc(1, sizeof(msg_q)); 102 if( tmp_msg_q == NULL ) 108 if( linked_list_init(&tmp_msg_q->msg_list) != 0 ) 111 free(tmp_msg_q); 115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) 118 linked_list_destroy(&tmp_msg_q->msg_list); 119 free(tmp_msg_q); 123 if( pthread_cond_init(&tmp_msg_q->list_cond, NULL) != 0 ) 126 linked_list_destroy(&tmp_msg_q->msg_list) [all...] |