Home | History | Annotate | Download | only in header-tools

Lines Matching refs:inc

25 # append (1) to the end of the first line which includes INC in list INC.
26 def append_1 (output, inc):
28 idx = t.find(inc)
30 eos = idx + len (inc)
38 def find_include_data (inc):
41 nm = x+"/"+inc
45 if inc == "coretypes.h":
47 elif inc == "rtl.h" and sawcore:
54 def process_include (inc, indent):
55 if inc[-2:] != ".h":
57 bname = os.path.basename (inc)
64 if seen.get(inc) == None:
65 seen[inc] = 1
67 info = find_include_data (inc)
71 seen[inc] += 1
72 if (seen[inc] == 2):
73 append_1(output, inc)
74 output.append (padding[:indent*tabstop] + bname + " ("+str(seen[inc])+")" + arrow)