Home
last modified time | relevance | path

Searched refs:next_recv_len (Results 1 – 2 of 2) sorted by relevance

/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c226 p->next_recv_len = sizeof(uint32_t); in tuneserver_process_client_message()
231 p->next_recv_len = *(uint32_t *)recv_buffer; in tuneserver_process_client_message()
232 p->recv_len = p->next_recv_len; in tuneserver_process_client_message()
233 if (p->next_recv_len > TUNESERVER_MAX_RECV) in tuneserver_process_client_message()
235 if (p->next_recv_len == 0) { in tuneserver_process_client_message()
237 p->next_recv_len = sizeof(uint32_t); in tuneserver_process_client_message()
242 p->recv_buf = malloc(p->next_recv_len); in tuneserver_process_client_message()
248 memcpy(p->recv_buf, recv_buffer, p->next_recv_len); in tuneserver_process_client_message()
250 p->next_recv_len = sizeof(uint32_t); in tuneserver_process_client_message()
256 p->next_recv_len = 2; in tuneserver_process_client_message()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_socket.h98 uint32_t next_recv_len; member
114 uint32_t next_recv_len; member