Home
last modified time | relevance | path

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

/external/llvm/lib/Linker/
DIRMover.cpp698 size_t DotPos = ST->getName().rfind('.'); in computeTypeMapping() local
699 if (DotPos == 0 || DotPos == StringRef::npos || in computeTypeMapping()
701 !isdigit(static_cast<unsigned char>(ST->getName()[DotPos + 1]))) in computeTypeMapping()
705 StructType *DST = DstM.getTypeByName(ST->getName().substr(0, DotPos)); in computeTypeMapping()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/
DIRMover.cpp694 size_t DotPos = Name.rfind('.'); in getTypeNamePrefix() local
695 return (DotPos == 0 || DotPos == StringRef::npos || Name.back() == '.' || in getTypeNamePrefix()
696 !isdigit(static_cast<unsigned char>(Name[DotPos + 1]))) in getTypeNamePrefix()
698 : Name.substr(0, DotPos); in getTypeNamePrefix()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp565 std::string::size_type DotPos = Filename.rfind('.'); in IsHeaderFile() local
567 if (DotPos == std::string::npos) { in IsHeaderFile()
572 std::string Ext = std::string(Filename.begin()+DotPos+1, Filename.end()); in IsHeaderFile()
DRewriteModernObjC.cpp628 std::string::size_type DotPos = Filename.rfind('.'); in IsHeaderFile() local
630 if (DotPos == std::string::npos) { in IsHeaderFile()
635 std::string Ext = std::string(Filename.begin()+DotPos+1, Filename.end()); in IsHeaderFile()