str 653 dmtcp_coordinator.cpp printf("%s", o.str().c_str()); str 889 dmtcp_coordinator.cpp JTRACE("Removing sharedArea file.") (o.str()); str 890 dmtcp_coordinator.cpp unlink(o.str().c_str()); str 1378 dmtcp_coordinator.cpp uniqueFilename = o.str(); str 1439 dmtcp_coordinator.cpp fprintf ( fp, "given_ckpt_files=\"%s\"\n\n", o.str().c_str()); str 512 dmtcp_launch.cpp char *str = const_cast<char*>(installDir.c_str()); str 513 dmtcp_launch.cpp str[strlen(str) - strlen("/lib/dmtcp/32")] = '\0'; str 514 dmtcp_launch.cpp installDir = str; str 229 dmtcp_restart.cpp char *str = const_cast<char*>(installDir.c_str()); str 230 dmtcp_restart.cpp str[strlen(str) - strlen("/lib/dmtcp/32")] = '\0'; str 231 dmtcp_restart.cpp installDir = str; str 211 dmtcpworker.cpp return jalib::Filesystem::ResolveSymlink(o.str()); str 229 dmtcpworker.cpp Util::writeAll(fd, o.str().c_str(), o.str().length()); str 324 execwrappers.cpp char *buf = (char*) JALLOC_HELPER_MALLOC(os.str().length()+1); str 325 execwrappers.cpp strcpy(buf, os.str().c_str()); str 433 execwrappers.cpp static bool isImportantEnv (string str) str 435 execwrappers.cpp str = str.substr(0, str.find("=")); str 438 execwrappers.cpp if (str == ourImportantEnvs[i]) str 469 execwrappers.cpp JTRACE("Creating a copy of (non-DMTCP) user env vars...") (out.str()); str 472 execwrappers.cpp out.str("DMTCP env vars:\n"); str 494 execwrappers.cpp JTRACE("Patched user envp...") (out.str()); str 37 mtcp/mtcp_util.c unsigned long mtcp_strtol (char *str) str 42 mtcp/mtcp_util.c if (str[0] == '0' && (str[1] == 'x' || str[1] == 'X')) { str 43 mtcp/mtcp_util.c str += 2; str 45 mtcp/mtcp_util.c } else if (str[0] == '0') { str 46 mtcp/mtcp_util.c str += 1; str 52 mtcp/mtcp_util.c while (*str != '\0') { str 54 mtcp/mtcp_util.c if ((*str >= '0') && (*str <= '9')) c = *str - '0'; str 55 mtcp/mtcp_util.c else if ((*str >= 'a') && (*str <= 'f')) c = *str + 10 - 'a'; str 56 mtcp/mtcp_util.c else if ((*str >= 'A') && (*str <= 'F')) c = *str + 10 - 'A'; str 63 mtcp/mtcp_util.c str++; str 169 mtcp/mtcp_util.h unsigned long mtcp_strtol (char *str); str 94 plugin/ipc/connection.h virtual string str() = 0; str 208 plugin/ipc/connectionlist.cpp << c->str() str 213 plugin/ipc/connectionlist.cpp JTRACE("Deleting Stale Connections") (out.str()); str 280 plugin/ipc/connectionlist.cpp o << "\t" << i->first << "\t" << c->str(); str 283 plugin/ipc/connectionlist.cpp JTRACE("ConnectionList") (dmtcp_get_uniquepid_str()) (o.str()); str 505 plugin/ipc/connectionlist.cpp in << "\n\t" << con->str() << i->first; str 507 plugin/ipc/connectionlist.cpp out << "\n\t" << con->str() << i->first; str 510 plugin/ipc/connectionlist.cpp JTRACE("Incoming/Outgoing Cons") (in.str()) (out.str()); str 96 plugin/ipc/event/eventconnection.h virtual string str() { return "EPOLL-FD: <Not-a-File>"; }; str 126 plugin/ipc/event/eventconnection.h virtual string str() { return "EVENT-FD: <Not-a-File>"; }; str 157 plugin/ipc/event/eventconnection.h virtual string str() { return "SIGNAL-FD: <Not-a-File>"; }; str 194 plugin/ipc/event/eventconnection.h virtual string str() { return "INOTIFY-FD: <Not-a-File>"; }; str 928 plugin/ipc/file/fileconnection.cpp return os.str(); str 1015 plugin/ipc/file/fileconnection.cpp if (jalib::Filesystem::FileExists(fullPath.str())) { str 1016 plugin/ipc/file/fileconnection.cpp _path = fullPath.str(); str 73 plugin/ipc/file/fileconnection.h virtual string str() { return _masterName + ":" + _ptsName; } str 109 plugin/ipc/file/fileconnection.h virtual string str() { return "<STDIO>"; }; str 148 plugin/ipc/file/fileconnection.h virtual string str() { return _path; } str 205 plugin/ipc/file/fileconnection.h virtual string str() { return _path; }; str 244 plugin/ipc/file/fileconnection.h virtual string str() { return _name; } str 204 plugin/ipc/socket/connectionrewirer.cpp string str = o.str(); str 209 plugin/ipc/socket/connectionrewirer.cpp strncpy(&_udsRestoreAddr.sun_path[1], str.c_str(), str.length()); str 210 plugin/ipc/socket/connectionrewirer.cpp _udsRestoreAddrlen = sizeof(sa_family_t) + str.length() + 1; str 328 plugin/ipc/socket/connectionrewirer.cpp JNOTE("Pending connections") (o.str()); str 116 plugin/ipc/socket/socketconnection.h virtual string str() { return "<TCP Socket>"; } str 147 plugin/ipc/socket/socketconnection.h virtual string str() { return "<TCP Socket>"; } str 134 plugin/pid/pid.cpp pidMapFile = o.str(); str 228 plugin/svipc/sysvipc.cpp SysVIPC::SysVIPC(const char *str, int32_t id, int type) str 229 plugin/svipc/sysvipc.cpp : _virtIdTable(str, id), str 80 plugin/svipc/sysvipc.h SysVIPC(const char *str, int32_t id, int type); str 283 processinfo.cpp _ckptFileName = o.str() + CKPT_FILE_SUFFIX; str 284 processinfo.cpp _ckptFilesSubDir = o.str() + CKPT_FILES_SUBDIR_SUFFIX; str 142 shareddata.cpp int fd = _real_open(o.str().c_str(), O_RDWR | O_CREAT | O_EXCL, 0600); str 144 shareddata.cpp fd = _real_open(o.str().c_str(), O_RDWR, 0600); str 171 uniquepid.cpp return o.str(); str 90 util_exec.cpp char *str = getenv("LD_PRELOAD"); str 92 util_exec.cpp if (str != NULL) str 93 util_exec.cpp dmtcphjk = str; str 96 util_exec.cpp if (str != NULL) str 392 util_exec.cpp char str[21] = {0}; str 393 util_exec.cpp sprintf(str, "%d", offset); str 394 util_exec.cpp setenv(ENV_VAR_DLSYM_OFFSET, str, 1); str 395 util_exec.cpp sprintf(str, "%d", offset_m32); str 396 util_exec.cpp setenv(ENV_VAR_DLSYM_OFFSET_M32, str, 1); str 161 util_init.cpp string tmpDir = o.str(); str 190 util_init.cpp JASSERT_SET_LOG(o.str(), tmpDir, UniquePid::ThisProcess().toString()); str 216 util_init.cpp JLOG(a.str().c_str()); str 82 util_misc.cpp bool Util::strStartsWith(const char *str, const char *pattern) str 84 util_misc.cpp if (str == NULL || pattern == NULL) { str 87 util_misc.cpp int len1 = strlen(str); str 90 util_misc.cpp return strncmp(str, pattern, len2) == 0; str 95 util_misc.cpp bool Util::strEndsWith(const char *str, const char *pattern) str 97 util_misc.cpp if (str == NULL || pattern == NULL) { str 100 util_misc.cpp int len1 = strlen(str); str 104 util_misc.cpp return strncmp(str+idx, pattern, len2) == 0; str 109 util_misc.cpp bool Util::strStartsWith(const string& str, const char *pattern) str 111 util_misc.cpp return strStartsWith(str.c_str(), pattern); str 114 util_misc.cpp bool Util::strEndsWith(const string& str, const char *pattern) str 116 util_misc.cpp return strEndsWith(str.c_str(), pattern); str 511 util_misc.cpp char *str; str 523 util_misc.cpp str = strstr(buf, TRACER_PID_STR); str 524 util_misc.cpp JASSERT(str != NULL); str 525 util_misc.cpp str += tracerStrLen; str 527 util_misc.cpp while (*str == ' ' || *str == '\t') { str 528 util_misc.cpp str++; str 531 util_misc.cpp pid_t tracerPid = (pid_t) strtol(str, NULL, 10);