Searched refs:report (Results 1 - 25 of 44) sorted by relevance

12

/fuchsia/zircon/system/dev/test/ddk-test/
H A Dddk-test.c28 static void update_test_report(bool success, test_report_t* report) { argument
29 report->n_tests++;
31 report->n_success++;
33 report->n_failed++;
37 static zx_status_t ddk_test_func(void* cookie, test_report_t* report, const void* arg, size_t arglen) { argument
51 memset(report, 0, sizeof(*report));
52 update_test_report(unittest_run_one_test(test_case_ddk_metadata, TEST_ALL), report); local
53 update_test_report(unittest_run_one_test(test_case_ddk_usb_request, TEST_ALL), report); local
54 return report
[all...]
/fuchsia/zircon/system/ulib/ddktl/test/
H A Dddktl-test.cpp32 static void inline update_test_report(bool success, test_report_t* report) { argument
33 report->n_tests++;
35 report->n_success++;
37 report->n_failed++;
41 zx_status_t ddktl_test_func(void* cookie, test_report_t* report, const void* arg, size_t arglen) { argument
56 memset(report, 0, sizeof(*report));
57 update_test_report(unittest_run_one_test(test_case_ddktl_device, TEST_ALL), report); local
58 update_test_report(unittest_run_one_test(test_case_ddktl_ethernet_device, TEST_ALL), report); local
59 return report
[all...]
/fuchsia/zircon/system/utest/driver-tests/
H A Dmain.c22 static void do_one_test(int tfd, const char* drv_libname, zx_handle_t output, test_ioctl_test_report_t* report) { argument
27 report->n_tests = 1;
28 report->n_failed = 1;
47 report->n_tests = 1;
48 report->n_failed = 1;
57 report->n_tests = 1;
58 report->n_failed = 1;
66 report->n_tests = 1;
67 report->n_failed = 1;
73 rc = ioctl_test_run_tests(fd, NULL, 0, report);
[all...]
/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/
H A Dtest.h11 typedef zx_status_t (*test_func_t)(void* cookie, test_report_t* report, const void* arg, size_t arglen);
30 zx_status_t (*run_tests)(void* ctx, test_report_t* report, const void* arg, size_t arglen);
/fuchsia/zircon/kernel/include/arch/
H A Dexception.h34 // Sets |report| using architecture-specific information from |context|.
37 const arch_exception_context_t* context, zx_exception_report_t* report);
/fuchsia/zircon/system/ulib/async/include/lib/async/cpp/
H A Dexception.h76 const zx_port_packet_t* report)>;
84 zx_status_t status, const zx_port_packet_t* report);
95 // const zx_port_packet_t* report) { ... }
100 zx_status_t status, const zx_port_packet_t* report)>
111 zx_status_t status, const zx_port_packet_t* report) {
113 (self->instance_->*method)(dispatcher, self, status, report);
109 CallHandler(async_dispatcher_t* dispatcher, async_exception_t* exception, zx_status_t status, const zx_port_packet_t* report) argument
/fuchsia/zircon/system/core/pwrbtn-monitor/
H A Dpwrbtn-monitor.cpp36 // Search the report descriptor for a System Power Down input field within a
56 const hid::ReportDescriptor& report = desc->report[rpt_idx]; local
57 for (size_t i = 0; i < report.count; ++i) {
58 const hid::ReportField& field = report.first_field[i];
82 const hid::ReportDescriptor& report = desc->report[rpt_idx]; local
83 if (report.report_id != *report_id) {
87 for (size_t i = 0; i < report.count; ++i) {
88 const hid::ReportField& field = report
[all...]
/fuchsia/zircon/kernel/object/
H A Dexcp_port.cpp231 port_ == nullptr ? "Not sending exception report on unbound port"
232 : "Sending exception report",
258 void ExceptionPort::BuildReport(zx_exception_report_t* report, uint32_t type) { argument
259 memset(report, 0, sizeof(*report));
260 report->header.size = sizeof(*report);
261 report->header.type = type;
264 void ExceptionPort::BuildArchReport(zx_exception_report_t* report, uint32_t type, argument
266 BuildReport(report, typ
279 zx_exception_report_t report; local
304 zx_exception_report_t report; local
332 zx_exception_report_t report; local
[all...]
H A Dexception.cpp121 const zx_exception_report_t* report,
125 auto status = thread->ExceptionHandlerExchange(eport, report, arch_context, estatus);
152 zx_exception_report_t report; local
153 ExceptionPort::BuildArchReport(&report, exception_type, context);
161 auto status = try_exception_handler(eport, thread, &report, context, &estatus);
119 try_exception_handler(fbl::RefPtr<ExceptionPort> eport, ThreadDispatcher* thread, const zx_exception_report_t* report, const arch_exception_context_t* arch_context, ThreadDispatcher::ExceptionStatus* estatus) argument
/fuchsia/zircon/system/core/virtcon/
H A Dkeyboard.h27 bool vc_input_process(vc_input_t* vi, uint8_t report[8]);
/fuchsia/zircon/system/ulib/async/include/lib/async/
H A Dexception.h20 const zx_port_packet_t* report);
/fuchsia/zircon/system/uapp/aslr-analysis/
H A Dmain.cpp182 ReportInfo* report = &(*reports)[run]; local
184 uint32_t len = sizeof(*report);
185 status = zx_channel_read(handles[0], 0, report, NULL, len, 0, &len, NULL);
186 if (status != 0 || len != sizeof(*report)) {
187 printf("Failed to read report: status %d, len %u\n", status, len);
201 ReportInfo report; local
205 report.exec_addr = (uintptr_t)&main;
206 report.first_stack = (uintptr_t)&report_pipe;
207 report.first_heap_alloc = (uintptr_t)malloc(1);
208 report
[all...]
/fuchsia/zircon/system/uapp/hidsensor/
H A Dmain.c22 uint8_t* report = buf; local
24 printf("bad report size: %zd < %d\n", len, 1);
29 uint8_t report_id = report[0];
36 printf(" %02x", report[i]);
60 printf("failed to get report descriptor length for %s: %zd\n", devname, ret);
72 printf("failed to get report descriptor for %s: %zd\n", devname, ret);
82 printf("failed to get max report size: %zd\n", ret);
/fuchsia/zircon/system/ulib/async/
H A Dexception.cpp61 const zx_port_packet_t* report) {
63 self->handler_(dispatcher, self, status, report);
58 CallHandler(async_dispatcher_t* dispatcher, async_exception_t* exception, zx_status_t status, const zx_port_packet_t* report) argument
/fuchsia/zircon/system/ulib/ddktl/include/ddktl/protocol/
H A Dtest.h30 // static zx_status_t my_test_func(void* cookie, test_report_t* report, const void* arg,
33 // // run tests and set up report
92 zx_status_t RunTests(test_report_t* report, const void* arg, size_t arglen) { argument
93 return ops_->run_tests(ctx_, report, arg, arglen);
/fuchsia/zircon/system/dev/ethernet/ethertap/
H A Dethertap.cpp173 ethertap_setparam_report_t report; member in struct:eth::__anon341
177 send_buf.report.param = param;
178 send_buf.report.value = value;
179 send_buf.report.data_length = 0;
187 for (i = 0; i < static_cast<uint32_t>(value) && i < sizeof(send_buf.report.data); i++) {
188 send_buf.report.data[i] = static_cast<uint8_t*>(data)[i * ETH_MAC_SIZE + 5];
190 send_buf.report.data_length = i;
191 qsort(send_buf.report.data, send_buf.report.data_length, 1,
206 // don't report failur
[all...]
/fuchsia/zircon/system/utest/hid-parser/
H A Dhid-parser-test.cpp15 // See hid-report-data.cpp for the definitions of the test data.
95 // A single report with id zero, this means no report id.
97 EXPECT_EQ(dev->report[0].report_id, 0);
99 // The only report has 6 fields.
100 EXPECT_EQ(dev->report[0].count, 6);
101 const auto fields = dev->report[0].first_field;
103 // All fields are input type with report id = 0.
104 for (uint8_t ix = 0; ix != dev->report[0].count; ++ix) {
168 EXPECT_EQ(first_input, dev->report[
[all...]
H A Drules.mk13 $(LOCAL_DIR)/hid-report-data.cpp
/fuchsia/zircon/system/dev/input/pc-ps2/
H A Di8042.c39 } report; member in struct:i8042_device
53 if (dev->report.kbd.modifier & 1 << bit) {
56 dev->report.kbd.modifier |= 1 << bit;
59 dev->report.kbd.modifier &= ~(1 << bit);
69 if (dev->report.kbd.usage[i] == usage) return KEY_EXISTS;
70 if (dev->report.kbd.usage[i] == 0) {
71 dev->report.kbd.usage[i] = usage;
83 if (dev->report.kbd.usage[i] == usage) {
90 dev->report.kbd.usage[i] = dev->report
453 const boot_kbd_report_t* report = rollover ? &report_err_rollover : &dev->report.kbd; local
[all...]
/fuchsia/zircon/system/utest/x86-umip/
H A Dmain.cpp24 NOOP, // Used to ensure harness does not always report failure
25 MOV_NONCANON, // Used to ensure harness does not always report success
113 zx_exception_report_t report; local
114 ASSERT_EQ(thread.get_info(ZX_INFO_THREAD_EXCEPTION_REPORT, &report, sizeof(report),
119 ASSERT_EQ(report.header.type, ZX_EXCP_GENERAL);
/fuchsia/zircon/system/uapp/hid/
H A Drules.mk14 $(LOCAL_DIR)/report.cpp
/fuchsia/zircon/system/dev/bus/acpi/
H A Ddev-pwrbtn.cpp154 uint8_t report = 1; local
155 proxy_.IoQueue(&report, sizeof(report));
221 uint8_t report = pressed_; local
222 static_assert(sizeof(report) == kHidReportLen, "");
223 memcpy(data, &report, kHidReportLen);
H A Ddev-tbmc.cpp148 zxlogf(TRACE, "acpi-tbmc: queueing report\n");
149 uint8_t report = tablet_mode_; local
150 proxy_.IoQueue(&report, sizeof(report));
217 uint8_t report = tablet_mode_; local
218 static_assert(sizeof(report) == kHidReportLen, "");
219 memcpy(data, &report, kHidReportLen);
/fuchsia/zircon/kernel/object/include/object/
H A Dexcp_port.h63 static void BuildArchReport(zx_exception_report_t* report, uint32_t type,
85 static void BuildReport(zx_exception_report_t* report, uint32_t type);
/fuchsia/zircon/system/core/crashanalyzer/
H A Dcrashanalyzer.cpp229 zx_exception_report_t report; local
231 &report, sizeof(report), NULL, NULL);
233 printf("failed to get exception report for [%" PRIu64 ".%" PRIu64 "] : error %d\n", pid, tid, status);
239 uint32_t type = report.header.type;
245 auto context = report.context;
297 printf("<== %s, PC at 0x%" PRIxPTR "\n", excp_type_to_str(report.header.type), pc);
305 if (ZX_EXCP_FATAL_PAGE_FAULT == report.header.type) {

Completed in 193 milliseconds

12