Lines Matching refs:ptr_data

34   return ((uintptr_t)L.ptr_data[0] & 0x1) == 0;  in isASTUnitSourceLocation()
47 return (loc1.ptr_data[0] == loc2.ptr_data[0] && in clang_equalLocations()
48 loc1.ptr_data[1] == loc2.ptr_data[1] && in clang_equalLocations()
61 CXSourceRange Result = { { begin.ptr_data[0], end.ptr_data[0] }, 0, 0 }; in clang_getRange()
65 if (begin.ptr_data[0] != end.ptr_data[0] || in clang_getRange()
66 begin.ptr_data[1] != end.ptr_data[1]) in clang_getRange()
69 CXSourceRange Result = { { begin.ptr_data[0], begin.ptr_data[1] }, in clang_getRange()
76 return range1.ptr_data[0] == range2.ptr_data[0] in clang_equalRanges()
77 && range1.ptr_data[1] == range2.ptr_data[1] in clang_equalRanges()
89 if ((uintptr_t)range.ptr_data[0] & 0x1) { in clang_getRangeStart()
90 CXSourceLocation Result = { { range.ptr_data[0], nullptr }, 0 }; in clang_getRangeStart()
94 CXSourceLocation Result = { { range.ptr_data[0], range.ptr_data[1] }, in clang_getRangeStart()
101 if ((uintptr_t)range.ptr_data[0] & 0x1) { in clang_getRangeEnd()
102 CXSourceLocation Result = { { range.ptr_data[1], nullptr }, 0 }; in clang_getRangeEnd()
106 CXSourceLocation Result = { { range.ptr_data[0], range.ptr_data[1] }, in clang_getRangeEnd()
207 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_Location_isInSystemHeader()
218 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_Location_isFromMainFile()
234 if (!location.ptr_data[0] || Loc.isInvalid()) { in clang_getExpansionLocation()
240 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_getExpansionLocation()
276 if (!location.ptr_data[0] || Loc.isInvalid()) { in clang_getPresumedLocation()
282 *static_cast<const SourceManager *>(location.ptr_data[0]); in clang_getPresumedLocation()
316 if (!location.ptr_data[0] || Loc.isInvalid()) in clang_getSpellingLocation()
320 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_getSpellingLocation()
353 if (!location.ptr_data[0] || Loc.isInvalid()) in clang_getFileLocation()
357 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_getFileLocation()