Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/api/
H A Djerry-snapshot.c922 const uint8_t *snapshot_data_p = (uint8_t *) snapshot_p; in jerry_snapshot_result() local
930 const jerry_snapshot_header_t *header_p = (const jerry_snapshot_header_t *) snapshot_data_p; in jerry_snapshot_result()
955 ecma_compiled_code_t *bytecode_p = (ecma_compiled_code_t *) (snapshot_data_p + func_offset); in jerry_snapshot_result()
973 const uint8_t *literal_base_p = snapshot_data_p + header_p->lit_table_offset; in jerry_snapshot_result()
1578 const uint8_t *snapshot_data_p = (uint8_t *) snapshot_p; in jerry_get_literals_from_snapshot() local
1579 const jerry_snapshot_header_t *header_p = (const jerry_snapshot_header_t *) snapshot_data_p; in jerry_get_literals_from_snapshot()
1591 const uint8_t *literal_base_p = snapshot_data_p + header_p->lit_table_offset; in jerry_get_literals_from_snapshot()
1594 scan_snapshot_functions (snapshot_data_p + header_p->func_offsets[0], in jerry_get_literals_from_snapshot()
H A Dgenerate-bytecode.c349 uint8_t* snapshot_data_p = snapshot_buffer; in validate_snapshot() local
354 EXECRES read_res = read_js_or_snapshot_file(output_file_path, snapshot_data_p, &file_bytesize, SNAPSHOT_BUFFER_SIZE); in validate_snapshot()
355 if ((read_res != EXCE_ACE_JERRY_EXEC_OK) || (snapshot_data_p == NULL) || (file_bytesize == 0)) { in validate_snapshot()
360 const jerry_snapshot_header_t* header_p = (const jerry_snapshot_header_t*) snapshot_data_p; in validate_snapshot()

Completed in 4 milliseconds