Home
last modified time | relevance | path

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

12345678910>>...229

/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.
19 !!! error TS2575: No overload expects 2 arguments, but overloads do exist that expect either 1 or 3…
30 !!! error TS2575: No overload expects 1 arguments, but overloads do exist that expect either 0 or 2…
33 !!! error TS2575: No overload expects 3 arguments, but overloads do exist that expect either 2 or 4…
36 !!! error TS2575: No overload expects 5 arguments, but overloads do exist that expect either 4 or 6…
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'.
DparserIndexSignature8.errors.txt1 …ature8.ts(1,13): error TS1023: An index signature parameter type must be either 'string' or 'numbe…
2 …ature8.ts(2,14): error TS1023: An index signature parameter type must be either 'string' or 'numbe…
8 !!! error TS1023: An index signature parameter type must be either 'string' or 'number'.
11 !!! error TS1023: An index signature parameter type must be either 'string' or 'number'.
DpropertyAccessStringIndexSignatureNoImplicitAny.types37 empty["not allowed either"];
38 >empty["not allowed either"] : any
40 >"not allowed either" : "not allowed either"
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
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"
DgenericIndexTypeHasSensibleErrorMessage.errors.txt1 …essage.ts(1,33): error TS1023: An index signature parameter type must be either 'string' or 'numbe…
7 !!! error TS1023: An index signature parameter type must be either 'string' or 'number'.
DparserIndexSignature6.errors.txt1 …nature6.ts(2,4): error TS1023: An index signature parameter type must be either 'string' or 'numbe…
8 !!! error TS1023: An index signature parameter type must be either 'string' or 'number'.
/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/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/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/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/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
Dfunctional.shaders.implicit_conversions.txt15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
43 operation in either vertex and fragment shader. Results are checked against
44 reference values in the shader code and either black or white color is
/third_party/icu/icu4c/source/test/testdata/
Dformat.txt27 // spec: either 'PATTERN=y mm h' etc, or 'DATE=SHORT,TIME=LONG'
28 // date: either 'MILLIS=####' where #### is millis,
232 // spec: either 'PATTERN=y mm h' etc, or 'DATE=SHORT,TIME=LONG'
233 // date: either 'MILLIS=####' where #### is millis,
442 // spec: either 'PATTERN=y mm h' etc, or 'DATE=SHORT,TIME=LONG'
443 // date: either 'MILLIS=####' where #### is millis,
543 // spec: either 'PATTERN=y mm h' etc, or 'DATE=SHORT,TIME=LONG'
544 // date: either 'MILLIS=####' where #### is millis,
575 // spec: either 'PATTERN=y mm h' etc, or 'DATE=SHORT,TIME=LONG'
576 // date: either 'MILLIS=####' where #### is millis,

12345678910>>...229