cmd 98 dmtcp_command.cpp char* cmd = argv[0]; cmd 100 dmtcp_command.cpp while(*cmd == '-') cmd++; cmd 101 dmtcp_command.cpp s = cmd; cmd 103 dmtcp_command.cpp if((*cmd == 'b' || *cmd == 'x') && *(cmd+1) != 'c'){ cmd 107 dmtcp_command.cpp } else if (*cmd == 's' || *cmd == 'i' || *cmd == 'c' || *cmd == 'b' || cmd 108 dmtcp_command.cpp *cmd == 'x' || *cmd == 'k' || *cmd == 'q') { cmd 110 dmtcp_command.cpp if (*cmd == 'i') { cmd 111 dmtcp_command.cpp if (isdigit(cmd[1])) { // if -i5, for example cmd 112 dmtcp_command.cpp interval = cmd+1; cmd 135 dmtcp_command.cpp char *cmd = (char *)request.c_str(); cmd 136 dmtcp_command.cpp switch (*cmd) { cmd 142 dmtcp_command.cpp coordinatorAPI.connectAndSendUserCommand(*cmd, &coordCmdStatus); cmd 148 dmtcp_command.cpp coordinatorAPI.connectAndSendUserCommand(*cmd, &coordCmdStatus); cmd 150 dmtcp_command.cpp coordinatorAPI.connectAndSendUserCommand(*(cmd+1), &coordCmdStatus); cmd 153 dmtcp_command.cpp coordinatorAPI.connectAndSendUserCommand(*cmd, &coordCmdStatus, cmd 158 dmtcp_command.cpp coordinatorAPI.connectAndSendUserCommand(*cmd, &coordCmdStatus); cmd 174 dmtcp_command.cpp "Unknown command: %c, try 'dmtcp_command --help'\n", *cmd); cmd 190 dmtcp_command.cpp if(*cmd == 's'){ cmd 531 dmtcp_coordinator.cpp void DmtcpCoordinator::handleUserCommand(char cmd, DmtcpMessage* reply /*= NULL*/) cmd 535 dmtcp_coordinator.cpp switch ( cmd ){ cmd 624 dmtcp_coordinator.cpp JTRACE("unhandled user command")(cmd); cmd 1593 dmtcp_coordinator.cpp string cmd; cmd 94 dmtcp_coordinator.h void handleUserCommand(char cmd, DmtcpMessage* reply = NULL); cmd 471 miscwrappers.cpp SYSCALL_GET_ARGS_3(int,shmid,int,cmd,struct shmid_ds*,buf); cmd 472 miscwrappers.cpp ret = shmctl(shmid, cmd, buf); cmd 195 nosyscallsreal.c int _real_system (const char *cmd) cmd 197 nosyscallsreal.c REAL_FUNC_PASSTHROUGH (system) (cmd); cmd 236 nosyscallsreal.c int _real_fcntl(int fd, int cmd, void *arg) cmd 238 nosyscallsreal.c REAL_FUNC_PASSTHROUGH (fcntl) (fd, cmd, arg); cmd 432 nosyscallsreal.c int _real_shmctl (int shmid, int cmd, struct shmid_ds *buf) { cmd 433 nosyscallsreal.c REAL_FUNC_PASSTHROUGH (shmctl) (shmid, cmd, buf); cmd 671 plugin/ipc/file/filewrappers.cpp extern "C" int fcntl(int fd, int cmd, ...) cmd 675 plugin/ipc/file/filewrappers.cpp va_start(ap, cmd); cmd 681 plugin/ipc/file/filewrappers.cpp int res = _real_fcntl(fd, cmd, arg); cmd 684 plugin/ipc/file/filewrappers.cpp (cmd == F_DUPFD || cmd == F_DUPFD_CLOEXEC) && cmd 686 plugin/ipc/file/filewrappers.cpp (cmd == F_DUPFD) && cmd 20 plugin/ipc/ssh/ssh.cpp static string cmd; cmd 332 plugin/ipc/ssh/ssh.cpp cmd = precmd; cmd 335 plugin/ipc/ssh/ssh.cpp cmd += "exec " + prefix + postcmd.substr(strlen("exec")); cmd 337 plugin/ipc/ssh/ssh.cpp cmd += prefix + postcmd; cmd 359 plugin/ipc/ssh/ssh.cpp new_argv[idx++] = (char*) cmd.c_str(); cmd 360 plugin/ipc/ssh/ssh.cpp newCommand += cmd + " "; cmd 379 plugin/ipc/ssh/ssh.cpp string cmd; cmd 177 plugin/pid/pid_miscwrappers.cpp int shmctl(int shmid, int cmd, struct shmid_ds *buf) cmd 180 plugin/pid/pid_miscwrappers.cpp int ret = _real_shmctl(shmid, cmd, buf); cmd 190 plugin/pid/pid_miscwrappers.cpp int semctl(int semid, int semnum, int cmd, ...) cmd 194 plugin/pid/pid_miscwrappers.cpp va_start (arg, cmd); cmd 199 plugin/pid/pid_miscwrappers.cpp int ret = _real_semctl(semid, semnum, cmd, uarg); cmd 200 plugin/pid/pid_miscwrappers.cpp if (ret != -1 && (cmd & GETPID)) { cmd 208 plugin/pid/pid_miscwrappers.cpp int msgctl(int msqid, int cmd, struct msqid_ds *buf) cmd 211 plugin/pid/pid_miscwrappers.cpp int ret = _real_msgctl(msqid, cmd, buf); cmd 212 plugin/pid/pid_miscwrappers.cpp if (ret != -1 && buf != NULL && ((cmd & IPC_STAT) || (cmd & MSG_STAT))) { cmd 456 plugin/pid/pid_miscwrappers.cpp SYSCALL_GET_ARGS_3(int,shmid,int,cmd,struct shmid_ds*,buf); cmd 457 plugin/pid/pid_miscwrappers.cpp ret = shmctl(shmid, cmd, buf); cmd 310 plugin/pid/pid_syscallsreal.c int _real_shmctl (int shmid, int cmd, struct shmid_ds *buf) { cmd 311 plugin/pid/pid_syscallsreal.c REAL_FUNC_PASSTHROUGH ( shmctl ) (shmid, cmd, buf); cmd 315 plugin/pid/pid_syscallsreal.c int _real_semctl(int semid, int semnum, int cmd, ...) { cmd 318 plugin/pid/pid_syscallsreal.c va_start (arg, cmd); cmd 321 plugin/pid/pid_syscallsreal.c REAL_FUNC_PASSTHROUGH ( semctl ) (semid, semnum, cmd, uarg); cmd 325 plugin/pid/pid_syscallsreal.c int _real_msgctl(int msqid, int cmd, struct msqid_ds *buf) cmd 327 plugin/pid/pid_syscallsreal.c REAL_FUNC_PASSTHROUGH (msgctl) (msqid, cmd, buf); cmd 353 plugin/pid/pid_syscallsreal.c int _real_fcntl(int fd, int cmd, void *arg) { cmd 354 plugin/pid/pid_syscallsreal.c REAL_FUNC_PASSTHROUGH (fcntl) (fd, cmd, arg); cmd 577 plugin/pid/pidwrappers.cpp extern "C" int fcntl(int fd, int cmd, ...) cmd 583 plugin/pid/pidwrappers.cpp va_start(ap, cmd); cmd 591 plugin/pid/pidwrappers.cpp if (cmd == F_SETOWN) { cmd 596 plugin/pid/pidwrappers.cpp int result = _real_fcntl(fd, cmd, arg); cmd 599 plugin/pid/pidwrappers.cpp if (cmd == F_GETOWN) { cmd 168 plugin/pid/pidwrappers.h int _real_shmctl(int shmid, int cmd, struct shmid_ds *buf); cmd 169 plugin/pid/pidwrappers.h int _real_semctl(int semid, int semnum, int cmd, ...); cmd 170 plugin/pid/pidwrappers.h int _real_msgctl(int msqid, int cmd, struct msqid_ds *buf); cmd 212 plugin/pid/pidwrappers.h int _real_fcntl(int fd, int cmd, void *arg); cmd 442 plugin/svipc/sysvipc.cpp void SysVSem::on_semctl(int semid, int semnum, int cmd, union semun arg) cmd 445 plugin/svipc/sysvipc.cpp if (cmd == IPC_RMID && _virtIdTable.virtualIdExists(semid)) { cmd 486 plugin/svipc/sysvipc.cpp void SysVMsq::on_msgctl(int msqid, int cmd, struct msqid_ds *buf) cmd 489 plugin/svipc/sysvipc.cpp if (cmd == IPC_RMID && _virtIdTable.virtualIdExists(msqid)) { cmd 101 plugin/svipc/sysvipc.h virtual void on_semctl(int semid, int semnum, int cmd, union semun arg) {} cmd 105 plugin/svipc/sysvipc.h virtual void on_msgctl(int msqid, int cmd, struct msqid_ds *buf) {} cmd 141 plugin/svipc/sysvipc.h virtual void on_semctl(int semid, int semnum, int cmd, union semun arg); cmd 153 plugin/svipc/sysvipc.h virtual void on_msgctl(int msqid, int cmd, struct msqid_ds *buf); cmd 123 plugin/svipc/sysvipcwrappers.cpp int shmctl(int shmid, int cmd, struct shmid_ds *buf) cmd 128 plugin/svipc/sysvipcwrappers.cpp int ret = _real_shmctl(realShmid, cmd, buf); cmd 218 plugin/svipc/sysvipcwrappers.cpp int semctl(int semid, int semnum, int cmd, ...) cmd 222 plugin/svipc/sysvipcwrappers.cpp va_start (arg, cmd); cmd 229 plugin/svipc/sysvipcwrappers.cpp int ret = _real_semctl(realId, semnum, cmd, uarg); cmd 231 plugin/svipc/sysvipcwrappers.cpp SysVSem::instance().on_semctl(semid, semnum, cmd, uarg); cmd 328 plugin/svipc/sysvipcwrappers.cpp int msgctl(int msqid, int cmd, struct msqid_ds *buf) cmd 333 plugin/svipc/sysvipcwrappers.cpp int ret = _real_msgctl(realId, cmd, buf); cmd 335 plugin/svipc/sysvipcwrappers.cpp SysVMsq::instance().on_msgctl(msqid, cmd, buf); cmd 608 syscallsreal.c int _real_system (const char *cmd) cmd 610 syscallsreal.c REAL_FUNC_PASSTHROUGH (system) (cmd); cmd 666 syscallsreal.c int _real_fcntl(int fd, int cmd, void *arg) cmd 668 syscallsreal.c REAL_FUNC_PASSTHROUGH (fcntl) (fd, cmd, arg); cmd 981 syscallsreal.c int _real_shmctl (int shmid, int cmd, struct shmid_ds *buf) { cmd 982 syscallsreal.c REAL_FUNC_PASSTHROUGH (shmctl) (shmid, cmd | IPC64_FLAG, buf); cmd 1002 syscallsreal.c int _real_semctl(int semid, int semnum, int cmd, ...) { cmd 1005 syscallsreal.c va_start (arg, cmd); cmd 1008 syscallsreal.c REAL_FUNC_PASSTHROUGH (semctl) (semid, semnum, cmd | IPC64_FLAG, uarg); cmd 1028 syscallsreal.c int _real_msgctl(int msqid, int cmd, struct msqid_ds *buf) { cmd 1029 syscallsreal.c REAL_FUNC_PASSTHROUGH (msgctl) (msqid, cmd | IPC64_FLAG, buf); cmd 311 syscallwrappers.h int _real_system (const char * cmd); cmd 333 syscallwrappers.h int _real_fcntl(int fd, int cmd, void *arg); cmd 452 syscallwrappers.h int _real_shmctl (int shmid, int cmd, struct shmid_ds *buf); cmd 457 syscallwrappers.h int _real_semctl(int semid, int semnum, int cmd, ...); cmd 463 syscallwrappers.h int _real_msgctl(int msqid, int cmd, struct msqid_ds *buf); cmd 192 util_exec.cpp string cmd = buf; cmd 193 util_exec.cpp return cmd; cmd 204 util_exec.cpp string cmd; cmd 206 util_exec.cpp cmd = ld_linux_so_path(version, is32bitElf); cmd 208 util_exec.cpp } while (!jalib::Filesystem::FileExists(cmd) && version < 10); cmd 210 util_exec.cpp cmd = cmd + " --verify " + pathname + " > /dev/null"; cmd 214 util_exec.cpp if (isElf && safeSystem(cmd.c_str())) { cmd 577 util_exec.cpp string Util::getPath(string cmd, bool is32bit) cmd 589 util_exec.cpp string basename = jalib::Filesystem::BaseName(cmd); cmd 590 util_exec.cpp if (cmd == "mtcp_restart-32") { cmd 601 util_exec.cpp string pth = udir + p1[i] + suffixFor32Bits + cmd; cmd 607 util_exec.cpp return cmd;