Home
last modified time | relevance | path

Searched refs:CXStringBuf (Results 1 – 6 of 6) sorted by relevance

/external/clang/tools/libclang/
DCXString.h28 struct CXStringBuf;
69 CXString createCXString(CXStringBuf *buf);
78 CXStringBuf *getCXStringBuf(CXTranslationUnit TU);
81 std::vector<CXStringBuf *> Pool;
83 friend struct CXStringBuf;
86 struct CXStringBuf { struct
90 CXStringBuf(CXTranslationUnit TU) : TU(TU) {} in CXStringBuf() argument
96 CXStringBuf *getCXStringBuf(CXTranslationUnit TU);
DCXString.cpp108 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()
DCIndexUSRs.cpp53 cxstring::CXStringBuf *buf = cxstring::getCXStringBuf(TU); in clang_getCursorUSR()
74 cxstring::CXStringBuf *buf = cxstring::getCXStringBuf(TU); in clang_getCursorUSR()
/external/llvm-project/clang/tools/libclang/
DCXString.h27 struct CXStringBuf;
68 CXString createCXString(CXStringBuf *buf);
77 CXStringBuf *getCXStringBuf(CXTranslationUnit TU);
80 std::vector<CXStringBuf *> Pool;
82 friend struct CXStringBuf;
85 struct CXStringBuf { struct
89 CXStringBuf(CXTranslationUnit TU) : TU(TU) {} in CXStringBuf() function
95 CXStringBuf *getCXStringBuf(CXTranslationUnit TU);
DCXString.cpp106 CXString createCXString(CXStringBuf *buf) { in createCXString()
128 for (std::vector<CXStringBuf *>::iterator I = Pool.begin(), E = Pool.end(); in ~CXStringPool()
134 CXStringBuf *CXStringPool::getCXStringBuf(CXTranslationUnit TU) { in getCXStringBuf()
136 return new CXStringBuf(TU); in getCXStringBuf()
138 CXStringBuf *Buf = Pool.back(); in getCXStringBuf()
144 CXStringBuf *getCXStringBuf(CXTranslationUnit TU) { in getCXStringBuf()
148 void CXStringBuf::dispose() { in dispose()
165 return static_cast<const cxstring::CXStringBuf *>(string.data)->Data.data(); in clang_getCString()
179 static_cast<cxstring::CXStringBuf *>( in clang_disposeString()
DCIndexUSRs.cpp50 cxstring::CXStringBuf *buf = cxstring::getCXStringBuf(TU); in clang_getCursorUSR()
71 cxstring::CXStringBuf *buf = cxstring::getCXStringBuf(TU); in clang_getCursorUSR()