Lines Matching refs:ptr_data
34 return ((uintptr_t)L.ptr_data[0] & 0x1) == 0; in isASTUnitSourceLocation()
49 return (loc1.ptr_data[0] == loc2.ptr_data[0] && in clang_equalLocations()
50 loc1.ptr_data[1] == loc2.ptr_data[1] && in clang_equalLocations()
63 CXSourceRange Result = { { begin.ptr_data[0], end.ptr_data[0] }, 0, 0 }; in clang_getRange()
67 if (begin.ptr_data[0] != end.ptr_data[0] || in clang_getRange()
68 begin.ptr_data[1] != end.ptr_data[1]) in clang_getRange()
71 CXSourceRange Result = { { begin.ptr_data[0], begin.ptr_data[1] }, in clang_getRange()
78 return range1.ptr_data[0] == range2.ptr_data[0] in clang_equalRanges()
79 && range1.ptr_data[1] == range2.ptr_data[1] in clang_equalRanges()
91 if ((uintptr_t)range.ptr_data[0] & 0x1) { in clang_getRangeStart()
92 CXSourceLocation Result = { { range.ptr_data[0], nullptr }, 0 }; in clang_getRangeStart()
96 CXSourceLocation Result = { { range.ptr_data[0], range.ptr_data[1] }, in clang_getRangeStart()
103 if ((uintptr_t)range.ptr_data[0] & 0x1) { in clang_getRangeEnd()
104 CXSourceLocation Result = { { range.ptr_data[1], nullptr }, 0 }; in clang_getRangeEnd()
108 CXSourceLocation Result = { { range.ptr_data[0], range.ptr_data[1] }, in clang_getRangeEnd()
216 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_Location_isInSystemHeader()
227 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_Location_isFromMainFile()
243 if (!location.ptr_data[0] || Loc.isInvalid()) { in clang_getExpansionLocation()
249 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_getExpansionLocation()
285 if (!location.ptr_data[0] || Loc.isInvalid()) { in clang_getPresumedLocation()
291 *static_cast<const SourceManager *>(location.ptr_data[0]); in clang_getPresumedLocation()
325 if (!location.ptr_data[0] || Loc.isInvalid()) in clang_getSpellingLocation()
329 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_getSpellingLocation()
362 if (!location.ptr_data[0] || Loc.isInvalid()) in clang_getFileLocation()
366 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_getFileLocation()