HomeSort by relevance Sort by last modified time
    Searched refs:regexp (Results 26 - 50 of 121) sorted by null

12 3 4 5

  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
15.10.4.1-1.js 23 *SUMMARY: Passing a RegExp object to a RegExp() constructor.
26 * 15.10.4.1 new RegExp(pattern, flags)
28 * If pattern is an object R whose [[Class]] property is "RegExp" and
31 * whose [[Class]] property is "RegExp" and flags is not undefined,
39 * "pattern" is itself a RegExp object R
42 * We check that a new RegExp object obj2 defined from these parameters
43 * is morally the same as the original RegExp object obj1. Of course, they
46 * In this test, the initial RegExp object obj1 will not include a flag. The flags
51 var summary = 'Passing a RegExp object to a RegExp() constructor'
    [all...]
15.10.4.1-2.js 23 *SUMMARY: Passing a RegExp object to a RegExp() constructor.
26 * 15.10.4.1 new RegExp(pattern, flags)
28 * If pattern is an object R whose [[Class]] property is "RegExp" and
31 * whose [[Class]] property is "RegExp" and flags is not undefined,
39 * "pattern" is itself a RegExp object R
42 * We check that a new RegExp object obj2 defined from these parameters
43 * is morally the same as the original RegExp object obj1. Of course, they
46 * In this test, the initial RegExp object obj1 will not include a flag. This test is
49 * obj2 = new RegExp(obj1, undefined)
    [all...]
15.10.4.1-3.js 23 *SUMMARY: Passing a RegExp object to a RegExp() constructor.
26 * 15.10.4.1 new RegExp(pattern, flags)
28 * If pattern is an object R whose [[Class]] property is "RegExp" and
31 * whose [[Class]] property is "RegExp" and flags is not undefined,
39 * "pattern" is itself a RegExp object R
42 * We check that a new RegExp object obj2 defined from these parameters
43 * is morally the same as the original RegExp object obj1. Of course, they
46 * In this test, the initial RegExp obj1 will include a flag. The flags
51 var summary = 'Passing a RegExp object to a RegExp() constructor'
    [all...]
15.10.4.1-4.js 23 *SUMMARY: Passing a RegExp object to a RegExp() constructor.
26 * 15.10.4.1 new RegExp(pattern, flags)
28 * If pattern is an object R whose [[Class]] property is "RegExp" and
31 * whose [[Class]] property is "RegExp" and flags is not undefined,
39 * "pattern" is itself a RegExp object R
42 * We check that a new RegExp object obj2 defined from these parameters
43 * is morally the same as the original RegExp object obj1. Of course, they
46 * In this test, the initial RegExp object obj1 will include a flag. This test is
49 * obj2 = new RegExp(obj1, undefined)
    [all...]
15.10.4.1-5-n.js 23 *SUMMARY: Passing a RegExp object to a RegExp() constructor.
26 * 15.10.4.1 new RegExp(pattern, flags)
28 * If pattern is an object R whose [[Class]] property is "RegExp" and
31 * whose [[Class]] property is "RegExp" and flags is not undefined,
39 * "pattern" is itself a RegExp object R
47 var summary = 'Negative test: Passing (RegExp object, flag) to RegExp() constructor';
48 var statprefix = 'Passing RegExp object on pattern ';
92 obj1 = new RegExp(s, f);
    [all...]
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/webkit/Source/WebCore/inspector/front-end/
ScriptFormatterWorker.js 54 var regexp = /(^|[^\\])\b((?=\D)[\$\.\w]+)\b/g;
56 var match = regexp.exec(formattedSource);
inspectorSyntaxHighlight.css 65 .webkit-javascript-string, .webkit-javascript-regexp {
  /ndk/sources/host-tools/sed-4.2.1/doc/
sed.x 7 [-r] [--regexp-extended]
164 .RI s/ regexp / replacement /
166 .I regexp
178 .IR regexp .
217 .IR regexp ,
253 .RI / regexp /
255 .IR regexp .
257 .BI \fR\e\fPc regexp c
259 .IR regexp .
  /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/v8/tools/visual_studio/
js2c.cmd 6 %PYTHON% ..\js2c.py %TARGET_DIR%\natives.cc %TARGET_DIR%\natives-empty.cc CORE %SOURCE_DIR%\macros.py %SOURCE_DIR%\runtime.js %SOURCE_DIR%\v8natives.js %SOURCE_DIR%\array.js %SOURCE_DIR%\string.js %SOURCE_DIR%\uri.js %SOURCE_DIR%\math.js %SOURCE_DIR%\messages.js %SOURCE_DIR%\apinatives.js %SOURCE_DIR%\debug-debugger.js %SOURCE_DIR%\liveedit-debugger.js %SOURCE_DIR%\mirror-debugger.js %SOURCE_DIR%\date.js %SOURCE_DIR%\regexp.js %SOURCE_DIR%\json.js
  /external/v8/src/
string.js 156 function StringMatch(regexp) {
158 if (IS_REGEXP(regexp)) {
159 if (!regexp.global) return RegExpExecNoTests(regexp, subject, 0);
160 %_Log('regexp', 'regexp-match,%0S,%1r', [subject, regexp]);
161 // lastMatchInfo is defined in regexp.js.
162 return %StringMatch(subject, regexp, lastMatchInfo);
164 // Non-regexp argument
    [all...]
regexp.js 31 const $RegExp = global.RegExp;
36 // RegExp : Called as constructor; see ECMA-262, section 15.10.4.
85 // RegExp : Called as function; see ECMA-262, section 15.10.3.1.
89 return new $RegExp(pattern, flags);
94 // Deprecated RegExp.prototype.compile method. We behave like the constructor
95 // were called again. In SpiderMonkey, this method returns the regexp object.
103 // RegExp.prototype.compile and in the constructor, where they are
114 function DoRegExpExec(regexp, string, index) {
115 var result = %_RegExpExec(regexp, string, index, lastMatchInfo)
    [all...]
  /external/v8/test/mjsunit/
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 assertEquals(expected, String(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');
regexp-static.js 34 // Test that we do not throw exceptions once the static RegExp.input
36 RegExp.input = "a";
40 // Test the (deprecated as of JS 1.5) properties of the RegExp function.
46 assertEquals(s, RegExp.input);
47 assertEquals('123.456', RegExp.lastMatch);
48 assertEquals('456', RegExp.lastParen);
49 assertEquals('abc', RegExp.leftContext);
50 assertEquals('def', RegExp.rightContext);
52 assertEquals(s, RegExp['$_']);
53 assertEquals('123.456', RegExp['$&'])
    [all...]
  /external/libxml2/include/libxml/
xmlregexp.h 52 xmlRegexpCompile (const xmlChar *regexp);
53 XMLPUBFUN void XMLCALL xmlRegFreeRegexp(xmlRegexpPtr regexp);
59 xmlRegexpPtr regexp);
  /external/v8/
Android.v8common.mk 68 src/regexp-macro-assembler.cc \
69 src/regexp-macro-assembler-irregexp.cc \
70 src/regexp-stack.cc \
116 src/arm/regexp-macro-assembler-arm.cc \
125 src/regexp-macro-assembler-tracer.cc
149 src/regexp.js
  /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...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/sdk/
TestLayoutDevicesXsd.java 107 /** An helper that validates a string against an expected regexp. */
111 String.format("Regexp Assertion Failed:\nExpected: %s\nActual: %s\n",
116 public void checkFailure(String document, String regexp) throws Exception {
125 assertRegex(regexp, e.getMessage());
  /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/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):

Completed in 566 milliseconds

12 3 4 5