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 213 of file SherpackUtilities.cc.
References eostools::mkdir(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, AlCaHLTBitMon_ParallelJobs::p, BTVHLTOfflineSource_cfi::pathname, and submitPVResolutionJobs::stderr.
Referenced by create_file(), and Untar().
FILE * spu::create_file | ( | char * | pathname, |
int | mode | ||
) |
Definition at line 239 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 15 of file SherpackUtilities.cc.
References cms::cuda::assert(), CHUNK, mps_fire::dest, recoMuon::in, gammaJetAnalysis_CHSJECs_cff::level, MillePedeFileConverter_cfg::out, runTheMatrix::ret, source, and funct::void.
Referenced by FWProxyBuilderConfiguration::assertParam(), BOOST_PYTHON_MODULE(), CSCOfflineClient::dqmEndJob(), DTReadOutMapping::expandMap(), DTExpandMap::expandSteering(), MonRunOutcomeDef::fetchAllDefs(), edm::service::ThreadSafeLogMessageLoggerScribe::getAparameter(), popcon::EcalSRPHandler::getNewObjects(), evf::EvFDaqDirector::getNFilesFromEoLS(), FWTableWidget::handleResize(), MagCylinder::MagCylinder(), MultipleAlgoIterator::offsetCorrectJets(), ReflectedIterator::offsetCorrectJets(), ParametrizedSubtractor::offsetCorrectJets(), operator<<(), hitfit::operator<<(), PYBIND11_MODULE(), l1t::PYBIND11_MODULE(), readCfgParameter(), JME::JetResolutionObject::Record::Record(), and L1DataEmulDigi::reset().
int spu::inf | ( | FILE * | source, |
FILE * | dest | ||
) |
Definition at line 70 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 204 of file SherpackUtilities.cc.
References create_idmaps::n, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by Untar().
void spu::md5_File | ( | std::string | filename, |
char * | result | ||
) |
Definition at line 487 of file SherpackUtilities.cc.
References cms::cuda::assert(), edmScanValgrind::buffer, EVP_MD_CTX_free, EVP_MD_CTX_new, ztee::fd, corrVsCorr::filename, isotrackApplyRegressor::k, cms::openssl_init(), SiPixelLorentzAngle_cfi::read, mps_fire::result, and createJobs::tmp.
Referenced by spf::SherpackFetcher::Fetch().
int spu::parseoct | ( | const char * | p, |
size_t | n | ||
) |
Definition at line 187 of file SherpackUtilities.cc.
References mps_fire::i, create_idmaps::n, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by Untar(), and verify_checksum().
void spu::Untar | ( | FILE * | a, |
const char * | path | ||
) |
Definition at line 269 of file SherpackUtilities.cc.
References a, create_dir(), create_file(), f, is_end_of_archive(), isotrackApplyRegressor::k, parseoct(), EnsembleCalibrationLA_cfg::path, submitPVResolutionJobs::stderr, 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(), timingPdfMaker::infile, MillePedeFileConverter_cfg::out, PixelBaryCentreAnalyzer_cfg::outfile, runTheMatrix::ret, SET_BINARY_MODE, and zerr().
Referenced by spf::SherpackFetcher::Fetch().
int spu::verify_checksum | ( | const char * | p | ) |
Definition at line 256 of file SherpackUtilities.cc.
References create_idmaps::n, AlCaHLTBitMon_ParallelJobs::p, and parseoct().
Referenced by Untar().
void spu::zerr | ( | int | ret | ) |
Definition at line 130 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().