HomeSort by relevance Sort by last modified time
    Searched full:regex (Results 1 - 25 of 1117) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /ndk/sources/host-tools/sed-4.2.1/testsuite/
recall.sed 1 # Check that the empty regex recalls the last *executed* regex,
2 # not the last *compiled* regex
bug-regex8.c 30 #include <regex.h>
36 struct re_pattern_buffer regex; local
40 memset (&regex, '\0', sizeof (regex));
42 s = re_compile_pattern ("xy$", 3, &regex);
49 match[0] = re_match_2(&regex,"xyz",3,NULL,0,0,NULL,2);
51 free (regex.buffer);
52 memset (&regex, '\0', sizeof (regex));
54 s = re_compile_pattern ("xy\\>", 4, &regex);
    [all...]
bug-regex7.c 30 #include <regex.h>
36 struct re_pattern_buffer regex; local
42 memset (&regex, '\0', sizeof (regex));
45 s = re_compile_pattern ("a", 1, &regex);
53 match = re_search (&regex, "baobab", 6, 0, 6, &regs);
67 free (regex.buffer);
68 memset (&regex, '\0', sizeof (regex));
70 s = re_compile_pattern ("\\(\\(\\(a\\)\\)\\)", 13, &regex);
    [all...]
  /external/jsr305/ri/src/main/java/javax/annotation/
