Home
last modified time | relevance | path

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

/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c234 p->next_recv_len = sizeof(uint32_t); in tuneserver_process_client_message()
239 p->next_recv_len = *(uint32_t *)recv_buffer; in tuneserver_process_client_message()
240 p->recv_len = p->next_recv_len; in tuneserver_process_client_message()
241 if (p->next_recv_len > TUNESERVER_MAX_RECV) in tuneserver_process_client_message()
243 if (p->next_recv_len == 0) { in tuneserver_process_client_message()
245 p->next_recv_len = sizeof(uint32_t); in tuneserver_process_client_message()
250 p->recv_buf = malloc(p->next_recv_len); in tuneserver_process_client_message()
256 memcpy(p->recv_buf, recv_buffer, p->next_recv_len); in tuneserver_process_client_message()
258 p->next_recv_len = sizeof(uint32_t); in tuneserver_process_client_message()
264 p->next_recv_len = 2; in tuneserver_process_client_message()
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_socket.h82 uint32_t next_recv_len; member
98 uint32_t next_recv_len; member