rc 139 ckptserializer.cpp long int rc = strtol(do_we_compress, &endptr, 0);
rc 140 ckptserializer.cpp JASSERT(rc != LONG_MIN && rc != LONG_MAX) (do_we_compress) (JASSERT_ERRNO);
rc 415 dmtcp_restart.cpp int fd, rc;
rc 421 dmtcp_restart.cpp rc = read(fd, &c, 1);
rc 422 dmtcp_restart.cpp JASSERT(rc == 1) (filename) .Text("ERROR: Error reading from filename");
rc 710 dmtcp_restart.cpp int rc = stat(restorename.c_str(), &buf);
rc 718 dmtcp_restart.cpp } else if (rc == -1) {
rc 347 dmtcpplugin.cpp int rc = NOTFOUND; // Default is -1: name not found
rc 358 dmtcpplugin.cpp while (rc == NOTFOUND) {
rc 365 dmtcpplugin.cpp rc = INTERNAL_ERROR;
rc 367 dmtcpplugin.cpp rc = DMTCP_BUF_TOO_SMALL;
rc 377 dmtcpplugin.cpp rc = TOOLONG; // value does not fit in the user-provided value buffer
rc 381 dmtcpplugin.cpp rc = SUCCESS;
rc 391 dmtcpplugin.cpp JWARNING (rc != DMTCP_BUF_TOO_SMALL)
rc 393 dmtcpplugin.cpp return rc;
rc 242 mtcp/mtcp_restart.c int rc = -1;
rc 255 mtcp/mtcp_restart.c rc = mtcp_readfile(rinfo.fd, &mtcpHdr, sizeof mtcpHdr);
rc 256 mtcp/mtcp_restart.c } while (rc > 0 && mtcp_strcmp(mtcpHdr.signature, MTCP_SIGNATURE) != 0);
rc 257 mtcp/mtcp_restart.c if (rc == 0) { /* if end of file */
rc 201 mtcp/mtcp_util.c int rc;
rc 205 mtcp/mtcp_util.c rc = mtcp_sys_read (fd, ptr + num_read, count - num_read);
rc 206 mtcp/mtcp_util.c if (rc == -1) {
rc 212 mtcp/mtcp_util.c else if (rc == 0)
rc 215 mtcp/mtcp_util.c num_read += rc;
rc 249 mtcp/mtcp_util.c ssize_t rc;
rc 264 mtcp/mtcp_util.c rc = mtcp_sys_read(fd, buf + ar, size - ar);
rc 265 mtcp/mtcp_util.c if (rc < 0 && rc > -4096) { /* kernel could return large unsigned int */
rc 266 mtcp/mtcp_util.c if (rc == -1 && (mtcp_sys_errno == EAGAIN || mtcp_sys_errno == EINTR)) {
rc 280 mtcp/mtcp_util.c else if (rc == 0) { /* if end of file */
rc 283 mtcp/mtcp_util.c ar += rc;
rc 325 mtcp/mtcp_util.c ssize_t rc = mtcp_sys_write (fd, ptr + num_written, count - num_written);
rc 326 mtcp/mtcp_util.c if (rc == -1) {
rc 330 mtcp/mtcp_util.c return rc;
rc 332 mtcp/mtcp_util.c else if (rc == 0)
rc 335 mtcp/mtcp_util.c num_written += rc;
rc 345 mtcp/mtcp_util.c int rc;
rc 348 mtcp/mtcp_util.c rc = mtcp_sys_read (fd, &c, 1);
rc 349 mtcp/mtcp_util.c } while ( rc == -1 && mtcp_sys_errno == EINTR );
rc 350 mtcp/mtcp_util.c if (rc <= 0) return (0);
rc 591 mtcp/restore_libc.c int rc = nice(0);
rc 56 mtcp/restore_libc.h ssize_t rc __attribute__((unused)); \
rc 57 mtcp/restore_libc.h rc = write(PROTECTED_STDERR_FD, buf, c + 1); \
rc 72 plugin/ipc/event/eventwrappers.cpp int rc;
rc 75 plugin/ipc/event/eventwrappers.cpp rc = _real_poll(fds, nfds, timeout);
rc 76 plugin/ipc/event/eventwrappers.cpp if (rc == -1 && errno == EINTR &&
rc 83 plugin/ipc/event/eventwrappers.cpp return rc;
rc 92 plugin/ipc/event/eventwrappers.cpp int rc;
rc 95 plugin/ipc/event/eventwrappers.cpp rc = _real_pselect(nfds, readfds, writefds, exceptfds, timeout, sigmask);
rc 96 plugin/ipc/event/eventwrappers.cpp if (rc == -1 && errno == EINTR &&
rc 103 plugin/ipc/event/eventwrappers.cpp return rc;
rc 110 plugin/ipc/event/eventwrappers.cpp int rc;
rc 113 plugin/ipc/event/eventwrappers.cpp rc = _real_select(nfds, readfds, writefds, exceptfds, timeout);
rc 114 plugin/ipc/event/eventwrappers.cpp if (rc == -1 && errno == EINTR &&
rc 121 plugin/ipc/event/eventwrappers.cpp return rc;
rc 90 plugin/ipc/file/fileconnection.cpp int slave_fd, ioctlArg, rc;
rc 122 plugin/ipc/file/fileconnection.cpp rc = read(masterFd, tmp_buf, 100);
rc 123 plugin/ipc/file/fileconnection.cpp JASSERT(rc == 1) (rc) (masterFd);
rc 130 plugin/ipc/file/fileconnection.cpp JWARNING((rc = write(slave_fd, tmp_buf, 1)) == 1) (rc) .Text("write failed");
rc 135 plugin/ipc/file/fileconnection.cpp rc = read(masterFd, tmp_buf, 100);
rc 138 plugin/ipc/file/fileconnection.cpp return(rc == 2 && tmp_buf[0] == TIOCPKT_DATA && tmp_buf[1] == 'x');
rc 156 plugin/ipc/file/fileconnection.cpp ssize_t rc = 0;
rc 158 plugin/ipc/file/fileconnection.cpp while (readyToRead(fd) && rc <= 0) {
rc 159 plugin/ipc/file/fileconnection.cpp rc = read(fd,(char *)buf+sizeof(hdr), maxCount-sizeof(hdr));
rc 160 plugin/ipc/file/fileconnection.cpp *(hdr *)buf = rc; // Record the number read in header
rc 161 plugin/ipc/file/fileconnection.cpp if (rc >=(ssize_t) (maxCount-sizeof(hdr))) {
rc 162 plugin/ipc/file/fileconnection.cpp rc = -1; errno = E2BIG; // Invoke new errno for buf size not large enough
rc 164 plugin/ipc/file/fileconnection.cpp if (rc == -1 && errno != EAGAIN && errno != EINTR)
rc 167 plugin/ipc/file/fileconnection.cpp return(rc <= 0 ? rc : rc+sizeof(hdr));
rc 176 plugin/ipc/file/fileconnection.cpp int rc;
rc 177 plugin/ipc/file/fileconnection.cpp while ((rc = readOnePacket(fd, buf, maxCount)) > 0) {
rc 178 plugin/ipc/file/fileconnection.cpp buf += rc;
rc 182 plugin/ipc/file/fileconnection.cpp JASSERT(rc < 0 || buf -(char *)origBuf > 0) (rc) (origBuf) ((void *)buf);
rc 183 plugin/ipc/file/fileconnection.cpp return(rc < 0 ? rc : buf -(char *)origBuf);
rc 195 plugin/ipc/file/fileconnection.cpp int rc = 0; // Trigger JASSERT if not modified below.
rc 203 plugin/ipc/file/fileconnection.cpp rc = write(fd,(char *)origBuf+sizeof(hdr)+cum_count, count-cum_count);
rc 204 plugin/ipc/file/fileconnection.cpp if (rc == -1 && errno != EAGAIN && errno != EINTR)
rc 206 plugin/ipc/file/fileconnection.cpp if (rc >= 0)
rc 207 plugin/ipc/file/fileconnection.cpp cum_count += rc;
rc 209 plugin/ipc/file/fileconnection.cpp JASSERT(rc != 0 && cum_count == count)
rc 210 plugin/ipc/file/fileconnection.cpp (JASSERT_ERRNO) (rc) (count) (cum_count);
rc 211 plugin/ipc/file/fileconnection.cpp return(rc < 0 ? rc : cum_count+sizeof(hdr));
rc 218 plugin/ipc/file/fileconnection.cpp ssize_t rc;
rc 219 plugin/ipc/file/fileconnection.cpp while ((rc = writeOnePacket(fd,(char *)buf+cum_count, isPacketMode))
rc 221 plugin/ipc/file/fileconnection.cpp cum_count += rc;
rc 223 plugin/ipc/file/fileconnection.cpp JASSERT(rc < 0 || rc == sizeof(hdr)) (rc) (cum_count);
rc 225 plugin/ipc/file/fileconnection.cpp return(rc <= 0 ? rc : cum_count);
rc 68 plugin/ipc/ssh/util_ssh.cpp ssize_t rc = read(fd, &buf->buf[buf->end], max);
rc 69 plugin/ipc/ssh/util_ssh.cpp if (rc == 0 || (rc == -1 && errno != EINTR)) {
rc 73 plugin/ipc/ssh/util_ssh.cpp buf->end += rc;
rc 89 plugin/ipc/ssh/util_ssh.cpp ssize_t rc = write(fd, &buf->buf[buf->off], max);
rc 90 plugin/ipc/ssh/util_ssh.cpp if (rc == -1 && errno != EINTR) {
rc 94 plugin/ipc/ssh/util_ssh.cpp buf->off += rc;
rc 95 util_exec.cpp int rc = _real_system(command);
rc 98 util_exec.cpp return rc;
rc 253 util_misc.cpp ssize_t rc = _real_write (fd, ptr + num_written, count - num_written);
rc 254 util_misc.cpp if (rc == -1) {
rc 258 util_misc.cpp return rc;
rc 260 util_misc.cpp else if (rc == 0)
rc 263 util_misc.cpp num_written += rc;
rc 275 util_misc.cpp ssize_t rc;
rc 279 util_misc.cpp rc = _real_read (fd, ptr + num_read, count - num_read);
rc 280 util_misc.cpp if (rc == -1) {
rc 286 util_misc.cpp else if (rc == 0)
rc 289 util_misc.cpp num_read += rc;
rc 297 util_misc.cpp ssize_t rc;
rc 300 util_misc.cpp rc = Util::readAll(fd, buf, MIN(count, sizeof(buf)));
rc 302 util_misc.cpp if (rc == -1) {
rc 305 util_misc.cpp count -= rc;
rc 306 util_misc.cpp totalSkipped += rc;
rc 347 util_misc.cpp ssize_t rc = read(fd, &c, 1);
rc 348 util_misc.cpp if (rc == 0) {
rc 350 util_misc.cpp } else if (rc < 0) {
rc 408 util_misc.cpp int rc;
rc 411 util_misc.cpp rc = _real_read (fd, &c, 1);
rc 412 util_misc.cpp } while ( rc == -1 && errno == EINTR );
rc 413 util_misc.cpp if (rc <= 0) return (0);