Home
last modified time | relevance | path

Searched refs:FileDesc (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DSimpleStreamChecker.cpp113 SymbolRef FileDesc = Call.getReturnValue().getAsSymbol(); in checkPostCall() local
114 if (!FileDesc) in checkPostCall()
119 State = State->set<StreamMap>(FileDesc, StreamState::getOpened()); in checkPostCall()
132 SymbolRef FileDesc = Call.getArgSVal(0).getAsSymbol(); in checkPreCall() local
133 if (!FileDesc) in checkPreCall()
138 const StreamState *SS = State->get<StreamMap>(FileDesc); in checkPreCall()
140 reportDoubleClose(FileDesc, Call, C); in checkPreCall()
145 State = State->set<StreamMap>(FileDesc, StreamState::getClosed()); in checkPreCall()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dlinux.cpp171 const int FileDesc = open("/dev/urandom", O_RDONLY); in getRandom() local
172 if (FileDesc == -1) in getRandom()
174 ReadBytes = read(FileDesc, Buffer, Length); in getRandom()
175 close(FileDesc); in getRandom()
/llvm-project-15.0.7/clang/tools/clang-nvlink-wrapper/
H A DClangNvlinkWrapper.cpp120 int FileDesc; in extractArchiveFiles() local
122 (ChildNameSplit.first), (ChildNameSplit.second), FileDesc, Path)) in extractArchiveFiles()
/llvm-project-15.0.7/bolt/runtime/
H A Dinstr.cpp509 int FileDesc; // File descriptor for the file on disk backing this member
667 Result.FileDesc = FD; in readDescriptions()
1489 __close(Ctx.FileDesc); in __bolt_instr_data_dump()