/third_party/typescript/tests/baselines/reference/ |
D | noImplicitReturnsInAsync2.types | 3 async function test3(isError: boolean = true) { 4 >test3 : (isError?: boolean) => Promise<number> 5 >isError : boolean 8 if (isError === true) { 9 >isError === true : boolean 10 >isError : boolean 19 async function test4(isError: boolean = true) { 20 >test4 : (isError?: boolean) => Promise<any> 21 >isError : boolean 24 if (isError === true) { [all …]
|
D | noImplicitReturnsInAsync2.symbols | 3 async function test3(isError: boolean = true) { 5 >isError : Symbol(isError, Decl(noImplicitReturnsInAsync2.ts, 1, 21)) 7 if (isError === true) { 8 >isError : Symbol(isError, Decl(noImplicitReturnsInAsync2.ts, 1, 21)) 15 async function test4(isError: boolean = true) { 17 >isError : Symbol(isError, Decl(noImplicitReturnsInAsync2.ts, 8, 21)) 19 if (isError === true) { 20 >isError : Symbol(isError, Decl(noImplicitReturnsInAsync2.ts, 8, 21)) 28 async function test5(isError: boolean = true): Promise<any> { //should not be error 30 >isError : Symbol(isError, Decl(noImplicitReturnsInAsync2.ts, 15, 21)) [all …]
|
D | noImplicitReturnsInAsync2.js | 3 async function test3(isError: boolean = true) { 4 if (isError === true) { 10 async function test4(isError: boolean = true) { 11 if (isError === true) { 17 async function test5(isError: boolean = true): Promise<any> { //should not be error 18 if (isError === true) { 25 async function test6(isError: boolean = true): Promise<number> { 26 if (isError === true) { 32 async function test7(isError: boolean = true) { 33 if (isError === true) { [all …]
|
D | noImplicitReturnsInAsync2.errors.txt | 7 async function test3(isError: boolean = true) { 10 if (isError === true) { 16 async function test4(isError: boolean = true) { 17 if (isError === true) { 23 async function test5(isError: boolean = true): Promise<any> { //should not be error 24 if (isError === true) { 31 async function test6(isError: boolean = true): Promise<number> { 34 if (isError === true) { 40 async function test7(isError: boolean = true) { 41 if (isError === true) {
|
D | noImplicitReturnsInAsync1.types | 2 async function test(isError: boolean = false) { 3 >test : (isError?: boolean) => Promise<void> 4 >isError : boolean 7 if (isError === true) { 8 >isError === true : boolean 9 >isError : boolean
|
D | noImplicitReturnsInAsync1.symbols | 2 async function test(isError: boolean = false) { 4 >isError : Symbol(isError, Decl(noImplicitReturnsInAsync1.ts, 0, 20)) 6 if (isError === true) { 7 >isError : Symbol(isError, Decl(noImplicitReturnsInAsync1.ts, 0, 20))
|
D | noImplicitReturnsInAsync1.js | 2 async function test(isError: boolean = false) { 3 if (isError === true) { 19 function test(isError = false) { 21 if (isError === true) {
|
D | narrowFromAnyWithTypePredicate.types | 17 declare function isError(x): x is Error; 18 >isError : (x: any) => x is Error 85 if (isError(x)) { 86 >isError(x) : boolean 87 >isError : (x: any) => x is Error
|
D | narrowFromAnyWithTypePredicate.symbols | 22 declare function isError(x): x is Error; 23 >isError : Symbol(isError, Decl(narrowFromAnyWithTypePredicate.ts, 3, 40)) 74 if (isError(x)) { 75 >isError : Symbol(isError, Decl(narrowFromAnyWithTypePredicate.ts, 3, 40))
|
D | narrowFromAnyWithTypePredicate.js | 6 declare function isError(x): x is Error; 27 if (isError(x)) { 53 if (isError(x)) {
|
/third_party/typescript/tests/cases/compiler/ |
D | noImplicitReturnsInAsync2.ts | 5 async function test3(isError: boolean = true) { 6 if (isError === true) { 12 async function test4(isError: boolean = true) { 13 if (isError === true) { 19 async function test5(isError: boolean = true): Promise<any> { //should not be error 20 if (isError === true) { 27 async function test6(isError: boolean = true): Promise<number> { 28 if (isError === true) { 34 async function test7(isError: boolean = true) { 35 if (isError === true) {
|
D | noImplicitReturnsInAsync1.ts | 4 async function test(isError: boolean = false) { 5 if (isError === true) {
|
/third_party/icu/icu4c/source/samples/ustring/ |
D | ustring.cpp | 119 UBool isError; in demo_utf_h_macros() local 138 isError=false; in demo_utf_h_macros() 140 U16_APPEND(input, i, UPRV_LENGTHOF(input), 0x0062, isError); in demo_utf_h_macros() 214 UBool isError; in demoCaseMapInC() local 229 isError=false; in demoCaseMapInC() 230 for(i=j=0; j<UPRV_LENGTHOF(buffer) && !isError; /* U16_NEXT post-increments */) { in demoCaseMapInC() 236 U16_APPEND(buffer, j, UPRV_LENGTHOF(buffer), c, isError); in demoCaseMapInC() 240 isError=false; in demoCaseMapInC() 241 for(i=j=0; j<UPRV_LENGTHOF(buffer) && !isError; /* U16_NEXT post-increments */) { in demoCaseMapInC() 247 U16_APPEND(buffer, j, UPRV_LENGTHOF(buffer), c, isError); in demoCaseMapInC() [all …]
|
/third_party/skia/third_party/externals/icu/source/samples/ustring/ |
D | ustring.cpp | 119 UBool isError; in demo_utf_h_macros() local 138 isError=false; in demo_utf_h_macros() 140 U16_APPEND(input, i, UPRV_LENGTHOF(input), 0x0062, isError); in demo_utf_h_macros() 214 UBool isError; in demoCaseMapInC() local 229 isError=false; in demoCaseMapInC() 230 for(i=j=0; j<UPRV_LENGTHOF(buffer) && !isError; /* U16_NEXT post-increments */) { in demoCaseMapInC() 236 U16_APPEND(buffer, j, UPRV_LENGTHOF(buffer), c, isError); in demoCaseMapInC() 240 isError=false; in demoCaseMapInC() 241 for(i=j=0; j<UPRV_LENGTHOF(buffer) && !isError; /* U16_NEXT post-increments */) { in demoCaseMapInC() 247 U16_APPEND(buffer, j, UPRV_LENGTHOF(buffer), c, isError); in demoCaseMapInC() [all …]
|
/third_party/gptfdisk/ |
D | gdisk.cc | 20 int isError = 0; in main() local 55 isError = 1; in main() 62 isError = 1; in main() 67 isError = 1; in main() 70 return (isError); in main()
|
/third_party/node/test/parallel/ |
D | test-util.js | 64 assert.strictEqual(util.isError(new Error()), true); 65 assert.strictEqual(util.isError(new TypeError()), true); 66 assert.strictEqual(util.isError(new SyntaxError()), true); 67 assert.strictEqual(util.isError(new (context('Error'))()), true); 68 assert.strictEqual(util.isError(new (context('TypeError'))()), true); 69 assert.strictEqual(util.isError(new (context('SyntaxError'))()), true); 70 assert.strictEqual(util.isError({}), false); 71 assert.strictEqual(util.isError({ name: 'Error', message: '' }), false); 72 assert.strictEqual(util.isError([]), false); 73 assert.strictEqual(util.isError(Object.create(Error.prototype)), true);
|
D | test-internal-util-helpers.js | 7 const { isError } = require('internal/util'); 20 assert(!isError(fake)); 30 assert(isError(newErr)); 36 assert(isError(differentRealmErr));
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/ |
D | LanguageTag.java | 213 assert (!sts.isError()); in parse() 215 } else if (!itr.isDone() && !sts.isError()) { in parse() 233 if (itr.isDone() || sts.isError()) { in parseLanguage() 251 if (itr.isDone() || sts.isError()) { in parseExtlangs() 280 if (itr.isDone() || sts.isError()) { in parseScript() 298 if (itr.isDone() || sts.isError()) { in parseRegion() 316 if (itr.isDone() || sts.isError()) { in parseVariants() 344 if (itr.isDone() || sts.isError()) { in parseExtensions() 395 if (itr.isDone() || sts.isError()) { in parsePrivateuse()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | LanguageTag.java | 168 assert (!sts.isError()); in parse() 170 } else if (!itr.isDone() && !sts.isError()) { in parse() 188 if (itr.isDone() || sts.isError()) { in parseLanguage() 206 if (itr.isDone() || sts.isError()) { in parseExtlangs() 235 if (itr.isDone() || sts.isError()) { in parseScript() 253 if (itr.isDone() || sts.isError()) { in parseRegion() 271 if (itr.isDone() || sts.isError()) { in parseVariants() 299 if (itr.isDone() || sts.isError()) { in parseExtensions() 350 if (itr.isDone() || sts.isError()) { in parsePrivateuse()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | DataExtractor.cpp | 24 static bool isError(Error *E) { return E && *E; } in isError() function 31 if (isError(Err)) in getU() 53 if (isError(Err)) in getUs() 178 if (isError(Err)) in getULEB128() 211 if (isError(&C.Err)) in skip()
|
/third_party/typescript/tests/cases/conformance/types/any/ |
D | narrowFromAnyWithTypePredicate.ts | 5 declare function isError(x): x is Error; function 26 if (isError(x)) {
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkDebugReportUtil.hpp | 69 bool isError () const in isError() function 80 return (isError() || ((flags & otherFlags) != 0u)); in shouldBeLogged()
|
/third_party/icu/icu4c/source/common/ |
D | unistr.cpp | 200 UBool isError = false; in UnicodeString() local 201 U16_APPEND(fUnion.fStackFields.fBuffer, i, US_STACKBUF_SIZE, ch, isError); in UnicodeString() 204 if(!isError) { in UnicodeString() 1378 UBool isError = false; in replace() local 1379 U16_APPEND(buffer, count, U16_MAX_LENGTH, srcChar, isError); in replace() 1383 return doReplace(start, _length, buffer, 0, isError ? 0 : count); in replace() 1390 UBool isError = false; in append() local 1391 U16_APPEND(buffer, _length, U16_MAX_LENGTH, srcChar, isError); in append() 1394 return isError ? *this : doAppend(buffer, 0, _length); in append() 1912 UBool isError = false; in appendCodePoint() local [all …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | unistr.cpp | 200 UBool isError = FALSE; in UnicodeString() local 201 U16_APPEND(fUnion.fStackFields.fBuffer, i, US_STACKBUF_SIZE, ch, isError); in UnicodeString() 204 if(!isError) { in UnicodeString() 1377 UBool isError = FALSE; in replace() local 1378 U16_APPEND(buffer, count, U16_MAX_LENGTH, srcChar, isError); in replace() 1382 return doReplace(start, _length, buffer, 0, isError ? 0 : count); in replace() 1389 UBool isError = FALSE; in append() local 1390 U16_APPEND(buffer, _length, U16_MAX_LENGTH, srcChar, isError); in append() 1393 return isError ? *this : doAppend(buffer, 0, _length); in append() 1911 UBool isError = FALSE; in appendCodePoint() local [all …]
|
/third_party/node/deps/icu-small/source/common/ |
D | unistr.cpp | 200 UBool isError = false; in UnicodeString() local 201 U16_APPEND(fUnion.fStackFields.fBuffer, i, US_STACKBUF_SIZE, ch, isError); in UnicodeString() 204 if(!isError) { in UnicodeString() 1420 UBool isError = false; in replace() local 1421 U16_APPEND(buffer, count, U16_MAX_LENGTH, srcChar, isError); in replace() 1425 return doReplace(start, _length, buffer, 0, isError ? 0 : count); in replace() 1432 UBool isError = false; in append() local 1433 U16_APPEND(buffer, _length, U16_MAX_LENGTH, srcChar, isError); in append() 1436 return isError ? *this : doAppend(buffer, 0, _length); in append() 1954 UBool isError = false; in appendCodePoint() local [all …]
|