Home
last modified time | relevance | path

Searched refs:rest (Results 1 - 25 of 436) sorted by relevance

12345678910>>...18

/third_party/rust/crates/nom/src/
H A Dmacros.rs2 (0, $submac:ident ! ($($rest:tt)*)) => ($submac!(1, $($rest)*));
3 (1, $submac:ident ! ($($rest:tt)*)) => ($submac!(2, $($rest)*));
4 (2, $submac:ident ! ($($rest:tt)*)) => ($submac!(3, $($rest)*));
5 (3, $submac:ident ! ($($rest:tt)*)) => ($submac!(4, $($rest)*));
6 (4, $submac:ident ! ($($rest:tt)*)) => ($submac!(5, $($rest)*));
[all...]
/third_party/typescript/tests/baselines/reference/
H A DcommentsAfterSpread.js39 .../* comment f */rest
41 return rest.length;
47 rest
50 rest
52 return rest.length;
58 first, .../* comment i */rest
59 ) => rest.length;
64 rest
65 ) => rest.length;
69 .../* comment k */rest
[all...]
H A DemitDefaultParametersFunctionExpression.js4 var lambda3 = (x: number, y = "hello", ...rest) => { }
5 var lambda4 = (y = "hello", ...rest) => { }
7 var x = function (str = "hello", ...rest) { }
8 var y = (function (num = 10, boo = false, ...rest) { })()
9 var z = (function (num: number, boo = false, ...rest) { })(10)
21 var rest = [];
23 rest[_i - 2] = arguments[_i];
28 var rest = [];
30 rest[_i - 1] = arguments[_i];
35 var rest
[all...]
H A DemitRestParametersFunctionExpression.js2 var funcExp = (...rest) => { }
3 var funcExp1 = (X: number, ...rest) => { }
4 var funcExp2 = function (...rest) { }
5 var funcExp3 = (function (...rest) { })()
10 var rest = [];
12 rest[_i] = arguments[_i];
16 var rest = [];
18 rest[_i - 1] = arguments[_i];
22 var rest = [];
24 rest[_
[all...]
H A Dvararg.js4 public f(x:string,...rest:number[]) {
6 for (var i=0;i<rest.length;i++) {
7 sum+=rest[i];
13 public fnope(x:string,...rest:number) {
17 public fonly(...rest:string[]) {
19 for (var i=0;i<rest.length;i++) {
20 builder+=rest[i];
48 var rest = [];
50 rest[_i - 1] = arguments[_i];
53 for (var i = 0; i < rest
[all...]
H A DemitDefaultParametersFunctionExpressionES6.js4 var lambda3 = (x: number, y = "hello", ...rest) => { }
5 var lambda4 = (y = "hello", ...rest) => { }
7 var x = function (str = "hello", ...rest) { }
8 var y = (function (num = 10, boo = false, ...rest) { })()
9 var z = (function (num: number, boo = false, ...rest) { })(10)
14 var lambda3 = (x, y = "hello", ...rest) => { };
15 var lambda4 = (y = "hello", ...rest) => { };
16 var x = function (str = "hello", ...rest) { };
17 var y = (function (num = 10, boo = false, ...rest) { })();
18 var z = (function (num, boo = false, ...rest) { })(1
[all...]
H A DtupleLengthCheck.js3 declare const rest: [number, string, ...boolean[]]
9 const a4 = rest[1]
10 const a5 = rest[2]
11 const a6 = rest[3]
12 const a7 = rest[1000]
19 var a4 = rest[1];
20 var a5 = rest[2];
21 var a6 = rest[3];
22 var a7 = rest[1000];
H A DemitRestParametersFunctionExpressionES6.js2 var funcExp = (...rest) => { }
3 var funcExp1 = (X: number, ...rest) => { }
4 var funcExp2 = function (...rest) { }
5 var funcExp3 = (function (...rest) { })()
8 var funcExp = (...rest) => { };
9 var funcExp1 = (X, ...rest) => { };
10 var funcExp2 = function (...rest) { };
11 var funcExp3 = (function (...rest) { })();
H A DdisallowLineTerminatorBeforeArrow.js6 var f3 = (x: string, y: number, ...rest)
8 var f4 = (x: string, y: number, ...rest) /*
10 var f5 = (...rest)
12 var f6 = (...rest) /*
81 var rest = [];
83 rest[_i - 2] = arguments[_i];
87 var rest = [];
89 rest[_i - 2] = arguments[_i];
93 var rest = [];
95 rest[_
[all...]
H A DobjectRestNegative.js13 let { x, ...rest } = t;
14 return rest;
17 let rest: { b: string }
18 ({a, ...rest.b + rest.b} = o);
42 var x = t.x, rest = __rest(t, ["x"]);
43 return rest;
45 var rest; variable
46 (a = o.a, rest.b + rest
[all...]
H A DemitRestParametersFunction.js2 function bar(...rest) { }
3 function foo(x: number, y: string, ...rest) { }
7 var rest = [];
9 rest[_i] = arguments[_i];
13 var rest = [];
15 rest[_i - 2] = arguments[_i];
H A DcollisionRestParameterFunction.js20 function f4(_i: number, ...rest); // no codegen no error
21 function f4(_i: string, ...rest); // no codegen no error
22 function f4(_i: any, ...rest) { // error
30 declare function f5(_i: number, ...rest); // no codegen no error
31 declare function f5(_i: string, ...rest); // no codegen no error
59 var rest = [];
61 rest[_a - 1] = arguments[_a];
/third_party/node/deps/v8/src/base/numbers/
H A Dfast-dtoa.cc36 // * rest = (too_high - buffer * 10^kappa).f() * unit
44 uint64_t rest, uint64_t ten_kappa, uint64_t unit) { in RoundWeed()
64 // . . . . rest in RoundWeed()
115 // Conceptually rest ~= too_high - buffer in RoundWeed()
118 DCHECK(rest <= unsafe_interval); in RoundWeed()
119 while (rest < small_distance && // Negated condition 1 in RoundWeed()
120 unsafe_interval - rest >= ten_kappa && // Negated condition 2 in RoundWeed()
121 (rest + ten_kappa < small_distance || // buffer{-1} > w_high in RoundWeed()
122 small_distance - rest >= rest in RoundWeed()
42 RoundWeed(Vector<char> buffer, int length, uint64_t distance_too_high_w, uint64_t unsafe_interval, uint64_t rest, uint64_t ten_kappa, uint64_t unit) RoundWeed() argument
156 RoundWeedCounted(Vector<char> buffer, int length, uint64_t rest, uint64_t ten_kappa, uint64_t unit, int* kappa) RoundWeedCounted() argument
409 uint64_t rest = global() local
519 uint64_t rest = global() local
[all...]
/third_party/rust/crates/proc-macro-error/src/
H A Dmacros.rs16 ($span:expr, $level:expr, $fmt:expr, $($args:expr),+ ; $($rest:tt)+) => {{
32 $crate::__pme__suggestions!(diag $($rest)*);
36 ($span:expr, $level:expr, $msg:expr ; $($rest:tt)+) => {{
48 $crate::__pme__suggestions!(diag $($rest)*);
88 ($span:expr, $level:expr, $fmt:expr, $($args:expr),+, ; $($rest:tt)+) => {
89 $crate::diagnostic!($span, $level, $fmt, $($args),* ; $($rest)*)
91 ($span:expr, $level:expr, $msg:expr, ; $($rest:tt)+) => {
92 $crate::diagnostic!($span, $level, $msg ; $($rest)*)
215 ($var:ident $help:ident =? $msg:expr ; $($rest:tt)*) => {
217 $crate::__pme__suggestions!($var $($rest)*);
[all...]
/third_party/python/Lib/test/
H A Dtest_exception_group.py367 match, rest = self.eg.split(E)
370 self.assertIsNone(rest)
373 match, rest = self.eg.split(OSError)
376 rest, ExceptionGroup, self.eg_template)
391 match, rest = eg.split(match_type)
396 self.assertEqual(rest.message, eg.message)
398 rest, ExceptionGroup, rest_template)
400 self.assertIsNone(rest)
403 match, rest = self.eg.split(lambda e: True)
405 self.assertIsNone(rest)
[all...]
/third_party/node/lib/
H A Durl.js180 let rest = '';
217 rest += url.slice(lastPos, i);
218 rest += '/';
234 rest = url;
236 rest = url.slice(start);
238 rest = url.slice(start, end);
242 rest += url.slice(lastPos);
245 rest += url.slice(lastPos, end);
251 const simplePath = simplePathPattern.exec(rest);
253 this.path = rest;
[all...]
/third_party/json/include/nlohmann/detail/
H A Dstring_concat.hpp28 inline std::size_t concat_length(const char* cstr, Args&& ... rest);
31 inline std::size_t concat_length(const StringType& str, Args&& ... rest);
34 inline std::size_t concat_length(const char /*c*/, Args&& ... rest) in concat_length() argument
36 return 1 + concat_length(std::forward<Args>(rest)...); in concat_length()
40 inline std::size_t concat_length(const char* cstr, Args&& ... rest) in concat_length() argument
43 return ::strlen(cstr) + concat_length(std::forward<Args>(rest)...); in concat_length()
47 inline std::size_t concat_length(const StringType& str, Args&& ... rest) in concat_length() argument
49 return str.size() + concat_length(std::forward<Args>(rest)...); in concat_length()
83 inline void concat_into(OutStringType& out, Arg && arg, Args && ... rest);
89 inline void concat_into(OutStringType& out, const Arg& arg, Args && ... rest);
100 concat_into(OutStringType& out, Arg && arg, Args && ... rest) concat_into() argument
109 concat_into(OutStringType& out, Arg&& arg, Args&& ... rest) concat_into() argument
119 concat_into(OutStringType& out, const Arg& arg, Args&& ... rest) concat_into() argument
130 concat_into(OutStringType& out, const Arg& arg, Args&& ... rest) concat_into() argument
[all...]
/third_party/icu/vendor/double-conversion/upstream/double-conversion/
H A Dfast-dtoa.cc55 // * rest = (too_high - buffer * 10^kappa).f() * unit
65 uint64_t rest, in RoundWeed()
87 // . . . . rest in RoundWeed()
138 // Conceptually rest ~= too_high - buffer in RoundWeed()
141 DOUBLE_CONVERSION_ASSERT(rest <= unsafe_interval); in RoundWeed()
142 while (rest < small_distance && // Negated condition 1 in RoundWeed()
143 unsafe_interval - rest >= ten_kappa && // Negated condition 2 in RoundWeed()
144 (rest + ten_kappa < small_distance || // buffer{-1} > w_high in RoundWeed()
145 small_distance - rest >= rest in RoundWeed()
61 RoundWeed(Vector<char> buffer, int length, uint64_t distance_too_high_w, uint64_t unsafe_interval, uint64_t rest, uint64_t ten_kappa, uint64_t unit) RoundWeed() argument
181 RoundWeedCounted(Vector<char> buffer, int length, uint64_t rest, uint64_t ten_kappa, uint64_t unit, int* kappa) RoundWeedCounted() argument
[all...]
/third_party/icu/icu4c/source/i18n/
H A Ddouble-conversion-fast-dtoa.cpp69 // * rest = (too_high - buffer * 10^kappa).f() * unit
79 uint64_t rest, in RoundWeed()
101 // . . . . rest in RoundWeed()
152 // Conceptually rest ~= too_high - buffer in RoundWeed()
155 DOUBLE_CONVERSION_ASSERT(rest <= unsafe_interval); in RoundWeed()
156 while (rest < small_distance && // Negated condition 1 in RoundWeed()
157 unsafe_interval - rest >= ten_kappa && // Negated condition 2 in RoundWeed()
158 (rest + ten_kappa < small_distance || // buffer{-1} > w_high in RoundWeed()
159 small_distance - rest >= rest in RoundWeed()
75 RoundWeed(Vector<char> buffer, int length, uint64_t distance_too_high_w, uint64_t unsafe_interval, uint64_t rest, uint64_t ten_kappa, uint64_t unit) RoundWeed() argument
195 RoundWeedCounted(Vector<char> buffer, int length, uint64_t rest, uint64_t ten_kappa, uint64_t unit, int* kappa) RoundWeedCounted() argument
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Ddouble-conversion-fast-dtoa.cpp69 // * rest = (too_high - buffer * 10^kappa).f() * unit
79 uint64_t rest, in RoundWeed()
101 // . . . . rest in RoundWeed()
152 // Conceptually rest ~= too_high - buffer in RoundWeed()
155 DOUBLE_CONVERSION_ASSERT(rest <= unsafe_interval); in RoundWeed()
156 while (rest < small_distance && // Negated condition 1 in RoundWeed()
157 unsafe_interval - rest >= ten_kappa && // Negated condition 2 in RoundWeed()
158 (rest + ten_kappa < small_distance || // buffer{-1} > w_high in RoundWeed()
159 small_distance - rest >= rest in RoundWeed()
75 RoundWeed(Vector<char> buffer, int length, uint64_t distance_too_high_w, uint64_t unsafe_interval, uint64_t rest, uint64_t ten_kappa, uint64_t unit) RoundWeed() argument
195 RoundWeedCounted(Vector<char> buffer, int length, uint64_t rest, uint64_t ten_kappa, uint64_t unit, int* kappa) RoundWeedCounted() argument
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Ddouble-conversion-fast-dtoa.cpp69 // * rest = (too_high - buffer * 10^kappa).f() * unit
79 uint64_t rest, in RoundWeed()
101 // . . . . rest in RoundWeed()
152 // Conceptually rest ~= too_high - buffer in RoundWeed()
155 DOUBLE_CONVERSION_ASSERT(rest <= unsafe_interval); in RoundWeed()
156 while (rest < small_distance && // Negated condition 1 in RoundWeed()
157 unsafe_interval - rest >= ten_kappa && // Negated condition 2 in RoundWeed()
158 (rest + ten_kappa < small_distance || // buffer{-1} > w_high in RoundWeed()
159 small_distance - rest >= rest in RoundWeed()
75 RoundWeed(Vector<char> buffer, int length, uint64_t distance_too_high_w, uint64_t unsafe_interval, uint64_t rest, uint64_t ten_kappa, uint64_t unit) RoundWeed() argument
195 RoundWeedCounted(Vector<char> buffer, int length, uint64_t rest, uint64_t ten_kappa, uint64_t unit, int* kappa) RoundWeedCounted() argument
[all...]
/third_party/rust/crates/proc-macro2/src/
H A Dparse.rs11 pub rest: &'a str,
18 let (_front, rest) = self.rest.split_at(bytes); in advance()
20 rest,
27 self.rest.starts_with(s) in starts_with()
31 self.rest.starts_with(ch) in starts_with_char()
38 self.rest.starts_with(f) in starts_with_fn()
42 self.rest.is_empty() in is_empty()
46 self.rest.len() in len()
50 self.rest in as_bytes()
716 let mut rest = float_digits(input)?; float() variables
811 let mut rest = digits(input)?; int() variables
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DUnicodeSetStringSpan.java401 int pos = spanLimit, rest = length - spanLimit; in spanWithStrings()
427 if (inc > rest) { in spanWithStrings()
432 if (inc == rest) { in spanWithStrings()
466 if (inc > rest || overlap < maxOverlap) { in spanWithStrings()
485 rest -= maxInc; in spanWithStrings()
486 if (rest == 0) { in spanWithStrings()
512 if (spanLength == rest || // Reached the end of the string, or in spanWithStrings()
518 rest -= spanLength; in spanWithStrings()
524 spanLength = spanOne(spanSet, s, pos, rest); in spanWithStrings()
526 if (spanLength == rest) { in spanWithStrings()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DUnicodeSetStringSpan.java398 int pos = spanLimit, rest = length - spanLimit; in spanWithStrings()
424 if (inc > rest) { in spanWithStrings()
429 if (inc == rest) { in spanWithStrings()
463 if (inc > rest || overlap < maxOverlap) { in spanWithStrings()
482 rest -= maxInc; in spanWithStrings()
483 if (rest == 0) { in spanWithStrings()
509 if (spanLength == rest || // Reached the end of the string, or in spanWithStrings()
515 rest -= spanLength; in spanWithStrings()
521 spanLength = spanOne(spanSet, s, pos, rest); in spanWithStrings()
523 if (spanLength == rest) { in spanWithStrings()
[all...]
/third_party/rust/crates/quote/src/
H A Dformat.rs119 ($fmt:expr, $($rest:tt)*) => {
123 ] $($rest)*)
142 ([$old:expr, $($fmt:tt)*] span = $span:expr, $($rest:tt)*) => {
146 ] $($rest)*)
153 ([$span:expr, $($fmt:tt)*] $name:ident = $arg:expr, $($rest:tt)*) => {
155 arg => $crate::format_ident_impl!([$span.or(arg.span()), $($fmt)*, $name = arg] $($rest)*),
163 ([$span:expr, $($fmt:tt)*] $arg:expr, $($rest:tt)*) => {
165 arg => $crate::format_ident_impl!([$span.or(arg.span()), $($fmt)*, arg] $($rest)*),

Completed in 12 milliseconds

12345678910>>...18