Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c235 p->next_recv_len = sizeof(uint32_t); in tuneserver_process_client_message()
240 p->next_recv_len = *(uint32_t *)recv_buffer; in tuneserver_process_client_message()
241 p->recv_len = p->next_recv_len; in tuneserver_process_client_message()
242 if (p->next_recv_len > TUNESERVER_MAX_RECV) in tuneserver_process_client_message()
244 if (p->next_recv_len == 0) { in tuneserver_process_client_message()
246 p->next_recv_len = sizeof(uint32_t); in tuneserver_process_client_message()
251 p->recv_buf = malloc(p->next_recv_len); in tuneserver_process_client_message()
257 memcpy(p->recv_buf, recv_buffer, p->next_recv_len); in tuneserver_process_client_message()
259 p->next_recv_len = sizeof(uint32_t); in tuneserver_process_client_message()
265 p->next_recv_len = 2; in tuneserver_process_client_message()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_socket.h82 uint32_t next_recv_len; member
98 uint32_t next_recv_len; member