Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 180) sorted by relevance

12345678

/hardware/qcom/gps/msm8994/utils/
Dloc_timer.c58 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/
Dloc_timer.c58 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/
Dminiopt.c41 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/
Dloc_timer.c58 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/msm8960/utils/
Dloc_timer.c51 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/img/psb_video/src/
Dtng_ved_scaling.c118 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/
Dreference-ril.c171 static void onRequest (int request, void *data, size_t datalen, RIL_Token t);
174 static void onCancel (RIL_Token t);
197 #define RIL_onRequestComplete(t, e, response, responselen) s_rilenv->OnRequestComplete(t,e, respons… argument
385 static void requestRadioPower(void *data, size_t datalen __unused, RIL_Token t) in requestRadioPower() argument
415 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0); in requestRadioPower()
419 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0); in requestRadioPower()
422 static void requestShutdown(RIL_Token t) in requestShutdown() argument
435 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0); in requestShutdown()
439 static void requestOrSendDataCallList(RIL_Token *t);
446 static void requestDataCallList(void *data __unused, size_t datalen __unused, RIL_Token t) in requestDataCallList() argument
[all …]
/hardware/qcom/gps/msm8994/platform_lib_abstractions/
Delapsed_millis_since_boot.cpp35 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/
Delapsed_millis_since_boot.cpp35 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/
Delapsed_millis_since_boot.cpp35 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/
Delapsed_millis_since_boot.cpp35 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/
Delapsed_millis_since_boot.cpp35 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/
Delapsed_millis_since_boot.cpp35 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/
Delapsed_millis_since_boot.cpp35 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/loc_stub/src/
Dloc_stub_time.cpp36 struct timeval t; in systemTime() local
37 t.tv_sec = t.tv_usec = 0; in systemTime()
38 gettimeofday(&t, NULL); in systemTime()
39 return t.tv_sec*1000000LL + t.tv_usec; in systemTime()
/hardware/qcom/display/msm8960/libtilerenderer/
Dtilerenderer.cpp59 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/
DThermalZoneMonitor.java29 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/
Dmixacpaac.c138 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 …]
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/
DHidParserExample2.cpp37 const TestHidDescriptor *t = findTestDescriptor("accel3"); in main() local
40 assert(t != nullptr); in main()
41 std::vector<unsigned char> descriptor(t->data, t->data + t->len); in main()
/hardware/akm/AK8975_FS/libsensors/
DSensorBase.cpp110 struct timespec t; in getTimestamp() local
111 t.tv_sec = t.tv_nsec = 0; in getTimestamp()
112 clock_gettime(CLOCK_MONOTONIC, &t); in getTimestamp()
113 return int64_t(t.tv_sec)*1000000000LL + t.tv_nsec; in getTimestamp()
/hardware/qcom/display/msm8996/libcopybit/
Dcopybit.cpp121 out->t = max(lhs->t, rhs->t); in intersect()
127 return ((rect->b > rect->t) && (rect->r > rect->l)) ; in validateCopybitRect()
182 e->dst_rect.y = clip.t; in set_rects()
184 e->dst_rect.h = clip.b - clip.t; in set_rects()
188 delta_x = (clip.t - dst->t); in set_rects()
190 e->src_rect.w = (clip.b - clip.t); in set_rects()
192 W = dst->b - dst->t; in set_rects()
196 delta_y = (clip.t - dst->t); in set_rects()
198 e->src_rect.h = (clip.b - clip.t); in set_rects()
200 H = dst->b - dst->t; in set_rects()
[all …]
/hardware/qcom/display/msm8909/libcopybit/
Dcopybit.cpp121 out->t = max(lhs->t, rhs->t); in intersect()
127 return ((rect->b > rect->t) && (rect->r > rect->l)) ; in validateCopybitRect()
179 e->dst_rect.y = clip.t; in set_rects()
181 e->dst_rect.h = clip.b - clip.t; in set_rects()
185 delta_x = (clip.t - dst->t); in set_rects()
187 e->src_rect.w = (clip.b - clip.t); in set_rects()
189 W = dst->b - dst->t; in set_rects()
193 delta_y = (clip.t - dst->t); in set_rects()
195 e->src_rect.h = (clip.b - clip.t); in set_rects()
197 H = dst->b - dst->t; in set_rects()
[all …]
/hardware/qcom/display/msm8998/libcopybit/
Dcopybit.cpp121 out->t = max(lhs->t, rhs->t); in intersect()
127 return ((rect->b > rect->t) && (rect->r > rect->l)) ; in validateCopybitRect()
184 e->dst_rect.y = clip.t; in set_rects()
186 e->dst_rect.h = clip.b - clip.t; in set_rects()
190 delta_x = (clip.t - dst->t); in set_rects()
192 e->src_rect.w = (clip.b - clip.t); in set_rects()
194 W = dst->b - dst->t; in set_rects()
198 delta_y = (clip.t - dst->t); in set_rects()
200 e->src_rect.h = (clip.b - clip.t); in set_rects()
202 H = dst->b - dst->t; in set_rects()
[all …]
/hardware/qcom/display/msm8994/libcopybit/
Dcopybit.cpp120 out->t = max(lhs->t, rhs->t); in intersect()
173 e->dst_rect.y = clip.t; in set_rects()
175 e->dst_rect.h = clip.b - clip.t; in set_rects()
179 delta_x = (clip.t - dst->t); in set_rects()
181 e->src_rect.w = (clip.b - clip.t); in set_rects()
183 W = dst->b - dst->t; in set_rects()
187 delta_y = (clip.t - dst->t); in set_rects()
189 e->src_rect.h = (clip.b - clip.t); in set_rects()
191 H = dst->b - dst->t; in set_rects()
195 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); in set_rects()
[all …]
/hardware/qcom/display/msm8226/libcopybit/
Dcopybit.cpp119 out->t = max(lhs->t, rhs->t); in intersect()
170 e->dst_rect.y = clip.t; in set_rects()
172 e->dst_rect.h = clip.b - clip.t; in set_rects()
176 delta_x = (clip.t - dst->t); in set_rects()
178 e->src_rect.w = (clip.b - clip.t); in set_rects()
180 W = dst->b - dst->t; in set_rects()
184 delta_y = (clip.t - dst->t); in set_rects()
186 e->src_rect.h = (clip.b - clip.t); in set_rects()
188 H = dst->b - dst->t; in set_rects()
192 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); in set_rects()
[all …]

12345678