Lines Matching refs:filp
59 def emit(self, filp, name, static=True): argument
72 filp.write('%sconst char %s[] =\n%s;\n' % (
111 def emit(self, filp, name, static=True): argument
127 filp.write('%sconst %s %s[] = {\n%s\n};\n' % (
198 def emit(self, filp, string_table, idx_table): argument
206 filp.write('static const struct si_field sid_fields_table[] = {\n')
209 filp.write('\t/* %s */\n' % (start))
211 filp.write('\t%s,\n' % (field.format(string_table, idx_table)))
213 filp.write('};\n')
247 def parse(self, filp, packets, older_asics): argument
252 for line in filp:
410 with open(arg) as filp:
411 asic.parse(filp, packets, asics)