Home
last modified time | relevance | path

Searched refs:either (Results 1 – 25 of 6092) sorted by relevance

12345678910>>...244

/third_party/vk-gl-cts/framework/common/
DtcuEither.cpp90 const Either<int, float> either (intValue); in Either_selfTest() local
92 TCU_CHECK(either.isFirst()); in Either_selfTest()
93 TCU_CHECK(!either.isSecond()); in Either_selfTest()
95 TCU_CHECK(either.is<int>()); in Either_selfTest()
96 TCU_CHECK(!either.is<float>()); in Either_selfTest()
98 TCU_CHECK(either.getFirst() == intValue); in Either_selfTest()
99 TCU_CHECK(either.get<int>() == intValue); in Either_selfTest()
105 const Either<int, float> either (floatValue); in Either_selfTest() local
107 TCU_CHECK(!either.isFirst()); in Either_selfTest()
108 TCU_CHECK(either.isSecond()); in Either_selfTest()
[all …]
DtcuEither.hpp92 static const First& get (const Either<First, Second>& either) in get()
94 return either.getFirst(); in get()
101 static const Second& get (const Either<First, Second>& either) in get()
103 return either.getSecond(); in get()
108 const Type& get (const Either<First, Second>& either) in get() argument
110 return Get<Type, First, Second>::get(either); in get()
119 static bool is (const Either<First, Second>& either) in is()
121 return either.isFirst(); in is()
128 static bool is (const Either<First, Second>& either) in is()
130 return either.isSecond(); in is()
[all …]
/third_party/typescript/tests/baselines/reference/
DfunctionParameterArityMismatch.errors.txt2 …S2575: No overload expects 2 arguments, but overloads do exist that expect either 1 or 3 arguments.
4 …S2575: No overload expects 1 arguments, but overloads do exist that expect either 0 or 2 arguments.
5 …S2575: No overload expects 3 arguments, but overloads do exist that expect either 2 or 4 arguments.
6 …S2575: No overload expects 5 arguments, but overloads do exist that expect either 4 or 6 arguments.
8 …ionParameterArityMismatch.ts(15,4): error TS2556: A spread argument must either have a tuple type …
20 !!! error TS2575: No overload expects 2 arguments, but overloads do exist that expect either 1 or 3…
31 !!! error TS2575: No overload expects 1 arguments, but overloads do exist that expect either 0 or 2…
34 !!! error TS2575: No overload expects 3 arguments, but overloads do exist that expect either 2 or 4…
37 !!! error TS2575: No overload expects 5 arguments, but overloads do exist that expect either 4 or 6…
43 !!! error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
DpropertyAccessStringIndexSignatureNoImplicitAny.errors.txt2 …nt implicitly has an 'any' type because expression of type '"not allowed either"' can't be used to…
3 Property 'not allowed either' does not exist on type 'Empty'.
19 empty["not allowed either"];
21 …nt implicitly has an 'any' type because expression of type '"not allowed either"' can't be used to…
22 !!! error TS7053: Property 'not allowed either' does not exist on type 'Empty'.
DcallWithSpread2.errors.txt1 …ionCalls/callWithSpread2.ts(23,13): error TS2556: A spread argument must either have a tuple type …
2 …tionCalls/callWithSpread2.ts(24,7): error TS2556: A spread argument must either have a tuple type …
12 …tionCalls/callWithSpread2.ts(33,8): error TS2556: A spread argument must either have a tuple type …
13 …tionCalls/callWithSpread2.ts(34,8): error TS2556: A spread argument must either have a tuple type …
15 …ionCalls/callWithSpread2.ts(36,14): error TS2556: A spread argument must either have a tuple type …
43 !!! error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
46 !!! error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
72 !!! error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
75 !!! error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
81 !!! error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
DpropertyAccessStringIndexSignatureNoImplicitAny.types37 empty["not allowed either"];
38 >empty["not allowed either"] : any
40 >"not allowed either" : "not allowed either"
DcallWithSpread3.errors.txt7 …tionCalls/callWithSpread3.ts(20,6): error TS2556: A spread argument must either have a tuple type …
9 …tionCalls/callWithSpread3.ts(22,6): error TS2556: A spread argument must either have a tuple type …
10 …tionCalls/callWithSpread3.ts(23,6): error TS2556: A spread argument must either have a tuple type …
12 …tionCalls/callWithSpread3.ts(31,6): error TS2556: A spread argument must either have a tuple type …
49 !!! error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
55 !!! error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
58 !!! error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
70 !!! error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
DcallWithSpread4.errors.txt1 …tionCalls/callWithSpread4.ts(18,5): error TS2556: A spread argument must either have a tuple type …
2 …tionCalls/callWithSpread4.ts(27,6): error TS2556: A spread argument must either have a tuple type …
25 !!! error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
36 !!! error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
DnamedFunctionExpressionCallErrors.types20 >(function bar() { // Error: foo should not be visible here either foo();}) : () => void
21 >function bar() { // Error: foo should not be visible here either foo();} : () => void
24 // Error: foo should not be visible here either
Dawait_incorrectThisType.errors.txt3 …t_incorrectThisType.ts(43,5): error TS1320: Type of 'await' operand must either be a valid promise…
35either => onfulfilled?.((either as Right<A>).a) ?? (either as Right<A>).a as unknown as B,
55 !!! error TS1320: Type of 'await' operand must either be a valid promise or must not contain a call…
DfunctionTypeArgumentArityErrors.errors.txt1 …No overload expects 2 type arguments, but overloads do exist that expect either 1 or 3 type argume…
3 …No overload expects 2 type arguments, but overloads do exist that expect either 1 or 3 type argume…
18 !!! error TS2743: No overload expects 2 type arguments, but overloads do exist that expect either 1…
28 !!! error TS2743: No overload expects 2 type arguments, but overloads do exist that expect either 1…
DjsdocTypeFromChainedAssignment.types96 A.t('not here either') // error
97 >A.t('not here either') : any
101 >'not here either' : "not here either"
/third_party/rust/crates/either/
DREADME.rst15 __ https://docs.rs/either/
19 .. |build_status| image:: https://github.com/bluss/either/workflows/CI/badge.svg?branch=master
20 .. _build_status: https://github.com/bluss/either/actions
22 .. |crates| image:: https://img.shields.io/crates/v/either.svg
23 .. _crates: https://crates.io/crates/either
28 either = "1.8"
40 - **MSRV**: ``either`` now requires Rust 1.36 or later.
51 - **MSRV**: ``either`` now requires Rust 1.31 or later.
135 - Add methods ``.map_left()``, ``.map_right()`` and ``.either()``.
DREADME.OpenSource3 "Name": "either",
8 "Upstream URL": "https://github.com/bluss/either",
9 …"Description": "A Rust library that provides a simple and efficient way to work with either/or typ…
DCargo.toml2 name = "either"
9 repository = "https://github.com/bluss/either"
10 documentation = "https://docs.rs/either/1/"
DBUILD.gn10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 crate_name = "either"
25 cargo_pkg_name = "either"
/third_party/rust/crates/clap/tests/derive_ui/
Dexternal_subcommand_wrong_type.stderr1 error: The type must be either `Vec<String>` or `Vec<OsString>` to be used with `external_subcomman…
7 error: The type must be either `Vec<String>` or `Vec<OsString>` to be used with `external_subcomman…
13 …`external_subcommand` must be a single-typed tuple, and the type must be either `Vec<String>` or `…
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_copy_image.txt83 objects. An image object may be either a texture or a
121 INVALID_ENUM is generated if either target is not RENDERBUFFER or
125 is generated if either object is a texture and the texture is not
128 either name does not correspond to a valid renderbuffer or texture
131 dimensions of the either subregion exceeds the boundaries of the
159 ERROR_INVALID_HANDLE indicates that either of <hSrcRC> or
165 either the source or the destination context is bound in the
185 respectively. A value of NULL for either context indicates that
190 If either <srcCtx> or <dstCtx> is not a valid rendering context,
197 BadMatch will be generated. Additionally, if either the source or
[all …]
/third_party/openGLES/extensions/NV/
DNV_copy_image.txt83 objects. An image object may be either a texture or a
121 INVALID_ENUM is generated if either target is not RENDERBUFFER or
125 is generated if either object is a texture and the texture is not
128 either name does not correspond to a valid renderbuffer or texture
131 dimensions of the either subregion exceeds the boundaries of the
159 ERROR_INVALID_HANDLE indicates that either of <hSrcRC> or
165 either the source or the destination context is bound in the
185 respectively. A value of NULL for either context indicates that
190 If either <srcCtx> or <dstCtx> is not a valid rendering context,
197 BadMatch will be generated. Additionally, if either the source or
[all …]
/third_party/typescript/tests/cases/conformance/async/es2017/
Dawait_incorrectThisType.ts32either => onfulfilled?.((either as Right<A>).a) ?? (either as Right<A>).a as unknown as B,
/third_party/rust/crates/which-rs/src/
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()
/third_party/python/Doc/library/
Dsndhdr.rst25 ``'sb'``, ``'ub'``, or ``'ul'``. The *sampling_rate* will be either the actual
27 either the number of channels or ``0`` if it cannot be determined or if the
28 value is difficult to decode. The value for *frames* will be either the number
29 of frames or ``-1``. The last item in the tuple, *bits_per_sample*, will either
/third_party/elfutils/config/
Dversion.h.in7 it under the terms of either
10 Software Foundation; either version 3 of the License, or (at
16 Software Foundation; either version 2 of the License, or (at
/third_party/elfutils/backends/
Dbpf_reloc.def5 it under the terms of either
8 Software Foundation; either version 3 of the License, or (at
14 Software Foundation; either version 2 of the License, or (at
/third_party/vk-gl-cts/doc/testspecs/GLES31/
Dfunctional.program_uniform.txt15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
46 a value using an appropriate glProgramUniform* function, either the pointer
49 their first element identified using either just the array's name or that
52 To verify that the correct uniform values were assigned, either the uniform

12345678910>>...244