/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | FormatStringParsing.h | 40 OptionalAmount ParseAmount(const char *&Beg, const char *E); 41 OptionalAmount ParseNonPositionAmount(const char *&Beg, const char *E, 45 const char *Start, const char *&Beg, 50 const char *Start, const char *&Beg, const char *E, 55 const char *&Beg, const char *E); 58 FormatSpecifier &FS, const char *&Beg, const char *E, 63 bool ParseLengthModifier(FormatSpecifier &FS, const char *&Beg, const char *E,
|
H A D | FormatString.cpp | 37 clang::analyze_format_string::ParseAmount(const char *&Beg, const char *E) { in ParseAmount() argument 38 const char *I = Beg; in ParseAmount() 39 UpdateOnReturn <const char*> UpdateBeg(Beg, I); in ParseAmount() 53 return OptionalAmount(OptionalAmount::Constant, accumulator, Beg, I - Beg, in ParseAmount() 63 clang::analyze_format_string::ParseNonPositionAmount(const char *&Beg, in ParseNonPositionAmount() argument 66 if (*Beg == '*') { in ParseNonPositionAmount() 67 ++Beg; in ParseNonPositionAmount() 68 return OptionalAmount(OptionalAmount::Arg, argIndex++, Beg, 0, false); in ParseNonPositionAmount() 71 return ParseAmount(Beg, E); in ParseNonPositionAmount() 77 const char *&Beg, in ParsePositionAmount() argument [all …]
|
H A D | ScanfFormatString.cpp | 33 const char *&Beg, const char *E) { in ParseScanList() argument 34 const char *I = Beg; in ParseScanList() 36 UpdateOnReturn <const char*> UpdateBeg(Beg, I); in ParseScanList() 76 const char *&Beg, in ParseScanfSpecifier() argument 83 const char *I = Beg; in ParseScanfSpecifier() 85 UpdateOnReturn <const char*> UpdateBeg(Beg, I); in ParseScanfSpecifier() 215 unsigned Len = I - Beg; in ParseScanfSpecifier() 216 if (ParseUTF8InvalidSpecifier(Beg, E, Len)) { in ParseScanfSpecifier() 217 CS.setEndScanList(Beg + Len); in ParseScanfSpecifier() 221 return !H.HandleInvalidScanfConversionSpecifier(FS, Beg, Len); in ParseScanfSpecifier()
|
H A D | PrintfFormatString.cpp | 39 const char *Start, const char *&Beg, const char *E, in ParsePrecision() argument 42 FS.setPrecision(ParseNonPositionAmount(Beg, E, *argIndex)); in ParsePrecision() 44 const OptionalAmount Amt = ParsePositionAmount(H, Start, Beg, E, in ParsePrecision() 72 const char *&Beg, in ParsePrintfSpecifier() argument 83 const char *I = Beg; in ParsePrintfSpecifier() 85 UpdateOnReturn <const char*> UpdateBeg(Beg, I); in ParsePrintfSpecifier()
|
H A D | Expr.cpp | 2480 SourceLocation Beg = LBraceLoc; in getBeginLoc() local 2481 if (Beg.isInvalid()) { in getBeginLoc() 2487 Beg = S->getBeginLoc(); in getBeginLoc() 2492 return Beg; in getBeginLoc()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerExtraCounters.cpp | 24 uintptr_t *Beg = reinterpret_cast<uintptr_t*>(ExtraCountersBegin()); in ClearExtraCounters() local 26 for (; Beg < End; Beg++) { in ClearExtraCounters() 27 *Beg = 0; in ClearExtraCounters()
|
H A D | FuzzerExtraCountersWindows.cpp | 74 uint8_t *Beg = ExtraCountersBegin(); in ClearExtraCounters() local 75 SecureZeroMemory(Beg, ExtraCountersEnd() - Beg); in ClearExtraCounters()
|
H A D | FuzzerDataFlowTrace.cpp | 149 const char *Beg = Line.c_str() + SpacePos + 1; in ParseDFTLine() local 151 assert(Beg < End); in ParseDFTLine() 152 size_t Len = End - Beg; in ParseDFTLine() 154 if (Beg[I] != '0' && Beg[I] != '1') in ParseDFTLine() 157 *DFTString = Beg; in ParseDFTLine()
|
H A D | FuzzerDriver.cpp | 347 auto Beg = S.find("DEDUP_TOKEN:"); in GetDedupTokenFromCmdOutput() local 348 if (Beg == std::string::npos) in GetDedupTokenFromCmdOutput() 350 auto End = S.find('\n', Beg); in GetDedupTokenFromCmdOutput() 353 return S.substr(Beg, End - Beg); in GetDedupTokenFromCmdOutput()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_allocator.cpp | 161 uptr Beg() { return reinterpret_cast<uptr>(this) + kChunkHeaderSize; } in Beg() function in __asan::AsanChunk 163 return (addr >= Beg()) && (addr < Beg() + UsedSize()); in AddrIsInside() 219 PoisonShadow(m->Beg(), RoundUpTo(m->UsedSize(), ASAN_SHADOW_GRANULARITY), in PreQuarantine() 242 PoisonShadow(m->Beg(), RoundUpTo(m->UsedSize(), ASAN_SHADOW_GRANULARITY), in Recycle() 407 uptr beg = ac->Beg(); in RePoisonChunk() 408 uptr end = ac->Beg() + ac->UsedSize(); in RePoisonChunk() 521 if (m->Beg() != addr) return false; in UpdateAllocationStack() 848 if (m->Beg() != p) return 0; in AllocationSize() 927 uptr AsanChunkView::Beg() const { return chunk_->Beg(); } in Beg() function in __asan::AsanChunkView 928 uptr AsanChunkView::End() const { return Beg() + UsedSize(); } in End() [all …]
|
H A D | asan_descriptions.cpp | 120 descr->chunk_begin = chunk.Beg(); in GetAccessToHeapChunkInformation()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | IteratorRangeChecker.cpp | 326 const auto Beg = CData->getBegin(); in isAheadOfRange() local 327 if (Beg) { in isAheadOfRange() 328 if (isLess(State, Pos.getOffset(), Beg)) { in isAheadOfRange()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_allocator.cpp | 54 uptr HwasanChunkView::Beg() const { in Beg() function in __hwasan::HwasanChunkView 58 return Beg() + UsedSize(); in End() 80 return (addr >= Beg()) && (addr < Beg() + UsedSize()); in AddrIsInside()
|
H A D | hwasan_allocator.h | 104 uptr Beg() const; // First byte of user memory
|
H A D | hwasan_report.cpp | 636 result.begin = chunk.Beg(); in CopyHeapChunk() 711 result.heap.begin = chunk.Beg(); in FindBufferOverflowCandidate()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
H A D | memprof_allocator.cpp | 154 uptr Beg() { return reinterpret_cast<uptr>(this) + kChunkHeaderSize; } in Beg() function 616 if (m->Beg() != p) in AllocationSize() 759 return (const void *)m->Beg(); in memprof_malloc_begin()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/ |
H A D | Signals.inc | 280 intptr_t Beg = ModuleBase; 281 intptr_t End = Beg + ModuleSize; 286 if (Beg <= Addr && Addr < End) { 288 Data->Offsets[I] = Addr - Beg;
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineScheduler.cpp | 351 MachineBasicBlock::const_iterator Beg) { in priorNonDebug() argument 352 assert(I != Beg && "reached the top of the region, cannot decrement"); in priorNonDebug() 353 while (--I != Beg) { in priorNonDebug() 363 MachineBasicBlock::const_iterator Beg) { in priorNonDebug() argument 364 return priorNonDebug(MachineBasicBlock::const_iterator(I), Beg) in priorNonDebug()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 6152 const char *Beg; // Start of format string. member in __anon28c3fbb11b11::CheckFormatHandler 6175 FirstDataArg(firstDataArg), NumDataArgs(numDataArgs), Beg(beg), in CheckFormatHandler() 6265 return FExpr->getLocationOfByte(x - Beg, S.getSourceManager(), in getLocationOfByte()
|