Home
last modified time | relevance | path

Searched refs:messenger (Results 1 – 25 of 101) sorted by relevance

12345

/third_party/mesa3d/src/vulkan/util/
Dvk_debug_utils.c44 list_for_each_entry(struct vk_debug_utils_messenger, messenger, in vk_debug_message()
46 if ((messenger->severity & severity) && in vk_debug_message()
47 (messenger->type & types)) in vk_debug_message()
48 messenger->callback(severity, types, pCallbackData, messenger->data); in vk_debug_message()
77 list_for_each_entry(struct vk_debug_utils_messenger, messenger, in vk_debug_message_instance()
79 if ((messenger->severity & severity) && in vk_debug_message_instance()
80 (messenger->type & types)) in vk_debug_message_instance()
81 messenger->callback(severity, types, &cbData, messenger->data); in vk_debug_message_instance()
94 struct vk_debug_utils_messenger *messenger = in vk_common_CreateDebugUtilsMessengerEXT() local
99 if (!messenger) in vk_common_CreateDebugUtilsMessengerEXT()
[all …]
Dvk_instance.c56 struct vk_debug_utils_messenger *messenger = in vk_instance_init() local
60 if (!messenger) in vk_instance_init()
63 vk_object_base_init(NULL, &messenger->base, in vk_instance_init()
66 messenger->alloc = *alloc; in vk_instance_init()
67 messenger->severity = debugMessengerCreateInfo->messageSeverity; in vk_instance_init()
68 messenger->type = debugMessengerCreateInfo->messageType; in vk_instance_init()
69 messenger->callback = debugMessengerCreateInfo->pfnUserCallback; in vk_instance_init()
70 messenger->data = debugMessengerCreateInfo->pUserData; in vk_instance_init()
72 list_addtail(&messenger->link, in vk_instance_init()
153 list_for_each_entry_safe(struct vk_debug_utils_messenger, messenger, in vk_instance_finish()
[all …]
/third_party/jsframework/runtime/main/extend/systemplugin/
Dfetch.js20 let messenger = {};
21 messenger.send = function (groupName, functionName, ...args) {
23 let params = messenger.prepareArgs(...args);
25 resolve(messenger.parseJsonResult(result));
27 reject(messenger.parseJsonResult(error));
31 messenger.parseJsonResult = function (data) {
41 messenger.prepareArgs = function (...args) {
45 result[i] = messenger.packageCallback(result[i]);
50 messenger.packageCallback = function (func) {
52 data = messenger.parseJsonResult(data);
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/common/
DEventChannel.java37 private final BinaryMessenger messenger; field in EventChannel
48 public EventChannel(BinaryMessenger messenger, String name) { in EventChannel() argument
49 this(messenger, name, StandardMethodCodec.INSTANCE); in EventChannel()
60 public EventChannel(BinaryMessenger messenger, String name, MethodCodec codec) { in EventChannel() argument
62 if (messenger == null) { in EventChannel()
72 this.messenger = messenger; in EventChannel()
89messenger.setMessageHandler(name, handler == null ? null : new IncomingStreamRequestHandler(handle… in setStreamHandler()
226 EventChannel.this.messenger.send(name, codec.encodeSuccessEnvelope(event)); in success()
235 EventChannel.this.messenger.send( in error()
246 EventChannel.this.messenger.send(name, null); in endOfStream()
DMethodChannel.java36 private final BinaryMessenger messenger; field in MethodChannel
47 public MethodChannel(BinaryMessenger messenger, String name) { in MethodChannel() argument
48 this(messenger, name, StandardMethodCodec.INSTANCE); in MethodChannel()
59 public MethodChannel(BinaryMessenger messenger, String name, MethodCodec codec) { in MethodChannel() argument
61 if (messenger == null) { in MethodChannel()
71 this.messenger = messenger; in MethodChannel()
98 messenger.send(name, codec.encodeMethodCall(new MethodCall(method, arguments)), in invokeMethod()
118 messenger.setMessageHandler(name, in setMethodCallHandler()
DBasicMessageChannel.java34 private final BinaryMessenger messenger; field in BasicMessageChannel
48 …public BasicMessageChannel(@NonNull BinaryMessenger messenger, @NonNull String name, @NonNull Mess… in BasicMessageChannel() argument
50 if (messenger == null) { in BasicMessageChannel()
60 this.messenger = messenger; in BasicMessageChannel()
84 messenger.send(name, codec.encodeMessage(message), in send()
101 messenger.setMessageHandler(name, in setMessageHandler()
/third_party/flutter/engine/flutter/shell/platform/windows/
Dflutter_windows.cc204 registrar->messenger->dispatcher->EnableInputBlockingForChannel(channel); in FlutterDesktopRegistrarEnableInputBlocking()
209 return registrar->messenger.get(); in FlutterDesktopRegistrarGetMessenger()
212 bool FlutterDesktopMessengerSendWithReply(FlutterDesktopMessengerRef messenger, in FlutterDesktopMessengerSendWithReply() argument
221 messenger->engine, reply, user_data, &response_handle); in FlutterDesktopMessengerSendWithReply()
237 FlutterEngineSendPlatformMessage(messenger->engine, &platform_message); in FlutterDesktopMessengerSendWithReply()
240 FlutterPlatformMessageReleaseResponseHandle(messenger->engine, in FlutterDesktopMessengerSendWithReply()
247 bool FlutterDesktopMessengerSend(FlutterDesktopMessengerRef messenger, in FlutterDesktopMessengerSend() argument
251 return FlutterDesktopMessengerSendWithReply(messenger, channel, message, in FlutterDesktopMessengerSend()
256 FlutterDesktopMessengerRef messenger, in FlutterDesktopMessengerSendResponse() argument
260 FlutterEngineSendPlatformMessageResponse(messenger->engine, handle, data, in FlutterDesktopMessengerSendResponse()
[all …]
Dwin32_flutter_window.cc48 auto messenger = std::make_unique<FlutterDesktopMessenger>(); in SetState() local
50 std::make_unique<flutter::IncomingMessageDispatcher>(messenger.get()); in SetState()
51 messenger->engine = engine_; in SetState()
52 messenger->dispatcher = message_dispatcher_.get(); in SetState()
58 plugin_registrar_->messenger = std::move(messenger); in SetState()
65 auto internal_plugin_messenger = internal_plugin_registrar_->messenger(); in SetState()
/third_party/flutter/engine/flutter/shell/platform/darwin/common/framework/Headers/
DFlutterChannels.h53 binaryMessenger:(NSObject<FlutterBinaryMessenger>*)messenger;
70 binaryMessenger:(NSObject<FlutterBinaryMessenger>*)messenger
88 binaryMessenger:(NSObject<FlutterBinaryMessenger>*)messenger
170 binaryMessenger:(NSObject<FlutterBinaryMessenger>*)messenger;
187 binaryMessenger:(NSObject<FlutterBinaryMessenger>*)messenger
205 binaryMessenger:(NSObject<FlutterBinaryMessenger>*)messenger
325 binaryMessenger:(NSObject<FlutterBinaryMessenger>*)messenger;
342 binaryMessenger:(NSObject<FlutterBinaryMessenger>*)messenger
360 binaryMessenger:(NSObject<FlutterBinaryMessenger>*)messenger
/third_party/flutter/engine/flutter/shell/platform/darwin/common/framework/Source/
DFlutterChannels.mm15 binaryMessenger:(NSObject<FlutterBinaryMessenger>*)messenger {
18 binaryMessenger:messenger
22 binaryMessenger:(NSObject<FlutterBinaryMessenger>*)messenger
25 binaryMessenger:messenger
30 binaryMessenger:(NSObject<FlutterBinaryMessenger>*)messenger
35 _messenger = [messenger retain];
159 binaryMessenger:(NSObject<FlutterBinaryMessenger>*)messenger {
161 return [FlutterMethodChannel methodChannelWithName:name binaryMessenger:messenger codec:codec];
165 binaryMessenger:(NSObject<FlutterBinaryMessenger>*)messenger
167 return [[[FlutterMethodChannel alloc] initWithName:name binaryMessenger:messenger
[all …]
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/framework/Source/
DFlutterBinaryMessengerRelayTest.mm29 id messenger = OCMProtocolMock(@protocol(FlutterBinaryMessenger));
31 [[FlutterBinaryMessengerRelay alloc] initWithParent:messenger];
33 XCTAssertEqual(messenger, relay.parent);
37 id messenger = OCMProtocolMock(@protocol(FlutterBinaryMessenger));
39 [[FlutterBinaryMessengerRelay alloc] initWithParent:messenger];
44 OCMVerify([messenger sendOnChannel:channel message:message binaryReply:nil]);
48 id messenger = OCMStrictProtocolMock(@protocol(FlutterBinaryMessenger));
50 [[FlutterBinaryMessengerRelay alloc] initWithParent:messenger];
/third_party/typescript/tests/baselines/reference/
DfatarrowfunctionsInFunctions.symbols8 var messenger = {
9 >messenger : Symbol(messenger, Decl(fatarrowfunctionsInFunctions.ts, 2, 3))
29 messenger.start();
30 >messenger.start : Symbol(start, Decl(fatarrowfunctionsInFunctions.ts, 3, 27))
31 >messenger : Symbol(messenger, Decl(fatarrowfunctionsInFunctions.ts, 2, 3))
DfatarrowfunctionsInFunctions.types8 var messenger = {
9 >messenger : { message: string; start: () => void; }
41 messenger.start();
42 >messenger.start() : void
43 >messenger.start : () => void
44 >messenger : { message: string; start: () => void; }
DfatarrowfunctionsInFunctions.js4 var messenger = {
13 messenger.start();
17 var messenger = { variable
26 messenger.start();
DthisBinding2.symbols41 var messenger = {
42 >messenger : Symbol(messenger, Decl(thisBinding2.ts, 14, 3))
54 >this : Symbol(messenger, Decl(thisBinding2.ts, 14, 15))
DthisBinding2.js16 var messenger = {
39 var messenger = { variable
/third_party/flutter/flutter/dev/integration_tests/android_views/android/app/src/main/java/io/flutter/integration/androidviews/
DSimpleViewFactory.java15 final BinaryMessenger messenger; field in SimpleViewFactory
17 public SimpleViewFactory(BinaryMessenger messenger) { in SimpleViewFactory() argument
19 this.messenger = messenger; in SimpleViewFactory()
24 MethodChannel methodChannel = new MethodChannel(messenger, "simple_view/" + id); in create()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkInstance.cpp21 …reateInfo *pCreateInfo, void *mem, VkPhysicalDevice physicalDevice, DebugUtilsMessenger *messenger) in Instance() argument
23 , messenger(messenger) in Instance()
75 if(messenger) in submitDebugUtilsMessage()
77 messenger->submitMessage(messageSeverity, messageTypes, pCallbackData); in submitDebugUtilsMessage()
DVkInstance.hpp29 …eateInfo *pCreateInfo, void *mem, VkPhysicalDevice physicalDevice, DebugUtilsMessenger *messenger);
42 DebugUtilsMessenger *messenger = nullptr; member in vk::Instance
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/dart/
DDartExecutor.java49 private final DartMessenger messenger; field in DartExecutor
70 this.messenger = new DartMessenger(flutterJNI); in DartExecutor()
71 messenger.setMessageHandler("flutter/isolate", isolateChannelMessageHandler); in DartExecutor()
87 flutterJNI.setPlatformMessageHandler(messenger); in onAttachedToJNI()
172 messenger.send(channel, message, null); in send()
187 messenger.send(channel, message, callback); in send()
201 messenger.setMessageHandler(channel, handler); in setMessageHandler()
220 return messenger.getPendingChannelResponseCount(); in getPendingChannelResponseCount()
/third_party/flutter/engine/flutter/shell/platform/common/cpp/public/
Dflutter_messenger.h55 FlutterDesktopMessengerRef messenger,
61 FlutterDesktopMessengerRef messenger,
72 FlutterDesktopMessengerRef messenger,
85 FlutterDesktopMessengerRef messenger,
/third_party/flutter/engine/flutter/shell/platform/common/cpp/client_wrapper/testing/
Dstub_flutter_api.cc55 bool FlutterDesktopMessengerSend(FlutterDesktopMessengerRef messenger, in FlutterDesktopMessengerSend() argument
67 bool FlutterDesktopMessengerSendWithReply(FlutterDesktopMessengerRef messenger, in FlutterDesktopMessengerSendWithReply() argument
82 FlutterDesktopMessengerRef messenger, in FlutterDesktopMessengerSendResponse() argument
91 void FlutterDesktopMessengerSetCallback(FlutterDesktopMessengerRef messenger, in FlutterDesktopMessengerSetCallback() argument
/third_party/flutter/engine/flutter/shell/platform/common/cpp/client_wrapper/
Dplugin_registrar_unittests.cc51 BinaryMessenger* messenger = registrar.messenger(); in TEST() local
54 messenger->Send("some_channel", &message[0], message.size()); in TEST()
Dplugin_registrar.cc23 void ForwardToHandler(FlutterDesktopMessengerRef messenger, in ForwardToHandler() argument
27 BinaryReply reply_handler = [messenger, response_handle]( in ForwardToHandler()
36 FlutterDesktopMessengerSendResponse(messenger, response_handle, reply, in ForwardToHandler()
/third_party/typescript/tests/cases/compiler/
DfatarrowfunctionsInFunctions.ts3 var messenger = {
12 messenger.start();

12345