Lines Matching refs:CCStr
59 CodeCompletionString *CCStr = (CodeCompletionString *)completion_string; in clang_getCompletionChunkKind() local
60 if (!CCStr || chunk_number >= CCStr->size()) in clang_getCompletionChunkKind()
63 switch ((*CCStr)[chunk_number].Kind) { in clang_getCompletionChunkKind()
113 CodeCompletionString *CCStr = (CodeCompletionString *)completion_string; in clang_getCompletionChunkText() local
114 if (!CCStr || chunk_number >= CCStr->size()) in clang_getCompletionChunkText()
117 switch ((*CCStr)[chunk_number].Kind) { in clang_getCompletionChunkText()
138 return cxstring::createRef((*CCStr)[chunk_number].Text); in clang_getCompletionChunkText()
152 CodeCompletionString *CCStr = (CodeCompletionString *)completion_string; in clang_getCompletionChunkCompletionString() local
153 if (!CCStr || chunk_number >= CCStr->size()) in clang_getCompletionChunkCompletionString()
156 switch ((*CCStr)[chunk_number].Kind) { in clang_getCompletionChunkCompletionString()
181 return (*CCStr)[chunk_number].Optional; in clang_getCompletionChunkCompletionString()
188 CodeCompletionString *CCStr = (CodeCompletionString *)completion_string; in clang_getNumCompletionChunks() local
189 return CCStr? CCStr->size() : 0; in clang_getNumCompletionChunks()
193 CodeCompletionString *CCStr = (CodeCompletionString *)completion_string; in clang_getCompletionPriority() local
194 return CCStr? CCStr->getPriority() : unsigned(CCP_Unlikely); in clang_getCompletionPriority()
199 CodeCompletionString *CCStr = (CodeCompletionString *)completion_string; in clang_getCompletionAvailability() local
200 return CCStr? static_cast<CXAvailabilityKind>(CCStr->getAvailability()) in clang_getCompletionAvailability()
206 CodeCompletionString *CCStr = (CodeCompletionString *)completion_string; in clang_getCompletionNumAnnotations() local
207 return CCStr ? CCStr->getAnnotationCount() : 0; in clang_getCompletionNumAnnotations()
212 CodeCompletionString *CCStr = (CodeCompletionString *)completion_string; in clang_getCompletionAnnotation() local
213 return CCStr ? cxstring::createRef(CCStr->getAnnotation(annotation_number)) in clang_getCompletionAnnotation()
223 CodeCompletionString *CCStr = (CodeCompletionString *)completion_string; in clang_getCompletionParent() local
224 if (!CCStr) in clang_getCompletionParent()
227 return cxstring::createRef(CCStr->getParentContextName()); in clang_getCompletionParent()
232 CodeCompletionString *CCStr = (CodeCompletionString *)completion_string; in clang_getCompletionBriefComment() local
234 if (!CCStr) in clang_getCompletionBriefComment()
237 return cxstring::createRef(CCStr->getBriefComment()); in clang_getCompletionBriefComment()