Home
last modified time | relevance | path

Searched refs:debuglog (Results 1 – 12 of 12) sorted by relevance

/system/ulib/zxio/
A Ddebuglog.cpp22 zx_handle_t handle = debuglog->handle; in zxio_debuglog_close()
23 debuglog->handle = ZX_HANDLE_INVALID; in zxio_debuglog_close()
25 if (debuglog->buffer != nullptr) { in zxio_debuglog_close()
26 free(debuglog->buffer); in zxio_debuglog_close()
27 debuglog->buffer = nullptr; in zxio_debuglog_close()
36 if (debuglog->buffer == nullptr) { in zxio_debuglog_write()
38 calloc(1, sizeof(*debuglog->buffer))); in zxio_debuglog_write()
39 if (debuglog->buffer == nullptr) { in zxio_debuglog_write()
80 zxio_init(&debuglog->io, &zxio_debuglog_ops); in zxio_debuglog_init()
81 debuglog->handle = handle; in zxio_debuglog_init()
[all …]
A Drules.mk14 $(LOCAL_DIR)/debuglog.cpp \
/system/ulib/zx/include/lib/zx/
A Ddebuglog.h14 class debuglog : public object<debuglog> {
18 constexpr debuglog() = default;
20 explicit debuglog(zx_handle_t value) : object(value) {} in debuglog() function
22 explicit debuglog(handle&& h) : object(h.release()) {} in debuglog() function
24 debuglog(debuglog&& other) : object(other.release()) {} in debuglog() function
26 debuglog& operator=(debuglog&& other) {
31 static zx_status_t create(const resource& resource, uint32_t options, debuglog* result);
42 using unowned_debuglog = unowned<debuglog>;
/system/ulib/zx/
A Ddebuglog.cpp11 zx_status_t debuglog::create(const resource& resource, uint32_t options, debuglog* result) { in create()
A Drules.mk16 $(LOCAL_DIR)/debuglog.cpp \
/system/utest/libzx/
A Dtraits.cpp225 zx::debuglog debuglog; in traits_test() local
226 ASSERT_EQ(zx::debuglog::create(zx::resource(), 0u, &debuglog), ZX_OK); in traits_test()
227 duplicating(debuglog); in traits_test()
228 user_signaling(debuglog); in traits_test()
229 waiting(debuglog); in traits_test()
230 peering(debuglog); in traits_test()
/system/core/bootsvc/
A Dmain.cpp30 zx::debuglog h; in SetupStdout()
31 if (zx::debuglog::create(zx::resource(), 0, &h) < 0) { in SetupStdout()
177 zx::debuglog debuglog; in LaunchNextProcess() local
178 status = zx::debuglog::create(zx::resource(), 0, &debuglog); in LaunchNextProcess()
182 launchpad_add_handle(lp, debuglog.release(), PA_HND(PA_FDIO_LOGGER, in LaunchNextProcess()
/system/core/netsvc/
A Drules.mk15 $(LOCAL_DIR)/debuglog.c \
/system/core/devmgr/devmgr/
A Dmain.cpp265 zx::debuglog debuglog; in pwrbtn_monitor_starter() local
266 if ((status = zx::debuglog::create(zx::resource(), 0, &debuglog) < 0)) { in pwrbtn_monitor_starter()
269 … launchpad_add_handle(lp, debuglog.release(), PA_HND(PA_FDIO_LOGGER, FDIO_FLAG_USE_FOR_STDIO | 0)); in pwrbtn_monitor_starter()
760 zx::debuglog logger; in svchost_start()
769 status = zx::debuglog::create(zx::resource(), 0, &logger); in svchost_start()
/system/host/banjo/examples/
A Dtypes.banjo243 handle<debuglog> debuglog_handle;
262 handle<debuglog>? nullable_debuglog_handle;
/system/host/fidl/examples/
A Dtypes.fidl243 handle<debuglog> debuglog_handle;
263 handle<debuglog>? nullable_debuglog_handle;
/system/core/devmgr/devhost/
A Ddevhost.cpp779 static zx::debuglog devhost_log_handle;
855 if (zx::debuglog::create(zx::resource(), 0, &devhost_log_handle) < 0) { in devhost_io_init()

Completed in 34 milliseconds