Searched defs:rc (Results 26 - 50 of 699) sorted by relevance

1234567891011>>

/freebsd-head/contrib/nvi/ex/
H A Dex_source.c47 int rc; local
90 rc = ex_run_str(sp, np, wp, wlen - 1, 1, 0);
94 return (rc);
/freebsd-head/contrib/ntp/libparse/
H A Dclk_sel240x.c95 unsigned long rc; local
106 rc = PARSE_INP_SKIP;
109 if( (rc = parse_addchar(parseio, ch)) == PARSE_INP_SKIP )
111 rc = parse_end( parseio );
115 rc = parse_addchar( parseio, ch );
118 return rc;
130 unsigned long rc = CVT_NONE; local
140 rc = CVT_FAIL | CVT_BADFMT;
163 rc = CVT_OK;
167 return rc;
[all...]
/freebsd-head/lib/libc/tests/net/
H A Deui64_aton_test.c46 int rc; local
49 rc = memcmp(&e, eui, sizeof(e));
50 if (rc != 0) {
55 str, rc, buf);
/freebsd-head/sys/contrib/alpine-hal/
H A Dal_hal_udma_iofic.c123 int rc; local
125 rc = al_udma_main_iofic_config(&regs->gen.interrupt_regs.main_iofic, mode);
126 if (rc != 0)
127 return rc;
/freebsd-head/contrib/elftoolchain/libelftc/
H A Delftc_demangle.c61 demangle(const char *s, unsigned int style, unsigned int rc) argument
64 (void) rc; /* XXX */
79 unsigned int style, rc; local
83 rc = flags >> 16;
91 if ((rlt = demangle(mangledname, style, rc)) == NULL) {
/freebsd-head/tools/regression/sockets/unix_cmsg/
H A Dt_peercred.c44 int rc; local
56 rc = 0;
61 rc = -1;
66 rc = -1;
70 rc = -1;
74 rc = -1;
79 rc = -1;
84 rc = -1;
88 rc = -1;
89 return (rc);
[all...]
/freebsd-head/contrib/netbsd-tests/lib/libc/ttyio/
H A Dt_ttyio.c80 int m, s, rc; local
144 rc = 0;
147 rc = 1;
156 ATF_REQUIRE_EQ(rc, 0);
/freebsd-head/lib/libc/tests/gen/
H A Dglob2_test.c56 int fd, rc; local
80 rc = glob(pattern, 0, 0, &g);
81 if (rc == GLOB_NOSPACE || rc == GLOB_ABORTED) {
82 ATF_REQUIRE_MSG(rc == GLOB_NOMATCH,
84 "rc=%d errno=%d", rc, errno);
88 ATF_CHECK_MSG(rc == GLOB_NOMATCH,
/freebsd-head/sys/dev/cxgbe/cudbg/
H A Dcudbg_common.c41 int rc = 0; local
46 rc = CUDBG_STATUS_NO_SCRATCH_MEM;
56 return rc;
/freebsd-head/cddl/contrib/opensolaris/lib/libcmdutils/common/
H A Dnicenum.c46 int rc = 0; local
87 rc = snprintf(buf, buflen, "%llu", n);
93 rc = snprintf(buf, buflen, "%llu%c", n / divisor, u);
107 if ((rc = snprintf(buf, buflen, "%.*f%c", i,
113 if (rc + 1 > buflen || rc < 0)
/freebsd-head/sys/mips/cavium/
H A Docteon_ds1337.c71 rc = -1; \
77 int rc = 0; local
90 return rc;
160 int i, rc, retry; local
192 rc = 0;
195 rc |= cvmx_twsi_write8(CVMX_RTC_DS1337_ADDR, i, reg[i]);
203 return (rc ? -1 : 0);
/freebsd-head/contrib/ofed/opensm/opensm/
H A Dosm_event_plugin.c72 osm_epi_plugin_t *rc = NULL; local
80 rc = malloc(sizeof(*rc));
81 if (!rc)
84 rc->handle = dlopen(lib_name, RTLD_LAZY);
85 if (!rc->handle) {
92 rc->impl =
93 (osm_event_plugin_t *) dlsym(rc->handle,
95 if (!rc->impl) {
103 old_impl = (struct old_if *) rc
[all...]
/freebsd-head/sys/dev/cxgbe/iw_cxgbe/
H A Dev.c192 int c4iw_ev_handler(struct sge_iq *iq, const struct rsp_ctrl *rc) argument
195 u32 qid = be32_to_cpu(rc->pldbuflen_qid);
/freebsd-head/sys/dev/sfxge/common/
H A Dsiena_sram.c92 efx_rc_t rc; local
131 rc = EFAULT;
153 rc = EFAULT;
172 EFSYS_PROBE1(fail1, efx_rc_t, rc);
178 return (rc);
H A Dhunt_nic.c51 efx_rc_t rc; local
59 if ((rc = efx_mcdi_get_port_modes(enp, &port_modes,
71 if ((rc = efx_nic_calculate_pcie_link_bandwidth(8,
91 EFSYS_PROBE1(fail1, efx_rc_t, rc);
93 return (rc);
105 efx_rc_t rc; local
127 rc = efx_mcdi_set_workaround(enp, MC_CMD_WORKAROUND_BUG35388, B_TRUE,
129 if ((rc == 0) || (rc == EACCES))
131 else if ((rc
[all...]
/freebsd-head/sys/dev/ahci/
H A Dahci_mv_fdt.c95 int rc; local
115 rc = ahci_ctlr_reset(dev);
116 if (rc != 0) {
124 rc = ahci_attach(dev);
125 if (rc != 0) {
126 device_printf(dev, "Failed to initialize AHCI, with error %d\n", rc);
/freebsd-head/lib/libveriexec/
H A Dveriexec_check.c135 int rc = 0; local
140 rc = 1;
144 exit(rc);
/freebsd-head/contrib/dialog/
H A Dttysize.c71 int rc = -1; local
79 rc = 0;
86 return rc;
/freebsd-head/lib/libsecureboot/
H A Dpass_manifest.c57 int rc; local
66 rc = stat(path, &st);
67 if (rc != 0)
71 rc = EINVAL;
75 rc = is_verified(&st);
77 if (rc != VE_NOT_CHECKED && rc != VE_VERIFIED) {
78 rc = EPERM;
82 if (rc == VE_VERIFIED)
89 rc
127 int rc; local
[all...]
/freebsd-head/lib/libkvm/tests/
H A Dkvm_geterr_test.c106 ssize_t rc; local
119 rc = kvm_read(kd, nl[X_MAXCPUS].n_value, &mp_maxcpus,
122 ATF_REQUIRE_MSG(rc != -1, "kvm_read failed: %s", kvm_geterr(kd));
/freebsd-head/contrib/libpcap/rpcapd/
H A Dwin32-svc.c49 int rc; local
59 if ((rc = StartServiceCtrlDispatcher(ste)) == 0) {
65 return rc; // FALSE if this is not started as a service
/freebsd-head/contrib/ncurses/ncurses/tinfo/
H A Dlib_ttyflags.c142 int rc = ERR; local
150 rc = CallDriver_2(SP_PARM, td_mode, FALSE, TRUE);
163 rc = OK;
167 returnCode(rc);
181 int rc = ERR; local
188 rc = CallDriver_2(SP_PARM, td_mode, TRUE, TRUE);
199 rc = OK;
203 returnCode(rc);
217 int rc = ERR; local
224 rc
249 int rc = ERR; local
[all...]
/freebsd-head/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_exceptions.cpp42 _Unwind_Reason_Code rc; local
44 rc = real_personality(version, actions, exception_class, unwind_exception,
47 rc = _URC_CONTINUE_UNWIND;
54 if ((actions & _UA_CLEANUP_PHASE) && rc == _URC_CONTINUE_UNWIND) {
66 return rc;
/freebsd-head/usr.sbin/bhyve/
H A Dkernemu_dev.c84 int rc; local
86 rc = register_mem(&lapic_mmio);
87 if (rc != 0)
88 errc(4, rc, "register_mem: LAPIC (0x%08x)",
90 rc = register_mem(&ioapic_mmio);
91 if (rc != 0)
92 errc(4, rc, "register_mem: IOAPIC (0x%08x)",
94 rc = register_mem(&hpet_mmio);
95 if (rc != 0)
96 errc(4, rc, "register_me
[all...]
/freebsd-head/contrib/apr/file_io/unix/
H A Dseek.c59 int rc = EINVAL; local
66 rc = setptr(thefile, *offset);
70 rc = setptr(thefile, thefile->filePtr - thefile->dataRead + thefile->bufpos + *offset);
74 rc = apr_file_info_get_locked(&finfo, APR_FINFO_SIZE, thefile);
75 if (rc == APR_SUCCESS)
76 rc = setptr(thefile, finfo.size + *offset);
84 return rc;
102 int rc = 0; local
116 rc = apr_file_flush_locked(fp);
128 if (rc) {
[all...]

Completed in 105 milliseconds

1234567891011>>