/fuchsia/zircon/kernel/syscalls/ |
H A D | ddk_pci.cpp | 579 zx_status_t result = pci_device->MapInterrupt(which_irq, &interrupt_dispatcher, &rights); local 580 if (result != ZX_OK) 581 return result; 605 zx_status_t result = pci_device->QueryIrqModeCaps((zx_pci_irq_mode_t)mode, &max_irqs); local 606 if (result != ZX_OK) 607 return result; 613 return result;
|
/fuchsia/zircon/system/dev/usb/usb-test/usb-tester/ |
H A D | usb-tester.c | 327 usb_tester_result_t* result) { 380 result->num_passed = num_passed; 381 result->num_packets = num_reqs; 412 usb_tester_result_t* result = out_buf; local 413 zx_status_t status = usb_tester_isoch_loopback(usb_tester, in_buf, result); 417 *out_actual = sizeof(*result); 325 usb_tester_isoch_loopback(usb_tester_t* usb_tester, const usb_tester_params_t* params, usb_tester_result_t* result) argument
|
/fuchsia/zircon/kernel/dev/pcie/include/dev/ |
H A D | pcie_device.h | 233 __UNUSED zx_status_t result; local 235 result = SetIrqMode(PCIE_IRQ_MODE_DISABLED, 0); 237 DEBUG_ASSERT(result == ZX_OK);
|
/fuchsia/zircon/system/utest/memfs/ |
H A D | memfs-tests.cpp | 139 // 3. Overwriting the file should succeed because it does not result in extra allocations. 263 int result; local 264 ASSERT_EQ(thrd_join(worker, &result), thrd_success); 265 ASSERT_EQ(result, 0);
|
/fuchsia/zircon/kernel/object/ |
H A D | mbuf_tests.cpp | 83 size_t result = chain.Read(read_buf_out, kTotalLen, false); local 84 ASSERT_EQ(kTotalLen, result, ""); 89 // Verify result. 257 size_t result = chain.Read(mem_out, i, true); local 258 ASSERT_EQ(i, result, "");
|
/fuchsia/zircon/system/dev/audio/intel-hda/codecs/qemu/ |
H A D | qemu-stream.cpp | 111 out_resp->result = ZX_OK;
|
/fuchsia/zircon/system/dev/audio/intel-hda/dsp/ |
H A D | intel-dsp-stream.cpp | 76 resp.result = ZX_OK; 90 // Something went fatally wrong when trying to send the result back to the 209 resp.result = st; 273 resp.result = st; 395 out_resp->result = ZX_OK;
|
/fuchsia/zircon/system/dev/usb/usb-composite/ |
H A D | usb-composite.c | 202 zx_status_t result = ZX_OK; local 235 result = status; 267 result = status; 290 return result;
|
H A D | usb-interface.c | 292 usb_interface_descriptor_t* result = NULL; local 300 result = test_intf; 306 if (!result) { 311 size_t length = (void*)end - (void*)result; 318 memcpy(descriptors, result, length);
|
/fuchsia/zircon/system/host/fidl/lib/ |
H A D | names.cpp | 31 std::string result; local 35 result += separator; 38 result += part; 40 return result;
|
/fuchsia/zircon/system/utest/debugger/ |
H A D | debugger.cpp | 420 // There should be at least 1+kNumExtraThreads threads in the result. 551 uint64_t result; member in struct:__anon1329::suspended_reg_access_arg 568 uint64_t result = 0; local 586 mov %%" REG_ACCESS_TEST_REG_NAME ", %[result]" 587 : [result] "=r"(result), [pc] "=&r"(pc), [sp] "=&r"(sp) 601 mov %[result], " REG_ACCESS_TEST_REG_NAME 602 : [result] "=r"(result), [pc] "=&r"(pc), [sp] "=&r"(sp) 607 arg->result [all...] |
/fuchsia/zircon/system/host/minfs/ |
H A D | main.cpp | 51 // Checks if the given |path| is a directory, and return the answer in |*result|. 52 zx_status_t IsDirectory(const char* path, bool* result) { argument 72 *result = true; 74 *result = false; 119 // Returns a positive result if creation was successful or the specified directory already exists. 526 int result = host_path(src) ? stat(src, &stats) : emu_stat(src, &stats); local 527 if (result < 0) {
|
/fuchsia/zircon/third_party/ulib/jemalloc/src/ |
H A D | jemalloc.c | 700 * deadlocks may result. 736 long result; local 741 result = si.dwNumberOfProcessors; 754 result = CPU_COUNT(&set); 757 result = sysconf(_SC_NPROCESSORS_ONLN); 759 return ((result == -1) ? 1 : (unsigned)result); 1372 * Whether or not to modify the 'result' argument to malloc in case of 1422 void **result; member in struct:dynamic_opts_s 1433 dynamic_opts->result [all...] |
/fuchsia/zircon/third_party/ulib/musl/ldso/ |
H A D | dynlink.c | 2243 void** result) { 2255 *result = __tls_get_addr((size_t[]){p->tls_id, sym->st_value}); 2259 *result = laddr(p, sym->st_value); 2265 result)) 2292 void* result; local 2293 if (find_sym_for_dlsym(p, s, &gnu_hash, &sysv_hash, &result)) 2294 return result; 2378 zx_handle_t* result) { 2396 if (result != NULL) { 2399 *result 2239 find_sym_for_dlsym(struct dso* p, const char* name, uint32_t* name_gnu_hash, uint32_t* name_sysv_hash, void** result) argument 2375 loader_svc_rpc(uint32_t ordinal, const void* data, size_t len, zx_handle_t request_handle, zx_handle_t* result) argument 2469 get_library_vmo(const char* name, zx_handle_t* result) argument [all...] |
/fuchsia/zircon/system/dev/bluetooth/bt-transport-usb/ |
H A D | bt-transport-usb.c | 420 zx_status_t result = ZX_OK; local 425 result = ZX_ERR_ALREADY_BOUND; 433 result = ZX_ERR_INTERNAL; 451 return result; 570 zx_status_t result = usb_desc_iter_init(&usb, &iter); local 571 if (result < 0) { 573 return result;
|
/fuchsia/zircon/system/utest/zxcrypt/ |
H A D | test-device.cpp | 47 // Takes a given |result|, e.g. from an ioctl, and translates into a zx_status_t. 48 zx_status_t ToStatus(ssize_t result) { argument 49 return result < 0 ? static_cast<zx_status_t>(result) : ZX_OK;
|
/fuchsia/zircon/third_party/uapp/dash/src/bltin/ |
H A D | zircon.c | 314 int result = mv_or_cp_to_dir(is_mv, argv[next_arg], dest_name, local 316 if (result != 0) { 317 return result;
|
/fuchsia/zircon/third_party/ulib/musl/third_party/tre/ |
H A D | regcomp.c | 1560 tre_ast_node_t** result = copy; local 1574 result = tre_stack_pop_voidptr(stack); 1599 *result = tre_ast_new_literal(mem, min, max, pos); 1600 if (*result == NULL) 1603 tre_literal_t* p = (*result)->obj; 1615 *result = tre_ast_new_union(mem, uni->left, uni->right); 1616 if (*result == NULL) { 1620 tmp = (*result)->obj; 1621 result = &tmp->left; 1633 *result [all...] |
/fuchsia/zircon/kernel/arch/x86/ |
H A D | ioapic.cpp | 229 uint64_t result = 0; local 230 result |= apic_io_read_reg(io_apic, reg_id); 231 result |= ((uint64_t)apic_io_read_reg(io_apic, (uint8_t)(reg_id + 1))) << 32; 232 return result;
|
/fuchsia/zircon/system/dev/bluetooth/bt-transport-uart/ |
H A D | bt-transport-uart.c | 394 zx_status_t result = ZX_OK; local 399 result = ZX_ERR_ALREADY_BOUND; 407 result = ZX_ERR_INTERNAL; 425 return result;
|
/fuchsia/zircon/system/host/bootserver/ |
H A D | bootserver.c | 157 int result; local 163 while ((result = tftp_xfer(addr, local_name, remote_name)) == -EAGAIN) { 174 result = netboot_xfer(addr, local_name, remote_name); 182 return result;
|
/fuchsia/zircon/system/utest/trace/ |
H A D | engine_tests.cpp | 27 int result = thrd_create(&thread, RunClosure, local 29 ZX_ASSERT(result == thrd_success); 31 result = thrd_join(thread, nullptr); 32 ZX_ASSERT(result == thrd_success);
|
/fuchsia/zircon/kernel/vm/ |
H A D | vm_unittest.cpp | 138 auto result = test_region((uintptr_t)ptr, ptr, len); local 139 EXPECT_TRUE(result, "testing region for corruption"); 686 bool result = test_region((uintptr_t)ptr, ptr, alloc_size); local 687 EXPECT_TRUE(result, "testing region for corruption"); 723 bool result = test_region((uintptr_t)ptr, ptr2, alloc_size); local 724 EXPECT_TRUE(result, "testing region for corruption"); 807 bool result = test_region(99, ptr, alloc_size); local 808 EXPECT_TRUE(result, "writing to object");
|
/fuchsia/zircon/system/ulib/zx/include/lib/zx/ |
H A D | time.h | 221 static zx_status_t get(basic_time<kClockId>* result) { argument 222 return zx_clock_get_new(kClockId, result->get_address());
|
/fuchsia/zircon/system/utest/fidl-simple/ |
H A D | ldsvc_tests.c | 211 int result = 0; local 212 rv = thrd_join(thread, &result);
|