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 212 of file SherpackUtilities.cc.
References eostools::mkdir(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, AlCaHLTBitMon_ParallelJobs::p, BTVHLTOfflineSource_cfi::pathname, alignCSCRings::r, and submitPVResolutionJobs::stderr.
Referenced by create_file(), and Untar().
FILE * spu::create_file | ( | char * | pathname, |
int | mode | ||
) |
Definition at line 238 of file SherpackUtilities.cc.
References create_dir(), f, AlCaHLTBitMon_ParallelJobs::p, and BTVHLTOfflineSource_cfi::pathname.
Referenced by Untar().
int spu::def | ( | FILE * | source, |
FILE * | dest, | ||
int | level | ||
) |
Definition at line 14 of file SherpackUtilities.cc.
References cms::cuda::assert(), CHUNK, mps_fire::dest, recoMuon::in, personalPlayback::level, MillePedeFileConverter_cfg::out, runTheMatrix::ret, source, and funct::void.
Referenced by FWProxyBuilderConfiguration::assertParam(), BOOST_PYTHON_MODULE(), checkCfgDef(), checkCfgDefs(), CSCOfflineClient::dqmEndJob(), DTReadOutMapping::expandMap(), DTExpandMap::expandSteering(), MonRunOutcomeDef::fetchAllDefs(), findCfgDef(), edm::service::ThreadSafeLogMessageLoggerScribe::getAparameter(), popcon::EcalSRPHandler::getNewObjects(), evf::EvFDaqDirector::getNFilesFromEoLS(), FWTableWidget::handleResize(), MagCylinder::MagCylinder(), MultipleAlgoIterator::offsetCorrectJets(), ReflectedIterator::offsetCorrectJets(), ParametrizedSubtractor::offsetCorrectJets(), operator<<(), hitfit::operator<<(), readCfgParameter(), JME::JetResolutionObject::Record::Record(), and L1DataEmulDigi::reset().
int spu::inf | ( | FILE * | source, |
FILE * | dest | ||
) |
Definition at line 69 of file SherpackUtilities.cc.
References cms::cuda::assert(), CHUNK, mps_fire::dest, recoMuon::in, MillePedeFileConverter_cfg::out, runTheMatrix::ret, source, and funct::void.
Referenced by Unzip().
int spu::is_end_of_archive | ( | const char * | p | ) |
Definition at line 203 of file SherpackUtilities.cc.
References dqmiodumpmetadata::n, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by Untar().
void spu::md5_File | ( | std::string | filename, |
char * | result | ||
) |
Definition at line 486 of file SherpackUtilities.cc.
References edmScanValgrind::buffer, ztee::fd, corrVsCorr::filename, dqmdumpme::k, readEcalDQMStatus::read, mps_fire::result, and createJobs::tmp.
Referenced by spf::SherpackFetcher::Fetch().
int spu::parseoct | ( | const char * | p, |
size_t | n | ||
) |
Definition at line 186 of file SherpackUtilities.cc.
References mps_fire::i, dqmiodumpmetadata::n, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by Untar(), and verify_checksum().
void spu::Untar | ( | FILE * | a, |
const char * | path | ||
) |
Definition at line 268 of file SherpackUtilities.cc.
References a, create_dir(), create_file(), f, is_end_of_archive(), dqmdumpme::k, parseoct(), castor_dqm_sourceclient_file_cfg::path, submitPVResolutionJobs::stderr, and verify_checksum().
Referenced by spf::SherpackFetcher::Fetch().
int spu::Unzip | ( | std::string | infile, |
std::string | outfile | ||
) |
Definition at line 153 of file SherpackUtilities.cc.
References recoMuon::in, inf(), timingPdfMaker::infile, MillePedeFileConverter_cfg::out, timingPdfMaker::outfile, runTheMatrix::ret, SET_BINARY_MODE, and zerr().
Referenced by spf::SherpackFetcher::Fetch().
int spu::verify_checksum | ( | const char * | p | ) |
Definition at line 255 of file SherpackUtilities.cc.
References dqmiodumpmetadata::n, AlCaHLTBitMon_ParallelJobs::p, and parseoct().
Referenced by Untar().
void spu::zerr | ( | int | ret | ) |
Definition at line 129 of file SherpackUtilities.cc.
References runTheMatrix::ret, submitPVResolutionJobs::stderr, cmsLHEtoEOSManager::stdin, and mps_setup::stdout.
Referenced by MultiFileBlob::expand(), MultiFileBlob::finalized(), FileBlob::getUncompressedBlob(), TkMSParameterizationBuilder::produce(), FileBlob::read(), Unzip(), FileBlob::write(), and MillePedeFileExtractor::writeGzipped().