Home
last modified time | relevance | path

Searched refs:Yes (Results 1 - 25 of 43) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
H A DstringEnumLiteralTypes3.js2 const enum Choice { Unknown = "", Yes = "yes", No = "no" };
4 type Yes = Choice.Yes;
5 type YesNo = Choice.Yes | Choice.No;
6 type NoYes = Choice.No | Choice.Yes;
7 type UnknownYesNo = Choice.Unknown | Choice.Yes | Choice.No;
9 function f1(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) {
16 function f2(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) {
23 function f3(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) {
30 function f4(a: Yes,
[all...]
H A DenumLiteralTypes3.js2 const enum Choice { Unknown, Yes, No };
4 type Yes = Choice.Yes;
5 type YesNo = Choice.Yes | Choice.No;
6 type NoYes = Choice.No | Choice.Yes;
7 type UnknownYesNo = Choice.Unknown | Choice.Yes | Choice.No;
9 function f1(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) {
16 function f2(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) {
23 function f3(a: Yes, b: YesNo, c: UnknownYesNo, d: Choice) {
30 function f4(a: Yes,
[all...]
H A DstringEnumLiteralTypes1.js2 const enum Choice { Unknown = "", Yes = "yes", No = "no" };
4 type YesNo = Choice.Yes | Choice.No;
5 type NoYes = Choice.No | Choice.Yes;
6 type UnknownYesNo = Choice.Unknown | Choice.Yes | Choice.No;
11 var a: Choice.Yes | Choice.No;
12 var a: Choice.No | Choice.Yes;
21 function f3(a: Choice.Yes, b: YesNo) {
34 declare function g(x: Choice.Yes): string;
39 var z1 = g(Choice.Yes);
52 case Choice.Yes
[all...]
H A DstringEnumLiteralTypes2.js2 const enum Choice { Unknown = "", Yes = "yes", No = "no" };
4 type YesNo = Choice.Yes | Choice.No;
5 type NoYes = Choice.No | Choice.Yes;
6 type UnknownYesNo = Choice.Unknown | Choice.Yes | Choice.No;
11 var a: Choice.Yes | Choice.No;
12 var a: Choice.No | Choice.Yes;
21 function f3(a: Choice.Yes, b: YesNo) {
34 declare function g(x: Choice.Yes): string;
39 var z1 = g(Choice.Yes);
52 case Choice.Yes
[all...]
H A DenumLiteralTypes1.js2 const enum Choice { Unknown, Yes, No };
4 type YesNo = Choice.Yes | Choice.No;
5 type NoYes = Choice.No | Choice.Yes;
6 type UnknownYesNo = Choice.Unknown | Choice.Yes | Choice.No;
11 var a: Choice.Yes | Choice.No;
12 var a: Choice.No | Choice.Yes;
21 function f3(a: Choice.Yes, b: YesNo) {
43 function f4(a: Choice.Yes, b: YesNo) {
48 declare function g(x: Choice.Yes): string;
53 var z1 = g(Choice.Yes);
[all...]
H A DenumLiteralTypes2.js2 const enum Choice { Unknown, Yes, No };
4 type YesNo = Choice.Yes | Choice.No;
5 type NoYes = Choice.No | Choice.Yes;
6 type UnknownYesNo = Choice.Unknown | Choice.Yes | Choice.No;
11 var a: Choice.Yes | Choice.No;
12 var a: Choice.No | Choice.Yes;
21 function f3(a: Choice.Yes, b: UnknownYesNo) {
43 function f4(a: Choice.Yes, b: UnknownYesNo) {
48 declare function g(x: Choice.Yes): string;
53 var z1 = g(Choice.Yes);
[all...]
H A DexportImportCanSubstituteConstEnumForValue.js11 Yes,
101 Yes = 6
/third_party/rust/crates/bindgen/bindgen/ir/analysis/
H A Dderive.rs121 if let CanDerive::Yes = can_derive { in insert()
147 CanDerive::Yes => trace!( in constrain_type()
185 ty.layout(self.ctx).map_or(CanDerive::Yes, |l| { in constrain_type()
190 CanDerive::Yes => { in constrain_type()
240 if inner_type != CanDerive::Yes { in constrain_type()
261 return CanDerive::Yes; in constrain_type()
274 CanDerive::Yes in constrain_type()
279 if inner_type != CanDerive::Yes { in constrain_type()
346 ty.layout(self.ctx).map_or(CanDerive::Yes, |l| { in constrain_type()
351 CanDerive::Yes in constrain_type()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
H A DDrawCallPerf.cpp91 Yes, // Record commands in a render bundle member in __anon20564::RenderBundle
199 case RenderBundle::Yes: in operator <<()
455 if (GetParam().withRenderBundle == RenderBundle::Yes) { in SetUp()
593 case RenderBundle::Yes: in Step()
640 RenderBundle::Yes), // Multiple vertex buffers w/ render bundle
642 RenderBundle::Yes), // Dynamic vertex buffer w/ render bundle
645 MakeParam(BindGroup::Multiple, RenderBundle::Yes), // Multiple bind groups w/ render bundle
646 MakeParam(BindGroup::Dynamic, RenderBundle::Yes), // Dynamic bind groups w/ render bundle
651 RenderBundle::Yes), // Multiple bind groups w/ dynamic pipeline w/ render bundle
654 RenderBundle::Yes), // Dynami
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A Dilist.h113 typedef char Yes[1]; typedef
118 static Yes &test(U *I, decltype(I->getNext(&make<NodeT>())) * = 0);
122 static const bool value = sizeof(test<TraitsT>(nullptr)) == sizeof(Yes);
128 typedef char Yes[1]; typedef
132 static Yes &test(U *I, decltype(I->createSentinel()) * = 0);
136 static const bool value = sizeof(test<TraitsT>(nullptr)) == sizeof(Yes);
143 typedef char Yes[1]; typedef
148 static Yes &test(U *I, decltype(I->createNode(make<NodeT>())) * = 0);
152 static const bool value = sizeof(test<TraitsT>(nullptr)) == sizeof(Yes);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A Dilist.h101 typedef char Yes[1]; typedef
106 static Yes &test(U *I, decltype(I->getNext(&make<NodeT>())) * = 0);
110 static const bool value = sizeof(test<TraitsT>(nullptr)) == sizeof(Yes);
116 typedef char Yes[1]; typedef
120 static Yes &test(U *I, decltype(I->createSentinel()) * = 0);
124 static const bool value = sizeof(test<TraitsT>(nullptr)) == sizeof(Yes);
131 typedef char Yes[1]; typedef
136 static Yes &test(U *I, decltype(I->createNode(make<NodeT>())) * = 0);
140 static const bool value = sizeof(test<TraitsT>(nullptr)) == sizeof(Yes);
/third_party/rust/crates/bindgen/bindgen/ir/
H A Dderive.rs90 /// Yes
97 /// Yes, we can derive automatically.
98 Yes,
112 CanDerive::Yes in default()
H A Dlayout.rs138 CanDerive::Yes in array_size_within_derive_limit()
/third_party/rust/crates/termcolor/wincolor/src/
H A Dwin.rs172 Yes,
188 Intense::Yes => FG_INTENSITY, in to_fg()
194 Intense::Yes in from_fg()
/third_party/mesa3d/src/compiler/glsl/glcpp/tests/
H A D098-elif-undefined.c6 Yes, this. variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp104 enum class CanMerge { No, Yes };
113 return CanMerge::Yes; in makeMergeable()
/third_party/rust/crates/termcolor/src/
H A Dlib.rs1914 use wincon::Intense::{No, Yes}; in to_windows()
1933 Color::Ansi256(8) => return Some((Yes, wincon::Color::Black)), in to_windows()
1934 Color::Ansi256(9) => return Some((Yes, wincon::Color::Red)), in to_windows()
1935 Color::Ansi256(10) => return Some((Yes, wincon::Color::Green)), in to_windows()
1936 Color::Ansi256(11) => return Some((Yes, wincon::Color::Yellow)), in to_windows()
1937 Color::Ansi256(12) => return Some((Yes, wincon::Color::Blue)), in to_windows()
1938 Color::Ansi256(13) => return Some((Yes, wincon::Color::Magenta)), in to_windows()
1939 Color::Ansi256(14) => return Some((Yes, wincon::Color::Cyan)), in to_windows()
1940 Color::Ansi256(15) => return Some((Yes, wincon::Color::White)), in to_windows()
1945 let intense = if intense { Yes } els in to_windows()
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/parse_callbacks/
H A Dmod.rs60 Some(ImplementsTrait::Yes) in blocklisted_type_implements_trait()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
H A DFunctionImport.h164 /// to computeDeadSymbols. Yes and No values used when status explicitly
166 enum class PrevailingType { Yes, No, Unknown }; member in llvm::PrevailingType
/third_party/rust/crates/syn/tests/common/
H A Deq.rs537 spanless_eq_enum!(ByRef; Yes No);
540 spanless_eq_enum!(Const; Yes(0) No);
561 spanless_eq_enum!(Inline; Yes No);
565 spanless_eq_enum!(IsAuto; Yes No);
584 spanless_eq_enum!(Unsafe; Yes(0) No);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h123 enum class Cache : unsigned char { Yes, No, Unknown, }; member in Node::Cache
159 return RHSComponentCache == Cache::Yes; in hasRHSComponent()
165 return ArrayCache == Cache::Yes; in hasArray()
171 return FunctionCache == Cache::Yes; in hasFunction()
617 /*RHSComponentCache=*/Cache::Yes, in ArrayType()
618 /*ArrayCache=*/Cache::Yes), in ArrayType()
650 /*RHSComponentCache=*/Cache::Yes, /*ArrayCache=*/Cache::No, in FunctionType()
651 /*FunctionCache=*/Cache::Yes), in FunctionType()
741 /*RHSComponentCache=*/Cache::Yes, /*ArrayCache=*/Cache::No, in FunctionEncoding()
742 /*FunctionCache=*/Cache::Yes), in FunctionEncoding()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp169 enum class ForMemset { No, Yes };
573 MadeChange |= processLoopStores(SL.second, BECount, ForMemset::Yes); in runOnLoopBlock()
631 if (For == ForMemset::Yes) in processLoopStores()
664 if (For == ForMemset::Yes) in processLoopStores()
673 if (For == ForMemset::Yes) { in processLoopStores()
/third_party/lz4/lib/
H A DMakefile144 ifeq ($(POSIX_ENV),Yes)
/third_party/lz4/programs/
H A DMakefile148 ifeq ($(POSIX_ENV),Yes)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DMetadata.h503 using Yes = char[1];
508 static Yes &hasDereference(SFINAE<sizeof(static_cast<V>(*make<U>()))> * = 0);
512 sizeof(hasDereference<T, Result>(nullptr)) == sizeof(Yes);

Completed in 21 milliseconds

12