HomeSort by relevance Sort by last modified time
    Searched refs:re (Results 1 - 25 of 594) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/pcre/
pcre_refcount.c 74 real_pcre *re = (real_pcre *)argument_re; local
75 if (re == NULL) return PCRE_ERROR_NULL;
76 re->ref_count = (-adjust > re->ref_count)? 0 :
77 (adjust + re->ref_count > 65535)? 65535 :
78 re->ref_count + adjust;
79 return re->ref_count;
pcre_info.c 60 the re->options field has been expanded to a long int, all the public options
79 const real_pcre *re = (const real_pcre *)argument_re; local
80 if (re == NULL) return PCRE_ERROR_NULL;
81 if (re->magic_number != MAGIC_NUMBER)
83 re = _pcre_try_flipped(re, &internal_re, NULL, NULL);
84 if (re == NULL) return PCRE_ERROR_BADMAGIC;
86 if (optptr != NULL) *optptr = (int)(re->options & PUBLIC_COMPILE_OPTIONS);
88 *first_byte = ((re->flags & PCRE_FIRSTSET) != 0)? re->first_byte
    [all...]
pcre_try_flipped.c 92 re points to the regex
102 _pcre_try_flipped(const real_pcre *re, real_pcre *internal_re,
105 if (byteflip(re->magic_number, sizeof(re->magic_number)) != MAGIC_NUMBER)
108 *internal_re = *re; /* To copy other fields */
109 internal_re->size = byteflip(re->size, sizeof(re->size));
110 internal_re->options = byteflip(re->options, sizeof(re->options));
111 internal_re->flags = (pcre_uint16)byteflip(re->flags, sizeof(re->flags))
    [all...]
pcre_fullinfo.c 74 const real_pcre *re = (const real_pcre *)argument_re; local
77 if (re == NULL || where == NULL) return PCRE_ERROR_NULL;
82 if (re->magic_number != MAGIC_NUMBER)
84 re = _pcre_try_flipped(re, &internal_re, study, &internal_study);
85 if (re == NULL) return PCRE_ERROR_BADMAGIC;
92 *((unsigned long int *)where) = re->options & PUBLIC_COMPILE_OPTIONS;
96 *((size_t *)where) = re->size;
104 *((int *)where) = re->top_bracket;
108 *((int *)where) = re->top_backref
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/RegExp/
constructor-001.js 27 var re = new RegExp();
32 re.__proto__
39 re.getClassProperty() );
44 re.source );
49 re.global );
54 re.ignoreCase );
59 re.multiline );
64 re.lastIndex );
function-001.js 27 var re = new RegExp();
32 re.__proto__
39 re.getClassProperty() );
44 re.source );
49 re.global );
54 re.ignoreCase );
59 re.multiline );
64 re.lastIndex );
properties-001.js 31 function AddRegExpCases( re, s, g, i, m, l ) {
33 AddTestCase( re + ".test == RegExp.prototype.test",
35 re.test == RegExp.prototype.test );
37 AddTestCase( re + ".toString == RegExp.prototype.toString",
39 re.toString == RegExp.prototype.toString );
41 AddTestCase( re + ".contructor == RegExp.prototype.constructor",
43 re.constructor == RegExp.prototype.constructor );
45 AddTestCase( re + ".compile == RegExp.prototype.compile",
47 re.compile == RegExp.prototype.compile );
49 AddTestCase( re + ".exec == RegExp.prototype.exec"
    [all...]
properties-002.js 78 function AddRegExpCases( re, s, g, i, m, l ){
80 AddTestCase( re + ".test == RegExp.prototype.test",
82 re.test == RegExp.prototype.test );
84 AddTestCase( re + ".toString == RegExp.prototype.toString",
86 re.toString == RegExp.prototype.toString );
88 AddTestCase( re + ".contructor == RegExp.prototype.constructor",
90 re.constructor == RegExp.prototype.constructor );
92 AddTestCase( re + ".compile == RegExp.prototype.compile",
94 re.compile == RegExp.prototype.compile );
96 AddTestCase( re + ".exec == RegExp.prototype.exec"
    [all...]
  /external/v8/test/mjsunit/regress/
regress-219.js 35 function assertFlags(re, global, multiline, ignoreCase) {
36 var name = re + " flag: ";
37 (global ? assertTrue : assertFalse)(re.global, name + "g");
38 (multiline ? assertTrue : assertFalse)(re.multiline, name + "m");
39 (ignoreCase ? assertTrue : assertFalse)(re.ignoreCase, name + "i");
42 var re = /a/; variable
43 assertFlags(re, false, false, false)
45 re = /a/gim;
46 assertFlags(re, true, true, true)
48 re = RegExp("a","")
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
OldRuntimeExceptionTest.java 27 RuntimeException re = new RuntimeException(message, npe); local
28 assertEquals(message, re.getMessage());
29 assertEquals(npe, re.getCause());
31 re = new RuntimeException(null, npe);
32 assertNull(re.getMessage());
34 re = new RuntimeException(message, null);
35 assertNull(re.getCause());
40 RuntimeException re = new RuntimeException(npe); local
41 assertEquals(npe, re.getCause());
43 re = new RuntimeException((Throwable) null)
    [all...]
  /external/protobuf/vsprojects/
convert2008to2005.sh 11 sed -i -re 's/Format Version 10.00/Format Version 9.00/g;
17 sed -i -re 's/Version="9.00"/Version="8.00"/g;' $file
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/String/
match-003.js 52 re = /([\d]{5})([-\ ]?[\d]{4})?$/g;
57 AddGlobalRegExpCases( re,
58 "re = " + re,
62 re.lastIndex = 0;
65 re,
66 "re = " + re + "; re.lastIndex = 0 ",
71 re.lastIndex = s.length
    [all...]
  /ndk/sources/host-tools/sed-4.2.1/testsuite/
bug-regex16.c 14 struct re_pattern_buffer re; local
19 memset (&re, 0, sizeof (re));
20 s = re_compile_pattern ("[[.invalid_collating_symbol.]]", 30, &re);
26 s = re_compile_pattern ("[[=invalid_equivalence_class=]]", 31, &re);
32 s = re_compile_pattern ("[[:invalid_character_class:]]", 29, &re);
bug-regex21.c 33 regex_t re; local
43 if (regcomp (&re, "X-.+:.+Y=\".*\\.(A|B|C|D|E|F|G|H|I",
50 regfree (&re);
bug-regex12.c 49 regex_t re; local
60 n = regcomp (&re, tests[i].pattern, tests[i].flags);
64 regerror (n, &re, buf, sizeof (buf));
70 if (! regexec (&re, tests[i].string, tests[i].nmatch,
77 regfree (&re);
bug-regex9.c 39 regex_t re; local
47 n = regcomp (&re, "^#! */.*/(k|ba||pdk|z)sh", REG_EXTENDED);
51 regerror (n, &re, buf, sizeof (buf));
58 if (regexec (&re, text, 2, rm, 0))
72 regfree (&re);
  /external/v8/test/mjsunit/
regexp.js 39 var re = new RegExp(s);
40 assertEquals(s.match(re).length, 1);
41 assertEquals(s.match(re)[0], String.fromCharCode(0));
45 re = /^./gm; // any non-newline character at the beginning of a line
46 var result = s.match(re);
55 re = /.$/gm; // any non-newline character at the end of a line
56 result = s.match(re);
65 re = /^[^]/gm; // *any* character at the beginning of a line
66 result = s.match(re);
76 re = /[^]$/gm; // *any* character at the end of a lin
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
regress-24712.js 33 var re = /([\S]+([ \t]+[\S]+)*)[ \t]*=[ \t]*[\S]+/;
34 var result = re.exec("Course_Creator = Test");
  /external/opencv/cxcore/src/
_cxcore.h 102 float re, im; member in struct:CvComplex32f
105 CvComplex32f( float _re, float _im=0 ) : re(_re), im(_im) {}
107 //CvComplex32f( const CvComplex32f& v ) : re(v.re), im(v.im) {}
108 //CvComplex32f& operator = (const CvComplex32f& v ) { re = v.re; im = v.im; return *this; }
114 double re, im; member in struct:CvComplex64f
117 CvComplex64f( double _re, double _im=0 ) : re(_re), im(_im) {}
119 //CvComplex64f( const CvComplex64f& v ) : re(v.re), im(v.im) {
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/
RegExp_lastIndex.js 42 // re=/x./g; re.lastIndex=4; re.exec('xyabcdxa');
43 re=/x./g;
44 re.lastIndex=4;
45 testcases[count++] = new TestCase ( SECTION, "re=/x./g; re.lastIndex=4; re.exec('xyabcdxa')",
46 '["xa"]', String(re.exec('xyabcdxa')));
48 // re.lastInde
    [all...]
toString.js 41 // var re = new RegExp(); re.toString()
42 var re = new RegExp();
43 testcases[count++] = new TestCase ( SECTION, "var re = new RegExp(); re.toString()",
44 '/(?:)/', re.toString());
46 // re = /.+/; re.toString();
47 re = /.+/;
48 testcases[count++] = new TestCase ( SECTION, "re = /.+/; re.toString()"
    [all...]
  /external/icu4c/test/cintltst/
reapits.c 47 * 're" is the compiled, ready-to-go regular expression.
52 re = uregex_openC(pattern, flags, NULL, &status); \
56 uregex_setText(re, srcString, -1, &status); \
63 uregex_close(re); \
170 URegularExpression *re; local
178 re = uregex_open(pat, -1, 0, 0, &status);
183 uregex_close(re);
187 re = uregex_open(pat, -1,
191 uregex_close(re);
195 re = uregex_open(pat, -1, 0x40000000, 0, &status)
1371 URegularExpression *re; local
2178 URegularExpression *re; local
    [all...]
  /external/chromium/testing/gmock/test/
gmock_output_test.py 44 import re namespace
68 output = re.sub(r'.*gtest_main.*\n', '', output)
69 output = re.sub(r'\[.*\d+ tests.*\n', '', output)
70 output = re.sub(r'\[.* test environment .*\n', '', output)
71 output = re.sub(r'\[=+\] \d+ tests .* ran.*', '', output)
72 output = re.sub(r'.* FAILED TESTS\n', '', output)
89 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\:', 'FILE:#:', output)
95 return re.sub(r' error: ', ' Failure\n', output)
101 return re.sub(r'@\w+', '@0x#', output)
107 return re.sub(r'\(used in test .+\) ', '', output
    [all...]
  /external/v8/tools/
jsmin.py 47 import re namespace
68 m: The match object returned by re.search.
97 m: The match object returned by re.search.
109 if re.match("[\"'/]", matched_text):
111 m = re.match(r"var ", matched_text)
114 var_names = re.split(r",", var_names)
116 m = re.match(r"(function\b[^(]*)\((.*)\)\{$", matched_text)
120 args = re.split(r",", args)
176 m: The match object returned by re.search.
183 if re.match(r"'.*'$", entire_match)
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/style/checkers/
changelog.py 28 import re namespace
49 if re.search("Unreviewed", line, re.IGNORECASE):
51 if re.search("build", line, re.IGNORECASE) and re.search("fix", line, re.IGNORECASE):

Completed in 1094 milliseconds

1 2 3 4 5 6 7 8 91011>>