Home
last modified time | relevance | path

Searched refs:covariant (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Lib/
Dtyping.py531 covariant=False, contravariant=False): argument
533 if covariant and contravariant:
535 self.__covariant__ = bool(covariant)
1177 T_co = TypeVar('T_co', covariant=True) # Any type covariant containers.
1178 V_co = TypeVar('V_co', covariant=True) # Any type covariant containers.
1179 VT_co = TypeVar('VT_co', covariant=True) # Value type covariant containers.
1182 CT_co = TypeVar('CT_co', covariant=True, bound=type)
/external/clang/test/SemaObjC/
Dcomptypes-legal.m34 …// GCC currently allows this (it has some fiarly new support for covariant return types and contra…
Dparameterized_classes.m355 …xpected-error{{contravariant type parameter 'X' conflicts with previous covariant type parameter '…
356 …__covariant Y> () // expected-error{{covariant type parameter 'Y' conflicts with previous contrava…
361 …xpected-error{{contravariant type parameter 'T' conflicts with previous covariant type parameter '…
Dkindof.m352 // Other covariant and contravariant conversions still not permitted.
/external/python/cpython3/Doc/library/
Dtyping.rst430 Type variables may be marked covariant or contravariant by passing
431 ``covariant=True`` or ``contravariant=True``. See :pep:`484` for more
473 Note that ``Type[C]`` is covariant::
485 The fact that ``Type[C]`` is covariant implies that all subclasses of
534 An ABC with one abstract method ``__abs__`` that is covariant
540 that is covariant in its return type.
/external/clang/include/clang/Basic/
DDiagnosticASTKinds.td185 "ambiguous vftable component for %0 introduced via covariant thunks; "
188 "covariant thunk required by %0">;
DDiagnosticSemaKinds.td1506 "invalid covariant return for virtual function: %1 is a "
1509 "return type of virtual function %3 is not covariant with the return type of "
1513 "return type of virtual function %0 is not covariant with the return type of "
1516 "return type of virtual function %0 is not covariant with the return type of "
1519 "return type of virtual function %0 is not covariant with the return type of "
1522 "return type of virtual function %0 is not covariant with the return type of "
/external/python/cpython3/Lib/test/
Dtest_typing.py192 T_co = TypeVar('T_co', covariant=True)
223 TypeVar('T', covariant=True, contravariant=True)
684 U = TypeVar('U', covariant=True)
/external/jline/src/src/test/resources/jline/example/
Denglish.gz
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Den-IPA.txt9699 $x{covariant → kovɛriənt ; # kɑvɑrɑɪænt
Dinternal_raw_IPA.txt37394 covariant %25527 kovˈɛriənt
Dinternal_raw_IPA-old.txt44232 covariant %12694 kovˈɛriənt