Searched refs:message (Results 26 - 50 of 76) sorted by relevance

1234

/fuchsia/zircon/system/utest/core/handle-wait/
H A Dhandle-wait.c30 enum message { enum
138 static bool send_msg(zx_handle_t handle, enum message msg) {
140 unittest_printf("sending message %d on handle %u\n", msg, handle);
143 ASSERT_GE(status, 0, "message write failed");
147 static bool recv_msg(zx_handle_t handle, enum message* msg) {
150 unittest_printf("waiting for message on handle %u\n", handle);
153 ASSERT_NE(result, (enum wait_result)WAIT_CLOSED, "peer closed while trying to read message");
168 "Error while reading message");
169 EXPECT_EQ(num_bytes, sizeof(data), "unexpected message size");
173 *msg = (enum message)dat
[all...]
/fuchsia/zircon/system/utest/core/echo/
H A Drules.mk15 $(LOCAL_DIR)/message.c \
/fuchsia/zircon/system/dev/tee/optee/
H A Doptee-client.h107 // once initial shared memory is set up for the command message.
127 zx_status_t HandleRpcCommandLoadTa(LoadTaRpcMessage* message);
128 zx_status_t HandleRpcCommandAllocateMemory(RpcMessage* message);
129 zx_status_t HandleRpcCommandFreeMemory(RpcMessage* message);
H A Drules.mk15 $(LOCAL_DIR)/optee-message.cpp \
H A Doptee-controller.h17 #include "optee-message.h"
50 uint32_t CallWithMessage(const Message& message, RpcHandler rpc_handler);
H A Doptee-controller.cpp300 uint32_t OpteeController::CallWithMessage(const Message& message, argument
309 static_cast<uint32_t>(message.paddr() >> 32),
310 static_cast<uint32_t>(message.paddr()));
/fuchsia/zircon/system/utest/debugger/
H A Dutils.h15 enum message { enum
57 extern void send_msg(zx_handle_t handle, enum message msg);
59 extern bool recv_msg(zx_handle_t handle, enum message* msg);
H A Dutils.cpp55 void send_msg(zx_handle_t handle, message msg) {
57 unittest_printf("sending message %d on handle %u\n", msg, handle);
63 bool recv_msg(zx_handle_t handle, message* msg) {
69 unittest_printf("waiting for message on handle %u\n", handle);
71 ASSERT_TRUE(tu_channel_wait_readable(handle), "peer closed while trying to read message");
74 ASSERT_EQ(num_bytes, sizeof(data), "unexpected message size");
76 *msg = static_cast<message>(data);
77 unittest_printf("received message %d\n", *msg);
313 enum message msg;
322 static bool recv_msg_handle(zx_handle_t channel, message expected_ms
[all...]
/fuchsia/zircon/system/ulib/async-loop/
H A Drules.mk9 # libasync-loop.a: the message loop library
38 # libasync-loop-cpp.a: the message loop library
/fuchsia/zircon/system/ulib/fidl/include/lib/fidl/cpp/
H A Dmessage_builder.h11 #include <lib/fidl/cpp/message.h>
17 // A builder for FIDL messages that owns the memory for the message.
20 // the message. If you wish to manage the memory yourself, you can use |Builder|
23 // Upon creation, the |MessageBuilder| creates a FIDL message header, which you
28 // for message of the given capacities.
39 // The memory that backs the message is freed by this destructor.
42 // The type of the message payload this object is building.
45 // The header for the message.
47 // The message header is allocated by the |MessageBuilder| itself.
52 // Encodes a message o
[all...]
/fuchsia/zircon/system/ulib/fidl/
H A Drules.mk20 $(LOCAL_DIR)/message.cpp \
H A Dmessage.cpp5 #include <lib/fidl/cpp/message.h>
/fuchsia/zircon/system/ulib/runtime/
H A Drules.mk14 $(LOCAL_DIR)/message.c \
/fuchsia/zircon/third_party/ulib/jemalloc/test/src/
H A Dtest.c125 p_test_fail(const char *prefix, const char *message) argument
127 malloc_cprintf(NULL, NULL, "%s%s\n", prefix, message);
/fuchsia/zircon/system/host/fidl/include/fidl/
H A Dparser.h55 std::string message("unexpected token ");
56 message += Token::Name(actual_kind);
57 message += ", was expecting ";
58 message += Token::Name(kind);
59 Fail(message);
103 decltype(nullptr) Fail(StringView message);
/fuchsia/zircon/system/core/crashanalyzer/
H A Dcrashanalyzer.cpp345 fidl::Message message = buffer->CreateEmptyMessage(); local
346 zx_status_t status = message.Read(channel, 0);
349 if (!message.has_header())
351 switch (message.ordinal()) {
354 zx_status_t status = message.Decode(&fuchsia_crash_AnalyzerAnalyzeRequestTable, &error_msg);
359 auto* request = message.GetBytesAs<fuchsia_crash_AnalyzerAnalyzeRequest>();
380 zx_status_t status = message.Decode(&fuchsia_crash_AnalyzerProcessRequestTable, &error_msg);
385 auto* request = message.GetBytesAs<fuchsia_crash_AnalyzerProcessRequest>();
391 fprintf(stderr, "crashanalyzer: error: Unknown message ordinal: %d\n", message
[all...]
/fuchsia/zircon/system/host/fidl/compiler/
H A Dmain.cpp84 [[noreturn]] void FailWithUsage(const char* message, ...) { argument
86 va_start(args, message);
87 vfprintf(stderr, message, args);
93 [[noreturn]] void Fail(const char* message, ...) { argument
95 va_start(args, message);
96 vfprintf(stderr, message, args);
/fuchsia/zircon/system/dev/audio/intel-hda/dsp/
H A Dintel-dsp-ipc.cpp189 void IntelDspIpc::ProcessIpc(const IpcMessage& message) { argument
190 if (message.is_notif()) {
191 ProcessIpcNotification(message);
192 } else if (message.is_reply()) {
193 ProcessIpcReply(message);
221 LOG(INFO, "got spurious reply message\n");
H A Dintel-audio-dsp.h44 void SendIpcMessage(const IpcMessage& message) { argument
46 REG_WR(&regs()->hipcie, message.extension);
47 REG_WR(&regs()->hipci, message.primary | ADSP_REG_HIPCI_BUSY);
H A Dintel-dsp-ipc.h75 void ProcessIpc(const IpcMessage& message);
81 // Send an IPC message and wait for response
/fuchsia/zircon/system/host/fidl/lib/
H A Dflat_ast.cpp434 bool Library::Fail(StringView message) { argument
435 error_reporter_->ReportError(message);
439 bool Library::Fail(const SourceLocation& location, StringView message) { argument
440 error_reporter_->ReportError(location, message);
466 std::string message("Unknown dependent library ");
467 message += NameLibrary(library_name);
468 message += ". Did you require it with `using`?";
470 return Fail(location, message);
507 std::string message = "Name collision: "; local
508 message
1665 std::string message = "Undefined reference \\""; local
[all...]
/fuchsia/zircon/system/ulib/logger/include/lib/logger/
H A Dlogger.h43 zx_status_t Connect(fidl::Message message, async_dispatcher_t* dispatcher);
/fuchsia/zircon/system/core/devmgr/
H A Ddevice-internal.h70 return ops->message(ctx, msg, txn);
/fuchsia/zircon/system/uapp/channel-perf/
H A Dmain.cpp22 void argument_error(const char* argv0, const char* message) { argument
23 fprintf(stderr, "%s: error: %s\nRun with -h for help.\n", argv0, message);
129 " -S N set message size to N bytes (default: 10)\n"
130 " -H N set message handle count to N handles (default: 0)\n"
131 " -Q N set message pre-queue count to N messages (default: 0)\n";
/fuchsia/zircon/system/ulib/ddk/include/ddk/
H A Ddevice.h202 // When the "shadow" of a busdev sends an rpc message, the
204 // should attempt to read and respond to a single message on
215 //@ ## message
216 // Process a FIDL rpc message. This is used to handle class or
220 // The entire message becomes the responsibility of the driver,
223 // The txn provided to respond to the message is only valid for
224 // the duration of the message() call. It must not be cached
226 zx_status_t (*message)(void* ctx, fidl_msg_t* msg, fidl_txn_t* txn); member in struct:zx_protocol_device

Completed in 110 milliseconds

1234