Lines Matching defs:in
12 sys.stderr.write("the rules defined in the DEPENDENCY_FILE.\n")
22 sys.stderr.write(" to any classes present in the second package, or any\n")
30 sys.stderr.write(" listed in the dependency file.\n")
49 for d in self.transitive:
58 if dep in visited:
61 for v in visited:
67 for upper in dep.uppers:
69 if upper in deps:
72 self.parts = [(dep.lower.split('.'),dep) for dep in deps.itervalues()]
74 for dep in deps.itervalues():
77 for dep in deps.itervalues():
79 for d in deps.itervalues():
82 # disallow the 'top' components everywhere but in their own package
83 for dep in deps.itervalues():
85 for d in deps.itervalues():
88 for dep in deps.itervalues():
89 dep.transitive = set([x+"." for x in dep.transitive])
91 for dep in deps.itervalues():
103 for i in range(0, len(parts)):
111 for (parts,dep) in self.parts:
127 lines = [lineno(x,n) for x in lines]
128 lines = [(n,s.split("#")[0].strip()) for (n,s) in lines]
129 lines = [(n,s) for (n,s) in lines if len(s) > 0]
130 lines = [(n,s.split()) for (n,s) in lines]
132 for n,words in lines:
145 if lower in deps:
154 if lower in deps:
172 for d in srcs:
175 result.extend([fn for fn in [s.strip() for s in f.readlines()]
179 for root, dirs, files in os.walk(d):
180 result.extend([os.sep.join((root,f)) for f in files
202 statements = [s.strip() for s in text.split(";")]
214 for statement in statements[1:]:
225 sys.stderr.write(("%s: Error: Package does not appear in dependency file: "
229 for imp in imports:
231 sys.stderr.write("%s: Illegal import in package '%s' of '%s'\n"
246 for filename in java: