Home
last modified time | relevance | path

Searched refs:snapshot_buffer_write_offset (Results 1 - 1 of 1) sorted by relevance

/third_party/jerryscript/jerry-core/api/
H A Djerry-snapshot.c82 size_t snapshot_buffer_write_offset; member
147 JERRY_ASSERT ((globals_p->snapshot_buffer_write_offset & (JMEM_ALIGNMENT - 1)) == 0); in snapshot_add_compiled_code()
149 if (globals_p->snapshot_buffer_write_offset > JERRY_SNAPSHOT_MAXIMUM_WRITE_OFFSET) in snapshot_add_compiled_code()
158 uint32_t start_offset = (uint32_t) (globals_p->snapshot_buffer_write_offset - sizeof (jerry_snapshot_header_t)); in snapshot_add_compiled_code()
160 uint8_t *copied_code_start_p = snapshot_buffer_p + globals_p->snapshot_buffer_write_offset; in snapshot_add_compiled_code()
181 if (globals_p->snapshot_buffer_write_offset + sizeof (ecma_compiled_code_t) > snapshot_buffer_size) in snapshot_add_compiled_code()
187 globals_p->snapshot_buffer_write_offset += sizeof (ecma_compiled_code_t); in snapshot_add_compiled_code()
200 &globals_p->snapshot_buffer_write_offset, in snapshot_add_compiled_code()
216 globals_p->snapshot_buffer_write_offset = JERRY_ALIGNUP (globals_p->snapshot_buffer_write_offset, in snapshot_add_compiled_code()
[all...]

Completed in 2 milliseconds