Home
last modified time | relevance | path

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

/hardware/ril/reference-ril/
Datchannel.c301 static char * findNextEOL(char *cur) in findNextEOL() argument
303 if (cur[0] == '>' && cur[1] == ' ' && cur[2] == '\0') { in findNextEOL()
305 return cur+2; in findNextEOL()
309 while (*cur != '\0' && *cur != '\r' && *cur != '\n') cur++; in findNextEOL()
311 return *cur == '\0' ? NULL : cur; in findNextEOL()
479 size_t cur = 0; in writeline() local
492 while (cur < len) { in writeline()
494 written = write (s_fd, s + cur, len - cur); in writeline()
501 cur += written; in writeline()
518 size_t cur = 0; in writeCtrlZ() local
[all …]
Dreference-ril.c1907 size_t cur = 0; local
1923 while (cur < len) {
1925 written = write (fd, cmd + cur, len - cur);
1934 cur += written;
2557 const char ** cur; local
2562 for (i = (datalen / sizeof (char *)), cur = (const char **)data ;
2563 i > 0 ; cur++, i --) {
2564 RLOGD("> '%s'", *cur);
/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/google/gfxstream/guest/mesa/src/util/
Dlog.c154 char *cur; in logger_vasnprintf() member
159 .cur = buf, in logger_vasnprintf()
168 int ret = func(state.cur, state.rem, __VA_ARGS__); \ in logger_vasnprintf()
175 state.cur += ret; \ in logger_vasnprintf()
188 if (state.cur == buf || state.cur[-1] != '\n') in logger_vasnprintf()
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_hdmi.cpp306 msm_hdmi_mode_timing_info *cur = &supported_video_modes_[i]; in GetDisplayAttributes() local
307 if (cur->video_format == hdmi_modes_[index]) { in GetDisplayAttributes()
308 timing_mode = cur; in GetDisplayAttributes()
359 msm_hdmi_mode_timing_info *cur = &supported_video_modes_[i]; in SetDisplayAttributes() local
360 if (cur->video_format == hdmi_modes_[index]) { in SetDisplayAttributes()
361 timing_mode = cur; in SetDisplayAttributes()
819 msm_hdmi_mode_timing_info *cur = NULL; in GetDynamicFrameRateMode() local
828 cur = timing_mode; in GetDynamicFrameRateMode()
833 if (cur == NULL) { in GetDynamicFrameRateMode()
838 if (cur->refresh_rate != frame_rate_) { in GetDynamicFrameRateMode()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/
Dhw_hdmi.cpp318 msm_hdmi_mode_timing_info *cur = &supported_video_modes_[i]; in GetDisplayAttributes() local
319 if (cur->video_format == hdmi_modes_[index]) { in GetDisplayAttributes()
320 timing_mode = cur; in GetDisplayAttributes()
371 msm_hdmi_mode_timing_info *cur = &supported_video_modes_[i]; in SetDisplayAttributes() local
372 if (cur->video_format == hdmi_modes_[index]) { in SetDisplayAttributes()
373 timing_mode = cur; in SetDisplayAttributes()
831 msm_hdmi_mode_timing_info *cur = NULL; in GetDynamicFrameRateMode() local
840 cur = timing_mode; in GetDynamicFrameRateMode()
845 if (cur == NULL) { in GetDynamicFrameRateMode()
850 if (cur->refresh_rate != frame_rate_) { in GetDynamicFrameRateMode()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/core/fb/
Dhw_hdmi.cpp324 msm_hdmi_mode_timing_info *cur = &supported_video_modes_[i]; in GetDisplayAttributes() local
325 if (cur->video_format == hdmi_modes_[index]) { in GetDisplayAttributes()
326 timing_mode = cur; in GetDisplayAttributes()
377 msm_hdmi_mode_timing_info *cur = &supported_video_modes_[i]; in SetDisplayAttributes() local
378 if (cur->video_format == hdmi_modes_[index]) { in SetDisplayAttributes()
379 timing_mode = cur; in SetDisplayAttributes()
848 msm_hdmi_mode_timing_info *cur = NULL; in GetDynamicFrameRateMode() local
857 cur = timing_mode; in GetDynamicFrameRateMode()
862 if (cur == NULL) { in GetDynamicFrameRateMode()
867 if (cur->refresh_rate != frame_rate_) { in GetDynamicFrameRateMode()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/core/fb/
Dhw_hdmi.cpp320 msm_hdmi_mode_timing_info *cur = &supported_video_modes_[i]; in GetDisplayAttributes() local
321 if (cur->video_format == hdmi_modes_[index]) { in GetDisplayAttributes()
322 timing_mode = cur; in GetDisplayAttributes()
373 msm_hdmi_mode_timing_info *cur = &supported_video_modes_[i]; in SetDisplayAttributes() local
374 if (cur->video_format == hdmi_modes_[index]) { in SetDisplayAttributes()
375 timing_mode = cur; in SetDisplayAttributes()
847 msm_hdmi_mode_timing_info *cur = NULL; in GetDynamicFrameRateMode() local
856 cur = timing_mode; in GetDynamicFrameRateMode()
861 if (cur == NULL) { in GetDynamicFrameRateMode()
866 if (cur->refresh_rate != frame_rate_) { in GetDynamicFrameRateMode()
[all …]
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dstb_image.h4200 unsigned int cur, limit, old_limit; in stbi__zexpand() local
4203 cur = (unsigned int) (z->zout - z->zout_start); in stbi__zexpand()
4205 if (UINT_MAX - cur < (unsigned) n) return stbi__err("outofmem", "Out of memory"); in stbi__zexpand()
4206 while (cur + n > limit) { in stbi__zexpand()
4214 z->zout = q + cur; in stbi__zexpand()
4614 stbi_uc *cur = a->out + stride*j; in stbi__create_png_image_raw() local
4623cur += x*out_n - img_width_bytes; // store output to the rightmost img_len bytes, so we can decode… in stbi__create_png_image_raw()
4627 prior = cur - stride; // bugfix: need to compute this after 'cur +=' computation above in stbi__create_png_image_raw()
4635 case STBI__F_none : cur[k] = raw[k]; break; in stbi__create_png_image_raw()
4636 case STBI__F_sub : cur[k] = raw[k]; break; in stbi__create_png_image_raw()
[all …]
/hardware/google/gfxstream/third-party/stb/include/stb/
Dstb_image.h4207 unsigned int cur, limit, old_limit; in stbi__zexpand() local
4210 cur = (unsigned int) (z->zout - z->zout_start); in stbi__zexpand()
4212 if (UINT_MAX - cur < (unsigned) n) return stbi__err("outofmem", "Out of memory"); in stbi__zexpand()
4213 while (cur + n > limit) { in stbi__zexpand()
4221 z->zout = q + cur; in stbi__zexpand()
4621 stbi_uc *cur = a->out + stride*j; in stbi__create_png_image_raw() local
4630cur += x*out_n - img_width_bytes; // store output to the rightmost img_len bytes, so we can decode… in stbi__create_png_image_raw()
4634 prior = cur - stride; // bugfix: need to compute this after 'cur +=' computation above in stbi__create_png_image_raw()
4642 case STBI__F_none : cur[k] = raw[k]; break; in stbi__create_png_image_raw()
4643 case STBI__F_sub : cur[k] = raw[k]; break; in stbi__create_png_image_raw()
[all …]
/hardware/interfaces/automotive/can/1.0/default/libnl++/protocols/
Dstructs.h31 ss.seekp(-1, std::ios_base::cur); in arrayToStream()
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DStreamIoUtil.h82 if (in && out && way == std::ios_base::cur) {
91 case std::ios_base::cur:
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_hdmi.cpp231 msm_hdmi_mode_timing_info *cur = &supported_video_modes_[i]; in GetDisplayAttributes() local
232 if (cur->video_format == hdmi_modes_[index]) { in GetDisplayAttributes()
233 timing_mode = cur; in GetDisplayAttributes()
284 msm_hdmi_mode_timing_info *cur = &supported_video_modes_[i]; in SetDisplayAttributes() local
285 if (cur->video_format == hdmi_modes_[index]) { in SetDisplayAttributes()
286 timing_mode = cur; in SetDisplayAttributes()
/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/google/gfxstream/host/apigen-codec-common/X11/extensions/
Dextutil.h53 XExtDisplayInfo *cur; /* most recently used */ member
/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/msm8960/libexternal/
Dexternal.cpp607 const struct disp_mode_timing_type *cur = in setResolution() local
609 if (cur->video_format == ID) in setResolution()
610 mode = cur; in setResolution()
/hardware/google/graphics/common/libhwjpeg/
Dlibhwjpeg-exynos.cpp54 unsigned long cur = reinterpret_cast<unsigned long>(addr); in GetOffset() local
55 return static_cast<ptrdiff_t>(cur - beg); in GetOffset()
/hardware/qcom/display/msm8994/libhdmi/
Dhdmi.cpp531 const struct msm_hdmi_mode_timing_info *cur = in activateDisplay() local
533 if (cur->video_format == (uint32_t)mCurrentMode) { in activateDisplay()
534 mode = cur; in activateDisplay()
/hardware/interfaces/graphics/mapper/stable-c/vts/
DVtsHalGraphicsMapperStableC_TargetTest.cpp83 buf.seekp(-2, buf.cur); in toString()