/hardware/broadcom/wlan/bcm4329/dhdutil/ |
D | miniopt.c | 39 miniopt_init(miniopt_t *t, const char* name, const char* flags, bool longflags) in miniopt_init() argument 43 memset(t, 0, sizeof(miniopt_t)); in miniopt_init() 44 t->name = name; in miniopt_init() 46 t->flags = null_flags; in miniopt_init() 48 t->flags = flags; in miniopt_init() 49 t->longflags = longflags; in miniopt_init() 55 miniopt(miniopt_t *t, char **argv) in miniopt() argument 61 t->consumed = 0; in miniopt() 62 t->positional = FALSE; in miniopt() 63 memset(t->key, 0, MINIOPT_MAXKEY); in miniopt() [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/ril/reference-ril/ |
D | reference-ril.c | 162 static void onRequest (int request, void *data, size_t datalen, RIL_Token t); 165 static void onCancel (RIL_Token t); 188 #define RIL_onRequestComplete(t, e, response, responselen) s_rilenv->OnRequestComplete(t,e, respons… argument 345 static void requestRadioPower(void *data, size_t datalen, RIL_Token t) in requestRadioPower() argument 375 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0); in requestRadioPower() 379 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0); in requestRadioPower() 382 static void requestOrSendDataCallList(RIL_Token *t); 389 static void requestDataCallList(void *data, size_t datalen, RIL_Token t) in requestDataCallList() argument 391 requestOrSendDataCallList(&t); in requestDataCallList() 394 static void requestOrSendDataCallList(RIL_Token *t) in requestOrSendDataCallList() argument [all …]
|
/hardware/invensense/mlsdk/mllite/ |
D | ml_stored_data.c | 488 uint32_t t = 0; in inv_load_cal_V2() local 489 t += 16777216UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V2() 490 t += 65536UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V2() 491 t += 256u * ((uint32_t) calData[ptr++]); in inv_load_cal_V2() 492 t += (uint32_t) calData[ptr++]; in inv_load_cal_V2() 493 accel_bias[i] = (int32_t) t; in inv_load_cal_V2() 646 uint32_t t = 0; in inv_load_cal_V3() local 647 t += 16777216UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V3() 648 t += 65536UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V3() 649 t += 256u * ((uint32_t) calData[ptr++]); in inv_load_cal_V3() [all …]
|
D | compass.c | 164 static int init(yas_filter_handle_t *t) in init() argument 173 if (t == NULL) { in init() 178 adaptive_filter_init(&t->adap_filter[i], YAS_DEFAULT_FILTER_LEN, noise[i]); in init() 179 thresh_filter_init(&t->thresh_filter[i], YAS_DEFAULT_FILTER_THRESH); in init() 185 static int update(yas_filter_handle_t *t, float *input, float *output) in update() argument 189 if (t == NULL || input == NULL || output == NULL) { in update() 194 output[i] = adaptive_filter_filter(&t->adap_filter[i], input[i]); in update() 195 output[i] = thresh_filter_filter(&t->thresh_filter[i], output[i]); in update()
|
D | compass.h | 68 int (*init)(yas_filter_handle_t *t); 69 int (*update)(yas_filter_handle_t *t, float *input, float *output);
|
/hardware/qcom/display/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/libhardware_legacy/power/ |
D | power.c | 56 struct timespec t; in systemTime() local 57 t.tv_sec = t.tv_nsec = 0; in systemTime() 58 clock_gettime(CLOCK_MONOTONIC, &t); in systemTime() 59 return t.tv_sec*1000000000LL + t.tv_nsec; in systemTime()
|
/hardware/invensense/libsensors/ |
D | SensorBase.cpp | 85 struct timespec t; in getTimestamp() local 86 t.tv_sec = t.tv_nsec = 0; in getTimestamp() 87 clock_gettime(CLOCK_MONOTONIC, &t); in getTimestamp() 88 return int64_t(t.tv_sec)*1000000000LL + t.tv_nsec; in getTimestamp()
|
D | SensorBase.h | 42 static int64_t timevalToNano(timeval const& t) { in timevalToNano() argument 43 return t.tv_sec*1000000000LL + t.tv_usec*1000; in timevalToNano()
|
/hardware/invensense/libsensors_iio/ |
D | SensorBase.cpp | 91 struct timespec t; in getTimestamp() local 92 t.tv_sec = t.tv_nsec = 0; in getTimestamp() 93 clock_gettime(CLOCK_MONOTONIC, &t); in getTimestamp() 94 return int64_t(t.tv_sec) * 1000000000LL + t.tv_nsec; in getTimestamp()
|
D | SensorBase.h | 43 static int64_t timevalToNano(timeval const& t) { in timevalToNano() argument 44 return t.tv_sec * 1000000000LL + t.tv_usec * 1000; in timevalToNano()
|
/hardware/ril/libril/ |
D | ril.cpp | 515 int32_t t; in dispatchInts() local 517 status = p.readInt32(&t); in dispatchInts() 518 pInts[i] = (int)t; in dispatchInts() 519 appendPrintBuf("%s%d,", printBuf, t); in dispatchInts() 552 int32_t t; in dispatchSmsWrite() local 557 status = p.readInt32(&t); in dispatchSmsWrite() 558 args.status = (int)t; in dispatchSmsWrite() 603 int32_t t; in dispatchDial() local 611 status = p.readInt32(&t); in dispatchDial() 612 dial.clir = (int)t; in dispatchDial() [all …]
|
/hardware/msm7k/libcopybit/ |
D | copybit.cpp | 114 out->t = max(lhs->t, rhs->t); in intersect() 166 e->dst_rect.y = clip.t; in set_rects() 168 e->dst_rect.h = clip.b - clip.t; in set_rects() 172 e->src_rect.x = (clip.t - dst->t) + src->t; in set_rects() 174 e->src_rect.w = (clip.b - clip.t); in set_rects() 176 W = dst->b - dst->t; in set_rects() 180 e->src_rect.y = (clip.t - dst->t) + src->t; in set_rects() 182 e->src_rect.h = (clip.b - clip.t); in set_rects() 184 H = dst->b - dst->t; in set_rects() 187 MULDIV(&e->src_rect.y, &e->src_rect.h, src->b - src->t, H); in set_rects() [all …]
|
/hardware/qcom/display/libcopybit/ |
D | copybit.cpp | 117 out->t = max(lhs->t, rhs->t); in intersect() 165 e->dst_rect.y = clip.t; in set_rects() 167 e->dst_rect.h = clip.b - clip.t; in set_rects() 171 delta_x = (clip.t - dst->t); in set_rects() 173 e->src_rect.w = (clip.b - clip.t); in set_rects() 175 W = dst->b - dst->t; in set_rects() 179 delta_y = (clip.t - dst->t); in set_rects() 181 e->src_rect.h = (clip.b - clip.t); in set_rects() 183 H = dst->b - dst->t; in set_rects() 187 MULDIV(&delta_y, &e->src_rect.h, src->b - src->t, H); in set_rects() [all …]
|
D | copybit_priv.h | 46 rect->t = me->mRect.t; in iterate()
|
/hardware/ril/mock-ril/src/cpp/ |
D | mock_ril.cpp | 76 static void onRequest (int request, void *data, size_t datalen, RIL_Token t); 79 static void onCancel (RIL_Token t); 82 static void testOnRequestComplete(RIL_Token t, RIL_Errno e, 132 static void onRequest (int request, void *data, size_t datalen, RIL_Token t) in onRequest() argument 135 request, data, datalen, t); in onRequest() 136 s_requestWorkerQueue->AddRequest(request, data, datalen, t); in onRequest() 163 static void onCancel (RIL_Token t) in onCancel() argument 185 void testOnRequestComplete(RIL_Token t, RIL_Errno e, in testOnRequestComplete() argument 188 t, e, response, responselen); in testOnRequestComplete()
|
D | requests.cpp | 54 const void *data, const size_t datalen, const RIL_Token t) { in ReqWithNoData() argument 70 const void *data, const size_t datalen, const RIL_Token t) { in ReqEnterSimPin() argument 96 const void *data, const size_t datalen, const RIL_Token t) { in ReqDial() argument 101 DBG("data=%p datalen=%d t=%p", data, datalen, t); in ReqDial() 155 const void *data, const size_t datalen, const RIL_Token t) { in ReqHangUp() argument 181 const void *data, const size_t datalen, const RIL_Token t) { in ReqSeparateConnection() argument 209 const void *data, const size_t datalen, const RIL_Token t) { in ReqSetMute() argument 237 const void *data, const size_t datalen, const RIL_Token t) { in ReqScreenState() argument 243 data, datalen, t); in ReqScreenState() 267 const size_t datalen, const RIL_Token t); [all …]
|
/hardware/broadcom/wlan/bcm4329/dhdutil/include/proto/ |
D | vlan.h | 59 struct ethervlan_header t; \ 60 t = *(struct ethervlan_header *)(s); \ 61 *(struct ethervlan_header *)(d) = t; \
|
D | ethernet.h | 148 struct ether_header t; \ 149 t = *(struct ether_header *)(s); \ 150 *(struct ether_header *)(d) = t; \
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/ |
D | vlan.h | 59 struct ethervlan_header t; \ 60 t = *(struct ethervlan_header *)(s); \ 61 *(struct ethervlan_header *)(d) = t; \
|
D | ethernet.h | 150 struct ether_header t; \ 151 t = *(struct ether_header *)(s); \ 152 *(struct ether_header *)(d) = t; \
|
/hardware/qcom/camera/hdr/include/ |
D | morpho_rect_int.h | 26 #define morpho_RectInt_setRect(rect,l,t,r,b) do { \ argument 28 (rect)->sy=(t);\
|
/hardware/broadcom/wlan/bcm4329/dhdutil/include/ |
D | miniopt.h | 60 void miniopt_init(miniopt_t *t, const char* name, const char* flags, bool longflags); 61 int miniopt(miniopt_t *t, char **argv);
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | miniopt.h | 60 void miniopt_init(miniopt_t *t, const char* name, const char* flags, bool longflags); 61 int miniopt(miniopt_t *t, char **argv);
|