/freebsd-13-stable/sys/contrib/zstd/examples/ |
H A D | common.h | 180 static size_t loadFile_orDie(const char* fileName, void* buffer, size_t bufferSize) argument 182 size_t const fileSize = fsize_orDie(fileName); 185 FILE* const inFile = fopen_orDie(fileName, "rb"); 188 fprintf(stderr, "fread: %s : %s \n", fileName, strerror(errno)); 204 static void* mallocAndLoadFile_orDie(const char* fileName, size_t* bufferSize) { argument 205 size_t const fileSize = fsize_orDie(fileName); 208 loadFile_orDie(fileName, buffer, *bufferSize); 220 static void saveFile_orDie(const char* fileName, const void* buff, size_t buffSize) argument 222 FILE* const oFile = fopen_orDie(fileName, "wb"); 225 fprintf(stderr, "fwrite: %s : %s \n", fileName, strerro [all...] |
/freebsd-13-stable/contrib/opencsd/decoder/source/ |
H A D | ocsd_msg_logger.cpp | 59 void ocsdMsgLogger::setLogFileName(const char *fileName) argument 61 if (fileName == 0) 64 m_logFileName = fileName;
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
H A D | ModelInjector.cpp | 54 llvm::SmallString<128> fileName; local 57 fileName = 60 fileName = llvm::StringRef(D->getName().str() + ".model"); 62 if (!llvm::sys::fs::exists(fileName.str())) { 72 FrontendOpts.Inputs.emplace_back(fileName, IK);
|
/freebsd-13-stable/contrib/opencsd/decoder/include/common/ |
H A D | ocsd_msg_logger.h | 70 void setLogFileName(const char *fileName); //!< Set the output log filename, and enable logging to file.
|
/freebsd-13-stable/contrib/llvm-project/lld/Common/ |
H A D | DWARF.cpp | 80 std::string fileName; 83 DILineInfoSpecifier::FileLineInfoKind::AbsoluteFilePath, fileName)) 86 return std::make_pair(fileName, it->second.line);
|
/freebsd-13-stable/contrib/sqlite3/ |
H A D | Replace.cs | 104 string fileName = Path.GetFileName( 109 fileName));
|
/freebsd-13-stable/contrib/llvm-project/lld/COFF/ |
H A D | MinGW.cpp | 154 StringRef fileName = sys::path::filename(sym->getFile()->getName()); 155 return !excludeObjects.count(fileName);
|
H A D | PDB.cpp | 203 static void pdbMakeAbsolute(SmallVectorImpl<char> &fileName) { argument 211 if (sys::path::is_absolute(fileName, sys::path::Style::windows) || 212 sys::path::is_absolute(fileName, sys::path::Style::posix)) 219 sys::path::native(fileName); 220 sys::fs::make_absolute(fileName); 232 sys::path::append(absoluteFileName, guessedStyle, fileName); 236 fileName = std::move(absoluteFileName);
|
/freebsd-13-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | extractExternal.cpp | 69 static pair<const char *, streamsize> getBuf(const char *fileName) { argument 70 ifstream raw(fileName, ios::binary | ios::in); 89 rstream(const char *fileName) : _rstream(getBuf(fileName)) {} argument 237 void computeExternalSymbols(const char *fileName, set<string> *defined, argument 242 rstream f(fileName); 252 printf("computeExternalSymbols: fileName='%s', fileSize = %lu, symTabStart " 254 fileName, (unsigned long)fileSize, symTabStart, symNEntries); 289 // by <fileName> that is a member of <hide>, renames it by prefixing 291 void hideSymbols(char *fileName, cons argument [all...] |
/freebsd-13-stable/sys/contrib/zstd/programs/ |
H A D | dibio.c | 114 const char* const fileName = fileNamesTable[fileIndex]; local 115 unsigned long long const fs64 = UTIL_getFileSize(fileName); 121 FILE* const f = fopen(fileName, "rb"); 122 if (f==NULL) EXM_THROW(10, "zstd: dictBuilder: %s %s ", fileName, strerror(errno)); 123 DISPLAYUPDATE(2, "Loading %s... \r", fileName); 128 if (readSize != toLoad) EXM_THROW(11, "Pb reading %s", fileName);
|
H A D | fileio.c | 564 * @result : Unlink `fileName`, even if it's read-only */ 695 * if fileName==NULL, returns 0 and a NULL pointer 697 static size_t FIO_createDictBuffer(void** bufferPtr, const char* fileName, FIO_prefs_t* const prefs) argument 704 if (fileName == NULL) return 0; 706 DISPLAYLEVEL(4,"Loading %s as dictionary \n", fileName); 707 fileHandle = fopen(fileName, "rb"); 708 if (fileHandle==NULL) EXM_THROW(31, "%s: %s", fileName, strerror(errno)); 710 fileSize = UTIL_getFileSize(fileName); 715 fileName, (unsigned)dictSizeMax); /* avoid extreme cases */ 723 fileName, strerro [all...] |
/freebsd-13-stable/contrib/llvm-project/lld/ELF/ |
H A D | Writer.h | 59 llvm::StringRef fileName);
|
/freebsd-13-stable/cddl/usr.sbin/zfsd/ |
H A D | case_file.h | 250 * \param fileName The name of a file containing serialized events 253 static void DeSerializeFile(const char *fileName);
|
H A D | case_file.cc | 701 CaseFile::DeSerializeFile(const char *fileName) argument 703 string fullName(s_caseFilePath + '/' + fileName); 712 if (sscanf(fileName, "pool_%" PRIu64 "_vdev_%" PRIu64 ".case", 715 "Unintelligible CaseFile filename %s.\n", fileName); 731 unlink(fileName); 759 "read %s.\n", fileName); 772 unlink(fileName);
|
/freebsd-13-stable/contrib/apr/dso/unix/ |
H A D | dso.c | 102 const char *fileName; 103 NSLinkEditError(&errors, &errorNumber, &fileName, &err_msg);
|
/freebsd-13-stable/contrib/llvm-project/lld/ELF/Arch/ |
H A D | MipsArchTree.cpp | 354 StringRef fileName) { 358 error(fileName + ": floating point ABI '" + getMipsFpAbiName(newFlag) + 353 getMipsFpAbiFlag(uint8_t oldFlag, uint8_t newFlag, StringRef fileName) argument
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | ELF_x86_64.cpp | 425 std::string fileName(ELFObj->get()->getFileName()); 426 return ELFLinkGraphBuilder_x86_64(std::move(fileName),
|
/freebsd-13-stable/sbin/natd/ |
H A D | natd.c | 119 static void ReadConfigFile (const char* fileName); 1529 void ReadConfigFile (const char* fileName) argument 1537 file = fopen (fileName, "r"); 1539 err(1, "cannot open config file %s", fileName);
|
/freebsd-13-stable/contrib/llvm-project/lld/lib/Driver/ |
H A D | DarwinLdDriver.cpp | 1108 const char* fileName = arg->getValue(2); local 1111 MemoryBuffer::getFile(fileName); 1114 error("can't open -sectcreate file " + Twine(fileName));
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | PathDiagnostic.h | 90 StringRef fileName);
|