RegEx.java 6 import java.util.regex.Pattern;
7 import java.util.regex.PatternSyntaxException;
19 @Syntax("RegEx")
22 public @interface RegEx {
25 static class Checker implements TypeQualifierValidator<RegEx> {
27 public When forConstantValue(RegEx annotation, Object value) {
  /external/dbus/cmake/modules/
MacroGetenvWinPath.cmake 4 STRING(REGEX REPLACE "\\\\" "/" ${var} "${${var}}")
  /external/webkit/Source/JavaScriptCore/yarr/
yarr.pri 1 # Yet Another Regex Runtime - Qt4 build info
  /ndk/sources/host-tools/sed-4.2.1/m4/
regex.m4 19 AC_ARG_WITH([included-regex],
20 [AS_HELP_STRING([--without-included-regex],
21 [don't compile regex; this is the default on systems
29 # If the system regex support is good enough that it passes the
30 # following run test, then default to *not* using the included regex.c.
32 # regex.c.
42 #include <regex.h>
44 [[static struct re_pattern_buffer regex;
63 memset (&regex, 0, sizeof regex);
    [all...]
  /external/easymock/src/org/easymock/internal/matchers/
Find.java 19 import java.util.regex.Pattern;
27 private final String regex; field in class:Find
29 public Find(String regex) {
30 this.regex = regex;
35 && Pattern.compile(regex).matcher((String) actual).find();
39 buffer.append("find(\"" + regex.replaceAll("\\\\", "\\\\\\\\") + "\")");
Matches.java 26 private final String regex; field in class:Matches
28 public Matches(String regex) {
29 this.regex = regex;
33 return (actual instanceof String) && ((String) actual).matches(regex);
37 buffer.append("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\")
  /dalvik/tests/094-pattern/
info.txt 4 some regex libs, -Xss65k is the minimum allowable size.
  /external/llvm/cmake/modules/
ChooseMSVCCRT.cmake 13 # 2. Replace the flags in both variables with the new flag via a regex.
18 macro(make_crt_regex regex crts)
19 set(${regex} "")
23 set(${regex} "${${regex}}|(^| +)/${crt}($| +)")
25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}")
28 macro(get_current_crt crt_current regex flagsvar)
31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}"
    [all...]
  /external/llvm/unittests/Support/
RegexTest.cpp 1 //===- llvm/unittest/Support/RegexTest.cpp - Regex tests --===//
11 #include "llvm/Support/Regex.h"
22 Regex r1("^[0-9]+$");
28 Regex r2("[0-9]+");
33 Regex r3("[0-9]+([a-f])?:([0-9]+)");
46 Regex r4("a[^b]+b");
58 Regex r5(NulPattern);
68 EXPECT_EQ("aNUMber", Regex("[0-9]+").sub("NUM", "a1234ber"));
71 EXPECT_EQ("a\\ber", Regex("[0-9]+").sub("\\\\", "a1234ber", &Error));
73 EXPECT_EQ("a\nber", Regex("[0-9]+").sub("\\n", "a1234ber", &Error))
    [all...]
  /external/chromium/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/
contentscript.js 6 var regex = /sandwich/gi; variable
7 matches = document.body.innerText.match(regex);
  /external/chromium/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_content/
contentscript.js 6 var regex = /sandwich/; variable
9 if (regex.test(document.body.innerText)) {
  /tools/motodev/src/plugins/android/
jakarta-oro-2.0.8.jar 
  /tools/motodev/src/plugins/common/
jakarta-oro-2.0.8.jar 
  /tools/motodev/src/plugins/emulator/lib/
jakarta-oro-2.0.8.jar 
  /tools/motodev/src/plugins/translation/
jakarta-oro-2.0.8.jar 
  /ndk/sources/host-tools/sed-4.2.1/sed/
regexp.c 49 struct regex *new_regex;
138 struct regex *
144 struct regex *new_regex;
156 new_regex = ck_malloc(sizeof (struct regex) + re_len - 1);
163 /* GNU regex does not process \t & co. */
210 match_regex(regex, buf, buflen, buf_start_offset, regarray, regsize)
211 struct regex *regex;
219 static struct regex *regex_last;
229 if (!regex)
    [all...]
  /external/chromium/webkit/glue/
regular_expression_unittest.cc 24 void testMatches(const WebRegularExpression& regex,
30 EXPECT_EQ(matches[i].matchPosition, regex.match(
46 WebRegularExpression regex("the quick brown fox", WebTextCaseSensitive);
47 EXPECT_EQ(0, regex.match("the quick brown fox"));
48 EXPECT_EQ(1, regex.match(" the quick brown fox"));
49 EXPECT_EQ(3, regex.match("foothe quick brown foxbar"));
51 EXPECT_EQ(-1, regex.match("The quick brown FOX"));
52 EXPECT_EQ(-1, regex.match("the quick brown fo"));
58 WebRegularExpression regex(WebString(pattern, arraysize(pattern)),
73 testMatches(regex, matches, arraysize(matches))
    [all...]
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/
RegexCache.java 21 import java.util.regex.Pattern;
35 public Pattern getPatternForRegex(String regex) {
36 Pattern pattern = cache.get(regex);
38 pattern = Pattern.compile(regex);
39 cache.put(regex, pattern);
45 boolean containsRegex(String regex) {
46 return cache.containsKey(regex);
  /external/chromium/testing/gtest/include/gtest/
gtest-death-test.h 91 // On POSIX-compliant systems (*nix), we use the <regex.h> library,
92 // which uses the POSIX extended regex syntax.
94 // On other platforms (e.g. Windows), we only support a simple regex
98 // or POSIX extended regex syntax. For example, we don't support
103 // subset of both PCRE and POSIX extended regex, so it's easy to
130 // If you accidentally use PCRE or POSIX extended regex features
136 // as a compiled regex library, but should perform well enough for a
156 // that matches regex.
157 # define ASSERT_EXIT(statement, predicate, regex) \
158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_
    [all...]
  /external/gtest/include/gtest/
gtest-death-test.h 91 // On POSIX-compliant systems (*nix), we use the <regex.h> library,
92 // which uses the POSIX extended regex syntax.
94 // On other platforms (e.g. Windows), we only support a simple regex
98 // or POSIX extended regex syntax. For example, we don't support
103 // subset of both PCRE and POSIX extended regex, so it's easy to
130 // If you accidentally use PCRE or POSIX extended regex features
136 // as a compiled regex library, but should perform well enough for a
156 // that matches regex.
157 # define ASSERT_EXIT(statement, predicate, regex) \
158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_
    [all...]
  /external/llvm/utils/unittest/googletest/include/gtest/
gtest-death-test.h 91 // On POSIX-compliant systems (*nix), we use the <regex.h> library,
92 // which uses the POSIX extended regex syntax.
94 // On other platforms (e.g. Windows), we only support a simple regex
98 // or POSIX extended regex syntax. For example, we don't support
103 // subset of both PCRE and POSIX extended regex, so it's easy to
130 // If you accidentally use PCRE or POSIX extended regex features
136 // as a compiled regex library, but should perform well enough for a
156 // that matches regex.
157 # define ASSERT_EXIT(statement, predicate, regex) \
158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_
    [all...]
  /external/protobuf/gtest/include/gtest/
gtest-death-test.h 91 // On POSIX-compliant systems (*nix), we use the <regex.h> library,
92 // which uses the POSIX extended regex syntax.
94 // On other platforms (e.g. Windows), we only support a simple regex
98 // or POSIX extended regex syntax. For example, we don't support
103 // subset of both PCRE and POSIX extended regex, so it's easy to
130 // If you accidentally use PCRE or POSIX extended regex features
136 // as a compiled regex library, but should perform well enough for a
156 // that matches regex.
157 #define ASSERT_EXIT(statement, predicate, regex) \
158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_
    [all...]

Completed in 410 milliseconds

1 2 3 4 5 6 7 8 91011>>