Lines Matching refs:t
51 timer_data t; in timer_thread() local
52 t.callback_func = ((timer_data *)thread_data)->callback_func; in timer_thread()
53 t.user_data = ((timer_data *)thread_data)->user_data; in timer_thread()
54 t.time_msec = ((timer_data *)thread_data)->time_msec; in timer_thread()
58 LOC_LOGD("%s:%d]: Enter. Delay = %d\n", __func__, __LINE__, t.time_msec); in timer_thread()
75 if(t.time_msec >= 1000) { in timer_thread()
76 ts.tv_sec += t.time_msec/1000; in timer_thread()
77 t.time_msec = t.time_msec % 1000; in timer_thread()
79 if(t.time_msec) in timer_thread()
80 ts.tv_nsec += t.time_msec * 1000000; in timer_thread()
110 t.callback_func(t.user_data, ret); in timer_thread()
119 timer_data *t=NULL; in loc_timer_start() local
128 t = (timer_data *)calloc(1, sizeof(timer_data)); in loc_timer_start()
129 if(t == NULL) { in loc_timer_start()
136 t->callback_func = cb_func; in loc_timer_start()
137 t->user_data = caller_data; in loc_timer_start()
138 t->time_msec = msec; in loc_timer_start()
142 if(pthread_create(&(id), &tattr, timer_thread, (void *)t)) { in loc_timer_start()