Lines Matching refs:r
41 _APK_RE = re.compile(r'^[^/]+\.apk$', re.I)
43 _CC_CLASS_RE = re.compile(r'^[ ]*TEST(_F|_P)?[ ]*\(', re.I)
45 _JAVA_METHODS_PATTERN = r'.*[ ]+({0})\(.*'
47 _CC_METHODS_PATTERN = r'^[ ]*TEST(_F|_P)?[ ]*\(.*,[ ]*({0})\).*'
50 _PACKAGE_RE = re.compile(r'\s*package\s+(?P<package>[^(;|\s)]+)\s*', re.I)
52 _HOST_PATH_RE = re.compile(r'.*\/host\/.*', re.I)
53 _DEVICE_PATH_RE = re.compile(r'.*\/target\/.*', re.I)
73 FIND_REFERENCE_TYPE.CLASS: r"find {0} {1} -type f"
74 r"| egrep '.*/{2}\.(kt|java)$' || true",
75 FIND_REFERENCE_TYPE.QUALIFIED_CLASS: r"find {0} {1} -type f"
76 r"| egrep '.*{2}\.(kt|java)$' || true",
77 FIND_REFERENCE_TYPE.PACKAGE: r"find {0} {1} -wholename "
78 r"'*{2}' -type d -print",
79 FIND_REFERENCE_TYPE.INTEGRATION: r"find {0} {1} -wholename "
80 r"'*{2}.xml' -print",
85 FIND_REFERENCE_TYPE.CC_CLASS: r"find {0} {1} -type f -print"
86 r"| egrep -i '/*test.*\.(cc|cpp)$'"
87 r"| xargs -P" + str(_CPU_COUNT) +
88 r" egrep -sH '^[ ]*TEST(_F|_P)?[ ]*\({2}' || true"
130 _VTS_BINARY_SRC_DELIM_RE = re.compile(r'.*::(?P<target>.*)$')
244 '|'.join([r'%s' % x for x in methods])))
247 '|'.join([r'%s' % x for x in methods])))
323 for idx in re.sub(r'(\s)', '', test_indices).split(','):
355 find_out_dir_cmd = (r'find %s -maxdepth 2 '
356 r'-type f \( -name ".out-dir" -o -name '
357 r'".find-ignore" \)') % build_top
392 prune_cond = r'-type d \( -name ".*"'
394 prune_cond += r' -o -path %s' % out_dir
395 prune_cond += r' \) -prune -o'