/external/clang/lib/Analysis/ |
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 …]
|
D | FormatStringParsing.h | 28 OptionalAmount ParseAmount(const char *&Beg, const char *E); 29 OptionalAmount ParseNonPositionAmount(const char *&Beg, const char *E, 33 const char *Start, const char *&Beg, 38 const char *Start, const char *&Beg, const char *E, 43 const char *&Beg, const char *E); 47 bool ParseLengthModifier(FormatSpecifier &FS, const char *&Beg, const char *E,
|
D | ScanfFormatString.cpp | 34 const char *&Beg, const char *E) { in ParseScanList() argument 35 const char *I = Beg; in ParseScanList() 37 UpdateOnReturn <const char*> UpdateBeg(Beg, I); in ParseScanList() 77 const char *&Beg, in ParseScanfSpecifier() argument 84 const char *I = Beg; in ParseScanfSpecifier() 86 UpdateOnReturn <const char*> UpdateBeg(Beg, I); in ParseScanfSpecifier() 216 return !H.HandleInvalidScanfConversionSpecifier(FS, Beg, I - Beg); in ParseScanfSpecifier()
|
D | PrintfFormatString.cpp | 38 const char *Start, const char *&Beg, const char *E, in ParsePrecision() argument 41 FS.setPrecision(ParseNonPositionAmount(Beg, E, *argIndex)); in ParsePrecision() 43 const OptionalAmount Amt = ParsePositionAmount(H, Start, Beg, E, in ParsePrecision() 53 const char *&Beg, in ParsePrintfSpecifier() argument 62 const char *I = Beg; in ParsePrintfSpecifier() 64 UpdateOnReturn <const char*> UpdateBeg(Beg, I); in ParsePrintfSpecifier()
|
/external/compiler-rt/lib/asan/ |
D | asan_allocator.h | 42 uptr Beg(); // First byte of user memory. 51 if (addr >= Beg() && (addr + access_size) <= End()) { in AddrIsInside() 52 *offset = addr - Beg(); in AddrIsInside() 59 if (addr < Beg()) { in AddrIsAtLeft() 60 *offset = Beg() - addr; in AddrIsAtLeft()
|
D | asan_allocator2.cc | 155 uptr Beg() { return reinterpret_cast<uptr>(this) + kChunkHeaderSize; } in Beg() function 169 return reinterpret_cast<void*>(Beg() - RZLog2Size(rz_log)); in AllocBeg() 174 return (u32*)(Beg() - RZLog2Size(rz_log)); in AllocStackBeg() 181 return (u32*)(Beg() + kChunkHeader2Size); in FreeStackBeg() 189 return (addr >= Beg()) && (addr < Beg() + UsedSize(locked_version)); in AddrIsInside() 196 uptr AsanChunkView::Beg() { return chunk_->Beg(); } in Beg() function in __asan::AsanChunkView 197 uptr AsanChunkView::End() { return Beg() + UsedSize(); } in End() 242 PoisonShadow(m->Beg(), in Recycle() 445 PoisonShadow(m->Beg(), in QuarantineChunk() 534 if (m->Beg() != p) return 0; in AllocationSize() [all …]
|
D | asan_report.cc | 455 (void *)(chunk.Beg()), (void *)(chunk.End())); in DescribeAccessToHeapChunk()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | BugReporterVisitors.cpp | 117 BugReport::ranges_iterator Beg, End; in getDefaultEndPath() local 118 std::tie(Beg, End) = BR.getRanges(); in getDefaultEndPath() 124 Beg == End); in getDefaultEndPath() 125 for (; Beg != End; ++Beg) in getDefaultEndPath() 126 P->addRange(*Beg); in getDefaultEndPath()
|
D | BugReporter.cpp | 3454 BugReport::ranges_iterator Beg, End; in FlushReport() local 3455 std::tie(Beg, End) = exampleReport->getRanges(); in FlushReport() 3456 for ( ; Beg != End; ++Beg) in FlushReport() 3457 piece->addRange(*Beg); in FlushReport()
|
/external/llvm/lib/CodeGen/ |
D | MachineScheduler.cpp | 217 MachineBasicBlock::const_iterator Beg) { in priorNonDebug() argument 218 assert(I != Beg && "reached the top of the region, cannot decrement"); in priorNonDebug() 219 while (--I != Beg) { in priorNonDebug() 229 MachineBasicBlock::const_iterator Beg) { in priorNonDebug() argument 231 &*priorNonDebug(MachineBasicBlock::const_iterator(I), Beg)); in priorNonDebug()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 1902 SourceLocation Beg = LBraceLoc; in getLocStart() local 1903 if (Beg.isInvalid()) { in getLocStart() 1909 Beg = S->getLocStart(); in getLocStart() 1914 return Beg; in getLocStart()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 2290 const char *Beg; // Start of format string. member in __anon74e15dea0311::CheckFormatHandler 2310 Beg(beg), HasVAListArg(hasVAListArg), in CheckFormatHandler() 2401 return S.getLocationOfStringLiteralByte(FExpr, x - Beg); in getLocationOfByte()
|