Home
last modified time | relevance | path

Searched refs:prefer (Results 1 – 25 of 762) sorted by relevance

12345678910>>...31

/third_party/boost/libs/asio/test/properties/cpp14/
Dprefer_free_prefer.cpp25 friend constexpr object<N> prefer(const object&, prop<N>) in prefer() function
34 object<2> o2 = boost::asio::prefer(o1, prop<2>()); in main()
35 object<3> o3 = boost::asio::prefer(o1, prop<2>(), prop<3>()); in main()
36 object<4> o4 = boost::asio::prefer(o1, prop<2>(), prop<3>(), prop<4>()); in main()
42 object<2> o6 = boost::asio::prefer(o5, prop<2>()); in main()
43 object<3> o7 = boost::asio::prefer(o5, prop<2>(), prop<3>()); in main()
44 object<4> o8 = boost::asio::prefer(o5, prop<2>(), prop<3>(), prop<4>()); in main()
49 constexpr object<2> o9 = boost::asio::prefer(object<1>(), prop<2>()); in main()
50 constexpr object<3> o10 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>()); in main()
51 constexpr object<4> o11 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>(), prop<4>()); in main()
Dprefer_member_prefer.cpp25 constexpr object<N> prefer(prop<N>) const in prefer() function
34 object<2> o2 = boost::asio::prefer(o1, prop<2>()); in main()
35 object<3> o3 = boost::asio::prefer(o1, prop<2>(), prop<3>()); in main()
36 object<4> o4 = boost::asio::prefer(o1, prop<2>(), prop<3>(), prop<4>()); in main()
42 object<2> o6 = boost::asio::prefer(o5, prop<2>()); in main()
43 object<3> o7 = boost::asio::prefer(o5, prop<2>(), prop<3>()); in main()
44 object<4> o8 = boost::asio::prefer(o5, prop<2>(), prop<3>(), prop<4>()); in main()
49 constexpr object<2> o9 = boost::asio::prefer(object<1>(), prop<2>()); in main()
50 constexpr object<3> o10 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>()); in main()
51 constexpr object<4> o11 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>(), prop<4>()); in main()
Dprefer_unsupported.cpp29 object<1> o2 = boost::asio::prefer(o1, prop<2>()); in main()
30 object<1> o3 = boost::asio::prefer(o1, prop<2>(), prop<3>()); in main()
31 object<1> o4 = boost::asio::prefer(o1, prop<2>(), prop<3>(), prop<4>()); in main()
37 object<1> o6 = boost::asio::prefer(o5, prop<2>()); in main()
38 object<1> o7 = boost::asio::prefer(o5, prop<2>(), prop<3>()); in main()
39 object<1> o8 = boost::asio::prefer(o5, prop<2>(), prop<3>(), prop<4>()); in main()
44 constexpr object<1> o9 = boost::asio::prefer(object<1>(), prop<2>()); in main()
45 constexpr object<1> o10 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>()); in main()
46 constexpr object<1> o11 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>(), prop<4>()); in main()
Dprefer_static.cpp31 object<1> o2 = boost::asio::prefer(o1, prop<1>()); in main()
32 object<1> o3 = boost::asio::prefer(o1, prop<1>(), prop<1>()); in main()
33 object<1> o4 = boost::asio::prefer(o1, prop<1>(), prop<1>(), prop<1>()); in main()
39 object<1> o6 = boost::asio::prefer(o5, prop<1>()); in main()
40 object<1> o7 = boost::asio::prefer(o5, prop<1>(), prop<1>()); in main()
41 object<1> o8 = boost::asio::prefer(o5, prop<1>(), prop<1>(), prop<1>()); in main()
46 constexpr object<1> o9 = boost::asio::prefer(object<1>(), prop<1>()); in main()
47 constexpr object<1> o10 = boost::asio::prefer(object<1>(), prop<1>(), prop<1>()); in main()
48 constexpr object<1> o11 = boost::asio::prefer(object<1>(), prop<1>(), prop<1>(), prop<1>()); in main()
Dprefer_free_require.cpp34 object<2> o2 = boost::asio::prefer(o1, prop<2>()); in main()
35 object<3> o3 = boost::asio::prefer(o1, prop<2>(), prop<3>()); in main()
36 object<4> o4 = boost::asio::prefer(o1, prop<2>(), prop<3>(), prop<4>()); in main()
42 object<2> o6 = boost::asio::prefer(o5, prop<2>()); in main()
43 object<3> o7 = boost::asio::prefer(o5, prop<2>(), prop<3>()); in main()
44 object<4> o8 = boost::asio::prefer(o5, prop<2>(), prop<3>(), prop<4>()); in main()
49 constexpr object<2> o9 = boost::asio::prefer(object<1>(), prop<2>()); in main()
50 constexpr object<3> o10 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>()); in main()
51 constexpr object<4> o11 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>(), prop<4>()); in main()
Dprefer_member_require.cpp34 object<2> o2 = boost::asio::prefer(o1, prop<2>()); in main()
35 object<3> o3 = boost::asio::prefer(o1, prop<2>(), prop<3>()); in main()
36 object<4> o4 = boost::asio::prefer(o1, prop<2>(), prop<3>(), prop<4>()); in main()
42 object<2> o6 = boost::asio::prefer(o5, prop<2>()); in main()
43 object<3> o7 = boost::asio::prefer(o5, prop<2>(), prop<3>()); in main()
44 object<4> o8 = boost::asio::prefer(o5, prop<2>(), prop<3>(), prop<4>()); in main()
49 constexpr object<2> o9 = boost::asio::prefer(object<1>(), prop<2>()); in main()
50 constexpr object<3> o10 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>()); in main()
51 constexpr object<4> o11 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>(), prop<4>()); in main()
/third_party/boost/libs/asio/test/properties/cpp11/
Dprefer_member_prefer.cpp24 constexpr object<N> prefer(prop<N>) const in prefer() function
45 object<2> o2 = boost::asio::prefer(o1, prop<2>()); in main()
46 object<3> o3 = boost::asio::prefer(o1, prop<2>(), prop<3>()); in main()
47 object<4> o4 = boost::asio::prefer(o1, prop<2>(), prop<3>(), prop<4>()); in main()
53 object<2> o6 = boost::asio::prefer(o5, prop<2>()); in main()
54 object<3> o7 = boost::asio::prefer(o5, prop<2>(), prop<3>()); in main()
55 object<4> o8 = boost::asio::prefer(o5, prop<2>(), prop<3>(), prop<4>()); in main()
60 constexpr object<2> o9 = boost::asio::prefer(object<1>(), prop<2>()); in main()
61 constexpr object<3> o10 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>()); in main()
62 constexpr object<4> o11 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>(), prop<4>()); in main()
Dprefer_free_prefer.cpp24 friend constexpr object<N> prefer(const object&, prop<N>) in prefer() function
45 object<2> o2 = boost::asio::prefer(o1, prop<2>()); in main()
46 object<3> o3 = boost::asio::prefer(o1, prop<2>(), prop<3>()); in main()
47 object<4> o4 = boost::asio::prefer(o1, prop<2>(), prop<3>(), prop<4>()); in main()
53 object<2> o6 = boost::asio::prefer(o5, prop<2>()); in main()
54 object<3> o7 = boost::asio::prefer(o5, prop<2>(), prop<3>()); in main()
55 object<4> o8 = boost::asio::prefer(o5, prop<2>(), prop<3>(), prop<4>()); in main()
60 constexpr object<2> o9 = boost::asio::prefer(object<1>(), prop<2>()); in main()
61 constexpr object<3> o10 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>()); in main()
62 constexpr object<4> o11 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>(), prop<4>()); in main()
Dprefer_unsupported.cpp40 object<1> o2 = boost::asio::prefer(o1, prop<2>()); in main()
41 object<1> o3 = boost::asio::prefer(o1, prop<2>(), prop<3>()); in main()
42 object<1> o4 = boost::asio::prefer(o1, prop<2>(), prop<3>(), prop<4>()); in main()
48 object<1> o6 = boost::asio::prefer(o5, prop<2>()); in main()
49 object<1> o7 = boost::asio::prefer(o5, prop<2>(), prop<3>()); in main()
50 object<1> o8 = boost::asio::prefer(o5, prop<2>(), prop<3>(), prop<4>()); in main()
55 constexpr object<1> o9 = boost::asio::prefer(object<1>(), prop<2>()); in main()
56 constexpr object<1> o10 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>()); in main()
57 constexpr object<1> o11 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>(), prop<4>()); in main()
Dprefer_free_require.cpp45 object<2> o2 = boost::asio::prefer(o1, prop<2>()); in main()
46 object<3> o3 = boost::asio::prefer(o1, prop<2>(), prop<3>()); in main()
47 object<4> o4 = boost::asio::prefer(o1, prop<2>(), prop<3>(), prop<4>()); in main()
53 object<2> o6 = boost::asio::prefer(o5, prop<2>()); in main()
54 object<3> o7 = boost::asio::prefer(o5, prop<2>(), prop<3>()); in main()
55 object<4> o8 = boost::asio::prefer(o5, prop<2>(), prop<3>(), prop<4>()); in main()
60 constexpr object<2> o9 = boost::asio::prefer(object<1>(), prop<2>()); in main()
61 constexpr object<3> o10 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>()); in main()
62 constexpr object<4> o11 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>(), prop<4>()); in main()
Dprefer_member_require.cpp45 object<2> o2 = boost::asio::prefer(o1, prop<2>()); in main()
46 object<3> o3 = boost::asio::prefer(o1, prop<2>(), prop<3>()); in main()
47 object<4> o4 = boost::asio::prefer(o1, prop<2>(), prop<3>(), prop<4>()); in main()
53 object<2> o6 = boost::asio::prefer(o5, prop<2>()); in main()
54 object<3> o7 = boost::asio::prefer(o5, prop<2>(), prop<3>()); in main()
55 object<4> o8 = boost::asio::prefer(o5, prop<2>(), prop<3>(), prop<4>()); in main()
60 constexpr object<2> o9 = boost::asio::prefer(object<1>(), prop<2>()); in main()
61 constexpr object<3> o10 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>()); in main()
62 constexpr object<4> o11 = boost::asio::prefer(object<1>(), prop<2>(), prop<3>(), prop<4>()); in main()
Dprefer_static.cpp49 object<1> o2 = boost::asio::prefer(o1, prop<1>()); in main()
50 object<1> o3 = boost::asio::prefer(o1, prop<1>(), prop<1>()); in main()
51 object<1> o4 = boost::asio::prefer(o1, prop<1>(), prop<1>(), prop<1>()); in main()
57 object<1> o6 = boost::asio::prefer(o5, prop<1>()); in main()
58 object<1> o7 = boost::asio::prefer(o5, prop<1>(), prop<1>()); in main()
59 object<1> o8 = boost::asio::prefer(o5, prop<1>(), prop<1>(), prop<1>()); in main()
64 constexpr object<1> o9 = boost::asio::prefer(object<1>(), prop<1>()); in main()
65 constexpr object<1> o10 = boost::asio::prefer(object<1>(), prop<1>(), prop<1>()); in main()
66 constexpr object<1> o11 = boost::asio::prefer(object<1>(), prop<1>(), prop<1>(), prop<1>()); in main()
/third_party/typescript_eslint/packages/eslint-plugin/tests/rules/
Dconsistent-type-imports.test.ts64 options: [{ prefer: 'no-type-imports' }],
92 options: [{ prefer: 'no-type-imports' }],
101 options: [{ prefer: 'no-type-imports' }],
110 options: [{ prefer: 'no-type-imports' }],
161 options: [{ prefer: 'no-type-imports' }],
171 options: [{ prefer: 'no-type-imports' }],
181 options: [{ prefer: 'no-type-imports' }],
266 options: [{ prefer: 'type-imports' }],
783 options: [{ prefer: 'type-imports' }],
797 options: [{ prefer: 'no-type-imports' }],
[all …]
/third_party/boost/libs/asio/test/properties/cpp03/
Dprefer_free_prefer.cpp24 friend object<N> prefer(const object&, prop<N>) in prefer() function
56 object<2> o2 = boost::asio::prefer(o1, prop<2>()); in main()
57 object<3> o3 = boost::asio::prefer(o1, prop<2>(), prop<3>()); in main()
58 object<4> o4 = boost::asio::prefer(o1, prop<2>(), prop<3>(), prop<4>()); in main()
64 object<2> o6 = boost::asio::prefer(o5, prop<2>()); in main()
65 object<3> o7 = boost::asio::prefer(o5, prop<2>(), prop<3>()); in main()
66 object<4> o8 = boost::asio::prefer(o5, prop<2>(), prop<3>(), prop<4>()); in main()
Dprefer_member_prefer.cpp24 object<N> prefer(prop<N>) const in prefer() function
56 object<2> o2 = boost::asio::prefer(o1, prop<2>()); in main()
57 object<3> o3 = boost::asio::prefer(o1, prop<2>(), prop<3>()); in main()
58 object<4> o4 = boost::asio::prefer(o1, prop<2>(), prop<3>(), prop<4>()); in main()
64 object<2> o6 = boost::asio::prefer(o5, prop<2>()); in main()
65 object<3> o7 = boost::asio::prefer(o5, prop<2>(), prop<3>()); in main()
66 object<4> o8 = boost::asio::prefer(o5, prop<2>(), prop<3>(), prop<4>()); in main()
Dprefer_static.cpp49 object<1> o2 = boost::asio::prefer(o1, prop<1>()); in main()
50 object<1> o3 = boost::asio::prefer(o1, prop<1>(), prop<1>()); in main()
51 object<1> o4 = boost::asio::prefer(o1, prop<1>(), prop<1>(), prop<1>()); in main()
57 object<1> o6 = boost::asio::prefer(o5, prop<1>()); in main()
58 object<1> o7 = boost::asio::prefer(o5, prop<1>(), prop<1>()); in main()
59 object<1> o8 = boost::asio::prefer(o5, prop<1>(), prop<1>(), prop<1>()); in main()
Dprefer_free_require.cpp56 object<2> o2 = boost::asio::prefer(o1, prop<2>()); in main()
57 object<3> o3 = boost::asio::prefer(o1, prop<2>(), prop<3>()); in main()
58 object<4> o4 = boost::asio::prefer(o1, prop<2>(), prop<3>(), prop<4>()); in main()
64 object<2> o6 = boost::asio::prefer(o5, prop<2>()); in main()
65 object<3> o7 = boost::asio::prefer(o5, prop<2>(), prop<3>()); in main()
66 object<4> o8 = boost::asio::prefer(o5, prop<2>(), prop<3>(), prop<4>()); in main()
Dprefer_member_require.cpp56 object<2> o2 = boost::asio::prefer(o1, prop<2>()); in main()
57 object<3> o3 = boost::asio::prefer(o1, prop<2>(), prop<3>()); in main()
58 object<4> o4 = boost::asio::prefer(o1, prop<2>(), prop<3>(), prop<4>()); in main()
64 object<2> o6 = boost::asio::prefer(o5, prop<2>()); in main()
65 object<3> o7 = boost::asio::prefer(o5, prop<2>(), prop<3>()); in main()
66 object<4> o8 = boost::asio::prefer(o5, prop<2>(), prop<3>(), prop<4>()); in main()
/third_party/typescript_eslint/packages/eslint-plugin/docs/rules/
Dconsistent-type-imports.md14 prefer: 'type-imports' | 'no-type-imports';
19 prefer: 'type-imports',
24 ### `prefer`
26 This option defines the expected import kind for type-only imports. Valid values for `prefer` are:
31 Examples of **correct** code with `{prefer: 'type-imports'}`, and **incorrect** code with `{prefer:…
40 Examples of **incorrect** code with `{prefer: 'type-imports'}`, and **correct** code with `{prefer:…
/third_party/boost/libs/asio/test/execution/
Dprefer_only.cpp304 executor_type ex2 = boost::asio::prefer(ex1, execution::blocking.possibly); in prefer_only_executor_query_test()
318 executor_type ex3 = boost::asio::prefer(ex1, execution::blocking.never); in prefer_only_executor_query_test()
346 executor_type ex5 = boost::asio::prefer(ex4, execution::blocking.possibly); in prefer_only_executor_query_test()
360 executor_type ex6 = boost::asio::prefer(ex4, execution::blocking.never); in prefer_only_executor_query_test()
388 executor_type ex8 = boost::asio::prefer(ex7, execution::blocking.possibly); in prefer_only_executor_query_test()
402 executor_type ex9 = boost::asio::prefer(ex7, execution::blocking.never); in prefer_only_executor_query_test()
430 executor_type ex11 = boost::asio::prefer(ex7, execution::blocking.possibly); in prefer_only_executor_query_test()
444 executor_type ex12 = boost::asio::prefer(ex7, execution::blocking.never); in prefer_only_executor_query_test()
477 executor_type ex2 = boost::asio::prefer(ex1, execution::blocking.possibly); in prefer_only_executor_execute_test()
483 executor_type ex3 = boost::asio::prefer(ex1, execution::blocking.never); in prefer_only_executor_execute_test()
[all …]
/third_party/boost/boost/asio/detail/
Dhandler_work.hpp67 : executor_(boost::asio::prefer(ex, execution::outstanding_work.tracked)) in handler_work_base()
74 : executor_(boost::asio::prefer(ex, execution::outstanding_work.tracked)) in handler_work_base()
99 boost::asio::prefer(executor_, in dispatch()
320 : boost::asio::prefer(ex, execution::outstanding_work.tracked)) in handler_work_base()
322 : executor_(boost::asio::prefer(ex, execution::outstanding_work.tracked)) in handler_work_base()
336 : executor_(boost::asio::prefer(ex, execution::outstanding_work.tracked)) in handler_work_base()
361 boost::asio::prefer(executor_, execution::blocking.possibly), in dispatch()
389 : boost::asio::prefer(ex, execution::outstanding_work.tracked)) in handler_work_base()
391 : executor_(boost::asio::prefer(ex, execution::outstanding_work.tracked)) in handler_work_base()
405 : executor_(boost::asio::prefer(ex, execution::outstanding_work.tracked)) in handler_work_base()
[all …]
/third_party/boost/libs/asio/include/boost/asio/detail/
Dhandler_work.hpp67 : executor_(boost::asio::prefer(ex, execution::outstanding_work.tracked)) in handler_work_base()
74 : executor_(boost::asio::prefer(ex, execution::outstanding_work.tracked)) in handler_work_base()
99 boost::asio::prefer(executor_, in dispatch()
320 : boost::asio::prefer(ex, execution::outstanding_work.tracked)) in handler_work_base()
322 : executor_(boost::asio::prefer(ex, execution::outstanding_work.tracked)) in handler_work_base()
336 : executor_(boost::asio::prefer(ex, execution::outstanding_work.tracked)) in handler_work_base()
361 boost::asio::prefer(executor_, execution::blocking.possibly), in dispatch()
389 : boost::asio::prefer(ex, execution::outstanding_work.tracked)) in handler_work_base()
391 : executor_(boost::asio::prefer(ex, execution::outstanding_work.tracked)) in handler_work_base()
405 : executor_(boost::asio::prefer(ex, execution::outstanding_work.tracked)) in handler_work_base()
[all …]
/third_party/boost/libs/asio/example/cpp14/executors/
Dasync_2.cpp18 auto work_ex = boost::asio::prefer( in async_getline()
32 boost::asio::prefer(work_ex, execution::blocking.possibly), in async_getline()
45 auto io_work_ex = boost::asio::prefer(io_ex, in async_getlines()
49 auto handler_work_ex = boost::asio::prefer( in async_getlines()
/third_party/typescript_eslint/packages/eslint-plugin/
DREADME.md151 | [`@typescript-eslint/prefer-as-const`](./docs/rules/prefer-as-const.md) …
152 | [`@typescript-eslint/prefer-enum-initializers`](./docs/rules/prefer-enum-initializers.md) …
153 | [`@typescript-eslint/prefer-for-of`](./docs/rules/prefer-for-of.md) …
154 | [`@typescript-eslint/prefer-function-type`](./docs/rules/prefer-function-type.md) …
155 | [`@typescript-eslint/prefer-includes`](./docs/rules/prefer-includes.md) …
156 | [`@typescript-eslint/prefer-literal-enum-member`](./docs/rules/prefer-literal-enum-member.md) …
157 | [`@typescript-eslint/prefer-namespace-keyword`](./docs/rules/prefer-namespace-keyword.md) …
158 | [`@typescript-eslint/prefer-nullish-coalescing`](./docs/rules/prefer-nullish-coalescing.md) …
159 | [`@typescript-eslint/prefer-optional-chain`](./docs/rules/prefer-optional-chain.md) …
160 | [`@typescript-eslint/prefer-readonly`](./docs/rules/prefer-readonly.md) …
[all …]
DROADMAP.md28 | [`no-internal-module`] | ✅ | [`@typescript-eslint/prefer-namespace-keyword`] |
36 | [`only-arrow-functions`] | �� | [`prefer-arrow/prefer-arrow-functions`] |
37 | [`prefer-for-of`] | ✅ | [`@typescript-eslint/prefer-for-of`] |
100 | [`prefer-conditional-expression`] | �� | N/A …
101 | [`prefer-object-spread`] | �� | [`prefer-object-spread`][prefer-object-spread] …
136 | [`prefer-const`] | �� | [`prefer-const`][prefer-const] |
137 | [`prefer-readonly`] | ✅ | [`@typescript-eslint/prefer-readonly`] |
151 | [`callable-types`] | ✅ | [`@typescript-eslint/prefer-function-type`] …
186 | [`prefer-function-over-method`] | �� | [`class-methods-use-this`][class-methods-use-this] …
187 | [`prefer-method-signature`] | ✅ | [`@typescript-eslint/method-signature-style`] …
[all …]

12345678910>>...31