/third_party/typescript/tests/baselines/reference/ |
D | regexpExecAndMatchTypeUsages(strict=false).types | 2 export function foo(matchResult: RegExpMatchArray, execResult: RegExpExecArray) { 3 >foo : (matchResult: RegExpMatchArray, execResult: RegExpExecArray) => void 4 >matchResult : RegExpMatchArray 7 matchResult[0].length; 8 >matchResult[0].length : number 9 >matchResult[0] : string 10 >matchResult : RegExpMatchArray 14 matchResult[999].length; 15 >matchResult[999].length : number 16 >matchResult[999] : string [all …]
|
D | regexpExecAndMatchTypeUsages(strict=true).types | 2 export function foo(matchResult: RegExpMatchArray, execResult: RegExpExecArray) { 3 >foo : (matchResult: RegExpMatchArray, execResult: RegExpExecArray) => void 4 >matchResult : RegExpMatchArray 7 matchResult[0].length; 8 >matchResult[0].length : number 9 >matchResult[0] : string 10 >matchResult : RegExpMatchArray 14 matchResult[999].length; 15 >matchResult[999].length : number 16 >matchResult[999] : string | undefined [all …]
|
D | regexpExecAndMatchTypeUsages(strict=true).js | 2 export function foo(matchResult: RegExpMatchArray, execResult: RegExpExecArray) { 3 matchResult[0].length; 4 matchResult[999].length; 5 matchResult.index + 0; 6 matchResult.input.length; 7 matchResult.groups["someVariable"].length; 8 matchResult.groups = undefined; 18 matchResult = execResult; 21 execResult = matchResult 30 function foo(matchResult, execResult) { [all …]
|
D | regexpExecAndMatchTypeUsages(strict=false).js | 2 export function foo(matchResult: RegExpMatchArray, execResult: RegExpExecArray) { 3 matchResult[0].length; 4 matchResult[999].length; 5 matchResult.index + 0; 6 matchResult.input.length; 7 matchResult.groups["someVariable"].length; 8 matchResult.groups = undefined; 18 matchResult = execResult; 21 execResult = matchResult 30 function foo(matchResult, execResult) { [all …]
|
D | regexpExecAndMatchTypeUsages(strict=true).symbols | 2 export function foo(matchResult: RegExpMatchArray, execResult: RegExpExecArray) { 4 >matchResult : Symbol(matchResult, Decl(regexpExecAndMatchTypeUsages.ts, 0, 20)) 9 matchResult[0].length; 10 >matchResult[0].length : Symbol(String.length, Decl(lib.es5.d.ts, --, --)) 11 >matchResult : Symbol(matchResult, Decl(regexpExecAndMatchTypeUsages.ts, 0, 20)) 15 matchResult[999].length; 16 >matchResult[999].length : Symbol(String.length, Decl(lib.es5.d.ts, --, --)) 17 >matchResult : Symbol(matchResult, Decl(regexpExecAndMatchTypeUsages.ts, 0, 20)) 20 matchResult.index + 0; 21 >matchResult.index : Symbol(RegExpMatchArray.index, Decl(lib.es5.d.ts, --, --)) [all …]
|
D | regexpExecAndMatchTypeUsages(strict=false).symbols | 2 export function foo(matchResult: RegExpMatchArray, execResult: RegExpExecArray) { 4 >matchResult : Symbol(matchResult, Decl(regexpExecAndMatchTypeUsages.ts, 0, 20)) 9 matchResult[0].length; 10 >matchResult[0].length : Symbol(String.length, Decl(lib.es5.d.ts, --, --)) 11 >matchResult : Symbol(matchResult, Decl(regexpExecAndMatchTypeUsages.ts, 0, 20)) 15 matchResult[999].length; 16 >matchResult[999].length : Symbol(String.length, Decl(lib.es5.d.ts, --, --)) 17 >matchResult : Symbol(matchResult, Decl(regexpExecAndMatchTypeUsages.ts, 0, 20)) 20 matchResult.index + 0; 21 >matchResult.index : Symbol(RegExpMatchArray.index, Decl(lib.es5.d.ts, --, --)) [all …]
|
D | regexpExecAndMatchTypeUsages(strict=true).errors.txt | 2 tests/cases/compiler/regexpExecAndMatchTypeUsages.ts(4,5): error TS18048: 'matchResult.index' is po… 3 tests/cases/compiler/regexpExecAndMatchTypeUsages.ts(5,5): error TS18048: 'matchResult.input' is po… 4 tests/cases/compiler/regexpExecAndMatchTypeUsages.ts(6,5): error TS18048: 'matchResult.groups' is p… 16 export function foo(matchResult: RegExpMatchArray, execResult: RegExpExecArray) { 17 matchResult[0].length; 18 matchResult[999].length; 21 matchResult.index + 0; 23 !!! error TS18048: 'matchResult.index' is possibly 'undefined'. 24 matchResult.input.length; 26 !!! error TS18048: 'matchResult.input' is possibly 'undefined'. [all …]
|
D | regexpExecAndMatchTypeUsages(strict=false).errors.txt | 8 export function foo(matchResult: RegExpMatchArray, execResult: RegExpExecArray) { 9 matchResult[0].length; 10 matchResult[999].length; 11 matchResult.index + 0; 12 matchResult.input.length; 13 matchResult.groups["someVariable"].length; 14 matchResult.groups = undefined; 24 matchResult = execResult; 27 execResult = matchResult
|
/third_party/typescript/tests/cases/compiler/ |
D | regexpExecAndMatchTypeUsages.ts | 6 export function foo(matchResult: RegExpMatchArray, execResult: RegExpExecArray) { 7 matchResult[0].length; 8 matchResult[999].length; 9 matchResult.index + 0; 10 matchResult.input.length; 11 matchResult.groups["someVariable"].length; 12 matchResult.groups = undefined; 22 matchResult = execResult; 25 execResult = matchResult
|
/third_party/ltp/testcases/network/nfsv4/locks/ |
D | locktests.c | 126 int matchResult(int r, int n) in matchResult() function 139 TOTAL_RESULT_OK[n] += matchResult(r, n); in counter()
|
/third_party/typescript/src/compiler/ |
D | utilitiesPublic.ts | 337 const matchResult = /^([a-z]+)([_\-]([a-z]+))?$/.exec(lowerCaseLocale); constant 339 if (!matchResult) { 346 const language = matchResult[1]; 347 const territory = matchResult[3];
|
D | parser.ts | 10421 const matchResult = matcher.exec(text); 10422 if (!matchResult && !arg.optional) { 10425 else if (matchResult) { 10426 const value = matchResult[2] || matchResult[3]; 10428 … const startPos = range.pos + matchResult.index + matchResult[1].length + 1;
|
/third_party/parse5/packages/parse5/lib/tokenizer/ |
D | index.ts | 3023 const matchResult = this._matchNamedCharacterReference(cp); constant 3029 } else if (matchResult) { 3030 for (let i = 0; i < matchResult.length; i++) { 3031 this._flushCodePointConsumedAsCharacterReference(matchResult[i]);
|
/third_party/weex-loader/deps/weex-styler/lib/ |
D | validator.js | 1513 let matchResult = PERCENTAGE_LENGTH_VALIDATOR(widthMatch[0]) 1516 if (util.isValidValue(matchResult.value)) { 1517 tempValues.push(matchResult.value) 1519 let check = checkReason(matchResult, n.toString(), widthMatch[0], length)
|
/third_party/typescript/lib/ |
D | tsc.js | 9611 var matchResult = /^([a-z]+)([_\-]([a-z]+))?$/.exec(lowerCaseLocale); 9612 if (!matchResult) { 9618 var language = matchResult[1]; 9619 var territory = matchResult[3]; 32979 var matchResult = matcher.exec(text); 32980 if (!matchResult && !arg.optional) { 32983 else if (matchResult) { 32984 var value = matchResult[2] || matchResult[3]; 32986 … var startPos = range.pos + matchResult.index + matchResult[1].length + 1;
|
D | typingsInstaller.js | 12808 var matchResult = /^([a-z]+)([_\-]([a-z]+))?$/.exec(lowerCaseLocale); 12809 if (!matchResult) { 12815 var language = matchResult[1]; 12816 var territory = matchResult[3]; 40589 var matchResult = matcher.exec(text); 40590 if (!matchResult && !arg.optional) { 40593 else if (matchResult) { 40594 var value = matchResult[2] || matchResult[3]; 40596 … var startPos = range.pos + matchResult.index + matchResult[1].length + 1;
|