Searched refs:rc (Results 51 - 75 of 75) sorted by relevance

123

/fuchsia/zircon/system/core/virtcon/
H A Dkeyboard.cpp232 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 Dmutex.c220 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 Dtest-utils.c66 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 Dtest-device.cpp121 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 Dvm.cpp197 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 Daml-tsensor.cpp229 int rc = thrd_create_with_name(&irq_thread_, local
233 if (rc != thrd_success) {
/fuchsia/zircon/system/utest/events/
H A Devents.c156 int rc = (int)zx_handle_close(handle); local
158 return rc;
/fuchsia/zircon/third_party/ulib/ngunwind/src/
H A Dfuchsia.c47 int rc = -1; local
49 return rc;
/fuchsia/zircon/kernel/lib/console/
H A Dconsole.cpp455 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 Dsdmmc.c587 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 Dnand.c481 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 Dimx-i2c.cpp274 int rc = thrd_create_with_name(&thread_, local
280 if (rc != thrd_success) {
/fuchsia/zircon/system/dev/light/ams-light/
H A Dtcs3400.cpp381 int rc = thrd_create_with_name(&thread_, local
387 if (rc != thrd_success) {
/fuchsia/zircon/system/uapp/disk-pave/
H A Ddevice-partitioner.cpp279 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 Dfs-management.cpp624 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 Ddiagnostics.cpp733 int rc = 0; local
823 return rc;
/fuchsia/zircon/system/utest/chromeos-disk-setup/
H A Dchromeos-disk-setup.cpp89 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 Daml-rawnand.c1094 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 Daml-sd-emmc.c1016 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 Di8042.c834 int rc = thrd_create_with_name(&t, i8042_init_thread, parent, "i8042-init"); local
835 return rc;
/fuchsia/zircon/system/ulib/blktest/
H A Dblktest.cpp43 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 Dramdisk.cpp44 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 Dfvm.cpp106 int rc = thrd_create_with_name(&vpm->initialization_thread_, FvmLoadThread, vpm.get(),
108 if (rc < 0) {
/fuchsia/zircon/system/utest/blobfs/
H A Dblobfs.cpp2387 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 Dfvm.cpp2942 ssize_t rc = ioctl_block_get_info(fd, &block_info); local
2944 if (rc < 0 || rc != sizeof(block_info)) {

Completed in 281 milliseconds

123