Home
last modified time | relevance | path

Searched refs:isDefined (Results 1 – 25 of 118) sorted by relevance

12345

/third_party/typescript/tests/baselines/reference/
DvoidUndefinedReduction.symbols4 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))
DvoidUndefinedReduction.js4 function isDefined<T>(value: T | undefined | null | void): value is T {
10 if (isDefined(foo)) {
18 function isDefined(value) { function
21 if (isDefined(foo)) {
DvoidUndefinedReduction.types4 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/
Dtype_inference_4.ts32 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/
Dguard.js3 …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/
Dcomments.ts15 assert.isDefined(result);
21 assert.isDefined(result);
27 assert.isDefined(result);
DjsDocParsing.ts380 assert.isDefined(root);
383 assert.isDefined(first);
390 assert.isDefined(root);
392 assert.isDefined(last);
DmoduleResolution.ts226 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 …]
DpublicApi.ts43 …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/
Dbase.js63 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')) {
Dtimestamp.js48 if (utils_1.guard.isDefined(data)) {
50 if (!utils_1.guard.isDefined(snapshotData) || !utils_1.guard.isObject(snapshotData)) {
Dtargets.js68 if (utils_1.guard.isDefined(data)) {
83 if (utils_1.guard.isDefined(data)) {
Droot.js93 if (utils_1.guard.isDefined(data)) {
106 if (utils_1.guard.isDefined(data)) {
Dfile.js78 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/
DvoidUndefinedReduction.ts5 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/
DJITLink.h125 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/
DIceConditionCodesMIPS32.h37 static bool isDefined(Cond C) { return C != kNone; } in isDefined() function
39 static bool isUnconditional(Cond C) { return !isDefined(C) || C == AL; } in isUnconditional()
DIceConditionCodesARM32.h37 static bool isDefined(Cond C) { return C != kNone; } in isDefined() function
39 static bool isUnconditional(Cond C) { return !isDefined(C) || C == AL; } in isUnconditional()
DIceAssemblerARM32.cpp807 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/
DUCharacterCompare.java52 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/
DUCharacterCompare.java55 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/
DprojectLoading.ts46 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/
DWasmObjectWriter.cpp415 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/
DCollationIteratorTest.java478 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/
DCollationIteratorTest.java475 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()

12345