Home
last modified time | relevance | path

Searched refs:SizeofPtr (Results 1 – 3 of 3) sorted by relevance

/external/llvm/tools/sanstats/
Dsanstats.cpp30 inline uint64_t KindFromData(uint64_t Data, char SizeofPtr) { in KindFromData() argument
31 return Data >> (SizeofPtr * 8 - kSanitizerStatKindBits); in KindFromData()
34 inline uint64_t CountFromData(uint64_t Data, char SizeofPtr) { in CountFromData() argument
35 return Data & ((1ull << (SizeofPtr * 8 - kSanitizerStatKindBits)) - 1); in CountFromData()
49 const char *ReadModule(char SizeofPtr, const char *Begin, const char *End) { in ReadModule() argument
67 uint64_t Addr = ReadLE(SizeofPtr, Begin, End); in ReadModule()
68 Begin += SizeofPtr; in ReadModule()
69 uint64_t Data = ReadLE(SizeofPtr, Begin, End); in ReadModule()
70 Begin += SizeofPtr; in ReadModule()
87 switch (KindFromData(Data, SizeofPtr)) { in ReadModule()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/sanstats/
Dsanstats.cpp30 inline uint64_t KindFromData(uint64_t Data, char SizeofPtr) { in KindFromData() argument
31 return Data >> (SizeofPtr * 8 - kSanitizerStatKindBits); in KindFromData()
34 inline uint64_t CountFromData(uint64_t Data, char SizeofPtr) { in CountFromData() argument
35 return Data & ((1ull << (SizeofPtr * 8 - kSanitizerStatKindBits)) - 1); in CountFromData()
49 const char *ReadModule(char SizeofPtr, const char *Begin, const char *End) { in ReadModule() argument
67 uint64_t Addr = ReadLE(SizeofPtr, Begin, End); in ReadModule()
68 Begin += SizeofPtr; in ReadModule()
69 uint64_t Data = ReadLE(SizeofPtr, Begin, End); in ReadModule()
70 Begin += SizeofPtr; in ReadModule()
90 switch (KindFromData(Data, SizeofPtr)) { in ReadModule()
[all …]
/external/clang/include/clang/StaticAnalyzer/Checkers/
DCheckers.td150 def SizeofPointerChecker : Checker<"SizeofPtr">,