| /third_party/jerryscript/tests/jerry/es2015/ |
| D | function-async1.js | 15 /* This test checks async modifiers (nothing else). */ 26 /* Async functions */ 28 async function f(a) { 34 f = async function (a) { return a } 37 f = (async function (a) { return a }) 40 f = [async function (a) { return a }] 44 async => {} 45 async async => {} 46 (async => {}) 47 (async async => {}) [all …]
|
| D | function-await1.js | 27 check_syntax_error("(async function await() {})") 28 check_syntax_error("(async function *await() {})") 29 check_syntax_error("async function f(await) {}") 30 check_syntax_error("(async function f(await) {})") 31 check_syntax_error("async function f(a = await new Promise) {}") 32 check_syntax_error("async function f() { function await() {} }") 33 check_syntax_error("async await => 0"); 34 check_syntax_error("async (await) => 0"); 35 check_syntax_error("async function f() { await () => 0 }"); 36 check_syntax_error("async (a) => a\\u0077ait a"); [all …]
|
| D | function-async2.js | 15 /* This test checks async modifiers (nothing else). */ 27 check_syntax_error("function async f() {}") 28 check_syntax_error("(a,b) async => 1") 30 check_syntax_error("async * (a,b) => 1") 31 check_syntax_error("({ *async f() {} })") 32 check_syntax_error("class C { async static f() {} }") 33 check_syntax_error("class C { * async f() {} }") 34 check_syntax_error("class C { static * async f() {} }") 47 async f() { return 1 }, 48 async() { return 2 }, [all …]
|
| /third_party/python/Lib/test/ |
| D | test_coroutines.py | 80 """async def foo(): 84 """async def foo(): 88 """async def foo(a=await something()): 92 """async def foo(a:await something()): 96 """async def foo(): 98 [i async for i in els] 101 """async def foo(): 106 """async def foo(): 109 async for b in els] 112 """async def foo(): [all …]
|
| D | test_contextlib_async.py | 11 """Decorator to turn an async function into a test case.""" 28 async def test_enter(self): 30 async def __aexit__(self, *args): 36 async with manager as context: 40 async def test_async_gen_propagates_generator_exit(self): 44 async def ctx(): 47 async def gen(): 48 async with ctx(): 54 async with ctx(): 55 async for val in gen(): [all …]
|
| D | test_asyncgen.py | 38 async def iterate(): 40 async for i in gen: 50 code = '''async def foo(): 55 with self.assertRaisesRegex(SyntaxError, 'yield from.*inside async'): 59 code = '''async def foo(): 63 with self.assertRaisesRegex(SyntaxError, 'yield from.*inside async'): 67 code = '''async def foo(): 73 with self.assertRaisesRegex(SyntaxError, 'return.*value.*async gen'): 77 code = '''async def foo(): 82 with self.assertRaisesRegex(SyntaxError, 'return.*value.*async gen'): [all …]
|
| /third_party/flutter/engine/flutter/lib/snapshot/ |
| D | fuchsia_compilation_trace.txt | 702 dart:async,_ControllerStream,get:_controller 703 dart:async,_ControllerStream,_ControllerStream. 704 dart:async,_ControllerStream,_createSubscription 705 dart:async,_BufferingStreamSubscription,get:_onData 706 dart:async,_BufferingStreamSubscription,set:_onData 707 dart:async,_BufferingStreamSubscription,get:_onError 708 dart:async,_BufferingStreamSubscription,set:_onError 709 dart:async,_BufferingStreamSubscription,get:_onDone 710 dart:async,_BufferingStreamSubscription,set:_onDone 711 dart:async,_BufferingStreamSubscription,get:_zone [all …]
|
| /third_party/python/Lib/unittest/test/ |
| D | test_async_case.py | 18 async def asyncSetUp(self): 22 async def test_func(self): 28 async def asyncTearDown(self): 41 async def on_cleanup(self): 62 async def asyncSetUp(self): 66 async def test_func(self): 70 async def asyncTearDown(self): 73 async def on_cleanup(self): 85 async def asyncSetUp(self): 88 async def test_func(self): [all …]
|
| /third_party/grpc/src/python/grpcio_tests/tests_aio/unit/ |
| D | server_test.py | 100 async def _unary_unary(unused_request, unused_context): 103 async def _block_forever(self, unused_request, unused_context): 106 async def _block_briefly(self, unused_request, unused_context): 110 async def _unary_stream_async_gen(self, unused_request, unused_context): 114 async def _unary_stream_reader_writer(self, unused_request, context): 118 async def _unary_stream_evilly_mixed(self, unused_request, context): 123 async def _stream_unary_async_gen(self, request_iterator, unused_context): 125 async for request in request_iterator: 131 async def _stream_unary_reader_writer(self, unused_request, context): 136 async def _stream_unary_evilly_mixed(self, request_iterator, context): [all …]
|
| D | call_test.py | 41 async def setUp(self): 46 async def tearDown(self): 53 async def test_call_to_string(self): 64 async def test_call_ok(self): 80 async def test_call_rpc_error(self): 81 async with aio.insecure_channel(UNREACHABLE_TARGET) as channel: 95 async def test_call_code_awaitable(self): 99 async def test_call_details_awaitable(self): 103 async def test_call_initial_metadata_awaitable(self): 107 async def test_call_trailing_metadata_awaitable(self): [all …]
|
| D | client_unary_unary_interceptor_test.py | 37 async def setUp(self): 40 async def tearDown(self): 51 async def test_executed_right_order(self): 58 async def intercept_unary_unary(self, continuation, 66 async with aio.insecure_channel(self._server_target, 93 async def test_status_code_Ok(self): 101 async def intercept_unary_unary(self, continuation, 112 async with aio.insecure_channel(self._server_target, 125 async def test_add_timeout(self): 130 async def intercept_unary_unary(self, continuation, [all …]
|
| D | client_unary_stream_interceptor_test.py | 40 async def intercept_unary_stream(self, continuation, client_call_details, 51 async def intercept_unary_stream(self, continuation, client_call_details, 64 async def setUp(self): 67 async def tearDown(self): 70 async def test_intercepts(self): 90 async for response in call: 111 async def test_add_done_callback_interceptor_task_not_finished(self): 130 async for response in call: 137 async def test_add_done_callback_interceptor_task_finished(self): 161 async for response in call: [all …]
|
| /third_party/flutter/flutter/packages/flutter_tools/test/general.shard/ |
| D | terminal_handler_test.dart | 5 import 'dart:async'; 28 testUsingContext('single help character', () async { 36 testUsingContext('help character surrounded with newlines', () async { 55 testUsingContext('a, can handle trailing newlines', () async { 61 testUsingContext('n, can handle trailing only newlines', () async { 67 testUsingContext('a - debugToggleProfileWidgetBuilds with service protocol', () async { 73 testUsingContext('a - debugToggleProfileWidgetBuilds without service protocol', () async { 81 testUsingContext('a - debugToggleProfileWidgetBuilds', () async { 88 testUsingContext('d,D - detach', () async { 95 testUsingContext('h,H,? - printHelp', () async { [all …]
|
| /third_party/flutter/flutter/examples/flutter_gallery/test/ |
| D | accessibility_test.dart | 8 testWidgets('backdrop_demo', (WidgetTester tester) async { 15 testWidgets('bottom_app_bar_demo', (WidgetTester tester) async { 22 testWidgets('bottom_navigation_demo', (WidgetTester tester) async { 29 testWidgets('buttons_demo', (WidgetTester tester) async { 36 testWidgets('cards_demo', (WidgetTester tester) async { 43 testWidgets('chip_demo', (WidgetTester tester) async { 50 testWidgets('data_table_demo', (WidgetTester tester) async { 57 testWidgets('date_and_time_picker_demo', (WidgetTester tester) async { 64 testWidgets('dialog_demo', (WidgetTester tester) async { 71 testWidgets('drawer_demo', (WidgetTester tester) async { [all …]
|
| /third_party/jinja2/ |
| D | asyncsupport.py | 2 """The code for async support. Importing this patches Jinja on supported 18 async def concat_async(async_gen): 21 async def collect(): 22 async for event in async_gen: 29 async def generate_async(self, *args, **kwargs): 32 async for event in self.root_render_func(self.new_context(vars)): 55 async def render_async(self, *args, **kwargs): 57 raise RuntimeError("The environment was not created with async mode enabled.") 80 async def async_call(self): 97 async def async_invoke(self, arguments, autoescape): [all …]
|
| D | asyncfilters.py | 8 async def auto_to_seq(value): 11 async for item in value: 19 async def async_select_or_reject(args, kwargs, modfunc, lookup_attr): 22 async for item in auto_aiter(seq): 69 async def do_first(environment, seq): 77 async def do_groupby(environment, value, attribute): 88 async def do_join(eval_ctx, value, d=u"", attribute=None): 93 async def do_list(value): 98 async def do_reject(*args, **kwargs): 103 async def do_rejectattr(*args, **kwargs): [all …]
|
| /third_party/node/test/parallel/ |
| D | test-repl-preprocess-top-level-await.js | 16 '(async () => { return (await 0) })()' ], 18 '(async () => { return (await 0); })()' ], 20 '(async () => { return ((await 0)) })()' ], 22 '(async () => { return ((await 0)); })()' ], 23 [ 'async function foo() { await 0; }', 25 [ 'async () => await 0', 27 [ 'class A { async method() { await 0 } }', 32 '(async () => { void (a = await 1) })()' ], 34 '(async () => { void (a = await 1) })()' ], 36 '(async () => { void (a = await 1) })()' ], [all …]
|
| /third_party/grpc/src/python/grpcio_tests/tests_aio/interop/ |
| D | local_interop_test.py | 39 async def test_empty_unary(self): 43 async def test_large_unary(self): 47 async def test_server_streaming(self): 51 async def test_client_streaming(self): 55 async def test_ping_pong(self): 59 async def test_cancel_after_begin(self): 63 async def test_cancel_after_first_response(self): 67 async def test_timeout_on_sleeping_server(self): 71 async def test_empty_stream(self): 75 async def test_status_code_and_message(self): [all …]
|
| /third_party/flutter/flutter/packages/flutter/test/services/ |
| D | platform_channel_test.dart | 5 import 'dart:async'; 15 test('can send string message and get reply', () async { 18 (ByteData message) async => string.encodeMessage(string.decodeMessage(message) + ' world'), 23 test('can receive string message and send reply', () async { 24 channel.setMessageHandler((String message) async => message + ' world'); 41 test('can invoke method and get result', () async { 44 (ByteData message) async { 56 test('can invoke list method and get result', () async { 59 (ByteData message) async { 72 test('can invoke list method and get null result', () async { [all …]
|
| /third_party/node/deps/npm/node_modules/bluebird/js/release/ |
| D | async.js | 8 function Async() { class 22 Async.prototype.setScheduler = function(fn) { 29 Async.prototype.hasCustomScheduler = function() { 33 Async.prototype.enableTrampoline = function() { 37 Async.prototype.disableTrampolineIfNecessary = function() { 43 Async.prototype.haveItemsQueued = function () { 48 Async.prototype.fatalError = function(e, isNode) { 58 Async.prototype.throwLater = function(fn, arg) { 72 … throw new Error("No async scheduler available\u000a\u000a See http://goo.gl/MqrFmX\u000a"); 92 Async.prototype.invokeLater = AsyncInvokeLater; [all …]
|
| /third_party/node/tools/inspector_protocol/jinja2/ |
| D | asyncfilters.py | 7 async def auto_to_seq(value): 10 async for item in value: 18 async def async_select_or_reject(args, kwargs, modfunc, lookup_attr): 22 async for item in auto_aiter(seq): 62 async def do_first(environment, seq): 70 async def do_groupby(environment, value, attribute): 78 async def do_join(eval_ctx, value, d=u'', attribute=None): 83 async def do_list(value): 88 async def do_reject(*args, **kwargs): 93 async def do_rejectattr(*args, **kwargs): [all …]
|
| D | asyncsupport.py | 6 Has all the code for async support which is implemented as a patch 22 async def concat_async(async_gen): 24 async def collect(): 25 async for event in async_gen: 31 async def generate_async(self, *args, **kwargs): 34 async for event in self.root_render_func(self.new_context(vars)): 58 async def render_async(self, *args, **kwargs): 60 raise RuntimeError('The environment was not created with async mode ' 84 async def async_call(self): 101 async def async_invoke(self, arguments, autoescape): [all …]
|
| /third_party/node/tools/node_modules/eslint/node_modules/run-async/ |
| D | README.md | 1 Run Async 4 …async.svg)](http://badge.fury.io/js/run-async) [; 31 #### Using `this.async` 34 var done = this.async(); 63 var runAsync = require('run-async');
|
| /third_party/node/test/sequential/ |
| D | test-inspector-async-call-stack.js | 25 // By default inspector async hooks should not have been installed. 26 verifyAsyncHookDisabled('inspector async hook should be disabled at startup'); 29 verifyAsyncHookDisabled('creating a session should not enable async hooks'); 32 verifyAsyncHookDisabled('connecting a session should not enable async hooks'); 35 verifyAsyncHookDisabled('enabling debugger should not enable async hooks'); 38 verifyAsyncHookDisabled('invalid message should not enable async hooks'); 42 'async hooks'); 46 'async hooks'); 49 verifyAsyncHookEnabled('valid message should enable async hooks'); 53 'async hooks'); [all …]
|
| /third_party/flutter/flutter/packages/flutter_tools/test/general.shard/base/ |
| D | async_guard_test.dart | 5 import 'dart:async'; 14 errorCompleter.completeError('Async Doom', StackTrace.current); 24 errorCompleter.completeError('Async Doom', StackTrace.current); 54 test('asyncError percolates through zone', () async { 55 await zone.run(() async { 68 test('syncAndAsyncError percolates through zone', () async { 69 await zone.run(() async { 82 test('syncError percolates through zone', () async { 83 await zone.run(() async { 95 test('syncError is caught by asyncGuard', () async { [all …]
|