Lines Matching refs:sub
130 return re.sub('^/.*/' + pkg + '-[0-9a-f]*/out/', '.../out/', s)
145 self.root_pkg_name = '' # parent package name of a sub/test packge
300 deps = re.sub('=/[^ ]*/deps/', ' = ', arg)
302 self.core_deps.append(re.sub(' = .*', '', deps))
307 self.root_pkg_name = re.sub('^.*/', '',
308 re.sub('/' + TARGET_TEMP + '/.*/deps$', '', arg))
310 self.root_pkg_name = re.sub('^.*/', '',
311 re.sub('/[^/]+/[^/]+/deps$', '', arg))
316 self.static_libs.append(re.sub('static=', '', arg))
318 self.shared_libs.append(re.sub('dylib=', '', arg))
323 self.main_src = re.sub(r'^/[^ ]*/registry/src/', '.../', arg)
324 self.main_src = re.sub(r'^\.\.\./github.com-[0-9a-f]*/', '.../', self.main_src)
695 lib_name = re.sub(' .*$', '', lib)
722 lib_name = re.sub(' .*$', '', lib)
1079 help='do not output anything for sub-directories')