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

1 2

  /external/chromium_org/v8/src/
interpreter-irregexp.h 42 int* captures,
string.js 452 // If the number of captures is two then there are no explicit captures in
453 // the regexp, just the implicit capture that captures the whole match. In
515 // Compute the parameter list consisting of the match, captures, index,
517 // The number of captures plus one for the match.
522 // No captures, only the match, which is always valid.
regexp.js 292 // on the captures array of the last successful match and the subject string
312 if (length <= 2) return ''; // There were no captures.
  /external/v8/src/
interpreter-irregexp.h 42 int* captures,
string.js 297 // Compute the number of captures; see ECMA-262, 15.5.4.11, p. 102.
330 // the captures, we use it instead of the single digit
342 // Because of the captures range check in the parsing of two
345 // captures.
483 // Compute the parameter list consisting of the match, captures, index,
485 // The number of captures plus one for the match.
490 // No captures, only the match, which is always valid.
regexp.js 295 // on the captures array of the last successful match and the subject string
315 if (length <= 2) return ''; // There were no captures.
  /external/chromium_org/v8/test/mjsunit/
string-match.js 33 function testMatch(name, input, regexp, result, captures, from, to) {
40 var lastParen = captures.length > 0 ? captures[captures.length - 1] : "";
47 // Returns array of match and captures.
49 assertEquals(captures.length + 1, matchResult.length, name + "-cap-return");
51 assertEquals(captures[i - 1], matchResult[i], name + "-cap-return-" + i);
60 if (i <= captures.length) {
61 assertEquals(captures[i - 1], RegExp["$" + i], name + "-capture-" + i);
regexp-global.js 45 // Test zero-length matches that have non-zero-length sub-captures.
52 // Test multiple captures.
65 // Test multiple alternate captures.
97 // Test zero-length matches that have non-zero-length sub-captures.
104 // Test multiple captures.
117 // Test multiple alternate captures.
134 // Test zero-length matches that have non-zero-length sub-captures that do not
144 // Create regexp that has a *lot* of captures.
168 // Large regexp (a lot of captures).
search-string-multiple.js 39 // Arg 0 is the match, n captures follow, n + 1 is offset of match, n + 2 is
fuzz-natives-part1.js 189 // size will be the number of captures of a RegExp.
fuzz-natives-part2.js 190 // size will be the number of captures of a RegExp.
fuzz-natives-part3.js 189 // size will be the number of captures of a RegExp.
fuzz-natives-part4.js 189 // size will be the number of captures of a RegExp.
regexp-capture-3.js 94 // captures.
  /external/v8/test/mjsunit/
string-match.js 33 function testMatch(name, input, regexp, result, captures, from, to) {
40 var lastParen = captures.length > 0 ? captures[captures.length - 1] : "";
47 // Returns array of match and captures.
49 assertEquals(captures.length + 1, matchResult.length, name + "-cap-return");
51 assertEquals(captures[i - 1], matchResult[i], name + "-cap-return-" + i);
60 if (i <= captures.length) {
61 assertEquals(captures[i - 1], RegExp["$" + i], name + "-capture-" + i);
search-string-multiple.js 39 // Arg 0 is the match, n captures follow, n + 1 is offset of match, n + 2 is
  /external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
templates.cpp 19 T captures(T x, T y) { function
35 template int captures(int, int);
36 template X captures(X, X);
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
ast.ml 19 (* proto - This type represents the "prototype" for a function, which captures
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
ast.ml 19 (* proto - This type represents the "prototype" for a function, which captures
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
ast.ml 19 (* proto - This type represents the "prototype" for a function, which captures
  /external/chromium_org/v8/test/cctest/
test-regexp.cc 424 // Check that we don't allow more than kMaxCapture captures
426 const char* kTooManyCaptures = "Too many captures";
730 int* captures) {
737 captures,
758 int captures[4] = {42, 37, 87, 117}; local
770 captures);
773 CHECK_EQ(-1, captures[0]);
774 CHECK_EQ(-1, captures[1]);
775 CHECK_EQ(-1, captures[2]);
776 CHECK_EQ(-1, captures[3])
812 int captures[4] = {42, 37, 87, 117}; local
878 int captures[4] = {42, 37, 87, 117}; local
1351 int captures[2]; local
1411 int captures[5]; local
    [all...]
  /external/v8/test/cctest/
test-regexp.cc 418 // Check that we don't allow more than kMaxCapture captures
420 const char* kTooManyCaptures = "Too many captures";
712 int* captures) {
719 captures,
737 int captures[4] = {42, 37, 87, 117}; local
749 captures);
752 CHECK_EQ(-1, captures[0]);
753 CHECK_EQ(-1, captures[1]);
754 CHECK_EQ(-1, captures[2]);
755 CHECK_EQ(-1, captures[3])
782 int captures[4] = {42, 37, 87, 117}; local
839 int captures[4] = {42, 37, 87, 117}; local
1298 int captures[2]; local
1360 int captures[5]; local
    [all...]
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
ast.ml 25 (* proto - This type represents the "prototype" for a function, which captures
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
ast.ml 28 (* proto - This type represents the "prototype" for a function, which captures
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
ast.ml 31 (* proto - This type represents the "prototype" for a function, which captures

Completed in 1057 milliseconds

1 2