Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 16 of 16) 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/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/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/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/sdm845/display/sdm/libs/core/fb/
Dhw_hdmi.cpp313 msm_hdmi_mode_timing_info *cur = &supported_video_modes_[i]; in GetDisplayAttributes() local
314 if (cur->video_format == hdmi_modes_[index]) { in GetDisplayAttributes()
315 timing_mode = cur; in GetDisplayAttributes()
366 msm_hdmi_mode_timing_info *cur = &supported_video_modes_[i]; in SetDisplayAttributes() local
367 if (cur->video_format == hdmi_modes_[index]) { in SetDisplayAttributes()
368 timing_mode = cur; in SetDisplayAttributes()
840 msm_hdmi_mode_timing_info *cur = NULL; in GetDynamicFrameRateMode() local
849 cur = timing_mode; in GetDynamicFrameRateMode()
854 if (cur == NULL) { in GetDynamicFrameRateMode()
859 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/interfaces/automotive/can/1.0/default/libnl++/protocols/
Dstructs.h29 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/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.cpp56 unsigned long cur = reinterpret_cast<unsigned long>(addr); in GetOffset() local
57 return static_cast<off_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()