Home
last modified time | relevance | path

Searched refs:buf_size (Results 1 – 25 of 74) sorted by relevance

123

/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Dread_device_node.c79 int buf_size, read_size; in read_data() local
111 buf_size = ind - (dptr - data); in read_data()
113 while ((buf_size > 0) && (!done_flag)) { in read_data()
120 if (buf_size >= 16) { in read_data()
128 if (buf_size >= 16) { in read_data()
136 if (buf_size >= 16) { in read_data()
144 if (buf_size >= 16) { in read_data()
152 if (buf_size >= 16) { in read_data()
160 if (buf_size >= 24) { in read_data()
171 if (buf_size >= 24) { in read_data()
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_sock.c118 size_t buf_size, in mm_camera_socket_sendmsg() argument
135 iov[0].iov_len = buf_size; in mm_camera_socket_sendmsg()
179 size_t buf_size, in mm_camera_socket_bundle_sendmsg() argument
198 iov[0].iov_len = buf_size; in mm_camera_socket_bundle_sendmsg()
243 uint32_t buf_size, in mm_camera_socket_recvmsg() argument
253 if ( (msg == NULL) || (buf_size <= 0) ) { in mm_camera_socket_recvmsg()
265 iov[0].iov_len = buf_size; in mm_camera_socket_recvmsg()
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera_sock.h57 size_t buf_size,
63 size_t buf_size,
70 uint32_t buf_size,
/hardware/qcom/gps/msm8084/utils/
Dloc_log.cpp169 char *loc_get_time(char *time_string, unsigned long buf_size) in loc_get_time() argument
179 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
228 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
237 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
Dloc_log.h62 extern char *loc_get_time(char *time_string, unsigned long buf_size);
/hardware/qcom/gps/utils/
Dloc_log.cpp170 char *loc_get_time(char *time_string, unsigned long buf_size) in loc_get_time() argument
180 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
229 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
238 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
Dloc_log.h62 extern char *loc_get_time(char *time_string, unsigned long buf_size);
/hardware/qcom/gps/msm8994/utils/
Dloc_log.cpp170 char *loc_get_time(char *time_string, unsigned long buf_size) in loc_get_time() argument
180 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
229 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
238 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
Dloc_log.h62 extern char *loc_get_time(char *time_string, unsigned long buf_size);
/hardware/qcom/gps/msm8960/utils/
Dloc_log.cpp169 char *loc_get_time(char *time_string, unsigned long buf_size) in loc_get_time() argument
179 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
222 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
231 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
Dloc_log.h62 extern char *loc_get_time(char *time_string, unsigned long buf_size);
/hardware/qcom/gps/msm8996/utils/
Dloc_log.cpp171 char *loc_get_time(char *time_string, size_t buf_size) in loc_get_time() argument
181 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
230 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
239 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
Dloc_log.h65 extern char *loc_get_time(char *time_string, size_t buf_size);
/hardware/qcom/gps/msm8909/utils/
Dloc_log.cpp171 char *loc_get_time(char *time_string, size_t buf_size) in loc_get_time() argument
181 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
230 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
239 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
Dloc_log.h65 extern char *loc_get_time(char *time_string, size_t buf_size);
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Dstress_iio.c713 int q[3], i, ind, left_over_size, buf_size; in read_data() local
780 buf_size = ind - (dptr - data); in read_data()
783 while ((buf_size > 0) && (!done_flag)) { in read_data()
789 if (buf_size >= 16) { in read_data()
797 if (buf_size >= 16) { in read_data()
805 if (buf_size >= 16) { in read_data()
814 if (buf_size >= 16) { in read_data()
822 if (buf_size >= 16) { in read_data()
830 if (buf_size >= 24) { in read_data()
841 if (buf_size >= 24) { in read_data()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/common/src/
Dvidc_color_converter.cpp141 bool omx_c2d_conv::get_buffer_size(int port,unsigned int &buf_size) in get_buffer_size() argument
151 buf_size = bufferreq.size; in get_buffer_size()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/common/src/
Dvidc_color_converter.cpp155 bool omx_c2d_conv::get_buffer_size(int port,unsigned int &buf_size) in get_buffer_size() argument
166 buf_size = bufferreq.size; in get_buffer_size()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/src/
Dvidc_color_converter.cpp155 bool omx_c2d_conv::get_buffer_size(int port,unsigned int &buf_size) in get_buffer_size() argument
166 buf_size = bufferreq.size; in get_buffer_size()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dhndrte_cons.h31 uint buf_size; member
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/common/inc/
Dvidc_color_converter.h43 bool get_buffer_size(int port,unsigned int &buf_size);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/inc/
Dvidc_color_converter.h45 bool get_buffer_size(int port,unsigned int &buf_size);
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/common/inc/
Dvidc_color_converter.h45 bool get_buffer_size(int port,unsigned int &buf_size);
/hardware/ti/omap4xxx/camera/
DANativeWindowDisplayAdapter.cpp113 int buf_size; in getBufSize() local
118 buf_size = width * height * 2; in getBufSize()
122 buf_size = width * height * 3 / 2; in getBufSize()
126 buf_size = width * height * 2; in getBufSize()
129 buf_size = 0; in getBufSize()
133 buf_size = 0; in getBufSize()
136 return buf_size; in getBufSize()
/hardware/qcom/camera/usbcamcore/src/
DQCameraMjpegDecode.cpp620 uint32_t buf_size; in decoder_input_req_handler() local
629 jpeg_buffer_get_max_size(buffer, &buf_size); in decoder_input_req_handler()
631 bytes_to_read = (length < buf_size) ? length : buf_size; in decoder_input_req_handler()
634 …f_size = %d bytes_to_read = %d", __func__, buf_ptr, start_offset, length, buf_size, bytes_to_read); in decoder_input_req_handler()

123