Lines Matching refs:current_method

186   vfy_method *current_method;  member
207 vfy_fail (s, pc, vfr->current_class, vfr->current_method); in verify_fail_pc()
1226 if (s->stackdepth + depth > vfr->current_method->max_stack) in vfy_push_type_t()
1251 if (index > vfr->current_method->max_locals - depth) in set_variable()
1266 if (index > vfr->current_method->max_locals - depth) in get_variable_t()
1330 if (vfr->PC >= vfr->current_method->code_length) in get_byte()
1369 if (npc < 0 || npc >= vfr->current_method->code_length) in compute_jump()
1379 vfy_method *current_method = vfr->current_method; in add_new_state() local
1380 state *new_state = make_state_copy (old_state, current_method->max_stack, in add_new_state()
1381 current_method->max_locals); in add_new_state()
1383 debug_print_state (new_state, "New", npc, current_method->max_stack, in add_new_state()
1384 current_method->max_locals); in add_new_state()
1415 vfy_method *current_method = vfr->current_method; in merge_into() local
1418 current_method->max_locals)) in merge_into()
1424 debug_print_state (from_state, "Frm", vfr->start_PC, current_method->max_stack, in merge_into()
1425 current_method->max_locals); in merge_into()
1426 debug_print_state (new_state, " To", npc, current_method->max_stack, in merge_into()
1427 current_method->max_locals); in merge_into()
1429 current_method->max_locals); in merge_into()
1430 debug_print_state (new_state, "New", npc, current_method->max_stack, in merge_into()
1431 current_method->max_locals); in merge_into()
1469 vfr->current_method->max_stack, in push_exception_jump()
1470 vfr->current_method->max_locals); in push_exception_jump()
1471 if (vfr->current_method->max_stack < 1) in push_exception_jump()
1473 state_set_exception (&s, &t, vfr->current_method->max_stack); in push_exception_jump()
1534 if (npc >= vfr->current_method->code_length) in handle_ret_insn()
1602 vfr->flags = (char *) vfy_alloc (vfr->current_method->code_length); in branch_prepass()
1604 for (i = 0; i < vfr->current_method->code_length; ++i) in branch_prepass()
1608 while (vfr->PC < vfr->current_method->code_length) in branch_prepass()
1920 for (i = 0; i < vfr->current_method->exc_count; ++i) in branch_prepass()
1929 if (end != vfr->current_method->code_length in branch_prepass()
2155 type rt = compute_return_type (vfy_get_signature (vfr->current_method)); in check_return_type()
2167 bool is_init = vfy_strings_equal (vfy_get_method_name (vfr->current_method), in initialize_stack()
2169 bool is_clinit = vfy_strings_equal (vfy_get_method_name (vfr->current_method), in initialize_stack()
2172 if (! vfy_is_static (vfr->current_method)) in initialize_stack()
2193 arg_count = vfy_count_arguments (vfy_get_signature (vfr->current_method)); in initialize_stack()
2196 compute_argument_types (vfy_get_signature (vfr->current_method), arg_types); in initialize_stack()
2216 vfr->current_state = make_state (vfr->current_method->max_stack, in verify_instructions_0()
2217 vfr->current_method->max_locals); in verify_instructions_0()
2226 * vfr->current_method->code_length); in verify_instructions_0()
2228 for (i = 0; i < vfr->current_method->code_length; ++i) in verify_instructions_0()
2249 vfr->current_method->max_stack, vfr->current_method->max_locals); in verify_instructions_0()
2258 if (vfr->PC < vfr->current_method->code_length in verify_instructions_0()
2274 if (vfr->PC >= vfr->current_method->code_length) in verify_instructions_0()
2297 for (i = 0; i < vfr->current_method->exc_count; ++i) in verify_instructions_0()
2312 vfr->current_method->max_stack, in verify_instructions_0()
2313 vfr->current_method->max_locals); in verify_instructions_0()
3000 type_get_pc (&raw), vfr->current_method->max_locals); in verify_instructions_0()
3197 for (i = 0; i < vfr->current_method->code_length; ++i) in verify_instructions()
3209 vfy_note_stack_depth (vfr->current_method, i, curr->stackdepth); in verify_instructions()
3212 for (j = 0; j < vfr->current_method->max_locals; ++j) in verify_instructions()
3213 vfy_note_local_type (vfr->current_method, i, j, in verify_instructions()
3218 vfy_note_stack_type (vfr->current_method, i, slot, in verify_instructions()
3223 vfy_note_stack_type (vfr->current_method, i, slot, in verify_instructions()
3236 vfr->current_method = m; in make_verifier_context()
3275 for (i = 0; i < vfr->current_method->code_length; ++i) in free_verifier_context()