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 215 of file SherpackUtilities.cc.
References eostools::mkdir(), AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::r.
Referenced by create_file(), and Untar().
FILE * spu::create_file | ( | char * | pathname, |
int | mode | ||
) |
Definition at line 241 of file SherpackUtilities.cc.
References create_dir(), f, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by Untar().
int spu::def | ( | FILE * | source, |
FILE * | dest, | ||
int | level | ||
) |
Definition at line 14 of file SherpackUtilities.cc.
References CHUNK, recoMuon::in, and MillePedeFileConverter_cfg::out.
int spu::inf | ( | FILE * | source, |
FILE * | dest | ||
) |
Definition at line 70 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 492 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 189 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 272 of file SherpackUtilities.cc.
References create_dir(), create_file(), f, is_end_of_archive(), gen::k, parseoct(), and verify_checksum().
Referenced by spf::SherpackFetcher::Fetch().
int spu::Unzip | ( | std::string | infile, |
std::string | outfile | ||
) |
Definition at line 155 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 258 of file SherpackUtilities.cc.
References gen::n, and parseoct().
Referenced by Untar().
void spu::zerr | ( | int | ret | ) |
Definition at line 130 of file SherpackUtilities.cc.
References mps_setup::stdout.
Referenced by MultiFileBlob::expand(), MultiFileBlob::finalized(), FileBlob::getUncompressedBlob(), TkMSParameterizationBuilder::produce(), FileBlob::read(), Unzip(), FileBlob::write(), and MillePedeFileExtractor::writeGzipped().