Home
last modified time | relevance | path

Searched refs:continuation (Results 1 – 25 of 231) sorted by relevance

12345678910

/third_party/boost/libs/context/test/
Dtest_callcc.cpp50 ctx::continuation foo( ctx::continuation && c, int i) { in foo()
109 ctx::continuation c;
110 my_exception( ctx::continuation && c_, char const* what) : in my_exception()
134 ctx::continuation c1 = ctx::callcc( in test_move()
135 [&i](ctx::continuation && c) { in test_move()
143 ctx::continuation c2; in test_move()
158 ctx::continuation c = ctx::callcc( std::bind( & X::foo, x, std::placeholders::_1, 7) ); in test_bind()
165 ctx::continuation c = ctx::callcc( in test_exception()
166 [&what](ctx::continuation && c) { in test_exception()
181 ctx::continuation c = ctx::callcc([&catched](ctx::continuation && c){ in test_exception()
[all …]
/third_party/boost/libs/context/doc/
Dcallcc.qbk13 call/cc (call-with-current-continuation): A low-level API for stackful context
16 __callcc__ (call with current continuation) is a universal control operator
18 continuation as a first-class object and pass it as an argument to another
19 continuation.
21 A continuation (abstract concept of functional programming languages)
27 registers represent a continuation of the executed program at a given point in
31 continuation, e.g. the content of all registers.
37 current continuation (the rest of the computation; code after __cc__) and
40 convention of the ABI, of the current continuation and restoring those
41 registers of the resumed continuation. The control flow of the resumed
[all …]
/third_party/boost/boost/context/
Dcontinuation_fcontext.hpp204 class continuation { class
214 friend continuation
218 friend continuation
223 continuation( detail::fcontext_t fctx) noexcept : in continuation() function in boost::context::continuation
228 continuation() noexcept = default;
230 ~continuation() { in ~continuation()
243 continuation( continuation && other) noexcept { in continuation() function in boost::context::continuation
247 continuation & operator=( continuation && other) noexcept { in operator =()
249 continuation tmp = std::move( other); in operator =()
255 continuation( continuation const& other) noexcept = delete;
[all …]
Dcontinuation_winfib.hpp293 class BOOST_CONTEXT_DECL continuation { class
307 friend continuation
311 friend continuation
316 continuation( detail::activation_record * ptr) noexcept : in continuation() function in boost::context::continuation
321 continuation() = default;
323 ~continuation() { in ~continuation()
334 continuation( continuation const&) = delete;
335 continuation & operator=( continuation const&) = delete;
337 continuation( continuation && other) noexcept { in continuation() function in boost::context::continuation
341 continuation & operator=( continuation && other) noexcept { in operator =()
[all …]
Dcontinuation_ucontext.hpp358 class BOOST_CONTEXT_DECL continuation { class
372 friend continuation
376 friend continuation
381 continuation( detail::activation_record * ptr) noexcept : in continuation() function in boost::context::continuation
386 continuation() = default;
388 ~continuation() { in ~continuation()
399 continuation( continuation const&) = delete;
400 continuation & operator=( continuation const&) = delete;
402 continuation( continuation && other) noexcept { in continuation() function in boost::context::continuation
406 continuation & operator=( continuation && other) noexcept { in operator =()
[all …]
/third_party/grpc/src/csharp/Grpc.Core.Api/Interceptors/
DInterceptor.cs176 …text<TRequest, TResponse> context, BlockingUnaryCallContinuation<TRequest, TResponse> continuation)
180 return continuation(request, context);
204 …Context<TRequest, TResponse> context, AsyncUnaryCallContinuation<TRequest, TResponse> continuation)
208 return continuation(request, context);
232 …equest, TResponse> context, AsyncServerStreamingCallContinuation<TRequest, TResponse> continuation)
236 return continuation(request, context);
259 …equest, TResponse> context, AsyncClientStreamingCallContinuation<TRequest, TResponse> continuation)
263 return continuation(context);
286 …equest, TResponse> context, AsyncDuplexStreamingCallContinuation<TRequest, TResponse> continuation)
290 return continuation(context);
[all …]
DCallInvokerExtensions.cs117 …text<TRequest, TResponse> context, BlockingUnaryCallContinuation<TRequest, TResponse> continuation) in BlockingUnaryCall() argument
119 return continuation(request, GetNewContext(context)); in BlockingUnaryCall()
122 …Context<TRequest, TResponse> context, AsyncUnaryCallContinuation<TRequest, TResponse> continuation) in AsyncUnaryCall() argument
124 return continuation(request, GetNewContext(context)); in AsyncUnaryCall()
127 …equest, TResponse> context, AsyncServerStreamingCallContinuation<TRequest, TResponse> continuation) in AsyncServerStreamingCall() argument
129 return continuation(request, GetNewContext(context)); in AsyncServerStreamingCall()
132 …equest, TResponse> context, AsyncClientStreamingCallContinuation<TRequest, TResponse> continuation) in AsyncClientStreamingCall() argument
134 return continuation(GetNewContext(context)); in AsyncClientStreamingCall()
137 …equest, TResponse> context, AsyncDuplexStreamingCallContinuation<TRequest, TResponse> continuation) in AsyncDuplexStreamingCall() argument
139 return continuation(GetNewContext(context)); in AsyncDuplexStreamingCall()
/third_party/grpc/src/php/lib/Grpc/
DInterceptor.php34 $continuation, argument
38 return $continuation($method, $argument, $deserialize, $metadata, $options);
44 $continuation, argument
48 return $continuation($method, $deserialize, $metadata, $options);
55 $continuation, argument
59 return $continuation($method, $argument, $deserialize, $metadata, $options);
65 $continuation, argument
69 return $continuation($method, $deserialize, $metadata, $options);
/third_party/grpc/examples/python/interceptors/headers/
Dgeneric_client_interceptor.py27 def intercept_unary_unary(self, continuation, client_call_details, request): argument
30 response = continuation(new_details, next(new_request_iterator))
33 def intercept_unary_stream(self, continuation, client_call_details, argument
37 response_it = continuation(new_details, next(new_request_iterator))
40 def intercept_stream_unary(self, continuation, client_call_details, argument
44 response = continuation(new_details, new_request_iterator)
47 def intercept_stream_stream(self, continuation, client_call_details, argument
51 response_it = continuation(new_details, new_request_iterator)
/third_party/grpc/src/python/grpcio_tests/tests_aio/unit/
Dclient_unary_unary_interceptor_test.py58 async def intercept_unary_unary(self, continuation, argument
61 call = await continuation(client_call_details, request)
101 async def intercept_unary_unary(self, continuation, argument
103 call = await continuation(client_call_details, request)
130 async def intercept_unary_unary(self, continuation, argument
138 return await continuation(new_client_call_details, request)
171 async def intercept_unary_unary(self, continuation, argument
182 call = await continuation(new_client_call_details, request)
196 call = await continuation(new_client_call_details, request)
229 async def intercept_unary_unary(self, continuation, argument
[all …]
/third_party/grpc/src/csharp/Grpc.Core.Api/
DClientBase.cs172 …text<TRequest, TResponse> context, BlockingUnaryCallContinuation<TRequest, TResponse> continuation) in BlockingUnaryCall() argument
174 return continuation(request, GetNewContext(context)); in BlockingUnaryCall()
177 …Context<TRequest, TResponse> context, AsyncUnaryCallContinuation<TRequest, TResponse> continuation) in AsyncUnaryCall() argument
179 return continuation(request, GetNewContext(context)); in AsyncUnaryCall()
182 …equest, TResponse> context, AsyncServerStreamingCallContinuation<TRequest, TResponse> continuation) in AsyncServerStreamingCall() argument
184 return continuation(request, GetNewContext(context)); in AsyncServerStreamingCall()
187 …equest, TResponse> context, AsyncClientStreamingCallContinuation<TRequest, TResponse> continuation) in AsyncClientStreamingCall() argument
189 return continuation(GetNewContext(context)); in AsyncClientStreamingCall()
192 …equest, TResponse> context, AsyncDuplexStreamingCallContinuation<TRequest, TResponse> continuation) in AsyncDuplexStreamingCall() argument
194 return continuation(GetNewContext(context)); in AsyncDuplexStreamingCall()
/third_party/grpc/examples/python/interceptors/default_value/
Ddefault_value_client_interceptor.py55 def _intercept_call(self, continuation, client_call_details, argument
57 response = continuation(client_call_details, request_or_iterator)
60 def intercept_unary_unary(self, continuation, client_call_details, request): argument
61 return self._intercept_call(continuation, client_call_details, request)
63 def intercept_stream_unary(self, continuation, client_call_details, argument
65 return self._intercept_call(continuation, client_call_details,
/third_party/grpc/src/csharp/Grpc.Core.Tests/Interceptors/
DClientInterceptorTest.cs142 …text<TRequest, TResponse> context, BlockingUnaryCallContinuation<TRequest, TResponse> continuation) in BlockingUnaryCall() argument
145 return continuation(request, context); in BlockingUnaryCall()
148 …Context<TRequest, TResponse> context, AsyncUnaryCallContinuation<TRequest, TResponse> continuation) in AsyncUnaryCall() argument
151 return continuation(request, context); in AsyncUnaryCall()
154 …equest, TResponse> context, AsyncServerStreamingCallContinuation<TRequest, TResponse> continuation) in AsyncServerStreamingCall() argument
157 return continuation(request, context); in AsyncServerStreamingCall()
160 …equest, TResponse> context, AsyncClientStreamingCallContinuation<TRequest, TResponse> continuation) in AsyncClientStreamingCall() argument
163 return continuation(context); in AsyncClientStreamingCall()
166 …equest, TResponse> context, AsyncDuplexStreamingCallContinuation<TRequest, TResponse> continuation) in AsyncDuplexStreamingCall() argument
169 return continuation(context); in AsyncDuplexStreamingCall()
[all …]
DServerInterceptorTest.cs148 …>(TRequest request, ServerCallContext context, UnaryServerMethod<TRequest, TResponse> continuation) in UnaryServerHandler() argument
151 return continuation(request, context); in UnaryServerHandler()
154 …stStream, ServerCallContext context, ClientStreamingServerMethod<TRequest, TResponse> continuation) in ClientStreamingServerHandler() argument
157 return continuation(requestStream, context); in ClientStreamingServerHandler()
160 …seStream, ServerCallContext context, ServerStreamingServerMethod<TRequest, TResponse> continuation) in ServerStreamingServerHandler() argument
163 return continuation(request, responseStream, context); in ServerStreamingServerHandler()
166 …seStream, ServerCallContext context, DuplexStreamingServerMethod<TRequest, TResponse> continuation) in DuplexStreamingServerHandler() argument
169 return continuation(requestStream, responseStream, context); in DuplexStreamingServerHandler()
/third_party/mbedtls/tests/suites/
Dtest_suite_mps.data94 MPS Reader: Pausing, inconsistent continuation, #0
97 MPS Reader: Pausing, inconsistent continuation, #1
100 MPS Reader: Pausing, inconsistent continuation, #2
103 MPS Reader: Pausing, inconsistent continuation, #3
106 MPS Reader: Pausing, inconsistent continuation, #4
109 MPS Reader: Pausing, inconsistent continuation, #5
112 MPS Reader: Pausing, inconsistent continuation, #6
115 MPS Reader: Pausing, inconsistent continuation, #7
118 MPS Reader: Pausing, inconsistent continuation, #8
/third_party/boost/libs/context/example/callcc/
Dthrow.cpp18 ctx::continuation c;
19 my_exception( ctx::continuation && c_, std::string const& what) : in my_exception()
26 ctx::continuation c = ctx::callcc([](ctx::continuation && c) { in main()
39 [](ctx::continuation && c){ in main()
Dontop_void.cpp15 ctx::continuation f1( ctx::continuation && c) { in f1()
24 ctx::continuation f2( ctx::continuation && c) { in f2()
30 ctx::continuation c = ctx::callcc( f1); in main()
/third_party/grpc/src/php/tests/unit_tests/
DInterceptorTest.php99 $continuation, argument
104 return $continuation($method, $argument, $deserialize, $metadata, $options);
108 $continuation, argument
113 return $continuation($method, $deserialize, $metadata, $options);
122 $continuation, argument
131 return $continuation($method, $argument, $deserialize, $metadata, $options);
135 $continuation, argument
144 return $continuation($method, $deserialize, $metadata, $options);
178 $continuation, argument
183 return $continuation($method, $argument, $deserialize, $metadata, $options);
[all …]
/third_party/grpc/src/python/grpcio_tests/tests/unit/
D_interceptor_test.py206 def intercept_unary_unary(self, continuation, client_call_details, request): argument
209 response = continuation(new_details, next(new_request_iterator))
212 def intercept_unary_stream(self, continuation, client_call_details, argument
216 response_it = continuation(new_details, new_request_iterator)
219 def intercept_stream_unary(self, continuation, client_call_details, argument
223 response = continuation(new_details, next(new_request_iterator))
226 def intercept_stream_stream(self, continuation, client_call_details, argument
230 response_it = continuation(new_details, new_request_iterator)
244 def intercept_service(self, continuation, handler_call_details): argument
246 return continuation(handler_call_details)
[all …]
/third_party/python/Lib/idlelib/
Dpyparse.py229 continuation = C_NONE
302 continuation = C_STRING_FIRST_LINE
304 continuation = C_STRING_NEXT_LINES
318 continuation = C_BACKSLASH
324 if (continuation != C_STRING_FIRST_LINE
325 and continuation != C_STRING_NEXT_LINES and level > 0):
326 continuation = C_BRACKET
327 self.continuation = continuation
331 assert (continuation == C_NONE) == (goodlines[-1] == lno)
337 return self.continuation
[all …]
/third_party/glslang/Test/baseResults/
DlineContinuation100.vert.out2 WARNING: 0:3: 'line continuation' : used at end of comment, but this version does not provide line
4 ERROR: 0:8: 'line continuation' : not supported for this version or the enabled extensions
6 ERROR: 0:13: 'line continuation' : not supported for this version or the enabled extensions
7 ERROR: 0:14: 'line continuation' : not supported for this version or the enabled extensions
8 ERROR: 0:15: 'line continuation' : not supported for this version or the enabled extensions
10 ERROR: 0:24: 'line continuation' : not supported for this version or the enabled extensions
19 ERROR: 0:50: 'line continuation' : not supported for this version or the enabled extensions
20 ERROR: 0:52: 'line continuation' : not supported for this version or the enabled extensions
21 ERROR: 0:53: '#error' : bad continuation
22 ERROR: 0:55: 'line continuation' : not supported for this version or the enabled extensions
/third_party/boost/boost/thread/executors/
Dserial_executor_cont.hpp45 struct continuation { struct in boost::executors::serial_executor_cont
51 continuation(BOOST_THREAD_RV_REF(work) tsk) in continuation() function
151 fut_ = fut_.then(ex_, continuation(work(closure))); in submit()
158 fut_ = fut_.then(ex_, continuation(work(closure))); in submit()
166 fut_ = fut_.then(ex_, continuation(work(boost::forward<Closure>(closure)))); in submit()
/third_party/ffmpeg/libavformat/
Drtpdec_mpa_robust.c71 unsigned adu_size, continuation; in mpa_robust_parse_packet() local
79 &continuation); in mpa_robust_parse_packet()
87 if (continuation || adu_size > len) { in mpa_robust_parse_packet()
113 &continuation); in mpa_robust_parse_packet()
120 if (!continuation && adu_size <= len) { in mpa_robust_parse_packet()
146 } else if (!continuation) { /* && adu_size > len */ in mpa_robust_parse_packet()
/third_party/python/Lib/test/decimaltestdata/
DddCanonical.decTest81 -- NaN: exponent continuation bits [excluding sNaN selector]
100 -- sNaN: exponent continuation bits [excluding sNaN selector]
110 -- Inf: exponent continuation bits
121 -- Inf: coefficient continuation bits (first, last, and a few others)
156 -- NaN: exponent continuation bits [excluding sNaN selector]
162 -- sNaN: exponent continuation bits [excluding sNaN selector]
165 -- Inf: exponent continuation bits
168 -- Inf: coefficient continuation bits
266 -- NaN: exponent continuation bits [excluding sNaN selector]
272 -- sNaN: exponent continuation bits [excluding sNaN selector]
[all …]
DdqCanonical.decTest83 -- NaN: exponent continuation bits [excluding sNaN selector]
108 -- sNaN: exponent continuation bits [excluding sNaN selector]
121 -- Inf: exponent continuation bits
136 -- Inf: coefficient continuation bits (first, last, and a few others)
187 -- NaN: exponent continuation bits [excluding sNaN selector]
193 -- sNaN: exponent continuation bits [excluding sNaN selector]
196 -- Inf: exponent continuation bits
199 -- Inf: coefficient continuation bits
289 -- NaN: exponent continuation bits [excluding sNaN selector]
295 -- sNaN: exponent continuation bits [excluding sNaN selector]
[all …]

12345678910