Home | History | Annotate | Download | only in test

Lines Matching refs:num_locations

324         check_breakpoint_result (test, break_results, num_locations=num_expected_locations, file_name = file_name, line_number = line_number, module_name=module_name)
326 check_breakpoint_result (test, break_results, num_locations = num_expected_locations)
345 check_breakpoint_result (test, break_results, num_locations = num_expected_locations, symbol_name = symbol, module_name=module_name)
347 check_breakpoint_result (test, break_results, num_locations = num_expected_locations)
365 check_breakpoint_result (test, break_results, num_locations = num_expected_locations, symbol_name = selector, symbol_match_exact=False, module_name=module_name)
367 check_breakpoint_result (test, break_results, num_locations = num_expected_locations)
380 check_breakpoint_result (test, break_results, num_locations=num_expected_locations)
392 check_breakpoint_result (test, break_results, num_locations=num_expected_locations)
403 num_locations - number of locations set for the breakpoint.
414 patterns = [r"^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$",
415 r"^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.",
432 if not 'num_locations' in break_results:
433 num_locations = 1
435 num_locations = break_results['num_locations']
436 if num_locations
437 num_locations = 0
439 num_locations = int(break_results['num_locations'])
441 break_results['num_locations'] = num_locations
451 def check_breakpoint_result (test, break_results, file_name=None, line_number=-1, symbol_name=None, symbol_match_exact=True, module_name=None, offset=-1, num_locations=-1):
453 out_num_locations = break_results['num_locations']
455 if num_locations == -1:
458 test.assertTrue (num_locations == out_num_locations, "Expecting %d locations, got %d."%(num_locations, out_num_locations))