Home
last modified time | relevance | path

Searched refs:message_p (Results 1 – 11 of 11) sorted by relevance

/third_party/jerryscript/jerry-ext/debugger/
Ddebugger-ws.c162 if (context.message_p == NULL) in jerryx_process_handshake()
177 memcpy (request_end_p, context.message_p, context.message_length); in jerryx_process_handshake()
292 uint8_t *message_p, /**< message to be sent */ in jerryx_debugger_ws_send() argument
297 message_p[-2] = JERRYX_DEBUGGER_WEBSOCKET_FIN_BIT | JERRYX_DEBUGGER_WEBSOCKET_BINARY_FRAME; in jerryx_debugger_ws_send()
298 message_p[-1] = (uint8_t) message_length; in jerryx_debugger_ws_send()
300 return header_p->next_p->send (header_p->next_p, message_p - 2, message_length + 2); in jerryx_debugger_ws_send()
315 if (receive_context_p->message_p == NULL) in jerryx_debugger_ws_receive()
327 receive_context_p->message_p = NULL; in jerryx_debugger_ws_receive()
337 uint8_t *message_p = receive_context_p->message_p; in jerryx_debugger_ws_receive() local
339 if ((message_p[0] & ~JERRYX_DEBUGGER_WEBSOCKET_OPCODE_MASK) != JERRYX_DEBUGGER_WEBSOCKET_FIN_BIT in jerryx_debugger_ws_receive()
[all …]
Ddebugger-rp.c59 uint8_t *message_p, /**< message to be sent */ in jerryx_debugger_rp_send() argument
64 message_p[-1] = (uint8_t) message_length; in jerryx_debugger_rp_send()
66 return header_p->next_p->send (header_p->next_p, message_p - 1, message_length + 1); in jerryx_debugger_rp_send()
84 if (receive_context_p->message_p == NULL) in jerryx_debugger_rp_receive()
96 receive_context_p->message_p = NULL; in jerryx_debugger_rp_receive()
106 uint8_t *message_p = receive_context_p->message_p; in jerryx_debugger_rp_receive() local
107 size_t message_length = (size_t) (message_p[0]); in jerryx_debugger_rp_receive()
116 receive_context_p->message_p = NULL; in jerryx_debugger_rp_receive()
128 receive_context_p->message_p = message_p + sizeof (jerryx_rawpacket_receive_header_t); in jerryx_debugger_rp_receive()
Ddebugger-tcp.c149 uint8_t *message_p, /**< message to be sent */ in jerryx_debugger_tcp_send() argument
170 ssize_t sent_bytes = send (tcp_p->tcp_socket, (char *)message_p, (int)message_length, 0); in jerryx_debugger_tcp_send()
172 ssize_t sent_bytes = send (tcp_p->tcp_socket, message_p, message_length, 0); in jerryx_debugger_tcp_send()
189 message_p += sent_bytes; in jerryx_debugger_tcp_send()
231 receive_context_p->message_p = receive_context_p->buffer_p; in jerryx_debugger_tcp_receive()
Ddebugger-serial.c257 uint8_t *message_p, /**< message to be sent */ in jerryx_debugger_serial_send() argument
266 ssize_t sent_bytes = write (serial_p->fd, message_p, message_length); in jerryx_debugger_serial_send()
280 message_p += sent_bytes; in jerryx_debugger_serial_send()
316 receive_context_p->message_p = receive_context_p->buffer_p; in jerryx_debugger_serial_receive()
/third_party/jerryscript/jerry-core/api/
Djerry-debugger-transport.c158 jerry_debugger_transport_send (const uint8_t *message_p, /**< message to be sent */ in jerry_debugger_transport_send() argument
173 memcpy (payload_p, message_p, fragment_length); in jerry_debugger_transport_send()
180 message_p += fragment_length; in jerry_debugger_transport_send()
205 context_p->message_p = NULL; in jerry_debugger_transport_receive()
221 JERRY_ASSERT (context_p->message_p != NULL); in jerry_debugger_transport_receive_completed()
Djerry.c1488 const jerry_char_t *message_p) /**< value of 'message' property in jerry_create_error() argument
1492 (lit_utf8_byte_t *) message_p, in jerry_create_error()
1493 lit_zt_utf8_string_size (message_p)); in jerry_create_error()
1507 const jerry_char_t *message_p, /**< value of 'message' property in jerry_create_error_sz() argument
1513 if (message_p == NULL || message_size == 0) in jerry_create_error_sz()
1519 ecma_string_t *message_string_p = ecma_new_ecma_string_from_utf8 ((lit_utf8_byte_t *) message_p, in jerry_create_error_sz()
/third_party/jerryscript/jerry-core/include/
Djerryscript-debugger-transport.h44 uint8_t *message_p; /**< start of the received message */ member
64 uint8_t *message_p, size_t message_length);
94 bool jerry_debugger_transport_send (const uint8_t *message_p, size_t message_length);
Djerryscript-core.h498 jerry_value_t jerry_create_error (jerry_error_t error_type, const jerry_char_t *message_p);
499 jerry_value_t jerry_create_error_sz (jerry_error_t error_type, const jerry_char_t *message_p,
/third_party/jerryscript/docs/
D13.DEBUGGER-TRANSPORT.md27 uint8_t *message_p; /**< start of the received message */
80 uint8_t *message_p, size_t message_length);
169 bool jerry_debugger_transport_send (const uint8_t *message_p, size_t message_length);
172 - `message_p`: message to be sent.
D02.API-REFERENCE.md3913 const jerry_char_t *message_p);
3917 - `message_p` - value of 'message' property of constructed error object
3955 const jerry_char_t *message_p,
3960 - `message_p` - value of 'message' property of the constructed error object
/third_party/jerryscript/jerry-core/debugger/
Ddebugger.c1175 if (context.message_p == NULL) in jerry_debugger_receive()
1193 if (!jerry_debugger_process_message (context.message_p, in jerry_debugger_receive()