Functions | |
void | create_dir (char *, int) |
FILE * | create_file (char *, int) |
int | def (FILE *, FILE *, int) |
int | inf (FILE *, FILE *) |
int | is_end_of_archive (const char *) |
void | md5_File (std::string, char *) |
int | parseoct (const char *, size_t) |
void | Untar (FILE *, const char *) |
int | Unzip (std::string, std::string) |
int | verify_checksum (const char *) |
void | zerr (int) |
void spu::create_dir | ( | char * | pathname, |
int | mode | ||
) |
Definition at line 204 of file SherpackUtilities.cc.
References NULL, AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::r.
Referenced by create_file(), and Untar().
FILE * spu::create_file | ( | char * | pathname, |
int | mode | ||
) |
Definition at line 230 of file SherpackUtilities.cc.
References create_dir(), f, NULL, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by Untar().
int spu::def | ( | FILE * | source, |
FILE * | dest, | ||
int | level | ||
) |
Definition at line 13 of file SherpackUtilities.cc.
References CHUNK, recoMuon::in, dbtoconf::out, and run_regression::ret.
int spu::inf | ( | FILE * | source, |
FILE * | dest | ||
) |
Definition at line 69 of file SherpackUtilities.cc.
References CHUNK, recoMuon::in, dbtoconf::out, and run_regression::ret.
Referenced by Unzip().
int spu::is_end_of_archive | ( | const char * | p | ) |
void spu::md5_File | ( | std::string | filename, |
char * | result | ||
) |
Definition at line 481 of file SherpackUtilities.cc.
References gen::k, SiPixelLorentzAngle_cfi::read, and tmp.
Referenced by spf::SherpackFetcher::Fetch().
int spu::parseoct | ( | const char * | p, |
size_t | n | ||
) |
Definition at line 178 of file SherpackUtilities.cc.
References i, n, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by Untar(), and verify_checksum().
void spu::Untar | ( | FILE * | a, |
const char * | path | ||
) |
Definition at line 261 of file SherpackUtilities.cc.
References create_dir(), create_file(), f, is_end_of_archive(), gen::k, NULL, parseoct(), and verify_checksum().
Referenced by spf::SherpackFetcher::Fetch().
int spu::Unzip | ( | std::string | infile, |
std::string | outfile | ||
) |
Definition at line 154 of file SherpackUtilities.cc.
References recoMuon::in, inf(), dbtoconf::out, run_regression::ret, SET_BINARY_MODE, and zerr().
Referenced by spf::SherpackFetcher::Fetch().
int spu::verify_checksum | ( | const char * | p | ) |
Definition at line 247 of file SherpackUtilities.cc.
References n, and parseoct().
Referenced by Untar().
void spu::zerr | ( | int | ret | ) |
Definition at line 129 of file SherpackUtilities.cc.
Referenced by cond::BlobStreamingService::compress(), MultiFileBlob::expand(), cond::BlobStreamingService::expand(), MultiFileBlob::finalized(), FileBlob::getUncompressedBlob(), PrimaryVertexMonitor::PrimaryVertexMonitor(), FileBlob::read(), Unzip(), PrimaryVertexMonitor::vertexPlots(), and FileBlob::write().