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 eostools::mkdir(), 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, and MillePedeFileConverter_cfg::out.
int spu::inf | ( | FILE * | source, |
FILE * | dest | ||
) |
Definition at line 69 of file SherpackUtilities.cc.
References CHUNK, recoMuon::in, and MillePedeFileConverter_cfg::out.
Referenced by HFShower::compute(), HDShower::compute(), RPAlignmentCorrectionsDataSequence::LoadXMLFile(), main(), ParametrizedSubtractor::ParametrizedSubtractor(), PFResolutionMap::ReadMapFile(), and 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 edmScanValgrind::buffer, gen::k, 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 mps_fire::i, gen::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(), MillePedeFileConverter_cfg::out, 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 gen::n, and parseoct().
Referenced by Untar().
void spu::zerr | ( | int | ret | ) |
Definition at line 129 of file SherpackUtilities.cc.
Referenced by MultiFileBlob::expand(), MultiFileBlob::finalized(), FileBlob::getUncompressedBlob(), FileBlob::read(), Unzip(), FileBlob::write(), and MillePedeFileExtractor::writeGzipped().