/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Date/ |
15.9.5.4.js | 49 var regexp = ''; variable 53 var cnERR ='OOPS! FATAL ERROR: no regexp match in extractTimeString()'; 144 * Thus, use a regexp of the form /date.toDateString()(.*)$/ 149 regexp = new RegExp(date.toDateString() + '(.*)' + '$'); 153 hopeThisIsTimeString = date.toString().match(regexp)[1];
|
/external/webkit/Tools/Scripts/ |
parse-malloc-history | 45 " --grep-regexp Include only call stacks that match this regular expression.\n" . 47 " --merge-regexp Merge all call stacks that match this regular expression.\n" . 55 "grep-regexp:s" => \$grepRegexp, 57 "merge-regexp:s" => \@mergeRegexps, 138 for my $regexp (@mergeRegexps) { 139 if ($callstack =~ $regexp) { 140 $callstack = $regexp . "\n";
|
run-leaks | 47 " --exclude-callstack regexp Exclude leaks whose call stacks match the regular expression 'regexp'.\n" . 48 " --exclude-type regexp Exclude leaks whose data types match the regular expression 'regexp'.\n" . 205 foreach my $regexp (@$regexpList) { 206 if ($record->{$key} =~ $regexp) {
|
/external/regex-re2/re2/testing/ |
regexp_generator.h | 41 virtual void HandleRegexp(const string& regexp) = 0; 43 // The egrep regexp operators: * + ? | and concatenation.
|
exhaustive_tester.h | 18 // then check that NFA, DFA, and PCRE agree about whether each regexp matches 22 // of random regexp and strings, allowing testing of larger expressions 46 void HandleRegexp(const string& regexp); 57 string wrapper_; // Regexp wrapper - either empty or has one %s. 58 string topwrapper_; // Regexp top-level wrapper. 60 int tests_; // Number of regexp tests.
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
regress-57631.js | 24 * "RegExp with invalid pattern or invalid flag causes segfault" 31 var summary = 'Testing new RegExp(pattern,flag) with illegal pattern or flag'; 32 var statprefix = 'Testing for error creating illegal RegExp object on pattern '; 67 illegalflags[2] = new RegExp(); 105 eval('obj = new RegExp(s, f);'); 119 function getStatus(regexp, flag) 121 return (statprefix + quote(regexp) + statsuffix + quote(flag));
|
/external/v8/test/mjsunit/ |
regexp-static.js | 28 // Test the (deprecated as of JS 1.5) properties of the RegExp function. 34 assertEquals(s, RegExp.input); 35 assertEquals('123.456', RegExp.lastMatch); 36 assertEquals('456', RegExp.lastParen); 37 assertEquals('abc', RegExp.leftContext); 38 assertEquals('def', RegExp.rightContext); 40 assertEquals(s, RegExp['$_']); 41 assertEquals('123.456', RegExp['$&']); 42 assertEquals('456', RegExp['$+']); 43 assertEquals('abc', RegExp['$`']) [all...] |
string-match.js | 33 function testMatch(name, input, regexp, result, captures, from, to) { 34 var matchResult = input.match(regexp); 42 if (regexp.global) { 55 assertEquals(match, RegExp["$&"], name + "-$&"); 56 assertEquals(match, RegExp.lastMatch, name + "-lastMatch"); 58 assertEquals(undefined, RegExp.$0, name + "-nocapture-10"); 61 assertEquals(captures[i - 1], RegExp["$" + i], name + "-capture-" + i); 63 assertEquals("", RegExp["$" + i], name + "-nocapture-" + i); 66 assertEquals(undefined, RegExp.$10, name + "-nocapture-10"); 68 assertEquals(input, RegExp.input, name + "-input") [all...] |
regexp-call-as-function.js | 32 var regexp = /a(b)(c)/; variable 35 assertEquals(expected, String(regexp.exec(subject))); 36 assertThrows(function(){ regexp(subject); });
|
with-function-expression.js | 33 // Check that the return value is a function. Use regexp to avoid 35 var regexp = /function/; variable 36 var res = assertTrue(eval(source).match(regexp) == 'function');
|
string-slices-regexp.js | 28 var foo = "lsdfj sldkfj sdklfj læsdfjl sdkfjlsdk fjsdl fjsdljskdj flsj flsdkj flskd regexp: /foobar/\nldkfj sdlkfj sdkl"; 30 assertTrue(/^([a-z]+): (.*)/.test(foo.substring(foo.indexOf("regexp:")))); 31 assertEquals("regexp", RegExp.$1, "RegExp.$1"); 35 var r = new RegExp(re)
|
function-without-prototype.js | 53 var regexp = /abc/g; variable 54 testConstruction("regexp.test");
|
/external/libxml2/include/libxml/ |
xmlregexp.h | 52 xmlRegexpCompile (const xmlChar *regexp); 53 XMLPUBFUN void XMLCALL xmlRegFreeRegexp(xmlRegexpPtr regexp); 59 xmlRegexpPtr regexp);
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
regcomp.c | 62 static bin_tree_t *parse (re_string_t *regexp, regex_t *preg, 64 static bin_tree_t *parse_reg_exp (re_string_t *regexp, regex_t *preg, 67 static bin_tree_t *parse_branch (re_string_t *regexp, regex_t *preg, 70 static bin_tree_t *parse_expression (re_string_t *regexp, regex_t *preg, 73 static bin_tree_t *parse_sub_exp (re_string_t *regexp, regex_t *preg, 76 static bin_tree_t *parse_dup_op (bin_tree_t *dup_elem, re_string_t *regexp, 79 static bin_tree_t *parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, 83 re_string_t *regexp, 89 re_string_t *regexp, 249 /* Set by `re_set_syntax' to the current regexp syntax to recognize. Ca 758 re_string_t regexp; local [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/benchmark/util/ |
table2CSV.js | 71 var regexp = new RegExp(/["]/g); 72 var output = input.replace(regexp, "?"); 74 var regexp = new RegExp(/\<[^\<]+\>/g); 75 var output = output.replace(regexp, "");
|
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
BitmapText.java | 253 * @param regexp regular expression
256 public void setStyle(String regexp, int style) {
257 Pattern p = Pattern.compile(regexp);
278 * @param regexp regular expression
281 public void setColor(String regexp, ColorRGBA color) {
282 Pattern p = Pattern.compile(regexp);
|
/external/regex-re2/ |
Android.mk | 5 # Android makefile for the re2 regexp library. 31 re2/regexp.cc \
|
/external/regex-re2/doc/ |
mksyntaxgo | 4 out=$GOROOT/src/pkg/regexp/syntax/doc.go 27 facilities of package regexp (such as Compile and Match) instead of this package.
|
/external/v8/ |
Android.v8common.mk | 71 src/regexp-macro-assembler.cc \ 72 src/regexp-macro-assembler-irregexp.cc \ 73 src/regexp-stack.cc \ 121 src/arm/regexp-macro-assembler-arm.cc \ 143 src/mips/regexp-macro-assembler-mips.cc \ 164 src/ia32/regexp-macro-assembler-ia32.cc \ 173 src/regexp-macro-assembler-tracer.cc 197 src/regexp.js
|
/external/v8/src/ |
string.js | 182 function StringMatch(regexp) { 188 if (IS_REGEXP(regexp)) { 189 if (!regexp.global) return RegExpExecNoTests(regexp, subject, 0); 190 %_Log('regexp', 'regexp-match,%0S,%1r', [subject, regexp]); 191 // lastMatchInfo is defined in regexp.js. 192 return %StringMatch(subject, regexp, lastMatchInfo); 194 // Non-regexp argument [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
inspectorSyntaxHighlight.css | 65 .webkit-javascript-string, .webkit-javascript-regexp {
|
/external/webkit/Tools/Scripts/webkitpy/tool/commands/ |
rebaseline.py | 59 for regexp, port_name in self._builder_name_to_port_name.items(): 60 if re.match(regexp, builder_name):
|
/external/v8/test/mjsunit/regress/ |
regress-1472.js | 28 // Avoid excessive expansions of regexp repetitions inside regexp repetitions.
|
regress-regexp-codeflush.js | 30 // Regression test for regexp that has multiple matches and which 32 // ensuring that the regexp is compiled. 36 var re = new RegExp('(s)', "g");
|
/external/icu4c/i18n/unicode/ |
regex.h | 345 * The matcher will retain a reference to the supplied input string, and all regexp 644 * @param regexp The Regular Expression to be compiled. 650 RegexMatcher(const UnicodeString ®exp, uint32_t flags, UErrorCode &status); 660 * @param regexp The regular expression to be compiled. 667 RegexMatcher(UText *regexp, uint32_t flags, UErrorCode &status); 677 * The matcher will retain a reference to the supplied input string, and all regexp 682 * @param regexp The Regular Expression to be compiled. 690 RegexMatcher(const UnicodeString ®exp, const UnicodeString &input, 701 * The matcher will make a shallow clone of the supplied input text, and all regexp 706 * @param regexp The Regular Expression to be compiled [all...] |