Home
last modified time | relevance | path

Searched refs:regex (Results 1 – 25 of 156) sorted by relevance

1234567

/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/events/
DEventParserState.kt26 import java.util.regex.Matcher in <lambda>()
27 import java.util.regex.Pattern in <lambda>()
69 inline fun onParseDetailsWithMatch(funcName: String, regex: String, in onParseDetailsWithMatch()
71 val patternMatcher = addPattern(regex) in onParseDetailsWithMatch()
80 inline fun onParseDetailsWithMatch(funcNames: Array<String>, regex: String, in onParseDetailsWithMatch()
82 val patternMatcher = addPattern(regex) in onParseDetailsWithMatch()
/tools/repohooks/rh/
Dhooks.py365 regex = r'^%s: (None|[0-9]+(, [0-9]+)*)$' % (field,)
366 check_re = re.compile(regex)
378 'following case-sensitive regex:\n\n %s') % (field, regex)
389 regex = r'^%s: I[a-f0-9]+$' % (field,)
390 check_re = re.compile(regex)
402 'following case-sensitive regex:\n\n %s') % (field, regex)
457 for regex in regexes:
458 if not re.search(regex, desc, re.MULTILINE):
459 missing.append(regex)
502 regex = r'^%s: .*$' % (field,)
[all …]
/tools/loganalysis/src/com/android/loganalysis/item/
DTraceFormatItem.java22 import java.util.regex.Pattern;
51 public void setRegex(Pattern regex) { in setRegex() argument
52 setAttribute(REGEX, regex); in setRegex()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterLogSaver.java52 import java.util.regex.Matcher;
53 import java.util.regex.Pattern;
142 private Set<File> findFilesRecursively(final File dir, final String regex) { in findFilesRecursively() argument
143 final Pattern pattern = Pattern.compile(regex); in findFilesRecursively()
151 private Set<String> getGroupNames(final String regex) { in getGroupNames() argument
153 Matcher m = Pattern.compile("\\(\\?<([a-zA-Z][a-zA-Z0-9]*)>").matcher(regex); in getGroupNames()
176 final String regex, in findTestContextFile() argument
179 final Pattern pattern = Pattern.compile(regex); in findTestContextFile()
194 Set<String> groupNames = getGroupNames(regex); in findTestContextFile()
333 final String regex = in invocationEnded() local
[all …]
/tools/loganalysis/src/com/android/loganalysis/parser/
DDumpsysProcStatsParser.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
DCpuInfoParser.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
DSystemPropsParser.java22 import java.util.regex.Matcher;
23 import java.util.regex.Pattern;
DBatteryUsageParser.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
DLocationServiceParser.java22 import java.util.regex.Matcher;
23 import java.util.regex.Pattern;
DMemInfoParser.java22 import java.util.regex.Matcher;
23 import java.util.regex.Pattern;
DDumpsysWifiStatsParser.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
DNativeCrashParser.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
DTopParser.java22 import java.util.regex.Matcher;
23 import java.util.regex.Pattern;
DTracesParser.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
DDumpsysPackageStatsParser.java22 import java.util.regex.Matcher;
23 import java.util.regex.Pattern;
/tools/tradefederation/core/src/com/android/tradefed/util/
DStringUtil.java20 import java.util.regex.Matcher;
21 import java.util.regex.Pattern;
DRegexTrie.java23 import java.util.regex.Matcher;
24 import java.util.regex.Pattern;
184 for (String regex : regexen) { in put()
185 if (regex == null) { in put()
189 Pattern pat = Pattern.compile(regex); in put()
DConfigCompletor.java21 import java.util.regex.Matcher;
22 import java.util.regex.Pattern;
/tools/loganalysis/src/com/android/loganalysis/util/
DRegexTrie.java23 import java.util.regex.Matcher;
24 import java.util.regex.Pattern;
184 for (String regex : regexen) { in put()
185 if (regex == null) { in put()
189 Pattern pat = Pattern.compile(regex); in put()
DLogPatternUtil.java20 import java.util.regex.Matcher;
21 import java.util.regex.Pattern;
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DRegexTrieTest.java35 import java.util.regex.Pattern;
239 String regex = "regex"; in testCompPattern_equality() local
240 Pattern p1 = Pattern.compile(regex); in testCompPattern_equality()
241 Pattern p2 = Pattern.compile(regex); in testCompPattern_equality()
264 String regex = "regex"; in testCompPattern_hashmap() local
265 Pattern p1 = Pattern.compile(regex); in testCompPattern_hashmap()
266 Pattern p2 = Pattern.compile(regex); in testCompPattern_hashmap()
/tools/metalava/src/main/java/com/android/tools/metalava/
DDocReplacement.kt29 private val regex: Regex, in <lambda>() constant in com.android.tools.metalava.DocReplacement
47 val new = doc.replace(regex, replacement) in <lambda>()
/tools/tradefederation/core/src/com/android/tradefed/build/
DLocalDeviceBuildProvider.java230 File findFileInDir(String regex) throws BuildRetrievalError { in findFileInDir() argument
231 return findFileInDir(regex, mBuildDir); in findFileInDir()
243 File findFileInDir(String regex, File dir) throws BuildRetrievalError { in findFileInDir() argument
244 File[] files = dir.listFiles(new PatternFilenameFilter(regex)); in findFileInDir()
251 regex, mBuildDir.getAbsolutePath()), in findFileInDir()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DNativeStressTestParser.java22 import java.util.regex.Matcher;
23 import java.util.regex.Pattern;
/tools/tradefederation/core/src/com/android/tradefed/device/
DBatteryTemperature.java27 import java.util.regex.Matcher;
28 import java.util.regex.Pattern;

1234567