Lines Matching refs:line
320 def parse_line(self, line): argument
326 pos_lparen = line.find('(')
329 E("missing left parenthesis in '%s'" % line)
332 pos_rparen = line.rfind(')')
334 E("missing or misplaced right parenthesis in '%s'" % line)
337 return_type = line[:pos_lparen].strip().split()
339 E("missing return type in '%s'" % line)
351 E("misplaced colon in '%s'" % line)
362 E("misplaced colon2 in '%s'" % line)
380 syscall_params = line[pos_lparen+1:pos_rparen].split(',')
396 arch_list = line[pos_rparen+1:].strip()
413 E("invalid syscall architecture '%s' in '%s'" % (arch, line))
419 for line in fp:
421 line = line.strip()
422 if not line: continue
423 if line[0] == '#': continue
424 self.parse_line(line)