c 52 ckptserializer.cpp #define _real_waitpid(a,b,c) _real_syscall(SYS_wait4,a,b,c,NULL) c 288 coordinatorapi.cpp void CoordinatorAPI::connectAndSendUserCommand(char c, c 305 coordinatorapi.cpp msg.coordCmd = c; c 307 coordinatorapi.cpp if (c == 'i') { c 317 coordinatorapi.cpp if (c=='q' || c=='Q') { c 87 coordinatorapi.h void connectAndSendUserCommand(char c, c 97 dlsym_default.c unsigned char c; c 98 dlsym_default.c for (c = *s; c != '\0'; c = *++s) c 99 dlsym_default.c h = h * 33 + c; c 119 dlsym_default.c unsigned char c; c 120 dlsym_default.c for (c = *s; c != '\0'; c = *++s) c 121 dlsym_default.c h = h * 33 + c; c 416 dmtcp_restart.cpp char c; c 421 dmtcp_restart.cpp rc = read(fd, &c, 1); c 425 dmtcp_restart.cpp return c; c 64 dmtcpplugin.cpp static void runCoordinatorCmd(char c, c 74 dmtcpplugin.cpp coordinatorAPI.connectAndSendUserCommand(c, coordCmdStatus, numPeers, c 67 dmtcpworker.h static void sendUserCommand(char c, int* result = NULL); c 158 mtcp/mtcp_restart.c void *memset(void *s, int c, size_t n) { c 159 mtcp/mtcp_restart.c return mtcp_memset(s, c, n); c 53 mtcp/mtcp_util.c int c; c 54 mtcp/mtcp_util.c if ((*str >= '0') && (*str <= '9')) c = *str - '0'; c 55 mtcp/mtcp_util.c else if ((*str >= 'a') && (*str <= 'f')) c = *str + 10 - 'a'; c 56 mtcp/mtcp_util.c else if ((*str >= 'A') && (*str <= 'F')) c = *str + 10 - 'A'; c 61 mtcp/mtcp_util.c MTCP_ASSERT(c < base); c 62 mtcp/mtcp_util.c v = v * base + c; c 150 mtcp/mtcp_util.c char *mtcp_strchr(const char *s, int c) { c 152 mtcp/mtcp_util.c if (*s == (char)c) c 178 mtcp/mtcp_util.c void *mtcp_memset(void *s, int c, size_t n) c 182 mtcp/mtcp_util.c *p++ = (char)c; c 344 mtcp/mtcp_util.c char c; c 348 mtcp/mtcp_util.c rc = mtcp_sys_read (fd, &c, 1); c 351 mtcp/mtcp_util.c return (c); c 357 mtcp/mtcp_util.c char c; c 362 mtcp/mtcp_util.c c = mtcp_readchar (fd); c 363 mtcp/mtcp_util.c if ((c >= '0') && (c <= '9')) c -= '0'; c 365 mtcp/mtcp_util.c v = v * 10 + c; c 368 mtcp/mtcp_util.c return (c); c 374 mtcp/mtcp_util.c char c; c 379 mtcp/mtcp_util.c c = mtcp_readchar (fd); c 380 mtcp/mtcp_util.c if ((c >= '0') && (c <= '9')) c -= '0'; c 381 mtcp/mtcp_util.c else if ((c >= 'a') && (c <= 'f')) c -= 'a' - 10; c 382 mtcp/mtcp_util.c else if ((c >= 'A') && (c <= 'F')) c -= 'A' - 10; c 384 mtcp/mtcp_util.c v = v * 16 + c; c 387 mtcp/mtcp_util.c return (c); c 411 mtcp/mtcp_util.c char c, rflag, sflag, wflag, xflag; c 417 mtcp/mtcp_util.c c = mtcp_readhex (mapsfd, &startaddr); c 418 mtcp/mtcp_util.c if (c != '-') { c 419 mtcp/mtcp_util.c if ((c == 0) && (startaddr == 0)) return (0); c 422 mtcp/mtcp_util.c c = mtcp_readhex (mapsfd, &endaddr); c 423 mtcp/mtcp_util.c if (c != ' ') goto skipeol; c 426 mtcp/mtcp_util.c rflag = c = mtcp_readchar (mapsfd); c 427 mtcp/mtcp_util.c if ((c != 'r') && (c != '-')) goto skipeol; c 428 mtcp/mtcp_util.c wflag = c = mtcp_readchar (mapsfd); c 429 mtcp/mtcp_util.c if ((c != 'w') && (c != '-')) goto skipeol; c 430 mtcp/mtcp_util.c xflag = c = mtcp_readchar (mapsfd); c 431 mtcp/mtcp_util.c if ((c != 'x') && (c != '-')) goto skipeol; c 432 mtcp/mtcp_util.c sflag = c = mtcp_readchar (mapsfd); c 433 mtcp/mtcp_util.c if ((c != 's') && (c != 'p')) goto skipeol; c 435 mtcp/mtcp_util.c c = mtcp_readchar (mapsfd); c 436 mtcp/mtcp_util.c if (c != ' ') goto skipeol; c 438 mtcp/mtcp_util.c c = mtcp_readhex (mapsfd, (VA *)&offset); c 439 mtcp/mtcp_util.c if (c != ' ') goto skipeol; c 442 mtcp/mtcp_util.c c = mtcp_readhex (mapsfd, (VA *)&devmajor); c 443 mtcp/mtcp_util.c if (c != ':') goto skipeol; c 444 mtcp/mtcp_util.c c = mtcp_readhex (mapsfd, (VA *)&devminor); c 445 mtcp/mtcp_util.c if (c != ' ') goto skipeol; c 446 mtcp/mtcp_util.c c = mtcp_readdec (mapsfd, (VA *)&inodenum); c 448 mtcp/mtcp_util.c while (c == ' ') c = mtcp_readchar (mapsfd); c 449 mtcp/mtcp_util.c if (c == '/' || c == '[') { /* absolute pathname, or [stack], [vdso], etc. */ c 452 mtcp/mtcp_util.c area -> name[i++] = c; c 454 mtcp/mtcp_util.c c = mtcp_readchar (mapsfd); c 455 mtcp/mtcp_util.c } while (c != '\n'); c 459 mtcp/mtcp_util.c if (c != '\n') goto skipeol; c 479 mtcp/mtcp_util.c DPRINTF("ERROR: mtcp readmapsline*: bad maps line <%c", c); c 480 mtcp/mtcp_util.c while ((c != '\n') && (c != '\0')) { c 481 mtcp/mtcp_util.c c = mtcp_readchar (mapsfd); c 482 mtcp/mtcp_util.c mtcp_printf ("%c", c); c 181 mtcp/mtcp_util.h char *mtcp_strchr(const char *s, int c); c 52 mtcp/restore_libc.h int c = snprintf(buf, sizeof(buf) - 1, "[%d] %s:%d in %s; REASON= " fmt, \ c 54 mtcp/restore_libc.h if (c == sizeof(buf) - 1) buf[c] = '\n'; \ c 57 mtcp/restore_libc.h rc = write(PROTECTED_STDERR_FD, buf, c + 1); \ c 205 plugin/ipc/connectionlist.cpp Connection *c = getConnection(staleFds[i]); c 208 plugin/ipc/connectionlist.cpp << c->str() c 210 plugin/ipc/connectionlist.cpp << "\t->\t" << c->id() << "\n"; c 273 plugin/ipc/connectionlist.cpp Connection *c = i->second; c 274 plugin/ipc/connectionlist.cpp vector<int> fds = c->getFds(); c 280 plugin/ipc/connectionlist.cpp o << "\t" << i->first << "\t" << c->str(); c 303 plugin/ipc/connectionlist.cpp void ConnectionList::add(int fd, Connection* c) c 318 plugin/ipc/connectionlist.cpp if( _connections.find(c->id()) == _connections.end() ) c 319 plugin/ipc/connectionlist.cpp _connections[c->id()] = c; c 320 plugin/ipc/connectionlist.cpp c->addFd(fd); c 321 plugin/ipc/connectionlist.cpp _fdToCon[fd] = c; c 53 plugin/ipc/connectionlist.h void add(int fd, Connection* c); c 392 plugin/ipc/file/fileconnlist.cpp Connection *c = conit->second; c 393 plugin/ipc/file/fileconnlist.cpp if (c->subType() == cttyType && c 394 plugin/ipc/file/fileconnlist.cpp ((PtyConnection*)c)->ptsName() == device) { c 395 plugin/ipc/file/fileconnlist.cpp processDup(c->getFds()[0], fd); c 410 plugin/ipc/file/fileconnlist.cpp Connection *c = findDuplication(fd, device.c_str()); c 411 plugin/ipc/file/fileconnlist.cpp if (c != NULL) { c 412 plugin/ipc/file/fileconnlist.cpp add(fd,c); c 421 plugin/ipc/file/fileconnlist.cpp Connection *c = findDuplication(fd, device.c_str()); c 422 plugin/ipc/file/fileconnlist.cpp if (c != NULL) { c 423 plugin/ipc/file/fileconnlist.cpp add(fd,c); c 453 plugin/ipc/file/fileconnlist.cpp Connection *c = NULL; c 470 plugin/ipc/file/fileconnlist.cpp c = new PtyConnection(fd, path, flags, mode, PtyConnection::PTY_DEV_TTY); c 475 plugin/ipc/file/fileconnlist.cpp c = new PtyConnection(fd, path, flags, mode, PtyConnection::PTY_BSD_MASTER); c 478 plugin/ipc/file/fileconnlist.cpp c = new PtyConnection(fd, path, flags, mode, PtyConnection::PTY_BSD_SLAVE); c 482 plugin/ipc/file/fileconnlist.cpp c = new PtyConnection(fd, path, flags, mode, PtyConnection::PTY_MASTER); c 485 plugin/ipc/file/fileconnlist.cpp c = new PtyConnection(fd, path, flags, mode, PtyConnection::PTY_SLAVE); c 493 plugin/ipc/file/fileconnlist.cpp c = new FileConnection(path, flags, mode, type); c 496 plugin/ipc/file/fileconnlist.cpp c = new FifoConnection(path, flags, mode); c 501 plugin/ipc/file/fileconnlist.cpp add(fd, c); c 182 plugin/ipc/file/filewrappers.cpp Connection* c = FileConnList::instance().getConnection(fd); c 183 plugin/ipc/file/filewrappers.cpp PtyConnection* ptyCon =(PtyConnection*) c; c 247 plugin/ipc/file/filewrappers.cpp Connection* c = FileConnList::instance().getConnection(fd); c 248 plugin/ipc/file/filewrappers.cpp JASSERT(c != NULL) (fd) (tmpbuf); c 249 plugin/ipc/file/filewrappers.cpp PtyConnection* ptyCon =(PtyConnection*) c; c 239 plugin/svipc/dmtcp-test.h #define dmtcp_get_local_status(c,r) \ c 240 plugin/svipc/dmtcp-test.h (dmtcp_get_local_status ? dmtcp_get_local_status(c,r) : DMTCP_NOT_PRESENT) c 95 procselfmaps.cpp char c = data[dataIdx]; c 96 procselfmaps.cpp if ((c >= '0') && (c <= '9')) { c 97 procselfmaps.cpp c -= '0'; c 101 procselfmaps.cpp v = v * 10 + c; c 112 procselfmaps.cpp char c = data[dataIdx]; c 113 procselfmaps.cpp if ((c >= '0') && (c <= '9')) { c 114 procselfmaps.cpp c -= '0'; c 115 procselfmaps.cpp } else if ((c >= 'a') && (c <= 'f')) { c 116 procselfmaps.cpp c -= 'a' - 10; c 117 procselfmaps.cpp } else if ((c >= 'A') && (c <= 'F')) { c 118 procselfmaps.cpp c -= 'A' - 10; c 122 procselfmaps.cpp v = v * 16 + c; c 343 util_misc.cpp char c; c 347 util_misc.cpp ssize_t rc = read(fd, &c, 1); c 354 util_misc.cpp buf[i++] = c; c 355 util_misc.cpp if (c == NEWLINE) break; c 369 util_misc.cpp char c; c 374 util_misc.cpp c = readChar (fd); c 375 util_misc.cpp if ((c >= '0') && (c <= '9')) c -= '0'; c 377 util_misc.cpp v = v * 10 + c; c 380 util_misc.cpp return (c); c 387 util_misc.cpp char c; c 392 util_misc.cpp c = readChar (fd); c 393 util_misc.cpp if ((c >= '0') && (c <= '9')) c -= '0'; c 394 util_misc.cpp else if ((c >= 'a') && (c <= 'f')) c -= 'a' - 10; c 395 util_misc.cpp else if ((c >= 'A') && (c <= 'F')) c -= 'A' - 10; c 397 util_misc.cpp v = v * 16 + c; c 400 util_misc.cpp return (c); c 407 util_misc.cpp char c; c 411 util_misc.cpp rc = _real_read (fd, &c, 1); c 414 util_misc.cpp return (c); c 420 util_misc.cpp char c, rflag, sflag, wflag, xflag; c 426 util_misc.cpp c = readHex (mapsfd, &startaddr); c 427 util_misc.cpp if ((c == 0) && (startaddr == 0)) return (0); c 428 util_misc.cpp if (c != '-') { c 431 util_misc.cpp c = readHex (mapsfd, &endaddr); c 432 util_misc.cpp if (c != ' ') goto skipeol; c 435 util_misc.cpp rflag = c = readChar (mapsfd); c 436 util_misc.cpp if ((c != 'r') && (c != '-')) goto skipeol; c 437 util_misc.cpp wflag = c = readChar (mapsfd); c 438 util_misc.cpp if ((c != 'w') && (c != '-')) goto skipeol; c 439 util_misc.cpp xflag = c = readChar (mapsfd); c 440 util_misc.cpp if ((c != 'x') && (c != '-')) goto skipeol; c 441 util_misc.cpp sflag = c = readChar (mapsfd); c 442 util_misc.cpp if ((c != 's') && (c != 'p')) goto skipeol; c 444 util_misc.cpp c = readChar (mapsfd); c 445 util_misc.cpp if (c != ' ') goto skipeol; c 447 util_misc.cpp c = readHex (mapsfd, (VA *)&offset); c 448 util_misc.cpp if (c != ' ') goto skipeol; c 451 util_misc.cpp c = readHex (mapsfd, (VA *)&devmajor); c 452 util_misc.cpp if (c != ':') goto skipeol; c 453 util_misc.cpp c = readHex (mapsfd, (VA *)&devminor); c 454 util_misc.cpp if (c != ' ') goto skipeol; c 455 util_misc.cpp c = readDec (mapsfd, (VA *)&inodenum); c 457 util_misc.cpp while (c == ' ') c = readChar (mapsfd); c 458 util_misc.cpp if (c == '/' || c == '[' || c == '(') { c 464 util_misc.cpp area -> name[i++] = c; c 466 util_misc.cpp c = readChar (mapsfd); c 467 util_misc.cpp } while (c != '\n'); c 471 util_misc.cpp if (c != '\n') goto skipeol;