Searched refs:receive_context_p (Results 1 – 4 of 4) sorted by relevance
77 … jerry_debugger_transport_receive_context_t *receive_context_p) /**< receive context */ in jerryx_debugger_rp_receive() argument79 if (!header_p->next_p->receive (header_p->next_p, receive_context_p)) in jerryx_debugger_rp_receive()84 if (receive_context_p->message_p == NULL) in jerryx_debugger_rp_receive()89 size_t message_total_length = receive_context_p->message_total_length; in jerryx_debugger_rp_receive()94 if (receive_context_p->message_length < sizeof (jerryx_rawpacket_receive_header_t)) in jerryx_debugger_rp_receive()96 receive_context_p->message_p = NULL; in jerryx_debugger_rp_receive()103 JERRYX_ASSERT (receive_context_p->message_length >= sizeof (jerryx_rawpacket_receive_header_t)); in jerryx_debugger_rp_receive()106 uint8_t *message_p = receive_context_p->message_p; in jerryx_debugger_rp_receive()114 if (receive_context_p->message_length < new_total_length) in jerryx_debugger_rp_receive()116 receive_context_p->message_p = NULL; in jerryx_debugger_rp_receive()[all …]
308 … jerry_debugger_transport_receive_context_t *receive_context_p) /**< receive context */ in jerryx_debugger_ws_receive() argument310 if (!header_p->next_p->receive (header_p->next_p, receive_context_p)) in jerryx_debugger_ws_receive()315 if (receive_context_p->message_p == NULL) in jerryx_debugger_ws_receive()320 size_t message_total_length = receive_context_p->message_total_length; in jerryx_debugger_ws_receive()325 if (receive_context_p->message_length < sizeof (jerryx_websocket_receive_header_t)) in jerryx_debugger_ws_receive()327 receive_context_p->message_p = NULL; in jerryx_debugger_ws_receive()334 JERRYX_ASSERT (receive_context_p->message_length >= sizeof (jerryx_websocket_receive_header_t)); in jerryx_debugger_ws_receive()337 uint8_t *message_p = receive_context_p->message_p; in jerryx_debugger_ws_receive()362 if (receive_context_p->message_length < new_total_length) in jerryx_debugger_ws_receive()364 receive_context_p->message_p = NULL; in jerryx_debugger_ws_receive()[all …]
202 … jerry_debugger_transport_receive_context_t *receive_context_p) /**< receive context */ in jerryx_debugger_tcp_receive() argument206 uint8_t *buffer_p = receive_context_p->buffer_p + receive_context_p->received_length; in jerryx_debugger_tcp_receive()207 …size_t buffer_size = JERRY_DEBUGGER_TRANSPORT_MAX_BUFFER_SIZE - receive_context_p->received_length; in jerryx_debugger_tcp_receive()227 receive_context_p->received_length += (size_t) length; in jerryx_debugger_tcp_receive()229 if (receive_context_p->received_length > 0) in jerryx_debugger_tcp_receive()231 receive_context_p->message_p = receive_context_p->buffer_p; in jerryx_debugger_tcp_receive()232 receive_context_p->message_length = receive_context_p->received_length; in jerryx_debugger_tcp_receive()
293 … jerry_debugger_transport_receive_context_t *receive_context_p) /**< receive context */ in jerryx_debugger_serial_receive() argument297 uint8_t *buffer_p = receive_context_p->buffer_p + receive_context_p->received_length; in jerryx_debugger_serial_receive()298 …size_t buffer_size = JERRY_DEBUGGER_TRANSPORT_MAX_BUFFER_SIZE - receive_context_p->received_length; in jerryx_debugger_serial_receive()312 receive_context_p->received_length += (size_t) length; in jerryx_debugger_serial_receive()314 if (receive_context_p->received_length > 0) in jerryx_debugger_serial_receive()316 receive_context_p->message_p = receive_context_p->buffer_p; in jerryx_debugger_serial_receive()317 receive_context_p->message_length = receive_context_p->received_length; in jerryx_debugger_serial_receive()