/third_party/jerryscript/jerry-ext/debugger/ |
D | debugger-rp.c | 44 jerryx_debugger_rp_close (jerry_debugger_transport_header_t *header_p) /**< header for the transpor… in jerryx_debugger_rp_close() argument 48 jerry_heap_free ((void *) header_p, sizeof (jerry_debugger_transport_header_t)); in jerryx_debugger_rp_close() 58 jerryx_debugger_rp_send (jerry_debugger_transport_header_t *header_p, /**< header for the transport… in jerryx_debugger_rp_send() argument 66 return header_p->next_p->send (header_p->next_p, message_p - 1, message_length + 1); in jerryx_debugger_rp_send() 76 jerryx_debugger_rp_receive (jerry_debugger_transport_header_t *header_p, /**< header for the transp… in jerryx_debugger_rp_receive() argument 79 if (!header_p->next_p->receive (header_p->next_p, receive_context_p)) in jerryx_debugger_rp_receive() 144 jerry_debugger_transport_header_t *header_p; in jerryx_debugger_rp_create() local 145 header_p = (jerry_debugger_transport_header_t *) jerry_heap_alloc (interface_size); in jerryx_debugger_rp_create() 147 if (!header_p) in jerryx_debugger_rp_create() 152 header_p->close = jerryx_debugger_rp_close; in jerryx_debugger_rp_create() [all …]
|
D | debugger-tcp.c | 128 jerryx_debugger_tcp_close (jerry_debugger_transport_header_t *header_p) /**< tcp implementation */ in jerryx_debugger_tcp_close() argument 132 jerryx_debugger_transport_tcp_t *tcp_p = (jerryx_debugger_transport_tcp_t *) header_p; in jerryx_debugger_tcp_close() 138 jerry_heap_free ((void *) header_p, sizeof (jerryx_debugger_transport_tcp_t)); in jerryx_debugger_tcp_close() 148 jerryx_debugger_tcp_send (jerry_debugger_transport_header_t *header_p, /**< tcp implementation */ in jerryx_debugger_tcp_send() argument 154 jerryx_debugger_transport_tcp_t *tcp_p = (jerryx_debugger_transport_tcp_t *) header_p; in jerryx_debugger_tcp_send() 201 jerryx_debugger_tcp_receive (jerry_debugger_transport_header_t *header_p, /**< tcp implementation */ in jerryx_debugger_tcp_receive() argument 204 jerryx_debugger_transport_tcp_t *tcp_p = (jerryx_debugger_transport_tcp_t *) header_p; in jerryx_debugger_tcp_receive() 360 jerry_debugger_transport_header_t *header_p; in jerryx_debugger_tcp_create() local 361 header_p = (jerry_debugger_transport_header_t *) jerry_heap_alloc (size); in jerryx_debugger_tcp_create() 363 if (!header_p) in jerryx_debugger_tcp_create() [all …]
|
D | debugger-ws.c | 277 jerryx_debugger_ws_close (jerry_debugger_transport_header_t *header_p) /**< tcp implementation */ in jerryx_debugger_ws_close() argument 281 jerry_heap_free ((void *) header_p, sizeof (jerry_debugger_transport_header_t)); in jerryx_debugger_ws_close() 291 jerryx_debugger_ws_send (jerry_debugger_transport_header_t *header_p, /**< tcp implementation */ in jerryx_debugger_ws_send() argument 300 return header_p->next_p->send (header_p->next_p, message_p - 2, message_length + 2); in jerryx_debugger_ws_send() 307 jerryx_debugger_ws_receive (jerry_debugger_transport_header_t *header_p, /**< tcp implementation */ in jerryx_debugger_ws_receive() argument 310 if (!header_p->next_p->receive (header_p->next_p, receive_context_p)) in jerryx_debugger_ws_receive() 432 jerry_debugger_transport_header_t *header_p; in jerryx_debugger_ws_create() local 433 header_p = (jerry_debugger_transport_header_t *) jerry_heap_alloc (interface_size); in jerryx_debugger_ws_create() 435 if (!header_p) in jerryx_debugger_ws_create() 440 header_p->close = jerryx_debugger_ws_close; in jerryx_debugger_ws_create() [all …]
|
D | debugger-serial.c | 236 jerryx_debugger_serial_close (jerry_debugger_transport_header_t *header_p) /**< serial implementati… in jerryx_debugger_serial_close() argument 240 jerryx_debugger_transport_serial_t *serial_p = (jerryx_debugger_transport_serial_t *) header_p; in jerryx_debugger_serial_close() 246 jerry_heap_free ((void *) header_p, sizeof (jerryx_debugger_transport_serial_t)); in jerryx_debugger_serial_close() 256 jerryx_debugger_serial_send (jerry_debugger_transport_header_t *header_p, /**< serial implementatio… in jerryx_debugger_serial_send() argument 262 jerryx_debugger_transport_serial_t *serial_p = (jerryx_debugger_transport_serial_t *) header_p; in jerryx_debugger_serial_send() 292 jerryx_debugger_serial_receive (jerry_debugger_transport_header_t *header_p, /**< serial implementa… in jerryx_debugger_serial_receive() argument 295 jerryx_debugger_transport_serial_t *serial_p = (jerryx_debugger_transport_serial_t *) header_p; in jerryx_debugger_serial_receive() 372 jerry_debugger_transport_header_t *header_p; in jerryx_debugger_serial_create() local 373 header_p = (jerry_debugger_transport_header_t *) jerry_heap_alloc (size); in jerryx_debugger_serial_create() 375 if (!header_p) in jerryx_debugger_serial_create() [all …]
|
/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-helpers-string.c | 2560 …ecma_stringbuilder_header_t *header_p = (ecma_stringbuilder_header_t *) jmem_heap_alloc_block (ini… in ecma_stringbuilder_create() local 2561 header_p->current_size = initial_size; in ecma_stringbuilder_create() 2566 ecma_stringbuilder_t ret = {.header_p = header_p}; in ecma_stringbuilder_create() 2581 …ecma_stringbuilder_header_t *header_p = (ecma_stringbuilder_header_t *) jmem_heap_alloc_block (ini… in ecma_stringbuilder_create_from() local 2582 header_p->current_size = initial_size; in ecma_stringbuilder_create_from() 2588 ECMA_STRINGBUILDER_STRING_PTR (header_p), in ecma_stringbuilder_create_from() 2592 ecma_stringbuilder_t ret = {.header_p = header_p}; in ecma_stringbuilder_create_from() 2607 …ecma_stringbuilder_header_t *header_p = (ecma_stringbuilder_header_t *) jmem_heap_alloc_block (ini… in ecma_stringbuilder_create_raw() local 2608 header_p->current_size = initial_size; in ecma_stringbuilder_create_raw() 2613 memcpy (ECMA_STRINGBUILDER_STRING_PTR (header_p), data_p, data_size); in ecma_stringbuilder_create_raw() [all …]
|
D | ecma-globals.h | 1642 #define ECMA_STRINGBUILDER_STRING_PTR(header_p) \ argument 1643 ((lit_utf8_byte_t *) (((lit_utf8_byte_t *) header_p) + sizeof (ecma_ascii_string_t))) 1648 #define ECMA_STRINGBUILDER_STRING_SIZE(header_p) \ argument 1649 ((lit_utf8_size_t) (header_p->current_size - sizeof (ecma_ascii_string_t))) 1656 ecma_stringbuilder_header_t *header_p; /**< pointer to header */ member
|
/third_party/jerryscript/jerry-core/api/ |
D | jerry-debugger-transport.c | 36 jerry_debugger_transport_add (jerry_debugger_transport_header_t *header_p, /**< transport implement… in jerry_debugger_transport_add() argument 45 header_p->next_p = JERRY_CONTEXT (debugger_transport_header_p); in jerry_debugger_transport_add() 46 JERRY_CONTEXT (debugger_transport_header_p) = header_p; in jerry_debugger_transport_add() 164 jerry_debugger_transport_header_t *header_p = JERRY_CONTEXT (debugger_transport_header_p); in jerry_debugger_transport_send() local 175 if (!header_p->send (header_p, payload_p, fragment_length)) in jerry_debugger_transport_send() 209 jerry_debugger_transport_header_t *header_p = JERRY_CONTEXT (debugger_transport_header_p); in jerry_debugger_transport_receive() local 211 return header_p->receive (header_p, context_p); in jerry_debugger_transport_receive()
|
D | jerry-snapshot.c | 930 const jerry_snapshot_header_t *header_p = (const jerry_snapshot_header_t *) snapshot_data_p; in jerry_snapshot_result() local 932 if (header_p->magic != JERRY_SNAPSHOT_MAGIC in jerry_snapshot_result() 933 || header_p->version != JERRY_SNAPSHOT_VERSION in jerry_snapshot_result() 934 || !snapshot_check_global_flags (header_p->global_flags)) in jerry_snapshot_result() 940 if (header_p->lit_table_offset > snapshot_size) in jerry_snapshot_result() 946 if (func_index >= header_p->number_of_funcs) in jerry_snapshot_result() 952 JERRY_ASSERT ((header_p->lit_table_offset % sizeof (uint32_t)) == 0); in jerry_snapshot_result() 954 uint32_t func_offset = header_p->func_offsets[func_index]; in jerry_snapshot_result() 973 const uint8_t *literal_base_p = snapshot_data_p + header_p->lit_table_offset; in jerry_snapshot_result() 1250 const jerry_snapshot_header_t *header_p = (const jerry_snapshot_header_t *) inp_buffers_p[i]; in jerry_merge_snapshots() local [all …]
|
D | generate-bytecode.c | 360 const jerry_snapshot_header_t* header_p = (const jerry_snapshot_header_t*) snapshot_data_p; in validate_snapshot() local 361 if (header_p->version != JERRY_SNAPSHOT_VERSION) { in validate_snapshot()
|
/third_party/jerryscript/jerry-core/include/ |
D | jerryscript-debugger-transport.h | 58 …f void (*jerry_debugger_transport_close_t) (struct jerry_debugger_transport_interface_t *header_p); 63 …def bool (*jerry_debugger_transport_send_t) (struct jerry_debugger_transport_interface_t *header_p, 69 … bool (*jerry_debugger_transport_receive_t) (struct jerry_debugger_transport_interface_t *header_p, 86 void jerry_debugger_transport_add (jerry_debugger_transport_header_t *header_p,
|
/third_party/jerryscript/docs/ |
D | 13.DEBUGGER-TRANSPORT.md | 66 …f void (*jerry_debugger_transport_close_t) (struct jerry_debugger_transport_interface_t *header_p); 74 the `header_p->next_p->send()` method. 79 …def bool (*jerry_debugger_transport_send_t) (struct jerry_debugger_transport_interface_t *header_p, 93 … bool (*jerry_debugger_transport_receive_t) (struct jerry_debugger_transport_interface_t *header_p, 109 void jerry_debugger_transport_add (jerry_debugger_transport_header_t *header_p, 114 - `header_p`: header of a transporation interface.
|
/third_party/jerryscript/jerry-core/debugger/ |
D | debugger.c | 110 jerry_debugger_transport_header_t *header_p = JERRY_CONTEXT (debugger_transport_header_p); in jerry_debugger_send() local 113 return header_p->send (header_p, payload_p, message_length); in jerry_debugger_send()
|