Searched refs:page_p (Results 1 – 6 of 6) sorted by relevance
129 parser_mem_page_t *page_p = data_p->first_p; in parser_data_free() local131 while (page_p != NULL) in parser_data_free()133 parser_mem_page_t *next_p = page_p->next_p; in parser_data_free()135 parser_free (page_p, page_size); in parser_data_free()136 page_p = next_p; in parser_data_free()171 parser_mem_page_t *page_p = (parser_mem_page_t *) parser_malloc (context_p, size); in parser_cbc_stream_alloc_page() local173 page_p->next_p = NULL; in parser_cbc_stream_alloc_page()178 data_p->last_p->next_p = page_p; in parser_cbc_stream_alloc_page()182 data_p->first_p = page_p; in parser_cbc_stream_alloc_page()184 data_p->last_p = page_p; in parser_cbc_stream_alloc_page()[all …]
327 parser_update_forward_branch (parser_mem_page_t *page_p, /**< current page */ in parser_update_forward_branch() argument335 new_distance += page_p->bytes[PARSER_CBC_STREAM_PAGE_SIZE - 1] & CBC_LOWER_SEVEN_BIT_MASK; in parser_update_forward_branch()337 page_p = page_p->next_p; in parser_update_forward_branch()340 new_distance += page_p->bytes[full_distance - 1] & CBC_LOWER_SEVEN_BIT_MASK; in parser_update_forward_branch()350 parser_update_backward_branch (parser_mem_page_t *page_p, /**< current page */ in parser_update_backward_branch() argument358 JERRY_ASSERT (page_p != NULL); in parser_update_backward_branch()359 new_distance += page_p->bytes[PARSER_CBC_STREAM_PAGE_SIZE - 1] & CBC_LOWER_SEVEN_BIT_MASK; in parser_update_backward_branch()361 page_p = page_p->next_p; in parser_update_backward_branch()368 JERRY_ASSERT (page_p != NULL); in parser_update_backward_branch()370 new_distance += page_p->bytes[PARSER_CBC_STREAM_PAGE_SIZE - 1] & CBC_LOWER_SEVEN_BIT_MASK; in parser_update_backward_branch()[all …]
50 parser_mem_page_t *page_p = context_p->byte_code.last_p; in parser_emit_two_bytes() local52 page_p->bytes[last_position] = first_byte; in parser_emit_two_bytes()53 page_p->bytes[last_position + 1] = second_byte; in parser_emit_two_bytes()58 parser_mem_page_t *page_p; in parser_emit_two_bytes() local61 page_p = context_p->byte_code.last_p; in parser_emit_two_bytes()62 page_p->bytes[0] = first_byte; in parser_emit_two_bytes()63 page_p->bytes[1] = second_byte; in parser_emit_two_bytes()572 branch_p->page_p = context_p->byte_code.last_p; in parser_emit_cbc_forward_branch()723 parser_mem_page_t *page_p = branch_p->page_p; in parser_set_branch_to_current_position() local740 page_p->bytes[offset++] = (uint8_t) (delta >> 8); in parser_set_branch_to_current_position()[all …]
336 parser_mem_page_t *page_p = context_p->stack.first_p; in parser_stack_change_last_uint8() local338 JERRY_ASSERT (page_p != NULL in parser_stack_change_last_uint8()339 && context_p->stack_top_uint8 == page_p->bytes[context_p->stack.last_position - 1]); in parser_stack_change_last_uint8()341 page_p->bytes[context_p->stack.last_position - 1] = new_value; in parser_stack_change_last_uint8()
368 parser_mem_page_t *page_p; /**< branch location page */ member
3240 parser_mem_page_t *page_p = context_p->stack.first_p; in parser_process_expression_sequence() local3242 JERRY_ASSERT (page_p != NULL); in parser_process_expression_sequence()3244 page_p->bytes[context_p->stack.last_position - 1] = LEXER_COMMA_SEP_LIST; in parser_process_expression_sequence()