Home
last modified time | relevance | path

Searched refs:SourceStart (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Support/
DConvertUTFWrapper.cpp64 const UTF32 *SourceStart = &Source; in ConvertCodePointToUTF8() local
65 const UTF32 *SourceEnd = SourceStart + 1; in ConvertCodePointToUTF8()
68 ConversionResult CR = ConvertUTF32toUTF8(&SourceStart, SourceEnd, in ConvertCodePointToUTF8()
/external/clang/lib/Frontend/
DTextDiagnostic.cpp397 unsigned SourceStart = map.columnToByte(std::min<unsigned>(CaretStart, in selectInterestingSourceRegion() local
403 - (map.byteToColumn(SourceEnd)-map.byteToColumn(SourceStart)); in selectInterestingSourceRegion()
416 while (SourceStart>0 || SourceEnd<SourceLine.size()) { in selectInterestingSourceRegion()
419 if (SourceStart>0) { in selectInterestingSourceRegion()
420 unsigned NewStart = map.startOfPreviousColumn(SourceStart); in selectInterestingSourceRegion()
440 SourceStart = NewStart; in selectInterestingSourceRegion()
460 map.byteToColumn(SourceStart); in selectInterestingSourceRegion()
471 CaretStart = map.byteToColumn(SourceStart); in selectInterestingSourceRegion()
479 SourceStart!=(unsigned)-1 && SourceEnd!=(unsigned)-1); in selectInterestingSourceRegion()
480 assert(SourceStart <= SourceEnd); in selectInterestingSourceRegion()
[all …]
/external/llvm/unittests/Support/
DConvertUTFTest.cpp118 const UTF8 *SourceStart = reinterpret_cast<const UTF8 *>(S.data()); in ConvertUTF8ToUnicodeScalarsLenient() local
120 const UTF8 *SourceNext = SourceStart; in ConvertUTF8ToUnicodeScalarsLenient()
125 ConvertUTF8toUTF32(&SourceNext, SourceStart + S.size(), &TargetStart, in ConvertUTF8ToUnicodeScalarsLenient()
135 const UTF8 *SourceStart = reinterpret_cast<const UTF8 *>(S.data()); in ConvertUTF8ToUnicodeScalarsPartialLenient() local
137 const UTF8 *SourceNext = SourceStart; in ConvertUTF8ToUnicodeScalarsPartialLenient()
142 &SourceNext, SourceStart + S.size(), &TargetStart, in ConvertUTF8ToUnicodeScalarsPartialLenient()