5#if defined(DART_IO_SECURE_SOCKET_DISABLED)
24#define CASE_REQUEST(type, method, id) \
25 case IOService::k##type##method##Request: \
26 response = type::method##Request(data); \
34 request[0]->IsInt32() && request[1]->IsSendPort() &&
35 request[2]->IsInt32() && request[3]->IsArray()) {
36 CObjectInt32 message_id(request[0]);
37 CObjectSendPort reply_port(request[1]);
38 CObjectInt32 request_id(request[2]);
39 CObjectArray
data(request[3]);
40 reply_port_id = reply_port.Value();
41 switch (request_id.Value()) {
49 result.SetAt(0, request[0]);
#define FUNCTION_NAME(name)
static CObject * IllegalArgumentError()
static Dart_CObject * NewArray(intptr_t length)
static Dart_Port GetServicePort()
struct _Dart_Handle * Dart_Handle
struct _Dart_NativeArguments * Dart_NativeArguments
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
#define CASE_REQUEST(type, method, id)
#define IO_SERVICE_REQUEST_LIST(V)
void FUNCTION_NAME() IOService_NewServicePort(Dart_NativeArguments args)
void IOServiceCallback(Dart_Port dest_port_id, Dart_CObject *message)
DART_EXPORT void Dart_SetReturnValue(Dart_NativeArguments args, Dart_Handle retval)
DART_EXPORT Dart_Handle Dart_NewSendPort(Dart_Port port_id)
DART_EXPORT Dart_Port Dart_NewNativePort(const char *name, Dart_NativeMessageHandler handler, bool handle_concurrently)
DART_EXPORT bool Dart_PostCObject(Dart_Port port_id, Dart_CObject *message)
DART_EXPORT Dart_Handle Dart_Null()
static int8_t data[kExtLength]