Home
last modified time | relevance | path

Searched refs:DotPos (Results 1 – 7 of 7) 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/llvm-project/llvm/lib/Linker/
DIRMover.cpp736 size_t DotPos = Name.rfind('.'); in getTypeNamePrefix() local
737 return (DotPos == 0 || DotPos == StringRef::npos || Name.back() == '.' || in getTypeNamePrefix()
738 !isdigit(static_cast<unsigned char>(Name[DotPos + 1]))) in getTypeNamePrefix()
740 : Name.substr(0, DotPos); in getTypeNamePrefix()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DIRMover.cpp733 size_t DotPos = Name.rfind('.'); in getTypeNamePrefix() local
734 return (DotPos == 0 || DotPos == StringRef::npos || Name.back() == '.' || in getTypeNamePrefix()
735 !isdigit(static_cast<unsigned char>(Name[DotPos + 1]))) in getTypeNamePrefix()
737 : 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()
/external/llvm-project/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.cpp629 std::string::size_type DotPos = Filename.rfind('.'); in IsHeaderFile() local
631 if (DotPos == std::string::npos) { in IsHeaderFile()
636 std::string Ext = std::string(Filename.begin()+DotPos+1, Filename.end()); in IsHeaderFile()