Home
last modified time | relevance | path

Searched refs:Either (Results 1 - 22 of 22) sorted by relevance

/third_party/vk-gl-cts/framework/common/
H A DtcuEither.hpp32 * \brief Object containing Either First or Second type of object
40 class Either class
43 Either (const First& first);
44 Either (const Second& second);
45 ~Either (void);
47 Either (const Either<First, Second>& other);
48 Either& operator= (const Either<First, Second>& other);
50 Either
108 get(const Either<First, Second>& either) get() argument
135 is(const Either<First, Second>& either) is() argument
155 Either<First, Second>::Either (const First& first) Either() function in tcu::Either
162 Either<First, Second>::Either (const Second& second) Either() function in tcu::Either
175 Either(const Either<First, Second>& other) Either() argument
185 operator =(const Either<First, Second>& other) operator =() argument
[all...]
H A DtcuEither.cpp90 const Either<int, float> either (intValue); in Either_selfTest()
105 const Either<int, float> either (floatValue); in Either_selfTest()
121 Either<int, float> either (floatValue); in Either_selfTest()
139 Either<int, float> either (intValue); in Either_selfTest()
157 Either<int, float> either (floatValue); in Either_selfTest()
158 const Either<int, float> otherEither (intValue); in Either_selfTest()
176 Either<int, float> either (intValue); in Either_selfTest()
177 const Either<int, float> otherEither (floatValue); in Either_selfTest()
194 const Either<TestClassWithConstructor, int> either (testObject); in Either_selfTest()
209 const Either<in in Either_selfTest()
[all...]
/third_party/rust/crates/either/src/
H A Dlib.rs1 //! The enum [`Either`] with variants `Left` and `Right` is a general purpose
4 //! [`Either`]: enum.Either.html
12 //! Disabled by default. Enable to `#[derive(Serialize, Deserialize)]` for `Either`
40 pub use crate::Either::{Left, Right};
42 /// The enum `Either` with variants `Left` and `Right` is a general purpose
45 /// The `Either` type is symmetric and treats its variants the same way, without
50 pub enum Either<L, R> { enum
57 /// Evaluate the provided expression for both [`Either::Left`] and [`Either
151 impl<L, R> Either<L, R> { global() impls
752 impl<L, R> Either<Option<L>, Option<R>> { global() impls
773 impl<L, R, E> Either<Result<L, E>, Result<R, E>> { global() impls
796 impl<T, L, R> Either<Result<T, L>, Result<T, R>> { global() impls
819 impl<T, L, R> Either<(T, L), (T, R)> { global() impls
840 impl<T, L, R> Either<(L, T), (R, T)> { global() impls
861 impl<T> Either<T, T> { global() impls
[all...]
H A Dserde_untagged.rs1 //! Untagged serialization/deserialization support for Either<L, R>.
3 //! `Either` uses default, externally-tagged representation.
10 //! use either::Either;
17 //! inner: Either<Vec<String>, HashMap<String, i32>>
22 //! inner: Either::Left(vec!["Hello".to_string()])
40 enum Either<L, R> { enum
45 pub fn serialize<L, R, S>(this: &super::Either<L, R>, serializer: S) -> Result<S::Ok, S::Error> in serialize()
52 super::Either::Left(left) => Either::Left(left), in serialize()
53 super::Either in serialize()
[all...]
H A Dserde_untagged_optional.rs1 //! Untagged serialization/deserialization support for Option<Either<L, R>>.
3 //! `Either` uses default, externally-tagged representation.
10 //! use either::Either;
17 //! inner: Option<Either<Vec<String>, HashMap<String, i32>>>
22 //! inner: Some(Either::Left(vec!["Hello".to_string()]))
40 enum Either<L, R> { enum
46 this: &Option<super::Either<L, R>>, in serialize()
55 Some(super::Either::Left(left)) => Some(Either::Left(left)), in serialize()
56 Some(super::Either in serialize()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DvarianceProblingAndZeroOrderIndexSignatureRelationsAlign.js2 type Either<L, A> = Left<L, A> | Right<L, A>;
10 map<B>(f: (a: A) => B): Either<L, B> {
13 ap<B>(fab: Either<L, (a: A) => B>): Either<L, B> {
23 map<B>(f: (a: A) => B): Either<L, B> {
26 ap<B>(fab: Either<L, (a: A) => B>): Either<L, B> {
41 readonly validate: (input: I, context: {}[]) => Either<{}[], A>,
46 decode(i: I): Either<{}[], A> { return null as any; }
H A DvarianceProblingAndZeroOrderIndexSignatureRelationsAlign2.js2 type Either<L, A> = Left<L, A> | Right<L, A>;
10 map<B>(f: (a: A) => B): Either<L, B> {
13 ap<B>(fab: Either<L, (a: A) => B>): Either<L, B> {
23 map<B>(f: (a: A) => B): Either<L, B> {
26 ap<B>(fab: Either<L, (a: A) => B>): Either<L, B> {
41 readonly validate: (input: I, context: {}[]) => Either<{}[], A>,
46 decode(i: I): Either<{}[], A> { return null as any; }
H A DnonInferrableTypePropagation2.js16 type Either<E, A> = Left<E> | Right<A>;
29 declare function exists<A>(predicate: Predicate<A>): <E>(ma: Either<E, A>) => boolean;
31 declare const es: Either<string, number>[];
H A DunknownControlFlow.js435 type Either = Left | Right;
441 function fx20(value: Either) {
887 type Either = Left | Right;
889 declare function fx20(value: Either): void;
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fDrawBuffersIndexedTests.cpp66 using tcu::Either;
164 const Maybe<Either<BlendEq, SeparateBlendEq> >& blendEq_, in BlendState()
165 const Maybe<Either<BlendFunc, SeparateBlendFunc> >& blendFunc_, in BlendState()
180 Maybe<Either<BlendEq, SeparateBlendEq> > blendEq;
181 Maybe<Either<BlendFunc, SeparateBlendFunc> > blendFunc;
211 const Either<BlendEq, SeparateBlendEq>& blendEq = *blend.blendEq; in setCommonBlendState()
223 const Either<BlendFunc, SeparateBlendFunc>& blendFunc = *blend.blendFunc; in setCommonBlendState()
255 const Either<BlendEq, SeparateBlendEq>& blendEq = *blend.blendEq; in setIndexedBlendState()
267 const Either<BlendFunc, SeparateBlendFunc>& blendFunc = *blend.blendFunc; in setIndexedBlendState()
1092 const Either<BlendE in logBlendState()
[all...]
/third_party/rust/crates/which-rs/src/
H A Dlib.rs239 cwd: Option<either::Either<bool, path::PathBuf>>,
249 cwd: Some(either::Either::Left(true)), in default()
279 self.cwd = Some(either::Either::Left(use_cwd)); in system_cwd()
293 self.cwd = Some(either::Either::Right(cwd)); in custom_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()
375 Some(either::Either::Right(custom)) => Some(custom), in all_results()
376 None | Some(either::Either::Left(true)) => env::current_dir().ok(), in all_results()
H A Dfinder.rs5 use either::Either;
72 Either::Left(Self::cwd_search_candidates(path, cwd).into_iter()) in find()
79 Either::Right(Self::path_search_candidates(path, paths).into_iter()) in find()
/third_party/rust/crates/regex/regex-syntax/src/
H A Deither.rs5 pub enum Either<Left, Right> { enum
/third_party/rust/crates/regex/regex-syntax/src/ast/
H A Dparse.rs11 use crate::either::Either;
681 Either::Left(set) => { in push_group()
690 Either::Right(group) => { in push_group()
846 ) -> Result<Either<ast::ClassSetUnion, ast::Class>> { in pop_class()
878 Ok(Either::Right(ast::Class::Bracketed(set))) in pop_class()
881 Ok(Either::Left(union)) in pop_class()
1186 fn parse_group(&self) -> Result<Either<ast::SetFlags, ast::Group>> { in parse_group()
1201 Ok(Either::Right(ast::Group { in parse_group()
1224 Ok(Either::Left(ast::SetFlags { in parse_group()
1230 Ok(Either in parse_group()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/
H A DExecutionEngine.h519 const static Kind Either = (Kind)(JIT | Interpreter); member
555 /// or whichever engine works. This option defaults to EngineKind::Either.
/third_party/libunwind/libunwind/doc/
H A Dlibunwind-ptrace.tex72 \Const{PTRACE\_ATTACH}). Either way, once the process-ID (pid) of the
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp108 builder.setEngineKind(EngineKind::Either) in LLVMCreateExecutionEngineForModule()
H A DExecutionEngine.cpp476 : M(std::move(M)), WhichEngine(EngineKind::Either), ErrorStr(nullptr), in EngineBuilder()
/third_party/pcre2/pcre2/
H A DRunTest.bat507 @echo Either your build is incomplete or you have a configuration error.
/third_party/ffmpeg/libavutil/x86/
H A Dx86inc.asm1622 ; Either src2 or src3 can be a memory operand.
/third_party/skia/third_party/externals/expat/expat/lib/
H A Dxmlparse.c101 # error Either undefine XML_DTD or define XML_GE to 1.
7365 * function). Either way it isn't readily testable, so we in poolGrow()
/third_party/skia/third_party/externals/microhttpd/doc/
H A Dtexinfo.tex3789 % Either define widths of columns in terms of percent of \hsize:
8214 % all be worked out, but why? Either we support ^^ or we don't.

Completed in 39 milliseconds