Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 20 of 20) sorted by relevance

/hardware/ril/reference-ril/
Datchannel.c299 static char * findNextEOL(char *cur) in findNextEOL() argument
301 if (cur[0] == '>' && cur[1] == ' ' && cur[2] == '\0') { in findNextEOL()
303 return cur+2; in findNextEOL()
307 while (*cur != '\0' && *cur != '\r' && *cur != '\n') cur++; in findNextEOL()
309 return *cur == '\0' ? NULL : cur; in findNextEOL()
476 size_t cur = 0; in writeline() local
489 while (cur < len) { in writeline()
491 written = write (s_fd, s + cur, len - cur); in writeline()
498 cur += written; in writeline()
515 size_t cur = 0; in writeCtrlZ() local
[all …]
Dreference-ril.c1662 size_t cur = 0; local
1678 while (cur < len) {
1680 written = write (fd, cmd + cur, len - cur);
1689 cur += written;
2241 const char ** cur; local
2246 for (i = (datalen / sizeof (char *)), cur = (const char **)data ;
2247 i > 0 ; cur++, i --) {
2248 RLOGD("> '%s'", *cur);
/hardware/intel/common/libwsbm/src/
Dwsbm_mm.c170 wsbmMMPutBlock(struct _WsbmMMNode *cur) in wsbmMMPutBlock() argument
173 struct _WsbmMM *mm = cur->mm; in wsbmMMPutBlock()
174 struct _WsbmListHead *cur_head = &cur->ml_entry; in wsbmMMPutBlock()
185 prev_node->size += cur->size; in wsbmMMPutBlock()
199 next_node->size += cur->size; in wsbmMMPutBlock()
200 next_node->start = cur->start; in wsbmMMPutBlock()
206 cur->free = 1; in wsbmMMPutBlock()
207 WSBMLISTADD(&cur->fl_entry, &mm->fl_entry); in wsbmMMPutBlock()
209 WSBMLISTDEL(&cur->ml_entry); in wsbmMMPutBlock()
210 free(cur); in wsbmMMPutBlock()
Dwsbm_manager.c1060 struct _ValidateNode *node, *cur; in wsbmAddValidateItem() local
1067 cur = NULL; in wsbmAddValidateItem()
1077 cur = node; in wsbmAddValidateItem()
1082 if (!cur) { in wsbmAddValidateItem()
1083 cur = validateListAddNode(list, buf, hash, flags, mask); in wsbmAddValidateItem()
1084 if (!cur) in wsbmAddValidateItem()
1087 cur->func->clear(cur); in wsbmAddValidateItem()
1092 if (((cur->clr_flags | clr_flags) & WSBM_PL_MASK_MEM) == in wsbmAddValidateItem()
1100 if ((cur->set_flags | set_flags) & in wsbmAddValidateItem()
1101 (cur->clr_flags | clr_flags) & ~WSBM_PL_MASK_MEM) { in wsbmAddValidateItem()
[all …]
Dwsbm_mm.h70 extern void wsbmMMPutBlock(struct _WsbmMMNode *cur);
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
Dstorage_manager.c174 unsigned char *cur; in inv_save_mpl_states() local
179 cur = data + sizeof(struct data_header_t); in inv_save_mpl_states()
181 hd = (struct data_header_t *)cur; in inv_save_mpl_states()
182 cur += sizeof(struct data_header_t); in inv_save_mpl_states()
183 ds.save[kk](cur); in inv_save_mpl_states()
184 hd->checksum = inv_checksum(cur, ds.hd[kk].size); in inv_save_mpl_states()
187 cur += ds.hd[kk].size; in inv_save_mpl_states()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dstorage_manager.c178 unsigned char *cur; in inv_save_mpl_states() local
185 cur = data + sizeof(struct data_header_t); in inv_save_mpl_states()
187 hd = (struct data_header_t *)cur; in inv_save_mpl_states()
188 cur += sizeof(struct data_header_t); in inv_save_mpl_states()
189 ds.save[kk](cur); in inv_save_mpl_states()
190 hd->checksum = inv_checksum(cur, ds.hd[kk].size); in inv_save_mpl_states()
193 cur += ds.hd[kk].size; in inv_save_mpl_states()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dstorage_manager.c178 unsigned char *cur; in inv_save_mpl_states() local
185 cur = data + sizeof(struct data_header_t); in inv_save_mpl_states()
187 hd = (struct data_header_t *)cur; in inv_save_mpl_states()
188 cur += sizeof(struct data_header_t); in inv_save_mpl_states()
189 ds.save[kk](cur); in inv_save_mpl_states()
190 hd->checksum = inv_checksum(cur, ds.hd[kk].size); in inv_save_mpl_states()
193 cur += ds.hd[kk].size; in inv_save_mpl_states()
/hardware/intel/img/libdrm/libdrm/nouveau/
Dnouveau_pushbuf.h36 uint32_t *cur; member
51 *(chan->pushbuf->cur++) = (data); in OUT_RING()
57 memcpy(chan->pushbuf->cur, data, size * 4); in OUT_RINGp()
58 chan->pushbuf->cur += size; in OUT_RINGp()
123 nouveau_pushbuf_emit_reloc(chan, chan->pushbuf->cur++, bo, in OUT_RELOC()
132 nouveau_pushbuf_emit_reloc(chan, chan->pushbuf->cur++, bo, in OUT_RELOC2()
Dnouveau_pushbuf.c131 nvpb->current_offset = nvpb->base.cur - nvpb->pushbuf; in nouveau_pushbuf_space_call()
150 nvpb->base.cur = nvpb->pushbuf; in nouveau_pushbuf_space_call()
175 nvpb->base.cur = nvpb->pushbuf; in nouveau_pushbuf_space()
268 *(nvpb->base.cur++) = nvpb->cal_suffix0; in nouveau_pushbuf_flush()
269 *(nvpb->base.cur++) = nvpb->cal_suffix1; in nouveau_pushbuf_flush()
280 req.nr_dwords = (nvpb->base.cur - nvpb->pushbuf) - in nouveau_pushbuf_flush()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_dthread.c62 int cur; in sync_write() local
67 cur = c; in sync_write()
71 cur = sb_cols + nsync; in sync_write()
77 lf_sync->cur_sb_col[r] = cur; in sync_write()
/hardware/akm/AK8975_FS/libsensors/
Dsensors.cpp257 int64_t cur = mSensors[drv]->getDelay(handle); in setDelay_sub() local
262 if (cur != ns) { in setDelay_sub()
267 if (cur > ns) { in setDelay_sub()
/hardware/intel/img/libdrm/libdrm/
Dxf86drm.h487 int cur; \
489 cur = (*spin).lock; \
490 DRM_CAS(spin,cur,val,__ret); \
Dxf86drm.c1931 struct timespec timeout, cur; in drmWaitVBlank() local
1945 clock_gettime(CLOCK_MONOTONIC, &cur); in drmWaitVBlank()
1947 if (cur.tv_sec > timeout.tv_sec + 1 || in drmWaitVBlank()
1948 (cur.tv_sec == timeout.tv_sec && cur.tv_nsec >= in drmWaitVBlank()
/hardware/qcom/display/msm8084/libexternal/
Dexternal.cpp514 const struct msm_hdmi_mode_timing_info *cur = in setResolution() local
516 if (cur->video_format == (uint32_t)ID) { in setResolution()
517 mode = cur; in setResolution()
/hardware/qcom/display/msm8960/libexternal/
Dexternal.cpp608 const struct disp_mode_timing_type *cur = in setResolution() local
610 if (cur->video_format == ID) in setResolution()
611 mode = cur; in setResolution()
/hardware/qcom/display/msm8226/libexternal/
Dexternal.cpp514 const struct msm_hdmi_mode_timing_info *cur = in setResolution() local
516 if (cur->video_format == (uint32_t)ID) { in setResolution()
517 mode = cur; in setResolution()
/hardware/qcom/display/msm8974/libexternal/
Dexternal.cpp619 const struct msm_hdmi_mode_timing_info *cur = in setResolution() local
621 if (cur->video_format == (uint32_t)ID) { in setResolution()
622 mode = cur; in setResolution()
/hardware/samsung_slsi/exynos5/libcamera/
DExynosCameraHWInterface.cpp2828 ExynosBufferQueue *cur = m_oldPictureBufQueueHead; in m_previewThreadFunc() local
2830 if(cur->next == NULL) { in m_previewThreadFunc()
2831 cur->buf = m_pictureBuf; in m_previewThreadFunc()
2834 cur = cur->next; in m_previewThreadFunc()
2835 } while (cur->next); in m_previewThreadFunc()
3921 int cur = start; in m_getZoomRatioList() local
3925 sprintf(strBuf, "%d", cur); in m_getZoomRatioList()
3928 cur += step; in m_getZoomRatioList()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/src/
Dgtest-all.cc9274 const CharType cur = begin[index]; in PrintCharsAsStringTo() local
9275 if (is_previous_hex && IsXDigit(cur)) { in PrintCharsAsStringTo()
9281 is_previous_hex = PrintAsStringLiteralTo(cur, os) == kHexEscape; in PrintCharsAsStringTo()