Home
last modified time | relevance | path

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

12345

/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/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_sock.c119 size_t buf_size, in mm_camera_socket_sendmsg() argument
136 iov[0].iov_len = buf_size; in mm_camera_socket_sendmsg()
180 size_t buf_size, in mm_camera_socket_bundle_sendmsg() argument
199 iov[0].iov_len = buf_size; in mm_camera_socket_bundle_sendmsg()
244 uint32_t buf_size, in mm_camera_socket_recvmsg() argument
254 if ( (msg == NULL) || (buf_size <= 0) ) { in mm_camera_socket_recvmsg()
266 iov[0].iov_len = buf_size; in mm_camera_socket_recvmsg()
/hardware/qcom/camera/msm8998/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/sm7150/gps/utils/
Dloc_log.cpp169 char *loc_get_time(char *time_string, size_t 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()
199 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
208 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
223 void log_buffer_insert(char *str, unsigned long buf_size, int level) in log_buffer_insert() argument
/hardware/qcom/gps/utils/
Dloc_log.cpp171 char *loc_get_time(char *time_string, unsigned long 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()
/hardware/qcom/gps/msm8994/utils/
Dloc_log.cpp171 char *loc_get_time(char *time_string, unsigned long 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()
/hardware/qcom/gps/msm8960/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()
223 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
232 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
/hardware/qcom/gps/msm8084/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()
/hardware/qcom/sm7250/gps/utils/
Dloc_log.cpp169 char *loc_get_time(char *time_string, size_t 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()
199 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
208 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
223 void log_buffer_insert(char *str, unsigned long buf_size, int level) in log_buffer_insert() argument
/hardware/qcom/sm8150/gps/utils/
Dloc_log.cpp169 char *loc_get_time(char *time_string, size_t 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()
199 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
208 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
223 void log_buffer_insert(char *str, unsigned long buf_size, int level) in log_buffer_insert() argument
/hardware/qcom/sm8150p/gps/utils/
Dloc_log.cpp167 char *loc_get_time(char *time_string, size_t buf_size) in loc_get_time() argument
177 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
226 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
235 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
/hardware/qcom/gps/msm8909w_3100/utils/
Dloc_log.cpp166 char *loc_get_time(char *time_string, size_t buf_size) in loc_get_time() argument
176 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
225 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
234 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
/hardware/qcom/gps/msm8996/utils/
Dloc_log.cpp172 char *loc_get_time(char *time_string, size_t buf_size) in loc_get_time() argument
182 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
231 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
240 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
/hardware/qcom/gps/msm8909/utils/
Dloc_log.cpp172 char *loc_get_time(char *time_string, size_t buf_size) in loc_get_time() argument
182 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
231 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
240 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
/hardware/qcom/gps/msm8998/utils/
Dloc_log.cpp168 char *loc_get_time(char *time_string, size_t buf_size) in loc_get_time() argument
178 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); in loc_get_time()
227 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
236 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
/hardware/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/loc_pla/src/
Dplatform_lib_log_util.cpp31 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
40 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_pla/src/
Dplatform_lib_log_util.cpp34 char * get_timestamp(char *str, unsigned long buf_size) in get_timestamp() argument
43 snprintf(str, buf_size, "%02d:%02d:%02d.%06ld", hh, mm, ss, tv.tv_usec); in get_timestamp()
/hardware/interfaces/wifi/aidl/default/
Dwifi.cpp39 const int buf_size = 32 * 1024; in cpioWriteHeader() local
40 std::array<char, buf_size> read_buf; in cpioWriteHeader()
42 read_buf.data(), buf_size, "%s%08X%08X%08X%08X%08X%08X%08X%08X%08X%08X%08X%08X%08X", in cpioWriteHeader()
47 if (write(out_fd, read_buf.data(), llen < buf_size ? llen : buf_size - 1) == -1) { in cpioWriteHeader()
105 const int buf_size = 4096; in cpioWriteFileTrailer() local
106 std::array<char, buf_size> read_buf; in cpioWriteFileTrailer()
109 if (write(out_fd, read_buf.data(), (llen < buf_size ? llen : buf_size - 1) + 4) == -1) { in cpioWriteFileTrailer()
/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/camera/msm8998/QCamera2/HAL3/test/
DQCameraHAL3Test.cpp101 size_t buf_size; in allocateBuffers() local
109 buf_size = (size_t)(width * height *2); in allocateBuffers()
110 alloc.len = (size_t)(buf_size); in allocateBuffers()
/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/qcom/media/msm8998/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/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/broadcom/wlan/bcmdhd/dhdutil/include/
Dhndrte_cons.h31 uint buf_size; member

12345