Home
last modified time | relevance | path

Searched refs:pattern (Results 1 – 25 of 41) sorted by relevance

12

/development/vndk/tools/header-checker/src/repr/symbol/
Dexported_symbol_set.h68 void AddGlobPattern(const std::string &pattern) { in AddGlobPattern() argument
69 glob_patterns_.insert(pattern); in AddGlobPattern()
72 void AddDemangledCppGlobPattern(const std::string &pattern) { in AddDemangledCppGlobPattern() argument
73 demangled_cpp_glob_patterns_.insert(pattern); in AddDemangledCppGlobPattern()
76 void AddDemangledCppSymbol(const std::string &pattern) { in AddDemangledCppSymbol() argument
77 demangled_cpp_symbols_.insert(pattern); in AddDemangledCppSymbol()
Dexported_symbol_set.cpp36 for (auto &&pattern : patterns) { in HasMatchingGlobPattern()
37 if (fnmatch(pattern.c_str(), text, 0) == 0) { in HasMatchingGlobPattern()
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/utils/
DGrepHelper.java36 public abstract void buildCommand(StringBuilder sb, String pattern, int before, int after, in buildCommand() argument
76 public void buildCommand(StringBuilder sb, String pattern, int before, int after, in buildCommand() argument
91 sb.append(Utils.shellEscape(pattern)); in buildCommand()
131 public void buildCommand(StringBuilder sb, String pattern, int before, int after, in buildCommand() argument
147 sb.append(Utils.shellEscape(pattern)); in buildCommand()
/development/tools/idegen/src/
DEclipse.java62 for (Pattern pattern : patterns) { in generateFrom()
63 buckets.add(new Bucket(pattern)); in generateFrom()
177 private final Pattern pattern; field in Eclipse.Bucket
180 private Bucket(Pattern pattern) { in Bucket() argument
181 this.pattern = pattern; in Bucket()
185 return pattern.matcher(path).find(); in matches()
DExcludes.java38 for (Pattern pattern : patterns) { in exclude()
39 if (pattern.matcher(path).find()) { in exclude()
/development/tools/winscope/src/
DdecodeVideo.js20 function findFirstInArray(array, pattern) { argument
23 for (var j = 0; j < pattern.length; j++) {
24 if (array[i + j] != pattern[j]) {
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMorseCode.java86 long[] pattern = MorseCodeConverter.pattern(text);
90 vibrator.vibrate(pattern, -1);
DMorseCodeConverter.java75 static long[] pattern(char c) { in pattern() method in MorseCodeConverter
90 static long[] pattern(String str) { in pattern() method in MorseCodeConverter
109 len += pattern(c).length; in pattern()
134 long[] letter = pattern(c); in pattern()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DExtendedWikiHelper.java126 public FormatRule(String pattern, String replaceWith, int flags) { in FormatRule() argument
127 mPattern = Pattern.compile(pattern, flags); in FormatRule()
139 public FormatRule(String pattern, String replaceWith) { in FormatRule() argument
140 this(pattern, replaceWith, 0); in FormatRule()
/development/samples/ApiDemos/src/com/example/android/apis/hardware/
DConsumerIr.java90 int[] pattern = {1901, 4453, 625, 1614, 625, 1588, 625, 1614, 625, 442, 625, 442, 625,
97 mCIR.transmit(38400, pattern);
/development/vndk/tools/definition-tool/assets/insight/
Dinsight.js420 function escapeRegExp(pattern) { argument
421 return pattern.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, '\\$1');
426 let pattern = '';
428 pattern += escapeRegExp(part) + '(?:/[^\/]*)*';
430 pattern = RegExp(pattern);
433 return pattern.test(mod.path);
/development/vndk/snapshot/
Dutils.py141 def fetch_artifact(branch, build, pattern, destination='.'): argument
153 build, pattern, destination
Dcheck_gpl_license.py181 pattern = 'GENERAL PUBLIC LICENSE'
184 if pattern in notice_file.read():
/development/samples/ApiDemos/tests/src/com/example/android/apis/os/
DMorseCodeConverterTest.java41 long[] beeps = MorseCodeConverter.pattern('s'); in testCharacterS()
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DWordWidget.java93 Pattern pattern = Pattern.compile(SimpleWikiHelper.WORD_OF_DAY_REGEX); in buildUpdate() local
94 Matcher matcher = pattern.matcher(pageContent); in buildUpdate()
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/
DEncodedStringValue.java212 public EncodedStringValue[] split(String pattern) { in split() argument
213 String[] temp = getString().split(pattern); in split()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DClockBackService.java256 long[] pattern = sVibrationPatterns.get(key);
257 if (pattern != null) {
258 mVibrator.vibrate(pattern, -1);
/development/vndk/tools/definition-tool/tests/
Dndk_toolchain.py35 pattern = re.compile('android-(\\d+)')
37 match = pattern.match(name)
/development/tools/mkstubs/
DREADME.txt54 $ java -jar mkstubs input.jar output.jar [@configfile -pattern +pattern ...]
/development/vndk/tools/image-diff-tool/
Ddiff.py133 for pattern in ignored_patterns:
134 if fnmatch.fnmatch(norm_filename, pattern):
/development/tools/
Dmonkey259 pattern = "%%0%dd" % len(str(options.runs-1))
293 filebase = os.path.sep.join((options.dir, pattern % run))
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DXmlDocumentProvider.java349 String pattern = input.replaceAll("//", "/(.*/|)").replaceAll("^/", "^/") + "$"; in createPattern() local
350 return Pattern.compile(pattern); in createPattern()
/development/python-packages/adb/
Ddevice.py238 pattern = r'^Android Debug Bridge version 1.0.(\d+)$'
239 result = re.match(pattern, version_output.splitlines()[0])
/development/vndk/tools/sourcedr/blueprint/
Dblueprint.py344 '(' + pattern + ')' for _, pattern in LEXER_PATTERNS))
767 def glob_sub_files(pattern, sub_file_name): argument
771 for path in glob.glob(pattern):
/development/testrunner/
Druntest.py89 pattern = r'' + out_base_name + r'\/target\/product\/\w+\/(.+)$'
90 self._re_make_install_path = re.compile(pattern)

12