/fuchsia/zircon/system/core/virtcon/ |
H A D | keyboard.cpp | 232 ssize_t rc = ioctl_input_get_protocol(fd, &proto); local 233 if ((rc < 0) || (proto != INPUT_PROTO_KBD)) {
|
/fuchsia/zircon/system/utest/core/c11-mutex/ |
H A D | mutex.c | 220 int rc = mtx_timedlock(&args.mutex, &then); local 221 ASSERT_EQ(rc, thrd_timedout, "wait should time out");
|
/fuchsia/zircon/system/ulib/test-utils/ |
H A D | test-utils.c | 66 unittest_printf_critical("\nFATAL: %s failed, rc %d (%s)\n", what, status, reason); 405 int rc = tu_process_wait_exit(child); local 407 unittest_printf("%s: child returned %d\n", __func__, rc); 408 return rc;
|
/fuchsia/zircon/system/utest/zxcrypt/ |
H A D | test-device.cpp | 121 if ((rc = crypto::digest::GetDigestLen(digest, &digest_len)) != ZX_OK || 122 (rc = key_.Randomize(digest_len)) != ZX_OK) { 123 return rc;
|
/fuchsia/zircon/kernel/vm/ |
H A D | vm.cpp | 197 zx_status_t rc = aspace->arch_aspace().Query((vaddr_t)ptr, &pa, nullptr); local 198 if (rc) {
|
/fuchsia/zircon/system/dev/thermal/aml-thermal-s905d2g/ |
H A D | aml-tsensor.cpp | 229 int rc = thrd_create_with_name(&irq_thread_, local 233 if (rc != thrd_success) {
|
/fuchsia/zircon/system/utest/events/ |
H A D | events.c | 156 int rc = (int)zx_handle_close(handle); local 158 return rc;
|
/fuchsia/zircon/third_party/ulib/ngunwind/src/ |
H A D | fuchsia.c | 47 int rc = -1; local 49 return rc;
|
/fuchsia/zircon/kernel/lib/console/ |
H A D | console.cpp | 455 int rc = env_get(varname, &buffer[outpos], buflen - outpos); local 458 int rc = -1; local 460 if (rc < 0) {
|
/fuchsia/zircon/system/dev/block/sdmmc/ |
H A D | sdmmc.c | 587 int rc = thrd_create_with_name(&dev->worker_thread, sdmmc_worker_thread, dev, "sdmmc-worker"); local 588 if (rc != thrd_success) { 589 st = thrd_status_to_zx_status(rc);
|
/fuchsia/zircon/system/dev/nand/nand/ |
H A D | nand.c | 481 int rc = thrd_create_with_name(&dev->worker_thread, nand_worker_thread, dev, "nand-worker"); local 482 if (rc != thrd_success) { 483 st = thrd_status_to_zx_status(rc);
|
/fuchsia/zircon/system/dev/i2c/imx-i2c/ |
H A D | imx-i2c.cpp | 274 int rc = thrd_create_with_name(&thread_, local 280 if (rc != thrd_success) {
|
/fuchsia/zircon/system/dev/light/ams-light/ |
H A D | tcs3400.cpp | 381 int rc = thrd_create_with_name(&thread_, local 387 if (rc != thrd_success) {
|
/fuchsia/zircon/system/uapp/disk-pave/ |
H A D | device-partitioner.cpp | 279 ssize_t rc = ioctl_block_get_info(fd.get(), &block_info); local 280 if (rc < 0) { 304 if ((rc = ioctl_block_rr_part(fd.get())) != ZX_OK) { 310 if ((rc = ioctl_device_bind(fd.get(), kGptDriverName, strlen(kGptDriverName))) != ZX_OK) {
|
/fuchsia/zircon/system/utest/fs-management/ |
H A D | fs-management.cpp | 624 int rc = statfs("", &stats); local 626 ASSERT_EQ(rc, -1); 629 rc = statfs(mount_path, &stats); 630 ASSERT_EQ(rc, 0);
|
/fuchsia/zircon/kernel/object/ |
H A D | diagnostics.cpp | 733 int rc = 0; local 823 return rc;
|
/fuchsia/zircon/system/utest/chromeos-disk-setup/ |
H A D | chromeos-disk-setup.cpp | 89 zx_status_t rc = gpt_device_init(fd_.get(), BlockSize(), BlockCount(), local 91 ASSERT_GE(rc, 0, "Coult not initialize gpt");
|
/fuchsia/zircon/system/dev/nand/aml-rawnand/ |
H A D | aml-rawnand.c | 1094 int rc = thrd_create_with_name(&raw_nand->irq_thread, local 1097 if (rc != thrd_success) { 1099 status = thrd_status_to_zx_status(rc);
|
/fuchsia/zircon/system/dev/block/aml-sd-emmc/ |
H A D | aml-sd-emmc.c | 1016 int rc = thrd_create_with_name(&dev->irq_thread, aml_sd_emmc_irq_thread, dev, local 1018 if (rc != thrd_success) { 1021 status = thrd_status_to_zx_status(rc);
|
/fuchsia/zircon/system/dev/input/pc-ps2/ |
H A D | i8042.c | 834 int rc = thrd_create_with_name(&t, i8042_init_thread, parent, "i8042-init"); local 835 return rc;
|
/fuchsia/zircon/system/ulib/blktest/ |
H A D | blktest.cpp | 43 ssize_t rc = ioctl_block_get_info(fd, &info); local 44 ASSERT_GE(rc, 0, "Could not get block size");
|
/fuchsia/zircon/system/utest/ramdisk/ |
H A D | ramdisk.cpp | 44 int rc = guid ? create_ramdisk_with_guid(blk_size, blk_count, guid, guid_len, ramdisk_path) local 46 if (rc) { 1446 zx_status_t rc = sync_completion_wait_deadline(&wake->start, wake->deadline); local 1448 if (rc != ZX_OK) { 1449 return rc;
|
/fuchsia/zircon/system/dev/block/fvm/ |
H A D | fvm.cpp | 106 int rc = thrd_create_with_name(&vpm->initialization_thread_, FvmLoadThread, vpm.get(), 108 if (rc < 0) {
|
/fuchsia/zircon/system/utest/blobfs/ |
H A D | blobfs.cpp | 2387 ssize_t rc = ioctl_block_get_info(fd.get(), &block_info); local 2389 if (rc < 0 || rc != sizeof(block_info)) {
|
/fuchsia/zircon/system/utest/fvm/ |
H A D | fvm.cpp | 2942 ssize_t rc = ioctl_block_get_info(fd, &block_info); local 2944 if (rc < 0 || rc != sizeof(block_info)) {
|