/hardware/qcom/sdm845/gps/msm8994/utils/ |
D | loc_timer.c | 58 timer_data* t = (timer_data*)thread_data; in timer_thread() local 60 LOC_LOGD("%s:%d]: Enter. Delay = %d\n", __func__, __LINE__, t->time_msec); in timer_thread() 64 if(t->time_msec >= 1000) { in timer_thread() 65 ts.tv_sec += t->time_msec/1000; in timer_thread() 66 t->time_msec = t->time_msec % 1000; in timer_thread() 68 if(t->time_msec) in timer_thread() 69 ts.tv_nsec += t->time_msec * 1000000; in timer_thread() 80 pthread_mutex_lock(&(t->timer_mutex)); in timer_thread() 81 if (READY == t->state) { in timer_thread() 82 t->state = WAITING; in timer_thread() [all …]
|
/hardware/qcom/gps/msm8994/utils/ |
D | loc_timer.c | 58 timer_data* t = (timer_data*)thread_data; in timer_thread() local 60 LOC_LOGD("%s:%d]: Enter. Delay = %d\n", __func__, __LINE__, t->time_msec); in timer_thread() 64 if(t->time_msec >= 1000) { in timer_thread() 65 ts.tv_sec += t->time_msec/1000; in timer_thread() 66 t->time_msec = t->time_msec % 1000; in timer_thread() 68 if(t->time_msec) in timer_thread() 69 ts.tv_nsec += t->time_msec * 1000000; in timer_thread() 80 pthread_mutex_lock(&(t->timer_mutex)); in timer_thread() 81 if (READY == t->state) { in timer_thread() 82 t->state = WAITING; in timer_thread() [all …]
|
/hardware/qcom/gps/utils/ |
D | loc_timer.c | 58 timer_data* t = (timer_data*)thread_data; in timer_thread() local 60 LOC_LOGD("%s:%d]: Enter. Delay = %d\n", __func__, __LINE__, t->time_msec); in timer_thread() 64 if(t->time_msec >= 1000) { in timer_thread() 65 ts.tv_sec += t->time_msec/1000; in timer_thread() 66 t->time_msec = t->time_msec % 1000; in timer_thread() 68 if(t->time_msec) in timer_thread() 69 ts.tv_nsec += t->time_msec * 1000000; in timer_thread() 80 pthread_mutex_lock(&(t->timer_mutex)); in timer_thread() 81 if (READY == t->state) { in timer_thread() 82 t->state = WAITING; in timer_thread() [all …]
|
/hardware/qcom/sdm845/gps/utils/ |
D | loc_timer.c | 58 timer_data* t = (timer_data*)thread_data; in timer_thread() local 60 LOC_LOGD("%s:%d]: Enter. Delay = %d\n", __func__, __LINE__, t->time_msec); in timer_thread() 64 if(t->time_msec >= 1000) { in timer_thread() 65 ts.tv_sec += t->time_msec/1000; in timer_thread() 66 t->time_msec = t->time_msec % 1000; in timer_thread() 68 if(t->time_msec) in timer_thread() 69 ts.tv_nsec += t->time_msec * 1000000; in timer_thread() 80 pthread_mutex_lock(&(t->timer_mutex)); in timer_thread() 81 if (READY == t->state) { in timer_thread() 82 t->state = WAITING; in timer_thread() [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | miniopt.c | 41 miniopt_init(miniopt_t *t, const char* name, const char* flags, bool longflags) in miniopt_init() argument 45 memset(t, 0, sizeof(miniopt_t)); in miniopt_init() 46 t->name = name; in miniopt_init() 48 t->flags = null_flags; in miniopt_init() 50 t->flags = flags; in miniopt_init() 51 t->longflags = longflags; in miniopt_init() 57 miniopt(miniopt_t *t, char **argv) in miniopt() argument 63 t->consumed = 0; in miniopt() 64 t->positional = FALSE; in miniopt() 65 memset(t->key, 0, MINIOPT_MAXKEY); in miniopt() [all …]
|
/hardware/qcom/gps/msm8084/utils/ |
D | loc_timer.c | 58 timer_data* t = (timer_data*)thread_data; in timer_thread() local 60 LOC_LOGD("%s:%d]: Enter. Delay = %d\n", __func__, __LINE__, t->time_msec); in timer_thread() 64 if(t->time_msec >= 1000) { in timer_thread() 65 ts.tv_sec += t->time_msec/1000; in timer_thread() 66 t->time_msec = t->time_msec % 1000; in timer_thread() 68 if(t->time_msec) in timer_thread() 69 ts.tv_nsec += t->time_msec * 1000000; in timer_thread() 80 pthread_mutex_lock(&(t->timer_mutex)); in timer_thread() 81 if (READY == t->state) { in timer_thread() 82 t->state = WAITING; in timer_thread() [all …]
|
/hardware/qcom/sdm845/gps/msm8084/utils/ |
D | loc_timer.c | 58 timer_data* t = (timer_data*)thread_data; in timer_thread() local 60 LOC_LOGD("%s:%d]: Enter. Delay = %d\n", __func__, __LINE__, t->time_msec); in timer_thread() 64 if(t->time_msec >= 1000) { in timer_thread() 65 ts.tv_sec += t->time_msec/1000; in timer_thread() 66 t->time_msec = t->time_msec % 1000; in timer_thread() 68 if(t->time_msec) in timer_thread() 69 ts.tv_nsec += t->time_msec * 1000000; in timer_thread() 80 pthread_mutex_lock(&(t->timer_mutex)); in timer_thread() 81 if (READY == t->state) { in timer_thread() 82 t->state = WAITING; in timer_thread() [all …]
|
/hardware/qcom/msm8998/json-c/ |
D | linkhash.c | 432 struct lh_table *t; in lh_table_new() local 434 t = (struct lh_table*)calloc(1, sizeof(struct lh_table)); in lh_table_new() 435 if(!t) lh_abort("lh_table_new: calloc failed\n"); in lh_table_new() 436 t->count = 0; in lh_table_new() 437 t->size = size; in lh_table_new() 438 t->name = name; in lh_table_new() 439 t->table = (struct lh_entry*)calloc(size, sizeof(struct lh_entry)); in lh_table_new() 440 if(!t->table) lh_abort("lh_table_new: calloc failed\n"); in lh_table_new() 441 t->free_fn = free_fn; in lh_table_new() 442 t->hash_fn = hash_fn; in lh_table_new() [all …]
|
/hardware/qcom/sdm845/gps/msm8960/utils/ |
D | loc_timer.c | 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() [all …]
|
/hardware/qcom/gps/msm8960/utils/ |
D | loc_timer.c | 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() [all …]
|
/hardware/ril/reference-ril/ |
D | reference-ril.c | 184 static void onRequest (int request, void *data, size_t datalen, RIL_Token t); 187 static void onCancel (RIL_Token t); 210 #define RIL_onRequestComplete(t, e, response, responselen) s_rilenv->OnRequestComplete(t,e, respons… argument 447 static void requestRadioPower(void *data, size_t datalen __unused, RIL_Token t) in requestRadioPower() argument 477 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0); in requestRadioPower() 481 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0); in requestRadioPower() 484 static void requestShutdown(RIL_Token t) in requestShutdown() argument 497 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0); in requestShutdown() 501 static void requestOrSendDataCallList(RIL_Token *t); 508 static void requestDataCallList(void *data __unused, size_t datalen __unused, RIL_Token t) in requestDataCallList() argument [all …]
|
/hardware/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/ |
D | elapsed_millis_since_boot.cpp | 35 struct timeval t; in systemTime() local 36 t.tv_sec = t.tv_usec = 0; in systemTime() 37 gettimeofday(&t, NULL); in systemTime() 38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
|
/hardware/qcom/gps/msm8996/utils/platform_lib_abstractions/ |
D | elapsed_millis_since_boot.cpp | 35 struct timeval t; in systemTime() local 36 t.tv_sec = t.tv_usec = 0; in systemTime() 37 gettimeofday(&t, NULL); in systemTime() 38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
|
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/ |
D | elapsed_millis_since_boot.cpp | 35 struct timeval t; in systemTime() local 36 t.tv_sec = t.tv_usec = 0; in systemTime() 37 gettimeofday(&t, NULL); in systemTime() 38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
|
/hardware/qcom/sdm845/gps/msm8998/utils/platform_lib_abstractions/ |
D | elapsed_millis_since_boot.cpp | 35 struct timeval t; in systemTime() local 36 t.tv_sec = t.tv_usec = 0; in systemTime() 37 gettimeofday(&t, NULL); in systemTime() 38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
|
/hardware/qcom/sdm845/gps/platform_lib_abstractions/ |
D | elapsed_millis_since_boot.cpp | 35 struct timeval t; in systemTime() local 36 t.tv_sec = t.tv_usec = 0; in systemTime() 37 gettimeofday(&t, NULL); in systemTime() 38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
|
/hardware/qcom/gps/msm8909/utils/platform_lib_abstractions/ |
D | elapsed_millis_since_boot.cpp | 35 struct timeval t; in systemTime() local 36 t.tv_sec = t.tv_usec = 0; in systemTime() 37 gettimeofday(&t, NULL); in systemTime() 38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
|
/hardware/qcom/gps/msm8994/platform_lib_abstractions/ |
D | elapsed_millis_since_boot.cpp | 35 struct timeval t; in systemTime() local 36 t.tv_sec = t.tv_usec = 0; in systemTime() 37 gettimeofday(&t, NULL); in systemTime() 38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
|
/hardware/qcom/gps/msm8084/platform_lib_abstractions/ |
D | elapsed_millis_since_boot.cpp | 35 struct timeval t; in systemTime() local 36 t.tv_sec = t.tv_usec = 0; in systemTime() 37 gettimeofday(&t, NULL); in systemTime() 38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
|
/hardware/qcom/gps/platform_lib_abstractions/ |
D | elapsed_millis_since_boot.cpp | 35 struct timeval t; in systemTime() local 36 t.tv_sec = t.tv_usec = 0; in systemTime() 37 gettimeofday(&t, NULL); in systemTime() 38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
|
/hardware/qcom/sdm845/gps/msm8909/utils/platform_lib_abstractions/ |
D | elapsed_millis_since_boot.cpp | 35 struct timeval t; in systemTime() local 36 t.tv_sec = t.tv_usec = 0; in systemTime() 37 gettimeofday(&t, NULL); in systemTime() 38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
|
/hardware/qcom/sdm845/gps/msm8084/platform_lib_abstractions/ |
D | elapsed_millis_since_boot.cpp | 35 struct timeval t; in systemTime() local 36 t.tv_sec = t.tv_usec = 0; in systemTime() 37 gettimeofday(&t, NULL); in systemTime() 38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
|
/hardware/qcom/sdm845/gps/msm8994/platform_lib_abstractions/ |
D | elapsed_millis_since_boot.cpp | 35 struct timeval t; in systemTime() local 36 t.tv_sec = t.tv_usec = 0; in systemTime() 37 gettimeofday(&t, NULL); in systemTime() 38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
|
/hardware/qcom/sdm845/gps/msm8996/utils/platform_lib_abstractions/ |
D | elapsed_millis_since_boot.cpp | 35 struct timeval t; in systemTime() local 36 t.tv_sec = t.tv_usec = 0; in systemTime() 37 gettimeofday(&t, NULL); in systemTime() 38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
|
/hardware/qcom/sdm845/gps/msm8960/platform_lib_abstractions/ |
D | elapsed_millis_since_boot.cpp | 35 struct timeval t; in systemTime() local 36 t.tv_sec = t.tv_usec = 0; in systemTime() 37 gettimeofday(&t, NULL); in systemTime() 38 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
|