Home
last modified time | relevance | path

Searched refs:r (Results 1 – 22 of 22) sorted by relevance

/hardware/ril/mock-ril/src/cpp/
Dworker.cpp154 struct WorkerQueue::Record *r = wq->delayed_q_.top(); in Worker() local
156 r->p, r->time); in Worker()
158 wq->q_.push_back(r); in Worker()
165 struct WorkerQueue::Record *r = wq->delayed_q_.top(); in Worker() local
166 int64_t delay_ms = r->time - now; in Worker()
169 r->p, r->time, delay_ms); in Worker()
179 struct WorkerQueue::Record *r = wq->q_.front(); in Worker() local
181 void *p = r->p; in Worker()
182 wq->release_record(r); in Worker()
184 wq->Process(r->p); in Worker()
[all …]
Dresponses.cpp141 const ril_proto::RilCardStatus& r = rsp->card_status(); in RspGetSimStatus() local
143 cardStatus.card_state = RIL_CardState(r.card_state()); in RspGetSimStatus()
144 cardStatus.universal_pin_state = RIL_PinState(r.universal_pin_state()); in RspGetSimStatus()
145 cardStatus.gsm_umts_subscription_app_index = r.gsm_umts_subscription_app_index(); in RspGetSimStatus()
146 cardStatus.ims_subscription_app_index = r.ims_subscription_app_index(); in RspGetSimStatus()
147 cardStatus.num_applications = r.num_applications(); in RspGetSimStatus()
149 cardStatus.applications[i].app_type = RIL_AppType(r.applications(i).app_type()); in RspGetSimStatus()
150 cardStatus.applications[i].app_state = RIL_AppState(r.applications(i).app_state()); in RspGetSimStatus()
152 RIL_PersoSubstate(r.applications(i).perso_substate()); in RspGetSimStatus()
153 cardStatus.applications[i].aid_ptr = const_cast<char *>(r.applications(i).aid().c_str()); in RspGetSimStatus()
[all …]
Dworker.h129 void release_record(struct Record *r);
/hardware/msm7k/dspcrashd/
Ddspcrashd.c97 int fd, r; in dump_dsp_state() local
108 r = read(dsp, buf, sizeof(buf)); in dump_dsp_state()
109 if (r == 0) break; in dump_dsp_state()
110 if (r < 0) { in dump_dsp_state()
115 write(fd, buf, r); in dump_dsp_state()
/hardware/msm7k/libcopybit/
Dcopybit.cpp115 out->r = min(lhs->r, rhs->r); in intersect()
167 e->dst_rect.w = clip.r - clip.l; in set_rects()
173 e->src_rect.y = (dst->r - clip.r) + src->l; in set_rects()
175 e->src_rect.h = (clip.r - clip.l); in set_rects()
177 H = dst->r - dst->l; in set_rects()
181 e->src_rect.w = (clip.r - clip.l); in set_rects()
183 W = dst->r - dst->l; in set_rects()
186 MULDIV(&e->src_rect.x, &e->src_rect.w, src->r - src->l, W); in set_rects()
366 if (src_rect->l < 0 || src_rect->r > src->w || in stretch_copybit()
/hardware/ti/omap4xxx/domx/make/
Dstart.mk76 MAKEFLAGS = r
Dbuild.mk231 $(AR) r $@ $(OBJECTS)
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/
DWmaDecTest.c112 int r; variable
1514 for(r=0;r<500;r++){ in main()
1516 if (lines[r]!=0){ in main()
1518 …printf(" --->%d Bytes allocated on %p File:%s Line: %d\n",bytes[r],arr[r],file[r],lines[r]); … in main()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c1813 int r; in bcm_bprintf() local
1816 r = vsnprintf(b->buf, b->size, fmt, ap); in bcm_bprintf()
1822 if ((r == -1) || (r >= (int)b->size) || (r == 0)) { in bcm_bprintf()
1825 b->size -= r; in bcm_bprintf()
1826 b->buf += r; in bcm_bprintf()
1831 return r; in bcm_bprintf()
/hardware/broadcom/wlan/bcm4329/dhdutil/
Dbcmutils.c1813 int r; in bcm_bprintf() local
1816 r = vsnprintf(b->buf, b->size, fmt, ap); in bcm_bprintf()
1822 if ((r == -1) || (r >= (int)b->size) || (r == 0)) { in bcm_bprintf()
1825 b->size -= r; in bcm_bprintf()
1826 b->buf += r; in bcm_bprintf()
1831 return r; in bcm_bprintf()
/hardware/libhardware/include/hardware/
Dhwcomposer.h96 uint8_t r; member
/hardware/qcom/media/mm-video/vidc/venc/src/
Domx_video_encoder.cpp87 int r; in component_init() local
379 r = pthread_create(&msg_thread_id,0,message_thread,this); in component_init()
381 if(r < 0) in component_init()
387 r = pthread_create(&async_thread_id,0,async_venc_message_thread,this); in component_init()
388 if(r < 0) in component_init()
Dvideo_encoder_device.cpp170 int r; in venc_open() local
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/
Ddriver_mac80211.c1101 struct wpa_scan_res *r; in wpa_driver_wext_add_scan_entry() local
1130 r = os_zalloc(sizeof(*r) + extra_len + data->ie_len); in wpa_driver_wext_add_scan_entry()
1131 if (r == NULL) { in wpa_driver_wext_add_scan_entry()
1134 os_memcpy(r, &data->res, sizeof(*r)); in wpa_driver_wext_add_scan_entry()
1135 r->ie_len = extra_len + data->ie_len; in wpa_driver_wext_add_scan_entry()
1136 pos = (u8 *) (r + 1); in wpa_driver_wext_add_scan_entry()
1163 os_free(r); in wpa_driver_wext_add_scan_entry()
1166 tmp[res->num++] = r; in wpa_driver_wext_add_scan_entry()
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/tests/
DAacEncTest.c139 int r=0; variable
2420 for(r=0;r<500;r++)
2422 if (lines[r]!=0){
2423 …APP_IPRINT(" --->%d Bytes allocated on %p File:%s Line: %d\n",bytes[r],arr[r],file[r],lines[r]); …
/hardware/invensense/libsensors/
DMPLSensor.cpp677 inv_error_t r; in rvHandler() local
679 r = inv_get_float_array(INV_QUATERNION, quat); in rvHandler()
681 if (r != INV_SUCCESS) { in rvHandler()
/hardware/ril/mock-ril/
DREADME.txt104 first changes to root, remounts r/w and copies some files.
/hardware/ti/wlan/wl1271/wpa_supplicant_lib/
Ddriver_ti.c39 #define TI_CHECK_DRIVER(f,r) \ argument
42 return( r ); \
/hardware/qcom/media/mm-video/vidc/vdec/src/
Domx_vdec.cpp810 int r; in component_init() local
1086 r = pthread_create(&msg_thread_id,0,message_thread,this); in component_init()
1088 if(r < 0) in component_init()
1095 r = pthread_create(&async_thread_id,0,async_message_thread,this); in component_init()
1096 if(r < 0) in component_init()
/hardware/broadcom/wlan/bcm4329/dhdutil/include/
Dbcmutils.h179 uint16 r; member
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmutils.h179 uint16 r; member
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
DG711DecTest.c100 int r; variable