fp 1391 dmtcp_coordinator.cpp FILE* fp = fopen ( uniqueFilename.c_str(),"w" ); fp 1392 dmtcp_coordinator.cpp JASSERT ( fp!=0 )(JASSERT_ERRNO)( uniqueFilename ) fp 1395 dmtcp_coordinator.cpp fprintf ( fp, "%s", theRestartScriptHeader ); fp 1396 dmtcp_coordinator.cpp fprintf ( fp, "%s", theRestartScriptCheckLocal ); fp 1397 dmtcp_coordinator.cpp fprintf ( fp, "%s", slurmHelperContactFunction ); fp 1398 dmtcp_coordinator.cpp fprintf ( fp, "%s", theRestartScriptUsage ); fp 1403 dmtcp_coordinator.cpp fprintf ( fp, "ckpt_timestamp=\"%s\"\n\n", timestamp ); fp 1405 dmtcp_coordinator.cpp fprintf ( fp, "coord_host=$" ENV_VAR_NAME_HOST "\n" fp 1417 dmtcp_coordinator.cpp fprintf ( fp, "%s", theRestartScriptCmdlineArgHandler ); fp 1419 dmtcp_coordinator.cpp fprintf ( fp, "dmt_rstr_cmd=%s/" DMTCP_RESTART_CMD "\n" fp 1427 dmtcp_coordinator.cpp fprintf ( fp, "# Number of hosts in the computation = %zd\n" fp 1439 dmtcp_coordinator.cpp fprintf ( fp, "given_ckpt_files=\"%s\"\n\n", o.str().c_str()); fp 1441 dmtcp_coordinator.cpp fprintf ( fp, "%s", theRestartScriptSingleHostProcessing ); fp 1445 dmtcp_coordinator.cpp fprintf ( fp, "%s", fp 1452 dmtcp_coordinator.cpp fprintf ( fp, "%s", "worker_ckpts=\'" ); fp 1454 dmtcp_coordinator.cpp fprintf ( fp, "\n :: %s :bg:", host->first.c_str() ); fp 1456 dmtcp_coordinator.cpp fprintf ( fp," %s", file->c_str() ); fp 1459 dmtcp_coordinator.cpp fprintf ( fp, "%s", "\n\'\n\n" ); fp 1461 dmtcp_coordinator.cpp fprintf( fp, "# Check for resource manager\n" fp 1542 dmtcp_coordinator.cpp fprintf ( fp, "%s", theRestartScriptMultiHostProcessing ); fp 1545 dmtcp_coordinator.cpp fclose ( fp ); fp 65 miscwrappers.cpp EXTERNC int dmtcp_is_popen_fp(FILE *fp) __attribute((weak)); fp 89 miscwrappers.cpp extern "C" int fclose(FILE *fp) fp 92 miscwrappers.cpp if (dmtcp_is_popen_fp(fp)) { fp 93 miscwrappers.cpp return pclose(fp); fp 95 miscwrappers.cpp int fd = fileno(fp); fp 101 miscwrappers.cpp return _real_fclose(fp); fp 210 nosyscallsreal.c int _real_fclose (FILE *fp) fp 212 nosyscallsreal.c REAL_FUNC_PASSTHROUGH (fclose) (fp); fp 103 plugin/ipc/file/filewrappers.cpp extern "C" int fclose(FILE *fp) fp 105 plugin/ipc/file/filewrappers.cpp int fd = fileno(fp); fp 113 plugin/ipc/file/filewrappers.cpp int rv = _real_fclose(fp); fp 308 plugin/ipc/file/filewrappers.cpp FILE *fp = _real_tmpfile(); fp 309 plugin/ipc/file/filewrappers.cpp if (fp != NULL && dmtcp_is_running_state()) { fp 310 plugin/ipc/file/filewrappers.cpp FileConnList::instance().processFileConnection(fileno(fp), NULL, O_RDWR, 0600); fp 313 plugin/ipc/file/filewrappers.cpp return fp; fp 77 plugin/ipc/ipc.cpp extern "C" int fclose(FILE *fp) fp 79 plugin/ipc/ipc.cpp int fd = fileno(fp); fp 87 plugin/ipc/ipc.cpp int rv = _real_fclose(fp); fp 147 plugin/pid/pid_filewrappers.cpp extern "C" int fclose(FILE *fp) fp 152 plugin/pid/pid_filewrappers.cpp return _real_fclose(fp); fp 390 plugin/pid/pid_syscallsreal.c int _real_fclose(FILE *fp) { fp 391 plugin/pid/pid_syscallsreal.c REAL_FUNC_PASSTHROUGH(fclose) (fp); fp 218 plugin/pid/pidwrappers.h int _real_fclose(FILE *fp); fp 46 popen.cpp FILE *fp; fp 134 popen.cpp fp = fdopen(parent_fd, new_mode); fp 139 popen.cpp _dmtcpPopenPidMap[fp] = child_pid; fp 144 popen.cpp return fp; fp 148 popen.cpp int pclose(FILE *fp) fp 156 popen.cpp it = _dmtcpPopenPidMap.find(fp); fp 158 popen.cpp fp = it->first; fp 164 popen.cpp if (pid == -1 || _real_fclose(fp) != 0) { fp 177 popen.cpp EXTERNC int dmtcp_is_popen_fp(FILE *fp) fp 181 popen.cpp if (_dmtcpPopenPidMap.find(fp) != _dmtcpPopenPidMap.end()) { fp 619 syscallsreal.c int _real_pclose(FILE *fp) { fp 620 syscallsreal.c REAL_FUNC_PASSTHROUGH(pclose) (fp); fp 636 syscallsreal.c int _real_fclose (FILE *fp) fp 638 syscallsreal.c REAL_FUNC_PASSTHROUGH (fclose) (fp); fp 313 syscallwrappers.h int _real_pclose(FILE *fp); fp 327 syscallwrappers.h int _real_fclose (FILE *fp); fp 426 util_exec.cpp FILE *fp; fp 435 util_exec.cpp fp = popen(cmd1.c_str(), "r"); fp 436 util_exec.cpp JASSERT(fp != NULL); fp 437 util_exec.cpp JASSERT(fscanf(fp, "%s", (char*) &buf) == 1); fp 438 util_exec.cpp fclose(fp); fp 444 util_exec.cpp fp = popen(cmd2.c_str(), "r"); fp 445 util_exec.cpp JASSERT(fp != NULL); fp 447 util_exec.cpp JASSERT(fread(buf, 1, sizeof(buf), fp) > 0); fp 450 util_exec.cpp fclose(fp); fp 453 util_exec.cpp fp = popen(cmd2.c_str(), "r"); fp 454 util_exec.cpp JASSERT(fp != NULL); fp 455 util_exec.cpp JASSERT(fread(buf, 1, sizeof(buf), fp) > 0); fp 458 util_exec.cpp fclose(fp);