/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/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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
D | tokenize.c | 26 void vp8_stuff_mb(VP8_COMP *cpi, MACROBLOCK *x, TOKENEXTRA **t) ; 113 TOKENEXTRA *t = *tp;/* store tokens starting here */ in tokenize2nd_order_b() local 131 t->Token = DCT_EOB_TOKEN; in tokenize2nd_order_b() 132 t->context_tree = cpi->common.fc.coef_probs [1] [0] [pt]; in tokenize2nd_order_b() 133 t->skip_eob_node = 0; in tokenize2nd_order_b() 136 t++; in tokenize2nd_order_b() 137 *tp = t; in tokenize2nd_order_b() 143 t->Extra = vp8_dct_value_tokens_ptr[v].Extra; in tokenize2nd_order_b() 145 t->Token = token; in tokenize2nd_order_b() 147 t->context_tree = cpi->common.fc.coef_probs [1] [0] [pt]; in tokenize2nd_order_b() [all …]
|
D | treewriter.h | 63 vp8_tree t, in vp8_treed_write() argument 75 i = t[i+b]; in vp8_treed_write() 82 vp8_tree t, in vp8_write_token() argument 87 vp8_treed_write(w, t, p, x->value, x->Len); in vp8_write_token() 91 vp8_tree t, in vp8_treed_cost() argument 104 i = t[i+b]; in vp8_treed_cost() 112 vp8_tree t, in vp8_cost_token() argument 117 return vp8_treed_cost(t, p, x->value, x->Len); in vp8_cost_token()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
D | treecoder.c | 21 vp8_tree t, in tree2tok() argument 32 const vp8_tree_index j = t[i++]; in tree2tok() 40 tree2tok(p, t, j, v, L); in tree2tok() 45 void vp8_tokens_from_tree(struct vp8_token_struct *p, vp8_tree t) in vp8_tokens_from_tree() argument 47 tree2tok(p, t, 0, 0, 0); in vp8_tokens_from_tree() 50 void vp8_tokens_from_tree_offset(struct vp8_token_struct *p, vp8_tree t, in vp8_tokens_from_tree_offset() argument 53 tree2tok(p - offset, t, 0, 0, 0); in vp8_tokens_from_tree_offset() 65 int t = 0; in branch_counts() local 73 branch_ct[t][0] = branch_ct[t][1] = 0; in branch_counts() 75 while (++t < tree_len); in branch_counts() [all …]
|
D | textblit.c | 69 int t; in vp8_blit_line() local 70 t = x0; in vp8_blit_line() 72 y0 = t; in vp8_blit_line() 74 t = x1; in vp8_blit_line() 76 y1 = t; in vp8_blit_line() 81 int t; in vp8_blit_line() local 82 t = x0; in vp8_blit_line() 84 x1 = t; in vp8_blit_line() 86 t = y0; in vp8_blit_line() 88 y1 = t; in vp8_blit_line()
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
D | maxds3231m.cxx | 47 upm::Time3231 t; in main() local 50 t.second = 1; in main() 51 t.minute = 3; in main() 52 t.hour = 3; in main() 53 t.day = 3; in main() 54 t.month = 3; in main() 55 t.year = 3; in main() 56 t.weekDay = 3; in main() 57 sensor->setDate (t); // Note, second should be set to 1. in main() 62 if (sensor->getDate (t)) { in main() [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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/ |
D | vpx_timer.h | 57 vpx_usec_timer_start(struct vpx_usec_timer *t) { in vpx_usec_timer_start() argument 59 QueryPerformanceCounter(&t->begin); in vpx_usec_timer_start() 61 gettimeofday(&t->begin, NULL); in vpx_usec_timer_start() 67 vpx_usec_timer_mark(struct vpx_usec_timer *t) { in vpx_usec_timer_mark() argument 69 QueryPerformanceCounter(&t->end); in vpx_usec_timer_mark() 71 gettimeofday(&t->end, NULL); in vpx_usec_timer_mark() 77 vpx_usec_timer_elapsed(struct vpx_usec_timer *t) { in vpx_usec_timer_elapsed() argument 81 diff.QuadPart = t->end.QuadPart - t->begin.QuadPart; in vpx_usec_timer_elapsed() 88 timersub(&t->end, &t->begin, &diff); in vpx_usec_timer_elapsed() 105 vpx_usec_timer_start(struct vpx_usec_timer *t) { } in vpx_usec_timer_start() argument [all …]
|
/hardware/intel/img/psb_video/src/ |
D | tng_ved_scaling.c | 118 IMG_UINT32 i, t; in tng_calculate_scaler_coeff() local 134 for (t = 0; t < T; t++) in tng_calculate_scaler_coeff() 136 flTable[t][i] = 0.0; in tng_calculate_scaler_coeff() 142 for (t = 0; t < T; t++) in tng_calculate_scaler_coeff() 144 flTable[t][i] = tng_calculate_coeff_sync_func((float)i, (float)t, in tng_calculate_scaler_coeff() 151 for (t = 0; t < ((T / 2) + (T % 2)); t++) in tng_calculate_scaler_coeff() 156 mT = ((T - 1) - t) + (I - i) / I; in tng_calculate_scaler_coeff() 159 ((t < ((T / 2) + (T % 2) - 1)) || ((I - i) > ((T % 2) * (I / 2))))) in tng_calculate_scaler_coeff() 161 flTable[mT][mI] = flTable[t][i]; in tng_calculate_scaler_coeff() 185 for (ftotal = 0,t = 0; t < T; t++) in tng_calculate_scaler_coeff() [all …]
|
/hardware/ril/reference-ril/ |
D | reference-ril.c | 170 static void onRequest (int request, void *data, size_t datalen, RIL_Token t); 173 static void onCancel (RIL_Token t); 196 #define RIL_onRequestComplete(t, e, response, responselen) s_rilenv->OnRequestComplete(t,e, respons… argument 367 static void requestRadioPower(void *data, size_t datalen, RIL_Token t) in requestRadioPower() argument 397 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0); in requestRadioPower() 401 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0); in requestRadioPower() 404 static void requestShutdown(RIL_Token t) in requestShutdown() argument 417 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0); in requestShutdown() 421 static void requestOrSendDataCallList(RIL_Token *t); 428 static void requestDataCallList(void *data __unused, size_t datalen __unused, RIL_Token t) in requestDataCallList() argument [all …]
|
/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/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()
|
/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/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/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/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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_textblit.c | 67 int t; in vp9_blit_line() local 68 t = x0; in vp9_blit_line() 70 y0 = t; in vp9_blit_line() 72 t = x1; in vp9_blit_line() 74 y1 = t; in vp9_blit_line() 78 int t; in vp9_blit_line() local 79 t = x0; in vp9_blit_line() 81 x1 = t; in vp9_blit_line() 83 t = y0; in vp9_blit_line() 85 y1 = t; in vp9_blit_line()
|
D | vp9_tapify.py | 25 def t(b,p,s): function 33 t4 = scale - t(ul,p,sum) - t(ur,p,sum) - t(ll,p,sum); 34 return [[ul,t(ul,p,sum)],[ur,t(ur,p,sum)], 35 [ll,t(ll,p,sum)],[lr,t4]] 47 for t in tps : 48 p,t = t 50 print " %2d, %2d, %5d, " % (tr,tc,t,),
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_tokenize.c | 112 TOKENVALUE *const t = dct_value_tokens + DCT_MAX_VALUE; in vp9_tokenize_initialize() local 131 t[i].token = --j; in vp9_tokenize_initialize() 134 t[i].token = a; in vp9_tokenize_initialize() 136 t[i].extra = eb; in vp9_tokenize_initialize() 142 const vp9_extra_bit *p = &vp9_extra_bits[t[i].token]; in vp9_tokenize_initialize() 145 const int extra = t[i].extra; in vp9_tokenize_initialize() 179 static INLINE void add_token(TOKENEXTRA **t, const vp9_prob *context_tree, in add_token() argument 183 (*t)->token = token; in add_token() 184 (*t)->extra = extra; in add_token() 185 (*t)->context_tree = context_tree; in add_token() [all …]
|
/hardware/qcom/display/msm8960/libtilerenderer/ |
D | tilerenderer.cpp | 59 int l = left, t = (height - bottom), w = (right - left), h = (bottom - top), preserve = 0; in startTileRendering() local 61 if (l < 0 || t < 0) { in startTileRendering() 63 t = (t < 0) ? 0 : t; in startTileRendering() 77 glStartTilingQCOM(l, t, w, h, GL_COLOR_BUFFER_BIT0_QCOM); in startTileRendering() 79 glStartTilingQCOM(l, t, w, h, GL_NONE); in startTileRendering()
|
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/ |
D | ThermalZoneMonitor.java | 29 private Thread t; field in ThermalZoneMonitor 37 t = new Thread(this, mThreadName); in ThermalZoneMonitor() 38 t.start(); in ThermalZoneMonitor() 43 t.interrupt(); in stopMonitor() 48 while (!stop && !t.isInterrupted()) { in run()
|
/hardware/intel/common/libmix/mix_audio/src/ |
D | mixacpaac.c | 138 MixAudioConfigParamsAAC *t = MIX_AUDIOCONFIGPARAMSAAC(target); in mix_acp_aac_copy() local 141 t->MPEG_id = s->MPEG_id; in mix_acp_aac_copy() 142 t->bit_stream_format = s->bit_stream_format; in mix_acp_aac_copy() 143 t->aac_profile = s->aac_profile; in mix_acp_aac_copy() 144 t->aot = s->aot; in mix_acp_aac_copy() 145 t->bit_rate_type = s->bit_rate_type; in mix_acp_aac_copy() 146 t->CRC = s->CRC; in mix_acp_aac_copy() 289 MixAudioConfigParamsAAC *t = MIX_AUDIOCONFIGPARAMSAAC(obj); in mix_aac_print_params() local 290 mix_log(MIX_AUDIO_COMP, MIX_LOG_LEVEL_INFO, "Mpeg ID: %d\n", t->MPEG_id); in mix_aac_print_params() 291 mix_log(MIX_AUDIO_COMP, MIX_LOG_LEVEL_INFO, "bit_stream_format: %d\n", t->bit_stream_format); in mix_aac_print_params() [all …]
|