Lines Matching +full:data +full:- +full:lines
5 # Copyright Red Hat, Inc. 2015 - 2016
11 # See the COPYING file in the top-level directory.
17 data = line.split()
19 # data[0] -> struct element name
20 # data[1] -> =
21 # data[2] -> value
23 return data[2].replace('"', '')[:-1]
26 lines = []
27 lines.append('.library_name = "' + library + '",')
29 lines.append('.format_name = "' + format_name + '",')
31 lines.append('.protocol_name = "' + protocol_name + '",')
33 text = '\n '.join(lines)
44 if line.find(".format_name") != -1:
46 elif line.find(".protocol_name") != -1:
51 elif line.find("static BlockDriver") != -1: