/third_party/rust/crates/either/src/ |
H A D | lib.rs | 1 //! The enum [`Either`] with variants `Left` and `Right` is a general purpose 40 pub use crate::Either::{Left, Right}; 42 /// The enum `Either` with variants `Left` and `Right` is a general purpose 52 Left(L), 57 /// Evaluate the provided expression for both [`Either::Left`] and [`Either::Right`]. 75 /// let owned = Either::Left("Hello world!".to_owned()); 85 $crate::Either::Left($pattern) => $result, 101 /// use either::{Either, Left, Right}; 105 /// Left(value * 2) 109 /// assert_eq!(twice(Left( [all...] |
H A D | serde_untagged_optional.rs | 22 //! inner: Some(Either::Left(vec!["Hello".to_string()])) 41 Left(L), 55 Some(super::Either::Left(left)) => Some(Either::Left(left)), in serialize() 69 Ok(Some(Either::Left(left))) => Ok(Some(super::Either::Left(left))), in deserialize()
|
H A D | serde_untagged.rs | 22 //! inner: Either::Left(vec!["Hello".to_string()]) 41 Left(L), 52 super::Either::Left(left) => Either::Left(left), in serialize() 65 Ok(Either::Left(left)) => Ok(super::Either::Left(left)), in deserialize()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | FormatAdapters.h | 45 size_t Left; member in llvm::detail::final 49 PadAdapter(T &&Item, size_t Left, size_t Right) in PadAdapter() argument 50 : FormatAdapter<T>(std::forward<T>(Item)), Left(Left), Right(Right) {} in PadAdapter() 54 Stream.indent(Left); in format() 91 detail::PadAdapter<T> fmt_pad(T &&Item, size_t Left, size_t Right) { in fmt_pad() argument 92 return detail::PadAdapter<T>(std::forward<T>(Item), Left, Right); in fmt_pad()
|
H A D | FormatCommon.h | 17 enum class AlignStyle { Left, Center, Right }; member in llvm::AlignStyle 50 case AlignStyle::Left: in format()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | varianceProblingAndZeroOrderIndexSignatureRelationsAlign.js | 2 type Either<L, A> = Left<L, A> | Right<L, A>; 4 class Left<L, A> { 5 readonly _tag: 'Left' = 'Left' 88 var Left = /** @class */ (function () {
89 function Left(value) {
91 this._tag = 'Left';
94 Left.prototype.map = function (f) {
97 Left.prototype.ap = function (fab) {
100 return Left;
[all...] |
H A D | varianceProblingAndZeroOrderIndexSignatureRelationsAlign2.js | 2 type Either<L, A> = Left<L, A> | Right<L, A>; 4 class Left<L, A> { 5 readonly _tag: 'Left' = 'Left' 88 var Left = /** @class */ (function () {
89 function Left(value) {
91 this._tag = 'Left';
94 Left.prototype.map = function (f) {
97 Left.prototype.ap = function (fab) {
100 return Left;
[all...] |
H A D | nonInferrableTypePropagation2.js | 6 interface Left<E> { 7 readonly _tag: 'Left' 16 type Either<E, A> = Left<E> | Right<A>;
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | WasmTranslator.cpp | 393 Node Binop(wasm::WasmOpcode Opcode, Node Left, Node Right) { in Binop() argument 394 LOG(out << "Binop(" << WasmOpcodes::OpcodeName(Opcode) << ", " << Left in Binop() 402 Dest = makeVariable(Left.toOperand()->getType()); in Binop() 408 InstArithmetic::create(Func, InstArithmetic::Add, Dest, Left, Right)); in Binop() 413 Dest, Left, Right)); in Binop() 418 InstArithmetic::create(Func, InstArithmetic::Sub, Dest, Left, Right)); in Binop() 423 Dest, Left, Right)); in Binop() 428 InstArithmetic::create(Func, InstArithmetic::Mul, Dest, Left, Right)); in Binop() 433 Dest, Left, Right)); in Binop() 438 Dest, Left, Righ in Binop() [all...] |
/third_party/rust/crates/regex/regex-syntax/src/ |
H A D | either.rs | 5 pub enum Either<Left, Right> { 6 Left(Left),
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/ |
H A D | FontInfo.java | 82 Align[] displayAlignment = { Align.Left, Align.Left }; in listFontMetrics() 132 Align[] displayAlignment = { Align.Left, Align.Right, Align.Right, Align.Right }; in listTables() 177 Align[] displayAlignment = { Align.Left, Align.Left, Align.Left, Align.Left, Align.Left }; in listNameEntries() 277 Align[] displayAlignment = { Align.Right, Align.Right, Align.Left }; in listChars() 310 Align[] displayAlignment = { Align.Left, Alig in listCharBlockCoverage() [all...] |
H A D | DataDisplayTable.java | 28 Left, Right enum constant 58 displayAlignment.add(Align.Left); in DataDisplayTable() 169 if (displayAlignment.get(numCols - 1) == Align.Left) { in prettyString() 191 if (displayAlignment.get(numCols - 1) == Align.Left) { in prettyString() 303 if (alignment == Align.Left) { in padString()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonConstExtenders.cpp | 129 Node *Left = nullptr, *Right = nullptr; member 172 N->Height = 1 + std::max(height(N->Left), height(N->Right)); in update() 173 if (N->Left) in update() 174 N->MaxEnd = std::max(N->MaxEnd, N->Left->MaxEnd); in update() 181 int32_t Balance = height(N->Right) - height(N->Left); in rebalance() 183 return rotateRight(N->Left, N); in rebalance() 592 dbgs() << " Left: " << N->Left << '\n'; in dump() 595 if (N->Left) in dump() 596 dump(N->Left); in dump() [all...] |
H A D | HexagonSplitDouble.cpp | 797 bool Left = !Right; in splitShift() local 803 unsigned ShiftOpc = Left ? S2_asl_i_r in splitShift() 834 if (S == 16 && Left) in splitShift() 841 BuildMI(B, MI, DL, TII->get(ShiftOpc), (Left ? LoR : TmpR)) in splitShift() 845 if (Left) { in splitShift() 869 BuildMI(B, MI, DL, TII->get(TargetOpcode::COPY), (Left ? HiR : LoR)) in splitShift() 870 .addReg(Op1.getReg(), RS & ~RegState::Kill, (Left ? LoSR : HiSR)); in splitShift() 872 BuildMI(B, MI, DL, TII->get(A2_tfrsi), (Left ? LoR : HiR)) in splitShift() 880 if (S == 16 && Left) in splitShift() 887 BuildMI(B, MI, DL, TII->get(ShiftOpc), (Left in splitShift() [all...] |
H A D | HexagonBlockRanges.cpp | 406 RegisterSet Left; in computeInitialLiveRanges() local 409 Left.insert(I.first); in computeInitialLiveRanges() 412 Left.insert(I.first); in computeInitialLiveRanges() 413 for (auto R : Left) in computeInitialLiveRanges()
|
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | DefaultName.cpp | 18 return fileName.Left(dotPos) + addSubExtension;
in GetDefaultName3() 23 return fileName.Left((unsigned)dotPos) + addSubExtension;
in GetDefaultName3()
|
H A D | WorkDir.cpp | 22 const FString prefix = path.Left(3);
in GetWorkDir() 46 tempDir = path.Left((unsigned)pos);
in GetWorkDir()
|
/third_party/node/deps/v8/third_party/ittapi/ittapi-rs/tests/ |
H A D | bindgen-up-to-date.rs | 34 diff::Result::Left(s) => println!("-{}", s), in test_ittnotify_bindings_up_to_date() 62 diff::Result::Left(s) => println!("-{}", s), in test_jitprofiling_bindings_up_to_date()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | FormatCommon.h | 18 enum class AlignStyle { Left, Center, Right }; member in llvm::AlignStyle 49 case AlignStyle::Left: in format()
|
/third_party/skia/third_party/externals/libwebp/examples/ |
H A D | anim_util.c | 458 return target->Left <= covered->Left && in CoversFrameGIF() 459 covered->Left + covered->Width <= target->Left + target->Width && in CoversFrameGIF() 497 out = dst + image_desc->Top * out_stride + image_desc->Left * kNumChannels; in ReadFrameGIF() 552 gif->SavedImages[0].ImageDesc.Left = 0; in ReadAnimatedGIF() 621 prev_desc->Left, prev_desc->Top, in ReadAnimatedGIF() 641 prev_desc->Left, prev_desc->Top, in ReadAnimatedGIF() 647 prev_desc->Left, prev_desc->Top, in ReadAnimatedGIF()
|
/third_party/rust/crates/which-rs/src/ |
H A D | lib.rs | 249 cwd: Some(either::Either::Left(true)), in default() 279 self.cwd = Some(either::Either::Left(use_cwd)); in system_cwd() 315 if self.cwd != Some(either::Either::Left(false)) && self.cwd.is_some() { in regex() 374 Some(either::Either::Left(false)) => None, in all_results() 376 None | Some(either::Either::Left(true)) => env::current_dir().ok(), in all_results()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | volume9.c | 228 dirty_region.Left = box->x << This->level_actual; in NineVolume9_AddDirtyRegion() 231 dirty_region.Right = dirty_region.Left + (box->width << This->level_actual); in NineVolume9_AddDirtyRegion() 263 pBox ? pBox->Left : 0, pBox ? pBox->Right : 0, in NineVolume9_LockBox() 284 user_assert((pBox->Left == 0 && pBox->Right == This->desc.Width && in NineVolume9_LockBox() 286 (!(pBox->Left % w) && !(pBox->Right % w) && in NineVolume9_LockBox() 301 user_assert(pBox->Right > pBox->Left, D3DERR_INVALIDCALL); in NineVolume9_LockBox()
|
/third_party/python/Lib/test/ |
H A D | test_subclassinit.py | 83 class Left(Base): class 96 class A(Left, Middle, Right, middle="middle"): 100 self.assertEqual(Left.calls, [])
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
H A D | WinException.cpp | 1067 static int getTryAncestor(const WinEHFuncInfo &FuncInfo, int Left, int Right) { in getTryAncestor() argument 1068 int LeftRank = getTryRank(FuncInfo, Left); in getTryAncestor() 1077 Left = FuncInfo.ClrEHUnwindMap[Left].TryParentState; in getTryAncestor() 1081 while (Left != Right) { in getTryAncestor() 1082 Left = FuncInfo.ClrEHUnwindMap[Left].TryParentState; in getTryAncestor() 1086 return Left; in getTryAncestor()
|
/third_party/rust/crates/codespan/codespan-reporting/src/term/ |
H A D | renderer.rs | 42 /// Left vertical labels for multi-line labels. 47 Left, 265 MultiLabel::Left | MultiLabel::Bottom(..) => { in render_snippet_source() 288 MultiLabel::Left => true, in render_snippet_source() 535 MultiLabel::Left => continue, // no label caret needed in render_snippet_source() 558 MultiLabel::Left => { in render_snippet_source() 944 MultiLabel::Left | MultiLabel::Bottom(..) => { in inner_gutter()
|