Home
last modified time | relevance | path

Searched refs:when (Results 1 – 25 of 5794) sorted by relevance

12345678910>>...232

/third_party/boost/boost/proto/transform/detail/preprocessed/
Dfold_impl.hpp12 typedef typename when<_, State0>::template impl<Expr, State, Data>::result_type state0;
13 …typedef typename when<_, Fun>::template impl< typename result_of::child_c<Expr, 0>::type , state0 …
22 typename when<_, State0>::template impl<Expr, State, Data>()(e, s, d); in operator ()()
23 …state1 s1 = typename when<_, Fun>::template impl< typename result_of::child_c<Expr, 0>::type , sta… in operator ()()
31 typedef typename when<_, State0>::template impl<Expr, State, Data>::result_type state1;
32 …typedef typename when<_, Fun>::template impl< typename result_of::child_c< Expr , 0 >::type , stat…
41 typename when<_, State0>::template impl<Expr, State, Data>()(e, s, d); in operator ()()
42 …state0 s0 = typename when<_, Fun>::template impl< typename result_of::child_c< Expr , 0 >::type , … in operator ()()
50 typedef typename when<_, State0>::template impl<Expr, State, Data>::result_type state0;
51 … typename when<_, Fun>::template impl< typename result_of::child_c<Expr, 0>::type , state0 , Data …
[all …]
Dmake_gcc_workaround.hpp69 … detail::as_lvalue( typename when<_, A0>::template impl<Expr, State, Data>()(e, s, d) ) in operator ()()
90 … detail::as_lvalue( typename when<_, A0>::template impl<Expr, State, Data>()(e, s, d) ) in operator ()()
112 …detail::as_lvalue( typename when<_, A0>::template impl<Expr, State, Data>()(e, s, d) ) , detail::a… in operator ()()
133 …detail::as_lvalue( typename when<_, A0>::template impl<Expr, State, Data>()(e, s, d) ) , detail::a… in operator ()()
155when<_, A0>::template impl<Expr, State, Data>()(e, s, d) ) , detail::as_lvalue( typename when<_, A… in operator ()()
176when<_, A0>::template impl<Expr, State, Data>()(e, s, d) ) , detail::as_lvalue( typename when<_, A… in operator ()()
198when<_, A0>::template impl<Expr, State, Data>()(e, s, d) ) , detail::as_lvalue( typename when<_, A… in operator ()()
219when<_, A0>::template impl<Expr, State, Data>()(e, s, d) ) , detail::as_lvalue( typename when<_, A… in operator ()()
241when<_, A0>::template impl<Expr, State, Data>()(e, s, d) ) , detail::as_lvalue( typename when<_, A… in operator ()()
262when<_, A0>::template impl<Expr, State, Data>()(e, s, d) ) , detail::as_lvalue( typename when<_, A… in operator ()()
[all …]
/third_party/typescript/tests/baselines/reference/
DreactDefaultPropsInferenceSuccess.types8 when?: ((value: string) => boolean) | "a" | "b";
9 >when : "a" | "b" | ((value: string) => boolean) | undefined
26 >defaultProps : { when: () => boolean; }
27 >{ when: () => true } : { when: () => boolean; }
29 when: () => true
30 >when : () => boolean
47 const Test1 = () => <FieldFeedback when={value => !!value} />;
49 >() => <FieldFeedback when={value => !!value} /> : () => JSX.Element
50 ><FieldFeedback when={value => !!value} /> : JSX.Element
52 >when : (value: string) => boolean
[all …]
DtupleTypeInference.types18 when<T>(t?: T): IPromise<T>;
19 >when : <T>(t?: T) => IPromise<T>
31 var a = $q.all([$q.when<string>(), $q.when<number>()]);
33 >$q.all([$q.when<string>(), $q.when<number>()]) : IPromise<[string, number]>
37 >[$q.when<string>(), $q.when<number>()] : [IPromise<string>, IPromise<number>]
38 >$q.when<string>() : IPromise<string>
39 >$q.when : <T>(t?: T) => IPromise<T>
41 >when : <T>(t?: T) => IPromise<T>
42 >$q.when<number>() : IPromise<number>
43 >$q.when : <T>(t?: T) => IPromise<T>
[all …]
DobjectLiteralGettersAndSetters.errors.txt1 …ralGettersAndSetters.ts(2,24): error TS1056: Accessors are only available when targeting ECMAScrip…
2 …ralGettersAndSetters.ts(2,50): error TS1056: Accessors are only available when targeting ECMAScrip…
3 …ralGettersAndSetters.ts(3,24): error TS1056: Accessors are only available when targeting ECMAScrip…
4 …ralGettersAndSetters.ts(3,50): error TS1056: Accessors are only available when targeting ECMAScrip…
5 …ralGettersAndSetters.ts(4,24): error TS1056: Accessors are only available when targeting ECMAScrip…
6 …ralGettersAndSetters.ts(4,51): error TS1056: Accessors are only available when targeting ECMAScrip…
7 …ralGettersAndSetters.ts(5,24): error TS1056: Accessors are only available when targeting ECMAScrip…
8 …ralGettersAndSetters.ts(5,49): error TS1056: Accessors are only available when targeting ECMAScrip…
9 …ralGettersAndSetters.ts(6,24): error TS1056: Accessors are only available when targeting ECMAScrip…
10 …ralGettersAndSetters.ts(6,51): error TS1056: Accessors are only available when targeting ECMAScrip…
[all …]
DreactDefaultPropsInferenceSuccess.js7 when?: ((value: string) => boolean) | "a" | "b";
16 when: () => true
25 const Test1 = () => <FieldFeedback when={value => !!value} />;
28 const Test2 = () => <FieldFeedback when={value => console.log(value)} />;
32 when: () => true
41 const Test1a = () => <FieldFeedbackBeta when={value => !!value} error>Hah</FieldFeedbackBeta>;
44 const Test2a = () => <FieldFeedbackBeta when={value => console.log(value)} error>Hah</FieldFeedback…
47 when: (value: string) => boolean;
52 when: () => true
56 this.props.when("now"); // OK, always defined
[all …]
DtupleTypeInference.js8 when<T>(t?: T): IPromise<T>;
16 var a = $q.all([$q.when<string>(), $q.when<number>()]);
19 var b = $q.all<string, number>([$q.when<string>(), $q.when<number>()]);
22 var c = $q.all([$q.when<string>(), $q.when<string>()]);
27 var a = $q.all([$q.when(), $q.when()]);
29 var b = $q.all([$q.when(), $q.when()]);
31 var c = $q.all([$q.when(), $q.when()]);
DunparenthesizedConstructorTypeInUnionOrIntersection.errors.txt1 …n.ts(1,19): error TS1386: Constructor type notation must be parenthesized when used in a union typ…
2 …n.ts(2,19): error TS1386: Constructor type notation must be parenthesized when used in a union typ…
3 …n.ts(3,12): error TS1386: Constructor type notation must be parenthesized when used in a union typ…
4 …n.ts(4,12): error TS1386: Constructor type notation must be parenthesized when used in a union typ…
5 …n.ts(5,19): error TS1386: Constructor type notation must be parenthesized when used in a union typ…
6 …on.ts(8,4): error TS1386: Constructor type notation must be parenthesized when used in a union typ…
7 ….ts(11,19): error TS1388: Constructor type notation must be parenthesized when used in an intersec…
8 ….ts(12,19): error TS1388: Constructor type notation must be parenthesized when used in an intersec…
9 ….ts(13,12): error TS1388: Constructor type notation must be parenthesized when used in an intersec…
10 ….ts(14,12): error TS1388: Constructor type notation must be parenthesized when used in an intersec…
[all …]
DunparenthesizedFunctionTypeInUnionOrIntersection.errors.txt1 …tion.ts(1,19): error TS1385: Function type notation must be parenthesized when used in a union typ…
2 …tion.ts(2,19): error TS1385: Function type notation must be parenthesized when used in a union typ…
3 …tion.ts(3,12): error TS1385: Function type notation must be parenthesized when used in a union typ…
4 …tion.ts(4,12): error TS1385: Function type notation must be parenthesized when used in a union typ…
5 …tion.ts(5,19): error TS1385: Function type notation must be parenthesized when used in a union typ…
6 …ction.ts(8,4): error TS1385: Function type notation must be parenthesized when used in a union typ…
7 …ion.ts(11,19): error TS1387: Function type notation must be parenthesized when used in an intersec…
8 …ion.ts(12,19): error TS1387: Function type notation must be parenthesized when used in an intersec…
9 …ion.ts(13,12): error TS1387: Function type notation must be parenthesized when used in an intersec…
10 …ion.ts(14,12): error TS1387: Function type notation must be parenthesized when used in an intersec…
[all …]
Daccessors_spec_section-4.5_inference.errors.txt1 …ection-4.5_inference.ts(6,16): error TS1056: Accessors are only available when targeting ECMAScrip…
2 …ection-4.5_inference.ts(7,16): error TS1056: Accessors are only available when targeting ECMAScrip…
3 …ection-4.5_inference.ts(9,16): error TS1056: Accessors are only available when targeting ECMAScrip…
4 …ction-4.5_inference.ts(10,16): error TS1056: Accessors are only available when targeting ECMAScrip…
5 …ction-4.5_inference.ts(13,16): error TS1056: Accessors are only available when targeting ECMAScrip…
6 …ction-4.5_inference.ts(14,16): error TS1056: Accessors are only available when targeting ECMAScrip…
7 …ction-4.5_inference.ts(16,16): error TS1056: Accessors are only available when targeting ECMAScrip…
8 …ction-4.5_inference.ts(17,16): error TS1056: Accessors are only available when targeting ECMAScrip…
9 …ction-4.5_inference.ts(19,16): error TS1056: Accessors are only available when targeting ECMAScrip…
10 …ction-4.5_inference.ts(20,16): error TS1056: Accessors are only available when targeting ECMAScrip…
[all …]
DnewWithSpread.errors.txt1 …13): error TS2472: Spread operator in 'new' expressions is only available when targeting ECMAScrip…
2 …13): error TS2472: Spread operator in 'new' expressions is only available when targeting ECMAScrip…
3 …,8): error TS2472: Spread operator in 'new' expressions is only available when targeting ECMAScrip…
4 …13): error TS2472: Spread operator in 'new' expressions is only available when targeting ECMAScrip…
5 …13): error TS2472: Spread operator in 'new' expressions is only available when targeting ECMAScrip…
6 …13): error TS2472: Spread operator in 'new' expressions is only available when targeting ECMAScrip…
7 …15): error TS2472: Spread operator in 'new' expressions is only available when targeting ECMAScrip…
8 …15): error TS2472: Spread operator in 'new' expressions is only available when targeting ECMAScrip…
9 …17): error TS2472: Spread operator in 'new' expressions is only available when targeting ECMAScrip…
10 …17): error TS2472: Spread operator in 'new' expressions is only available when targeting ECMAScrip…
[all …]
DtupleTypeInference.symbols48 when<T>(t?: T): IPromise<T>;
49 >when : Symbol(IQService.when, Decl(tupleTypeInference.ts, 5, 47))
73 var a = $q.all([$q.when<string>(), $q.when<number>()]);
78 >$q.when : Symbol(IQService.when, Decl(tupleTypeInference.ts, 5, 47))
80 >when : Symbol(IQService.when, Decl(tupleTypeInference.ts, 5, 47))
81 >$q.when : Symbol(IQService.when, Decl(tupleTypeInference.ts, 5, 47))
83 >when : Symbol(IQService.when, Decl(tupleTypeInference.ts, 5, 47))
86 var b = $q.all<string, number>([$q.when<string>(), $q.when<number>()]);
91 >$q.when : Symbol(IQService.when, Decl(tupleTypeInference.ts, 5, 47))
93 >when : Symbol(IQService.when, Decl(tupleTypeInference.ts, 5, 47))
[all …]
DreactDefaultPropsInferenceSuccess.symbols10 when?: ((value: string) => boolean) | "a" | "b";
11 >when : Symbol(BaseProps.when, Decl(reactDefaultPropsInferenceSuccess.tsx, 4, 21))
36 when: () => true
37 >when : Symbol(when, Decl(reactDefaultPropsInferenceSuccess.tsx, 13, 25))
51 const Test1 = () => <FieldFeedback when={value => !!value} />;
54 >when : Symbol(when, Decl(reactDefaultPropsInferenceSuccess.tsx, 23, 34))
59 const Test2 = () => <FieldFeedback when={value => console.log(value)} />;
62 >when : Symbol(when, Decl(reactDefaultPropsInferenceSuccess.tsx, 26, 34))
83 when: () => true
84 >when : Symbol(when, Decl(reactDefaultPropsInferenceSuccess.tsx, 29, 36))
[all …]
DconditionalTypeContextualTypeSimplificationsSuceeds.types4 when: (value: string) => boolean;
5 >when : (value: string) => boolean
27 bad({ when: value => false });
28 >bad({ when: value => false }) : void
30 >{ when: value => false } : { when: (value: string) => false; }
31 >when : (value: string) => false
36 good1({ when: value => false });
37 >good1({ when: value => false }) : void
39 >{ when: value => false } : { when: (value: string) => false; }
40 >when : (value: string) => false
[all …]
/third_party/boost/boost/msm/front/euml/
Dguard_grammar.hpp33 : proto::when<
40 : proto::when<
47 : proto::when<
54 : proto::when<
61 : proto::when<
68 : proto::when<
75 : proto::when<
82 : proto::when<
89 : proto::when<
96 : proto::when<
[all …]
Dstt_grammar.hpp52 proto::when<
62 proto::when<
66 proto::when<
70 proto::when<
76 proto::when <
112 proto::when<
121 proto::when<
125 proto::when<
133 : proto::when<
142 proto::when<
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/macos/
Dxcode_validator_test.dart27 testUsingContext('Emits missing status when Xcode is not installed', () async {
28 when(xcode.isInstalled).thenReturn(false);
29 when(xcode.xcodeSelectPath).thenReturn(null);
37 testUsingContext('Emits missing status when Xcode installation is incomplete', () async {
38 when(xcode.isInstalled).thenReturn(false);
39 when(xcode.xcodeSelectPath).thenReturn('/Library/Developer/CommandLineTools');
47 testUsingContext('Emits partial status when Xcode version too low', () async {
48 when(xcode.isInstalled).thenReturn(true);
49 when(xcode.versionText)
51 when(xcode.isInstalledAndMeetsVersionCheck).thenReturn(false);
[all …]
Dxcode_test.dart29 testUsingContext('xcodeSelectPath returns null when xcode-select is not installed', () {
30 when(mockProcessManager.runSync(<String>['/usr/bin/xcode-select', '--print-path']))
33 when(mockProcessManager.runSync(<String>['/usr/bin/xcode-select', '--print-path']))
40 testUsingContext('xcodeSelectPath returns path when xcode-select is installed', () {
42 when(mockProcessManager.runSync(<String>['/usr/bin/xcode-select', '--print-path']))
49 testUsingContext('xcodeVersionSatisfactory is false when version is less than minimum', () {
50 when(mockXcodeProjectInterpreter.isInstalled).thenReturn(true);
51 when(mockXcodeProjectInterpreter.majorVersion).thenReturn(8);
52 when(mockXcodeProjectInterpreter.minorVersion).thenReturn(17);
58 … testUsingContext('xcodeVersionSatisfactory is false when xcodebuild tools are not installed', () {
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/
Dfeatures_test.dart25 when<bool>(mockFlutterConfig.getValue(any)).thenReturn(false);
26 when(mockPlatform.environment).thenReturn(const <String, String>{});
71 when(mockPlatform.environment).thenReturn(<String, String>{'FLUTTER_WEB': 'hello'});
75 when(mockPlatform.environment).thenReturn(<String, String>{'FLUTTER_WEB': 'true'});
113 when(mockFlutterVerion.channel).thenReturn('master');
119 when(mockFlutterVerion.channel).thenReturn('master');
120 when<bool>(mockFlutterConfig.getValue('enable-web')).thenReturn(true);
126 when(mockFlutterVerion.channel).thenReturn('master');
127 when(mockPlatform.environment).thenReturn(<String, String>{'FLUTTER_WEB': 'true'});
133 when(mockFlutterVerion.channel).thenReturn('dev');
[all …]
Dterminal_handler_test.dart52 when(mockResidentRunner.supportsServiceProtocol).thenReturn(true);
74 when(mockResidentRunner.supportsServiceProtocol).thenReturn(false);
82 when(mockResidentRunner.supportsServiceProtocol).thenReturn(true);
111 when(mockResidentRunner.supportsServiceProtocol).thenReturn(false);
120 when(mockResidentRunner.isRunningDebug).thenReturn(true);
121 when(mockResidentRunner.flutterDevices).thenReturn(<FlutterDevice>[mockFlutterDevice]);
122 when(mockFlutterDevice.views).thenReturn(<FlutterView>[]);
138 when(mockResidentRunner.supportsServiceProtocol).thenReturn(false);
145 when(mockResidentRunner.isRunningDebug).thenReturn(true);
153 when(mockResidentRunner.supportsServiceProtocol).thenReturn(false);
[all …]
/third_party/boost/boost/proto/detail/preprocessed/
Dand_n.hpp23 …typedef typename proto::when<proto::_, G0> ::template impl<Expr, State, Data> Gimpl0; typedef type…
57when<proto::_, G0> ::template impl<Expr, State, Data> Gimpl0; typedef typename proto::when<proto::…
91when<proto::_, G0> ::template impl<Expr, State, Data> Gimpl0; typedef typename proto::when<proto::…
125when<proto::_, G0> ::template impl<Expr, State, Data> Gimpl0; typedef typename proto::when<proto::…
159when<proto::_, G0> ::template impl<Expr, State, Data> Gimpl0; typedef typename proto::when<proto::…
193when<proto::_, G0> ::template impl<Expr, State, Data> Gimpl0; typedef typename proto::when<proto::…
227when<proto::_, G0> ::template impl<Expr, State, Data> Gimpl0; typedef typename proto::when<proto::…
261when<proto::_, G0> ::template impl<Expr, State, Data> Gimpl0; typedef typename proto::when<proto::…
295when<proto::_, G0> ::template impl<Expr, State, Data> Gimpl0; typedef typename proto::when<proto::…
/third_party/boost/boost/xpressive/detail/static/
Dgrammar.hpp127 : when<ListSet<Char>, as_list_set_matcher<Char> >
132 : when<ListSet<Char>, as_list_set_matcher<Char> >
137 … : when<subscript<detail::set_initializer_type, Gram>, call<as_set_matcher<Gram>(_right)> >
142 : when<
150 : when<
158 : when<
183 : when<
191 : when<
199 : when<
211 : when<
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/test/io/flutter/embedding/android/
DFlutterActivityAndFragmentDelegateTest.java42 import static org.mockito.Mockito.when;
62 when(mockHost.getContext()).thenReturn(RuntimeEnvironment.application); in setup()
63 when(mockHost.getActivity()).thenReturn(Robolectric.setupActivity(Activity.class)); in setup()
64 when(mockHost.getLifecycle()).thenReturn(mock(Lifecycle.class)); in setup()
65 when(mockHost.getFlutterShellArgs()).thenReturn(new FlutterShellArgs(new String[]{})); in setup()
66 when(mockHost.getDartEntrypointFunctionName()).thenReturn("main"); in setup()
67 when(mockHost.getAppBundlePath()).thenReturn("/fake/path"); in setup()
68 when(mockHost.getInitialRoute()).thenReturn("/"); in setup()
69 when(mockHost.getRenderMode()).thenReturn(FlutterView.RenderMode.surface); in setup()
70 when(mockHost.getTransparencyMode()).thenReturn(FlutterView.TransparencyMode.transparent); in setup()
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/commands/
Dclean_test.dart40 when(mockFileSystem.currentDirectory).thenReturn(currentDirectory);
41 when(currentDirectory.childDirectory('example')).thenReturn(exampleDirectory);
42 when(currentDirectory.childFile('pubspec.yaml')).thenReturn(pubspec);
43 when(pubspec.path).thenReturn('/test/pubspec.yaml');
44 when(exampleDirectory.childFile('pubspec.yaml')).thenReturn(examplePubspec);
45 when(currentDirectory.childDirectory('.dart_tool')).thenReturn(dartToolDirectory);
46 when(currentDirectory.childDirectory('.android')).thenReturn(androidEphemeralDirectory);
47 when(currentDirectory.childDirectory('.ios')).thenReturn(iosEphemeralDirectory);
48 when(examplePubspec.path).thenReturn('/test/example/pubspec.yaml');
49 when(mockFileSystem.isFileSync('/test/pubspec.yaml')).thenReturn(false);
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/ios/
Dcode_signing_test.dart34 when(mockIosProject.buildSettings).thenReturn(<String, String>{
42 when(mockIosProject.buildSettings).thenReturn(null);
48 when(mockIosProject.buildSettings).thenReturn(<String, String>{
61 when(mockProcessManager.runSync(<String>['which', 'security']))
71 when(mockProcessManager.runSync(<String>['which', 'security']))
73 when(mockProcessManager.runSync(<String>['which', 'openssl']))
75 when(mockProcessManager.runSync(
97 when(mockProcessManager.runSync(<String>['which', 'security']))
99 when(mockProcessManager.runSync(<String>['which', 'openssl']))
101 when(mockProcessManager.runSync(
[all …]

12345678910>>...232