Searched defs:buf_size (Results 1 - 25 of 26) sorted by relevance

12

/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera_sock.c118 size_t buf_size,
135 iov[0].iov_len = buf_size;
179 size_t buf_size,
198 iov[0].iov_len = buf_size;
235 * @buf_size: the size of the buf that holds incoming msg
243 uint32_t buf_size,
253 if ( (msg == NULL) || (buf_size <= 0) ) {
265 iov[0].iov_len = buf_size;
115 mm_camera_socket_sendmsg( int fd, void *msg, size_t buf_size, int sendfd) argument
176 mm_camera_socket_bundle_sendmsg( int fd, void *msg, size_t buf_size, int sendfds[CAM_MAX_NUM_BUFS_PER_STREAM], int numfds) argument
240 mm_camera_socket_recvmsg( int fd, void *msg, uint32_t buf_size, int *rcvdfd) argument
H A Dmm_camera.c1836 * @buf_size : size of the message to be sent
1846 size_t buf_size,
1855 if(mm_camera_socket_bundle_sendmsg(my_obj->ds_fd, msg, buf_size, sendfds, numfds) > 0) {
1874 * @buf_size : size of the message to be sent
1883 size_t buf_size,
1891 if(mm_camera_socket_sendmsg(my_obj->ds_fd, msg, buf_size, sendfd) > 0) {
1844 mm_camera_util_bundled_sendmsg(mm_camera_obj_t *my_obj, void *msg, size_t buf_size, int sendfds[CAM_MAX_NUM_BUFS_PER_STREAM], int numfds) argument
1881 mm_camera_util_sendmsg(mm_camera_obj_t *my_obj, void *msg, size_t buf_size, int sendfd) argument
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera_sock.c118 size_t buf_size,
135 iov[0].iov_len = buf_size;
172 * @buf_size: the size of the buf that holds incoming msg
180 uint32_t buf_size,
190 if ( (msg == NULL) || (buf_size <= 0) ) {
202 iov[0].iov_len = buf_size;
115 mm_camera_socket_sendmsg( int fd, void *msg, size_t buf_size, int sendfd) argument
177 mm_camera_socket_recvmsg( int fd, void *msg, uint32_t buf_size, int *rcvdfd) argument
H A Dmm_camera.c1739 * @buf_size : size of the message to be sent
1748 size_t buf_size,
1756 if(mm_camera_socket_sendmsg(my_obj->ds_fd, msg, buf_size, sendfd) > 0) {
1746 mm_camera_util_sendmsg(mm_camera_obj_t *my_obj, void *msg, size_t buf_size, int sendfd) argument
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera_sock.c118 size_t buf_size,
135 iov[0].iov_len = buf_size;
172 * @buf_size: the size of the buf that holds incoming msg
180 uint32_t buf_size,
190 if ( (msg == NULL) || (buf_size <= 0) ) {
202 iov[0].iov_len = buf_size;
115 mm_camera_socket_sendmsg( int fd, void *msg, size_t buf_size, int sendfd) argument
177 mm_camera_socket_recvmsg( int fd, void *msg, uint32_t buf_size, int *rcvdfd) argument
H A Dmm_camera.c1739 * @buf_size : size of the message to be sent
1748 size_t buf_size,
1756 if(mm_camera_socket_sendmsg(my_obj->ds_fd, msg, buf_size, sendfd) > 0) {
1746 mm_camera_util_sendmsg(mm_camera_obj_t *my_obj, void *msg, size_t buf_size, int sendfd) argument
/device/linaro/bootloader/arm-trusted-firmware/lib/semihosting/
H A Dsemihosting.c198 size_t buf_size,
221 if (length > buf_size)
197 semihosting_download_file(const char *file_name, size_t buf_size, uintptr_t buf) argument
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
H A Dregerror.c203 UChar buf[], int buf_size, int *is_over)
215 if (code > 0xffff && len + 10 <= buf_size) {
222 else if (len + 6 <= buf_size) {
236 if (len >= buf_size) break;
242 len = MIN((int)(end - s), buf_size);
244 *is_over = ((buf_size < (end - s)) ? 1 : 0);
202 to_ascii(OnigEncoding enc, UChar *s, UChar *end, UChar buf[], int buf_size, int *is_over) argument
/device/google/contexthub/util/nanoapp_cmd/
H A Dnanoapp_cmd.c166 int nread, buf_size = 2048; variable
465 (void) read(fd, buf, buf_size);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
H A Dbytesio.c10 size_t buf_size; member in struct:__anon2733
63 size_t alloc = self->buf_size;
97 self->buf_size = alloc;
117 if ((size_t)self->pos + len > self->buf_size) {
814 res += self->buf_size;
H A Dstringio.c15 size_t buf_size; member in struct:__anon2736
58 size_t alloc = self->buf_size;
95 self->buf_size = alloc;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
H A DcStringIO.c59 Py_ssize_t buf_size; member in struct:__anon2754
407 if (newpos >= oself->buf_size) {
408 size_t newsize = oself->buf_size;
419 oself->buf_size = (Py_ssize_t)newsize;
469 self->pos = self->string_size = self->buf_size = 0;
595 self->buf_size = 0;
600 self->buf_size=size;
H A DcPickle.c350 Py_ssize_t buf_size; member in struct:Picklerobject
379 Py_ssize_t buf_size; member in struct:Unpicklerobject
483 if (!( self->buf_size )) return 0;
485 self->buf_size);
490 if (self->buf_size && n > WRITE_BUF_SIZE - self->buf_size) {
501 memcpy(self->write_buf + self->buf_size, s, n);
502 self->buf_size += n;
520 self->buf_size = 0;
530 if (self->buf_size
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
H A Dbytesio.c10 size_t buf_size; member in struct:__anon3046
63 size_t alloc = self->buf_size;
97 self->buf_size = alloc;
117 if ((size_t)self->pos + len > self->buf_size) {
H A Dstringio.c15 size_t buf_size; member in struct:__anon3049
58 size_t alloc = self->buf_size;
95 self->buf_size = alloc;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A DcStringIO.c59 Py_ssize_t buf_size; member in struct:__anon3087
385 if (newl >= oself->buf_size) {
386 oself->buf_size *= 2;
387 if (oself->buf_size <= newl) {
389 oself->buf_size = (int)(newl+1);
391 newbuf = (char*)realloc(oself->buf, oself->buf_size);
396 oself->buf_size = oself->pos = 0;
447 self->pos = self->string_size = self->buf_size = 0;
573 self->buf_size = 0;
578 self->buf_size
[all...]
/device/google/marlin/camera/usbcamcore/src/
H A DQCameraMjpegDecode.cpp620 uint32_t buf_size; local
629 jpeg_buffer_get_max_size(buffer, &buf_size);
631 bytes_to_read = (length < buf_size) ? length : buf_size;
634 ALOGD("%s: buf_ptr = %p, start_offset = %d, length = %d buf_size = %d bytes_to_read = %d", __func__, buf_ptr, start_offset, length, buf_size, bytes_to_read);
/device/huawei/angler/camera/QCamera2/stack/common/
H A Dmm_jpeg_interface.h65 size_t buf_size; /* total size of buf (header + image) */ member in struct:__anon1668
/device/lge/bullhead/camera/QCamera2/stack/common/
H A Dmm_jpeg_interface.h65 size_t buf_size; /* total size of buf (header + image) */ member in struct:__anon2220
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
H A Dpystrtod.c414 ensure_minimum_exponent_length(char* buffer, size_t buf_size) argument
468 < buffer + buf_size) {
528 ensure_decimal_point(char* buffer, size_t buf_size, int precision) argument
580 if (buf_len + insert_count + 1 >= buf_size) {
600 assert(p <= buf_size+buffer);
601 buf_avail = buf_size+buffer-p;
623 * @buf_size: The length of the buffer.
641 size_t buf_size,
693 PyOS_snprintf(buffer, buf_size, format, d);
706 ensure_minimum_exponent_length(buffer, buf_size);
640 _PyOS_ascii_formatd(char *buffer, size_t buf_size, const char *format, double d, int precision) argument
720 PyOS_ascii_formatd(char *buffer, size_t buf_size, const char *format, double d) argument
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Dpystrtod.c414 ensure_minimum_exponent_length(char* buffer, size_t buf_size) argument
468 < buffer + buf_size) {
528 ensure_decimal_point(char* buffer, size_t buf_size, int precision) argument
580 if (buf_len + insert_count + 1 >= buf_size) {
600 assert(p <= buf_size+buffer);
601 buf_avail = buf_size+buffer-p;
623 * @buf_size: The length of the buffer.
641 size_t buf_size,
693 PyOS_snprintf(buffer, buf_size, format, d);
706 ensure_minimum_exponent_length(buffer, buf_size);
640 _PyOS_ascii_formatd(char *buffer, size_t buf_size, const char *format, double d, int precision) argument
720 PyOS_ascii_formatd(char *buffer, size_t buf_size, const char *format, double d) argument
[all...]
/device/google/marlin/camera/QCamera2/stack/common/
H A Dmm_jpeg_interface.h98 size_t buf_size; /* total size of buf (header + image) */ member in struct:__anon826
/device/google/marlin/recovery/gpt-utils/
H A Dgpt-utils.cpp526 size_t buf_size)
576 buf_size -1,
615 data->buf_size = UFS_ATTR_DATA_SIZE;
524 get_scsi_node_from_bootdevice(const char *bootdev_path, char *sg_node_path, size_t buf_size) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dbytearrayobject.c2279 Py_ssize_t buf_size = 0, len = 0; local
2296 buf_size = _PyObject_LengthHint(arg, 32);
2297 if (buf_size == -1) {
2302 bytearray_obj = PyByteArray_FromStringAndSize(NULL, buf_size);
2319 if (len >= buf_size) {
2320 buf_size = len + (len >> 1) + 1;
2321 if (PyByteArray_Resize((PyObject *)bytearray_obj, buf_size) < 0) {
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dbytearrayobject.c2275 Py_ssize_t buf_size = 0, len = 0; local
2292 buf_size = _PyObject_LengthHint(arg, 32);
2293 if (buf_size == -1) {
2298 bytearray_obj = PyByteArray_FromStringAndSize(NULL, buf_size);
2313 if (len >= buf_size) {
2314 buf_size = len + (len >> 1) + 1;
2315 if (PyByteArray_Resize((PyObject *)bytearray_obj, buf_size) < 0) {

Completed in 358 milliseconds

12