Lines Matching refs:nr_lines
35 jint nr_lines = 0; in do_get_line_numbers() local
39 ret = (*jvmti)->GetLineNumberTable(jvmti, m, &nr_lines, &loc_tab); in do_get_line_numbers()
45 for (i = 0; i < nr_lines; i++) { in do_get_line_numbers()
62 get_line_numbers(jvmtiEnv *jvmti, const void *compile_info, jvmti_line_info_t **tab, int *nr_lines) in get_line_numbers() argument
72 if (!(tab && nr_lines)) in get_line_numbers()
125 *nr_lines = lines_total; in get_line_numbers()
206 fill_source_filenames(jvmtiEnv *jvmti, int nr_lines, in fill_source_filenames() argument
213 for (index = 0; index < nr_lines; ++index) { in fill_source_filenames()
241 int nr_lines = 0; /* in line_tab[] */ in compiled_method_load_cb() local
253 ret = get_line_numbers(jvmti, compile_info, &line_tab, &nr_lines); in compiled_method_load_cb()
256 nr_lines = 0; in compiled_method_load_cb()
257 } else if (nr_lines > 0) { in compiled_method_load_cb()
258 line_file_names = malloc(sizeof(char*) * nr_lines); in compiled_method_load_cb()
262 memset(line_file_names, 0, sizeof(char*) * nr_lines); in compiled_method_load_cb()
263 ret = fill_source_filenames(jvmti, nr_lines, line_tab, line_file_names); in compiled_method_load_cb()
299 …if (jvmti_write_debug_info(jvmti_agent, addr, nr_lines, line_tab, (const char * const *) line_file… in compiled_method_load_cb()
316 while (line_file_names && (nr_lines > 0)) { in compiled_method_load_cb()
317 if (line_file_names[nr_lines - 1]) { in compiled_method_load_cb()
318 free(line_file_names[nr_lines - 1]); in compiled_method_load_cb()
320 nr_lines -= 1; in compiled_method_load_cb()