/third_party/typescript/tests/baselines/reference/ |
D | voidUndefinedReduction.symbols | 4 function isDefined<T>(value: T | undefined | null | void): value is T { 5 >isDefined : Symbol(isDefined, Decl(voidUndefinedReduction.ts, 0, 0)) 21 if (isDefined(foo)) { 22 >isDefined : Symbol(isDefined, Decl(voidUndefinedReduction.ts, 0, 0))
|
D | voidUndefinedReduction.js | 4 function isDefined<T>(value: T | undefined | null | void): value is T { 10 if (isDefined(foo)) { 18 function isDefined(value) { function 21 if (isDefined(foo)) {
|
D | voidUndefinedReduction.types | 4 function isDefined<T>(value: T | undefined | null | void): value is T { 5 >isDefined : <T>(value: T | undefined | null | void) => value is T 22 if (isDefined(foo)) { 23 >isDefined(foo) : boolean 24 >isDefined : <T>(value: void | T | null | undefined) => value is T
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/types/type_relationships/type_inference/ |
D | type_inference_4.ts | 32 function isDefined<T>(x: Maybe<T>): x is T { function 39 return isDefined(x) ? x : defaultValue; 44 let x2 = isDefined(x) ? x : "undefined"; 53 let x2 = isDefined(x) ? x : -1;
|
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/utils/ |
D | guard.js | 3 …rd = exports.isObjectArray = exports.isStringArray = exports.isObject = exports.isDefined = void 0; 4 function isDefined(val) { function 7 exports.isDefined = isDefined;
|
/third_party/typescript/src/testRunner/unittests/ |
D | comments.ts | 15 assert.isDefined(result); 21 assert.isDefined(result); 27 assert.isDefined(result);
|
D | jsDocParsing.ts | 380 assert.isDefined(root); 383 assert.isDefined(first); 390 assert.isDefined(root); 392 assert.isDefined(last);
|
D | moduleResolution.ts | 226 assert.isDefined(cache.get("/sub")); 241 assert.isDefined(cache.get("/sub/dir/foo")); 242 assert.isDefined(cache.get("/sub/dir")); 243 assert.isDefined(cache.get("/sub")); 258 assert.isDefined(cache.get("/foo/bar")); 259 assert.isDefined(cache.get("/foo")); 260 assert.isDefined(cache.get("/")); 274 assert.isDefined(cache.get("/foo")); 289 assert.isDefined(cache.get("c:/foo")); 290 assert.isDefined(cache.get("c:/")); [all …]
|
D | publicApi.ts | 43 …assert.isDefined(ts.tokenToString(t), `Expected tokenToString defined for ${ts.Debug.formatSyntaxK… 74 assert.isDefined(tags[0].comment); 75 assert.isDefined(tags[0].comment![0]);
|
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/ |
D | base.js | 63 if (utils_1.guard.isDefined(spec_version) && !(typeof spec_version === 'string')) { 66 if (utils_1.guard.isDefined(expires) && !(typeof expires === 'string')) { 69 if (utils_1.guard.isDefined(version) && !(typeof version === 'number')) {
|
D | timestamp.js | 48 if (utils_1.guard.isDefined(data)) { 50 if (!utils_1.guard.isDefined(snapshotData) || !utils_1.guard.isObject(snapshotData)) {
|
D | targets.js | 68 if (utils_1.guard.isDefined(data)) { 83 if (utils_1.guard.isDefined(data)) {
|
D | root.js | 93 if (utils_1.guard.isDefined(data)) { 106 if (utils_1.guard.isDefined(data)) {
|
D | file.js | 78 if (utils_1.guard.isDefined(length) && typeof length !== 'number') { 81 if (utils_1.guard.isDefined(hashes) && !utils_1.guard.isStringRecord(hashes)) {
|
/third_party/typescript/tests/cases/compiler/ |
D | voidUndefinedReduction.ts | 5 function isDefined<T>(value: T | undefined | null | void): value is T { function 11 if (isDefined(foo)) {
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/JITLink/ |
D | JITLink.h | 125 bool isDefined() const { return static_cast<bool>(IsDefined); } in isDefined() function 317 assert(Base.isDefined() && in constructCommon() 330 assert(!Base.isDefined() && in constructExternal() 342 assert(!Base.isDefined() && in constructAbsolute() 397 bool isDefined() const { in isDefined() function 399 return Base->isDefined(); in isDefined() 421 return !Base->isDefined() && !Base->isAbsolute(); in isExternal() 427 return !Base->isDefined() && Base->isAbsolute(); in isAbsolute() 445 assert(Base->isDefined() && "Not a defined symbol"); in getBlock() 452 assert(Base->isDefined() && "Not a defined symbol"); in getBlock() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceConditionCodesMIPS32.h | 37 static bool isDefined(Cond C) { return C != kNone; } in isDefined() function 39 static bool isUnconditional(Cond C) { return !isDefined(C) || C == AL; } in isUnconditional()
|
D | IceConditionCodesARM32.h | 37 static bool isDefined(Cond C) { return C != kNone; } in isDefined() function 39 static bool isUnconditional(Cond C) { return !isDefined(C) || C == AL; } in isUnconditional()
|
D | IceAssemblerARM32.cpp | 807 assert(CondARM32::isDefined(Cond)); in emitType01() 892 assert(CondARM32::isDefined(Cond)); in emitType05() 938 assert(CondARM32::isDefined(Cond)); in emitMemOp() 1021 assert(CondARM32::isDefined(Cond)); in emitMemOpEnc3() 1040 assert(CondARM32::isDefined(Cond)); in emitMemOpEnc3() 1066 assert(CondARM32::isDefined(Cond)); in emitDivOp() 1082 assert(CondARM32::isDefined(Cond)); in emitInsertExtractInt() 1135 assert(CondARM32::isDefined(Cond)); in emitMulOp() 1146 assert(CondARM32::isDefined(Cond)); in emitMultiMemOp() 1190 assert(CondARM32::isDefined(Cond)); in emitSignExtend() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UCharacterCompare.java | 52 if (UCharacter.isDefined(i) != Character.isDefined(i)) in main() 53 … trackDifference(p, i, "isDefined()", "" + UCharacter.isDefined(i), "" + Character.isDefined(i)); in main()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
D | UCharacterCompare.java | 55 if (UCharacter.isDefined(i) != Character.isDefined(i)) in main() 56 … trackDifference(p, i, "isDefined()", "" + UCharacter.isDefined(i), "" + Character.isDefined(i)); in main()
|
/third_party/typescript/src/testRunner/unittests/tsserver/events/ |
D | projectLoading.ts | 46 assert.isDefined(project); 145 assert.isDefined(project); 171 assert.isDefined(projectA);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
D | WasmObjectWriter.cpp | 415 if (WS.isDefined() && WS.isFunction() && !WS.isVariable()) { in executePostLayoutBinding() 574 if (!Sym->isDefined()) in getProvisionalValue() 1090 if (Sym.isComdat() && !Sym.isDefined()) in isInSymtab() 1159 if (!WS.isDefined() && !WS.isComdat()) { in writeObject() 1293 << " isDefined=" << S.isDefined() << " isExternal=" in writeObject() 1300 if (WS.isComdat() && !WS.isDefined()) in writeObject() 1305 if (WS.isDefined()) { in writeObject() 1346 if (!WS.isDefined()) { in writeObject() 1376 if (WS.isDefined()) in writeObject() 1386 if (WS.isDefined()) { in writeObject() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | CollationIteratorTest.java | 478 if (UCharacter.isDefined(codepoint)) { in TestUnicodeChar() 484 if (UCharacter.isDefined(codepoint)) { in TestUnicodeChar() 531 if (UCharacter.isDefined(codepoint)) { in TestNormalizedUnicodeChar() 537 if (UCharacter.isDefined(codepoint)) { in TestNormalizedUnicodeChar()
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationIteratorTest.java | 475 if (UCharacter.isDefined(codepoint)) { in TestUnicodeChar() 481 if (UCharacter.isDefined(codepoint)) { in TestUnicodeChar() 528 if (UCharacter.isDefined(codepoint)) { in TestNormalizedUnicodeChar() 534 if (UCharacter.isDefined(codepoint)) { in TestNormalizedUnicodeChar()
|