Searched defs:rc (Results 1 - 25 of 698) sorted by relevance

1234567891011>>

/freebsd-head/contrib/ncurses/ncurses/base/
H A Dlib_slkclear.c49 int rc = ERR; local
60 rc = OK;
63 rc = wrefresh(SP_PARM->_slk->win);
66 returnCode(rc);
H A Dlib_slkinit.c79 int rc; local
82 rc = NCURSES_SP_NAME(slk_init) (CURRENT_SCREEN_PRE, format);
84 return rc;
H A Dlib_ungetch.c64 int rc = ERR; local
85 rc = OK;
87 returnCode(rc);
/freebsd-head/contrib/mandoc/
H A Dtest-sandbox_init.c7 int rc; local
9 rc = sandbox_init(kSBXProfileNoInternet, SANDBOX_NAMED, &ep);
10 if (-1 == rc)
12 return(-1 == rc);
/freebsd-head/contrib/ncurses/panel/
H A Dp_hidden.c46 int rc = ERR; local
52 rc = (IS_LINKED(pan) ? FALSE : TRUE);
54 returnCode(rc);
H A Dp_replace.c45 int rc = ERR; local
58 rc = OK;
60 returnCode(rc);
H A Dp_move.c46 int rc = ERR; local
58 rc = mvwin(pan->win, starty, startx);
60 returnCode(rc);
/freebsd-head/contrib/netbsd-tests/lib/libc/sys/
H A Dt_posix_fallocate.c43 int rc, saved; local
46 rc = posix_fallocate(-1, 0, 4096);
48 if (rc == -1 && saved != 1111)
51 if (rc != EBADF)
/freebsd-head/tests/sys/kern/
H A Dpdeathsig_helper.c37 int rc; local
45 rc = procctl(P_PID, 0, PROC_PDEATHSIG_STATUS, &signum);
46 assert(rc == 0);
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dbsd-flock.c46 int rc = 0; local
70 rc = fcntl(fd, op & LOCK_NB ? F_SETLK : F_SETLKW, &fl);
72 if (rc && (errno == EAGAIN))
75 rc = -1;
79 return rc;
/freebsd-head/contrib/capsicum-test/
H A Dmini-me.c19 int rc = (geteuid() == 0); local
20 fprintf(stderr,"[uid:%d] %s immediately returning (geteuid() == 0) = %d\n", geteuid(), argv[0], rc);
21 return rc;
26 int rc = 0; local
31 rc = 1;
33 fprintf(stderr,"[%d] %s --capmode returning %d\n", getpid(), argv[0], rc);
34 return rc;
H A Dwaittest.c22 int rc = pdfork(&procfd, 0); local
23 if (rc < 0) {
24 fprintf(stderr, "pdfork() failed rc=%d errno=%d %s\n", rc, errno, strerror(errno));
27 if (rc == 0) { // Child process
31 fprintf(stderr, "pdfork()ed child pid=%ld procfd=%d\n", (long)rc, procfd);
33 pid_t child = waitpid(-1, &rc, WNOHANG);
/freebsd-head/contrib/apr/file_io/unix/
H A Dflock.c28 int rc; local
46 while ((rc = fcntl(thefile->filedes, fc, &l)) < 0 && errno == EINTR)
49 if (rc == -1) {
72 while ((rc = flock(thefile->filedes, ltype)) < 0 && errno == EINTR)
75 if (rc == -1)
87 int rc; local
99 while ((rc = fcntl(thefile->filedes, F_SETLKW, &l)) < 0
103 if (rc == -1)
109 while ((rc = flock(thefile->filedes, LOCK_UN)) < 0 && errno == EINTR)
112 if (rc
[all...]
/freebsd-head/lib/libcompat/4.3/
H A Dre_comp.c57 int rc; local
71 rc = regcomp(&re_regexp, s, REG_EXTENDED);
72 if (rc == 0) {
77 regerror(rc, &re_regexp, re_errstr, sizeof(re_errstr));
85 int rc; local
89 rc = regexec(&re_regexp, s, 0, NULL, 0);
90 return (rc == 0 ? 1 : 0);
/freebsd-head/lib/libc/tests/stdlib/dynthr_mod/
H A Ddynthr_mod.c58 int rc; local
62 rc = pthread_create(&thr, NULL, mod_thread, NULL);
63 if (rc != 0)
/freebsd-head/contrib/ntp/libntp/
H A Dntp_crypto_rnd.c95 int rc; local
97 rc = RAND_bytes(buf, size2int_chk(nbytes));
98 if (1 != rc) {
H A Dxsbprintf.c40 int rc = -1; local
43 rc = vsnprintf(pbuf, blen, pfmt, va);
44 if (rc > 0) {
45 if ((size_t)rc >= blen)
46 rc = 0;
47 pbuf += rc;
54 return rc;
67 int rc; local
70 rc = xvsbprintf(ppbuf, pend, pfmt, va);
72 return rc;
[all...]
/freebsd-head/sys/dev/sfxge/common/
H A Dmedford2_nic.c48 efx_rc_t rc; local
52 if ((rc = ef10_nic_get_port_mode_bandwidth(enp,
61 EFSYS_PROBE1(fail1, efx_rc_t, rc);
63 return (rc);
74 efx_rc_t rc; local
109 rc = efx_mcdi_set_workaround(enp, MC_CMD_WORKAROUND_BUG61265, B_TRUE,
111 if ((rc == 0) || (rc == EACCES))
113 else if ((rc == ENOTSUP) || (rc
[all...]
H A Dmedford_nic.c46 efx_rc_t rc; local
48 if ((rc = ef10_nic_get_port_mode_bandwidth(enp,
57 EFSYS_PROBE1(fail1, efx_rc_t, rc);
59 return (rc);
70 efx_rc_t rc; local
105 rc = efx_mcdi_set_workaround(enp, MC_CMD_WORKAROUND_BUG61265, B_TRUE,
107 if ((rc == 0) || (rc == EACCES))
109 else if ((rc == ENOTSUP) || (rc
[all...]
/freebsd-head/usr.bin/mkuzip/
H A Dmkuz_zstd.c52 size_t rc; local
66 rc = ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel,
68 if (ZSTD_isError(rc))
70 *comp_level, ZSTD_getErrorName(rc));
72 rc = ZSTD_CCtx_setParameter(cctx, ZSTD_c_checksumFlag, 1);
73 if (ZSTD_isError(rc))
75 ZSTD_getErrorName(rc));
84 size_t rc; local
88 rc = ZSTD_compress2(cctx, oblk->data, oblk->alen, iblk->data,
90 if (ZSTD_isError(rc))
[all...]
/freebsd-head/contrib/ncurses/ncurses/tinfo/
H A Dlib_cur_term.c132 int rc = ERR; local
171 rc = OK;
173 returnCode(rc);
180 int rc; local
183 rc = NCURSES_SP_NAME(del_curterm) (CURRENT_SCREEN, termp);
186 return (rc);
/freebsd-head/tests/sys/netinet/
H A Dsocket_afinet.c51 int sd, rc; local
66 rc = bind(sd, (struct sockaddr *)&sin, sizeof(sin));
67 ATF_CHECK_EQ(0, rc);
75 int sd, rc; local
86 rc = bind(sd, (struct sockaddr *)&sin, sizeof(sin));
87 ATF_CHECK_EQ(0, rc);
/freebsd-head/tools/test/pthread_vfork/
H A Dpthread_vfork_test.c80 int rc, t; local
93 rc = pthread_create(&threads[t], NULL, vfork_test, &t);
94 if (rc)
95 errc(1, rc, "pthread_create");
/freebsd-head/contrib/apr/support/unix/
H A Dwaitio.c44 int rc, timeout; local
51 rc = poll(&pfd, 1, timeout);
52 } while (rc == -1 && errno == EINTR);
53 if (rc == 0) {
56 else if (rc > 0) {
/freebsd-head/contrib/libxo/tests/core/
H A Dtest_07.c44 int rc; local
61 rc = xo_emit("���������� ������������ ���������������������� ������ {:v1/%s}, {:v2/%s}\n",
63 rc = xo_emit("{:columns/%d}\n", rc);
64 xo_emit("{:columns/%d}\n", rc);
66 rc = xo_emit("������������������ {:v1/%s} {:v2/%s}\n",
69 xo_emit("{:columns/%d}\n", rc);
72 rc = xo_emit("{T:First Name/%-25s}{T:Last Name/%-14s}"
74 xo_emit("{:columns/%d}\n", rc);
79 rc
[all...]

Completed in 105 milliseconds

1234567891011>>