Lines Matching defs:line
20 for line in file.readlines():
21 line = line.rstrip()
22 if line.find( "crPackAlloc" ) != -1 or line.find( "crPackFree" ) != -1:
23 print line
25 elif line.find( "crPack" ) != -1:
26 fun_index = line.find( "crPack" )
27 paren_index = line.find( "(", fun_index )
28 space_index = line.find( " ", fun_index )
29 quote_index = line.find( '"', fun_index )
37 print "%sSWAP%s" % (line[:the_index], line[the_index:])
38 elif line.find("WRITE_DATA_AI") != -1:
39 lparen_index = line.find( "(" )
40 rparen_index = line.rfind( ")" )
41 args = map( string.strip, line[lparen_index+1:rparen_index].split( "," ) )
42 indentation = line[:line.find( "WRITE_DATA_AI" )]
54 elif line.find( "WRITE_DATA" ) != -1:
55 lparen_index = line.find( "(" )
56 rparen_index = line.rfind( ")" )
57 args = map( string.strip, line[lparen_index+1:rparen_index].split( "," ) )
58 indentation = line[:line.find( "WRITE_DATA" )]
70 elif line.find( "WRITE_DOUBLE" ) != -1:
71 print line.replace( "WRITE_DOUBLE", "WRITE_SWAPPED_DOUBLE" )
73 print line