Home
last modified time | relevance | path

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

123

/third_party/flutter/flutter/packages/flutter/test/foundation/
Dcovariant_templates_test.dart16 test('Assignment through a covariant template throws exception', () {
/third_party/flutter/flutter/packages/flutter/lib/src/foundation/
Dnode.dart91 void attach(covariant Object owner) {
120 void adoptChild(covariant AbstractNode child) {
141 void dropChild(covariant AbstractNode child) {
/third_party/flutter/flutter/packages/flutter_tools/lib/src/linux/
Dlinux_device.dart73 covariant LinuxApp package, {
111 Future<bool> stopApp(covariant LinuxApp app) async {
/third_party/python/Lib/
Dtyping.py718 def __init__(self, bound, covariant, contravariant): argument
722 if covariant and contravariant:
724 self.__covariant__ = bool(covariant)
798 covariant=False, contravariant=False): argument
800 super().__init__(bound, covariant, contravariant)
910 def __init__(self, name, *, bound=None, covariant=False, contravariant=False): argument
912 super().__init__(bound, covariant, contravariant)
2056 T_co = TypeVar('T_co', covariant=True) # Any type covariant containers.
2057 V_co = TypeVar('V_co', covariant=True) # Any type covariant containers.
2058 VT_co = TypeVar('VT_co', covariant=True) # Value type covariant containers.
[all …]
/third_party/typescript/tests/baselines/reference/
Dcovariance1.types32 f({x:b}); // ok covariant subtype
DvarianceMeasurement.types2 // The type below should be invariant in T but is measured as covariant because
50 // The type below should be invariant in T but is measured as covariant because
Dcovariance1.symbols37 f({x:b}); // ok covariant subtype
DvarianceMeasurement.errors.txt30 // The type below should be invariant in T but is measured as covariant because
66 // The type below should be invariant in T but is measured as covariant because
DvarianceMeasurement.symbols2 // The type below should be invariant in T but is measured as covariant because
69 // The type below should be invariant in T but is measured as covariant because
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dsliver_persistent_header.dart80 bool shouldRebuild(covariant SliverPersistentHeaderDelegate oldDelegate);
210 void insertChildRenderObject(covariant RenderObject child, dynamic slot) {
216 void moveChildRenderObject(covariant RenderObject child, dynamic slot) {
221 void removeChildRenderObject(covariant RenderObject child) {
Dsliver_prototype_extent_list.dart76 void insertChildRenderObject(covariant RenderObject child, covariant dynamic slot) {
Dscroll_configuration.dart75 bool shouldNotify(covariant ScrollBehavior oldDelegate) => false;
Dsliver.dart175 bool shouldRebuild(covariant SliverChildDelegate oldDelegate);
465 bool shouldRebuild(covariant SliverChildBuilderDelegate oldDelegate) => true;
693 bool shouldRebuild(covariant SliverChildListDelegate oldDelegate) {
1077 void update(covariant SliverMultiBoxAdaptorWidget newWidget) {
1298 void insertChildRenderObject(covariant RenderObject child, int slot) {
1311 void moveChildRenderObject(covariant RenderObject child, int slot) {
1318 void removeChildRenderObject(covariant RenderObject child) {
Dlist_wheel_scroll_view.dart59 bool shouldRebuild(covariant ListWheelChildDelegate oldDelegate);
100 bool shouldRebuild(covariant ListWheelChildListDelegate oldDelegate) {
146 bool shouldRebuild(covariant ListWheelChildLoopingListDelegate oldDelegate) {
193 bool shouldRebuild(covariant ListWheelChildBuilderDelegate oldDelegate) {
/third_party/flutter/flutter/packages/flutter_tools/lib/src/macos/
Dmacos_device.dart74 covariant MacOSApp package, {
128 Future<bool> stopApp(covariant MacOSApp app) async {
/third_party/flutter/flutter/packages/flutter_tools/lib/src/windows/
Dwindows_device.dart75 covariant WindowsApp package, {
112 Future<bool> stopApp(covariant WindowsApp app) async {
/third_party/flutter/flutter/packages/flutter/test/material/
Dtabbed_scrollview_warp_test.dart23 bool shouldRebuild(covariant SliverPersistentHeaderDelegate oldDelegate) => false;
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dinvert_colors_test.dart69 void updateRenderObject(BuildContext context, covariant RenderInvertColorTest renderObject) {
/third_party/flutter/flutter/dev/tools/gen_keycodes/lib/
Dutils.dart49 'covariant',
/third_party/flutter/flutter/packages/flutter_tools/lib/src/ios/
Dsimulators.dart277 Future<bool> installApp(covariant IOSApp app) async {
326 covariant IOSApp package, {
409 …Future<void> _setupUpdatedApplicationBundle(covariant BuildableIOSApp app, BuildInfo buildInfo, St…
475 DeviceLogReader getLogReader({ covariant IOSApp app }) {
/third_party/flutter/flutter/packages/flutter_tools/lib/src/web/
Dweb_device.dart120 covariant WebApplicationPackage package, {
/third_party/flutter/flutter/packages/flutter_test/lib/src/
Dmatchers.dart610 bool matches(covariant Finder finder, Map<dynamic, dynamic> matchState) {
704 bool matches(covariant Finder finder, Map<dynamic, dynamic> matchState) {
720 bool matches(covariant Finder finder, Map<dynamic, dynamic> matchState) {
744 …bool matches(covariant Finder finder, Map<dynamic, dynamic> matchState) => _hasAncestorOfType(find…
754 …bool matches(covariant Finder finder, Map<dynamic, dynamic> matchState) => !_hasAncestorOfType(fin…
1287 bool matches(covariant Finder finder, Map<dynamic, dynamic> matchState) {
1317 bool matches(covariant Finder finder, Map<dynamic, dynamic> matchState) {
1563 bool matches(covariant Path actualPath, Map<dynamic, dynamic> matchState) {
1940 Future<String> matchAsync(covariant WidgetTester tester) async {
1959 Future<String> matchAsync(covariant WidgetTester tester) async {
/third_party/flutter/flutter/dev/integration_tests/android_semantics_testing/lib/src/
Dmatcher.dart123 bool matches(covariant AndroidSemanticsNode item, Map<Object, Object> matchState) {
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Dflow.dart112 bool shouldRelayout(covariant FlowDelegate oldDelegate) => false;
127 bool shouldRepaint(covariant FlowDelegate oldDelegate);
/third_party/python/Doc/library/
Dtyping.rst786 Note that ``Type[C]`` is covariant::
798 The fact that ``Type[C]`` is covariant implies that all subclasses of
1106 Type variables may be marked covariant or contravariant by passing
1107 ``covariant=True`` or ``contravariant=True``. See :pep:`484` for more
1114 .. class:: ParamSpec(name, *, bound=None, covariant=False, contravariant=False)
1177 Parameter specification variables created with ``covariant=True`` or
1178 ``contravariant=True`` can be used to declare covariant or contravariant
1893 An ABC with one abstract method ``__abs__`` that is covariant
1921 that is covariant in its return type.

123