| /cts/suite/audio_quality/lib/src/task/ |
| TaskCase.cpp | 18 #include <regex.h> 113 regex_t regex; local 114 if (regcomp(®ex, re, REG_EXTENDED | REG_NOSUB) != 0) { 121 if (regexec(®ex, it->first, 0, NULL, 0) == 0) { 125 regfree(®ex); 133 regfree(®ex);
|
| /device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/ |
| RegularExpressionDxe.c | 36 Call the Oniguruma regex match API.
71 @retval EFI_SUCCESS Regex compilation and match completed successfully.
72 @retval EFI_DEVICE_ERROR Regex compilation failed.
108 DEBUG ((DEBUG_ERROR, "Unsupported regex syntax - using default\n"));
128 DEBUG ((DEBUG_ERROR, "Regex compilation failed: %a\n", ErrorMessage));
157 DEBUG ((DEBUG_ERROR, "Regex match failed: %a\n", ErrorMessage));
|
| /external/compiler-rt/ |
| CMakeLists.txt | 56 string(REGEX REPLACE "[ \t]*[\r\n]+[ \t]*" ";" CONFIG_OUTPUT ${CONFIG_OUTPUT}) 143 string(REGEX REPLACE " /W[0-4]" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") 144 string(REGEX REPLACE " /W[0-4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") 187 string(REGEX REPLACE "/M[DT]d" "/MT" ${flag_var} "${${flag_var}}") 188 string(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}") 189 string(REGEX REPLACE "/D_DEBUG" "" ${flag_var} "${${flag_var}}")
|
| /external/guice/extensions/servlet/src/com/google/inject/servlet/ |
| ServletModule.java | 258 * @param regex Any Java-style regular expression. 261 protected final FilterKeyBindingBuilder filterRegex(String regex, String... regexes) { 263 .filterRegex(ImmutableList.<String>builder().add(regex).add(regexes).build()); 276 * @param regex Any Java-style regular expression. 279 protected final ServletKeyBindingBuilder serveRegex(String regex, String... regexes) { 281 .serveRegex(ImmutableList.<String>builder().add(regex).add(regexes).build());
|
| /external/tensorflow/tensorflow/core/profiler/internal/ |
| tfprof_show_multi.cc | 86 for (const string& regex : opts.show_name_regexes) { 87 if (RE2::FullMatch(node->name(), regex)) { 96 for (const string& regex : opts.hide_name_regexes) { 97 if (RE2::FullMatch(node->name(), regex)) return false; 104 for (const string& regex : regexes) { 105 if (RE2::FullMatch(node->name(), regex)) {
|
| /external/toybox/tests/ |
| sed.test | 53 testing 'num then regex' 'sed -n 2,/d/p' 'b\nc\nd\n' '' 'a\nb\nc\nd\ne\nf\n' 54 testing 'regex then num' 'sed -n /b/,4p' 'b\nc\nd\n' '' 'a\nb\nc\nd\ne\nf\n' 55 testing 'multiple regex address match' 'sed -n /on/,/off/p' \ 58 testing 'regex address overlap' 'sed -n /on/,/off/p' "on\nzap\noffon\n" "" \ 121 testing "delimiter in regex [char range] doesn't count" "sed -e 's/[/]//'" \ 123 testing "delete regex range start line after trigger" \
|
| /packages/apps/Settings/src/com/android/settings/ |
| TetherSettings.java | 308 for (String regex : mUsbRegexs) { 309 if (s.matches(regex)) { 318 for (String regex : mUsbRegexs) { 319 if (s.matches(regex)) usbTethered = true; 324 for (String regex : mUsbRegexs) { 325 if (s.matches(regex)) usbErrored = true;
|
| /tools/loganalysis/src/com/android/loganalysis/util/ |
| RegexTrie.java | 23 import java.util.regex.Matcher; 24 import java.util.regex.Pattern; 27 * The RegexTrie is a trie where each _stored_ segment of the key is a regex {@link Pattern}. Thus, 184 for (String regex : regexen) { 185 if (regex == null) { 189 Pattern pat = Pattern.compile(regex);
|
| /tools/tradefederation/core/src/com/android/tradefed/util/ |
| RegexTrie.java | 23 import java.util.regex.Matcher; 24 import java.util.regex.Pattern; 27 * The RegexTrie is a trie where each <emph>stored</emph> segment of the key is a regex 184 for (String regex : regexen) { 185 if (regex == null) { 189 Pattern pat = Pattern.compile(regex);
|
| /external/icu/icu4c/source/i18n/ |
| i18n.vcxproj.filters | 13 <Filter Include="regex"> 370 <Filter>regex</Filter> 373 <Filter>regex</Filter> 376 <Filter>regex</Filter> 379 <Filter>regex</Filter> 382 <Filter>regex</Filter> 385 <Filter>regex</Filter> 388 <Filter>regex</Filter> 391 <Filter>regex</Filter> 864 <Filter>regex</Filter [all...] |
| repattrn.cpp | 17 #include "unicode/regex.h" 306 RegexPattern::compile(const UnicodeString ®ex, 342 compiler.compile(regex, pe, status); 357 RegexPattern::compile(UText *regex, 393 compiler.compile(regex, pe, status); 407 RegexPattern::compile(const UnicodeString ®ex, 411 return compile(regex, 0, pe, err); 419 RegexPattern::compile(UText *regex, 423 return compile(regex, 0, pe, err); 431 RegexPattern::compile(const UnicodeString ®ex, [all...] |
| /external/google-benchmark/test/ |
| output_test_helper.cc | 90 CHECK(!NC.regex->Match(line)) 91 << "Unexpected match for line \"" << line << "\" for MR_Not regex \"" 93 << "\n actual regex string \"" << TC.substituted_regex << "\"" 96 if (TC.regex->Match(line)) return; 98 << "Expected line \"" << line << "\" to match regex \"" << TC.regex_str 100 << "\n actual regex string \"" << TC.substituted_regex << "\"" 104 << "End of output reached before match for regex \"" << TC.regex_str 106 << "\n actual regex string \"" << TC.substituted_regex << "\"" 232 if(!p.regex->Match(r.name)) { 334 regex(std::make_shared<benchmark::Regex>()) [all...] |
| /external/libcxx/utils/google-benchmark/test/ |
| output_test_helper.cc | 90 CHECK(!NC.regex->Match(line)) 91 << "Unexpected match for line \"" << line << "\" for MR_Not regex \"" 93 << "\n actual regex string \"" << TC.substituted_regex << "\"" 96 if (TC.regex->Match(line)) return; 98 << "Expected line \"" << line << "\" to match regex \"" << TC.regex_str 100 << "\n actual regex string \"" << TC.substituted_regex << "\"" 104 << "End of output reached before match for regex \"" << TC.regex_str 106 << "\n actual regex string \"" << TC.substituted_regex << "\"" 232 if(!p.regex->Match(r.name)) { 334 regex(std::make_shared<benchmark::Regex>()) [all...] |
| /tools/repohooks/rh/ |
| hooks.py | 219 include_list: list of regex that when matched with a file path will cause 221 a regex in the exclude_list. 222 exclude_list: list of regex that when matched with a file will prevent it 224 regex in the include_list. 331 regex = r'^%s: (None|[0-9]+(, [0-9]+)*)$' % (field,) 332 check_re = re.compile(regex) 344 '%s') % (field, regex) 355 regex = r'^%s: I[a-f0-9]+$' % (field,) 356 check_re = re.compile(regex) 368 '%s') % (field, regex) [all...] |
| /art/test/911-get-stack-trace/src/art/ |
| PrintThread.java | 22 import java.util.regex.Matcher; 23 import java.util.regex.Pattern;
|
| /build/make/core/ |
| checktree | 40 def run(command, regex, filt): 59 regex_compiled = re.compile(regex)
|
| /cts/hostsidetests/dumpsys/src/android/dumpsys/cts/ |
| StoragedDumpsysTest.java | 24 import java.util.regex.Matcher; 25 import java.util.regex.Pattern;
|
| /cts/hostsidetests/incident/src/com/android/server/cts/ |
| PackageIncidentTest.java | 21 import java.util.regex.Matcher; 22 import java.util.regex.Pattern;
|
| /cts/libs/vogar-expect/src/vogar/util/ |
| Strings.java | 32 import java.util.regex.Matcher; 33 import java.util.regex.Pattern;
|
| /cts/tests/framework/base/activitymanager/src/android/server/am/ |
| VirtualDisplayHelper.java | 39 import java.util.regex.Matcher; 40 import java.util.regex.Pattern;
|
| /cts/tests/signature/src/android/signature/cts/ |
| DexMethod.java | 20 import java.util.regex.Matcher; 21 import java.util.regex.Pattern;
|
| /cts/tests/tests/hardware/src/android/hardware/cts/ |
| Egl14Utils.java | 26 import java.util.regex.Matcher; 27 import java.util.regex.Pattern;
|
| /cts/tests/tests/security/src/android/security/cts/ |
| AslrTest.java | 33 import java.util.regex.Matcher; 34 import java.util.regex.Pattern;
|
| /development/apps/BuildWidget/src/com/android/buildwidget/ |
| BuildWidget.java | 34 import java.util.regex.Matcher; 35 import java.util.regex.Pattern;
|
| /development/tools/bugreport/src/com/android/bugreport/cpuinfo/ |
| CpuUsageParser.java | 26 import java.util.regex.Pattern; 27 import java.util.regex.Matcher;
|