Searched refs:CXStringBuf (Results 1 – 3 of 3) sorted by relevance
28 struct CXStringBuf;69 CXString createCXString(CXStringBuf *buf);78 CXStringBuf *getCXStringBuf(CXTranslationUnit TU);81 std::vector<CXStringBuf *> Pool;83 friend struct CXStringBuf;86 struct CXStringBuf { struct90 CXStringBuf(CXTranslationUnit TU) : TU(TU) {} in CXStringBuf() function96 CXStringBuf *getCXStringBuf(CXTranslationUnit TU);
108 CXString createCXString(CXStringBuf *buf) { in createCXString()130 for (std::vector<CXStringBuf *>::iterator I = Pool.begin(), E = Pool.end(); in ~CXStringPool()136 CXStringBuf *CXStringPool::getCXStringBuf(CXTranslationUnit TU) { in getCXStringBuf()138 return new CXStringBuf(TU); in getCXStringBuf()140 CXStringBuf *Buf = Pool.back(); in getCXStringBuf()146 CXStringBuf *getCXStringBuf(CXTranslationUnit TU) { in getCXStringBuf()150 void CXStringBuf::dispose() { in dispose()168 return static_cast<const cxstring::CXStringBuf *>(string.data)->Data.data(); in clang_getCString()182 static_cast<cxstring::CXStringBuf *>( in clang_disposeString()
53 cxstring::CXStringBuf *buf = cxstring::getCXStringBuf(TU); in clang_getCursorUSR()74 cxstring::CXStringBuf *buf = cxstring::getCXStringBuf(TU); in clang_getCursorUSR()