Lines Matching refs:match
39 match = re.match("^.+SECT.+External\s+\|\s+(\S+).*$", line)
40 if match:
41 yield match.group(1)
51 match = re.match("^\S+\s+[BDGRSTVW]\s+(\S+)$", line)
52 if match:
53 yield match.group(1)
66 match = re.search('Name: (\S+)', line)
67 if match:
68 name = match.group(1)
69 match = re.search('Section: (\S+)', line)
70 if match:
71 section = match.group(1)
72 match = re.search('StorageClass: (\S+)', line)
73 if match:
74 storageclass = match.group(1)
93 match = re.match('.+machine \((\S+)\)', line)
94 if match:
95 retval = (match.group(1) == 'x86')
105 match = re.match('.+file format (\S+)', line)
106 if match:
107 return (match.group(1) == 'pe-i386')
114 match = re.match('Format: (\S+)', line)
115 if match:
116 return (match.group(1) == 'COFF-i386')
127 match = re.match('[_@]([^@]+)', symbol)
128 if match:
129 return match.group(1)
183 match = re.match('_Z(T[VTIS])?(N.+)', symbol)
184 if not match:
189 names, _ = parse_itanium_nested_name(match.group(2))
196 if re.match('[CD][123]', names[-1][0]) and names[-2][1]:
218 match = re.match('(\d+)(.+)', arg)
219 if match:
220 n = int(match.group(1))
221 name = match.group(1)+match.group(2)[:n]
222 rest = match.group(2)[n:]
225 match = re.match('([CD][123])(.+)', arg)
226 if match:
227 return match.group(1), match.group(2)
230 match = re.match('([^E]+)(.+)', arg)
231 if match:
232 return match.group(1), match.group(2)
244 match = re.match('(\d+)(.+)', tmp)
245 if match:
246 n = int(match.group(1))
247 tmp = match.group(2)[n:]
250 match = re.match('S[A-Z0-9]*_(.+)', tmp)
251 if match:
252 tmp = match.group(1)
278 match = re.match('NS[A-Z0-9]*_(.+)', arg)
279 if match:
280 tmp = match.group(1)
285 match = re.match('[rVKRO]*(.+)', tmp);
286 if match:
287 tmp = match.group(1)
459 match = re.search("^\?(\??\w+\@\?\$\w+)\@", k) variable
460 if match:
461 name = match.group(1)
465 match = re.match('_Z(T[VTIS])?(N.+)', k) variable
466 if match:
468 names, _ = parse_itanium_nested_name(match.group(2))