/third_party/typescript/tests/baselines/reference/ |
H A D | emitDefaultParametersFunctionProperty.js | 3 func1(y = 10, ...rest) { }, 6 func4(x: string, z: number, y = "hello", ...rest) { }, 14 var rest = [];
16 rest[_i - 1] = arguments[_i];
27 var rest = [];
29 rest[_i - 3] = arguments[_i];
|
H A D | restParameterNoTypeAnnotation.js | 2 function foo(...rest) { 3 var x: number = rest[0]; 10 var rest = [];
12 rest[_i] = arguments[_i];
14 var x = rest[0];
|
H A D | declarationEmitDestructuringOptionalBindingParametersInOverloads.js | 3 function foo(...rest: any[]) { 7 function foo2(...rest: any[]) { 13 var rest = [];
15 rest[_i] = arguments[_i];
19 var rest = [];
21 rest[_i] = arguments[_i];
|
H A D | nonArrayRestArgs.js | 2 function foo(...rest: number) { // error 3 var x: string = rest[0]; 9 var rest = [];
11 rest[_i] = arguments[_i];
13 var x = rest[0];
|
H A D | collisionArgumentsFunction.js | 14 declare function f21(arguments: number, ...rest); // no error - no code gen 24 function f4(arguments: number, ...rest); // no codegen no error 25 function f4(arguments: string, ...rest); // no codegen no error 26 function f4(arguments: any, ...rest) { // error 40 declare function f5(arguments: number, ...rest); // no codegen no error 41 declare function f5(arguments: string, ...rest); // no codegen no error 77 var rest = [];
79 rest[_i - 1] = arguments[_i];
|
H A D | objectRestParameter.js | 6 suddenly(({ x: a, ...rest }) => rest.y); 7 suddenly(({ x: { z = 12, ...nested }, ...rest } = { x: { z: 1, ka: 1 }, y: 'noo' }) => rest.y + nested.ka); 40 var { x: a } = _a, rest = __rest(_a, ["x"]);
41 return rest.y;
44 var _b = _a.x, { z = 12 } = _b, nested = __rest(_b, ["z"]), rest = __rest(_a, ["x"]);
45 return rest.y + nested.ka;
|
H A D | objectRestParameterES5.js | 6 suddenly(({ x: a, ...rest }) => rest.y); 7 suddenly(({ x: { z = 12, ...nested }, ...rest } = { x: { z: 1, ka: 1 }, y: 'noo' }) => rest.y + nested.ka); 40 var a = _a.x, rest = __rest(_a, ["x"]);
41 return rest.y;
45 var _b = _a.x, _c = _b.z, z = _c === void 0 ? 12 : _c, nested = __rest(_b, ["z"]), rest = __rest(_a, ["x"]);
46 return rest.y + nested.ka;
|
H A D | emitRestParametersFunctionES6.js | 2 function bar(...rest) { } 3 function foo(x: number, y: string, ...rest) { }
6 function bar(...rest) { }
7 function foo(x, y, ...rest) { }
|
H A D | collisionRestParameterFunctionExpressions.js | 16 function f4(_i: number, ...rest); // no codegen no error 17 function f4(_i: string, ...rest); // no codegen no error 18 function f4(_i: any, ...rest) { // error 50 var rest = [];
52 rest[_a - 1] = arguments[_a];
|
H A D | emitRestParametersFunctionProperty.js | 3 func1: (...rest) => void 7 func(...rest) { } 14 var rest = [];
16 rest[_i] = arguments[_i];
|
/third_party/rust/crates/proc-macro2/src/ |
H A D | parse.rs | 11 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/node/tools/gyp/pylib/gyp/ |
H A D | easy_xml.py | 85 rest = specification[1:] 86 if rest and isinstance(rest[0], dict): 87 for at, val in sorted(rest[0].items()): 89 rest = rest[1:] 90 if rest: 92 all_strings = reduce(lambda x, y: x and isinstance(y, str), rest, True) 96 for child_spec in rest:
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | easy_xml.py | 85 rest = specification[1:] 86 if rest and isinstance(rest[0], dict): 87 for at, val in sorted(rest[0].items()): 89 rest = rest[1:] 90 if rest: 92 all_strings = reduce(lambda x, y: x and isinstance(y, str), rest, True) 96 for child_spec in rest:
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | UnicodeSetStringSpan.java | 401 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 D | UnicodeSetStringSpan.java | 398 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...] |
/kernel/linux/linux-5.10/scripts/ |
H A D | show_delta | 49 (time_str, rest) = string.split(line[1:],']',1) 53 return (time, rest) 65 (time, rest) = get_time(line) 78 return ("[%5.6f < %5.6f >]" % (time, delta)) + rest 111 (time, rest) = get_time(line) 114 if string.find(rest, base_str)==1:
|
/kernel/linux/linux-6.6/scripts/ |
H A D | show_delta | 49 (time_str, rest) = string.split(line[1:],']',1) 53 return (time, rest) 65 (time, rest) = get_time(line) 78 return ("[%5.6f < %5.6f >]" % (time, delta)) + rest 111 (time, rest) = get_time(line) 114 if string.find(rest, base_str)==1:
|
/third_party/ltp/pan/cgi/ |
H A D | results.cgi | 67 @rest = <DF>; 70 foreach (@rest) { s/\*/{/; } 71 foreach (@rest) { s/(\s)-(\s)/\1}\2/; } 72 @rest = sort @rest; 73 foreach (@rest) { s/{/*/; } 74 foreach (@rest) { s/}/-/; } 77 foreach (@rest) {
|
/third_party/node/deps/v8/src/compiler/ |
H A D | functional-list.h | 27 Cons(A top, Cons* rest) in Cons() 28 : top(std::move(top)), rest(rest), size(1 + (rest ? rest->size : 0)) {} in Cons() 30 Cons* const rest; member 69 elements_ = elements_->rest; in DropFront() 109 current_ = current_->rest; in operator ++()
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | alpha_processing_mips_dsp_r2.c | 133 const int rest = len & 1; in PackARGB_MIPSdspR2() local 134 const uint32_t* const loop_end = out + len - rest; in PackARGB_MIPSdspR2() 152 "beq %[rest], $zero, 1f \n\t" in PackARGB_MIPSdspR2() 165 [loop_end]"r"(loop_end), [rest]"r"(rest) in PackARGB_MIPSdspR2() 175 const int rest = len & 1; in PackRGB_MIPSdspR2() local 177 const uint32_t* const loop_end = out + len - rest; in PackRGB_MIPSdspR2() 193 "beq %[rest], $zero, 1f \n\t" in PackRGB_MIPSdspR2() 205 [loop_end]"r"(loop_end), [rest]"r"(rest) in PackRGB_MIPSdspR2() [all...] |
/third_party/nghttp2/ |
H A D | help2rst.py | 119 argname, rest = m.group(1), m.group(2) 122 print('{}'.format(format_arg_text(rest.strip()))) 129 argname, rest = m.group(1), m.group(2) 132 print('{}'.format(format_arg_text(rest.strip()))) 141 argname, rest = m.group(1), m.group(2) 144 rest = rest.strip() variable 145 if len(rest): 146 print('{}'.format(format_arg_text(rest)))
|
/third_party/mksh/ |
H A D | check.pl | 505 local($type, $perm, $rest, $c, $len, $name); 511 ($type, $perm, $rest) = 513 $c = substr($rest, 0, 1); 514 $len = index($rest, $c, 1) - 1; 515 $name = substr($rest, 1, $len); 516 $rest = substr($rest, 2 + $len); 519 return undef if !&write_file($name, $rest); 533 local($ret) = symlink($rest, $name); 1038 local($type, $perm, $rest, [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | unisetspan.cpp | 652 int32_t pos=spanLength, rest=length-pos; in span() local 677 if(inc>rest) { in span() 682 if(inc==rest) { in span() 719 if(inc>rest || overlap<maxOverlap) { in span() 739 rest-=maxInc; in span() 740 if(rest==0) { in span() 764 spanLength=spanSet.span(s+pos, rest, USET_SPAN_CONTAINED); in span() 765 if( spanLength==rest || // Reached the end of the string, or in span() 771 rest-=spanLength; in span() 777 spanLength=spanOne(spanSet, s+pos, rest); in span() 982 int32_t pos=spanLength, rest=length-pos; spanUTF8() local 1350 int32_t pos=0, rest=length; spanNot() local 1436 int32_t pos=0, rest=length; spanNotUTF8() local [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | unisetspan.cpp | 652 int32_t pos=spanLength, rest=length-pos; in span() local 677 if(inc>rest) { in span() 682 if(inc==rest) { in span() 719 if(inc>rest || overlap<maxOverlap) { in span() 739 rest-=maxInc; in span() 740 if(rest==0) { in span() 764 spanLength=spanSet.span(s+pos, rest, USET_SPAN_CONTAINED); in span() 765 if( spanLength==rest || // Reached the end of the string, or in span() 771 rest-=spanLength; in span() 777 spanLength=spanOne(spanSet, s+pos, rest); in span() 982 int32_t pos=spanLength, rest=length-pos; spanUTF8() local 1350 int32_t pos=0, rest=length; spanNot() local 1436 int32_t pos=0, rest=length; spanNotUTF8() local [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | unisetspan.cpp | 652 int32_t pos=spanLength, rest=length-pos; in span() local 677 if(inc>rest) { in span() 682 if(inc==rest) { in span() 719 if(inc>rest || overlap<maxOverlap) { in span() 739 rest-=maxInc; in span() 740 if(rest==0) { in span() 764 spanLength=spanSet.span(s+pos, rest, USET_SPAN_CONTAINED); in span() 765 if( spanLength==rest || // Reached the end of the string, or in span() 771 rest-=spanLength; in span() 777 spanLength=spanOne(spanSet, s+pos, rest); in span() 982 int32_t pos=spanLength, rest=length-pos; spanUTF8() local 1350 int32_t pos=0, rest=length; spanNot() local 1436 int32_t pos=0, rest=length; spanNotUTF8() local [all...] |