Home
last modified time | relevance | path

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

/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/swiftshader/third_party/llvm-subzero/lib/Support/
DConvertUTFWrapper.cpp67 const UTF32 *SourceStart = &Source; in ConvertCodePointToUTF8() local
68 const UTF32 *SourceEnd = SourceStart + 1; in ConvertCodePointToUTF8()
71 ConversionResult CR = ConvertUTF32toUTF8(&SourceStart, SourceEnd, in ConvertCodePointToUTF8()
/external/llvm/lib/Support/
DConvertUTFWrapper.cpp67 const UTF32 *SourceStart = &Source; in ConvertCodePointToUTF8() local
68 const UTF32 *SourceEnd = SourceStart + 1; in ConvertCodePointToUTF8()
71 ConversionResult CR = ConvertUTF32toUTF8(&SourceStart, SourceEnd, in ConvertCodePointToUTF8()
/external/llvm/unittests/Support/
DConvertUTFTest.cpp154 const UTF8 *SourceStart = reinterpret_cast<const UTF8 *>(S.data()); in ConvertUTF8ToUnicodeScalarsLenient() local
156 const UTF8 *SourceNext = SourceStart; in ConvertUTF8ToUnicodeScalarsLenient()
161 ConvertUTF8toUTF32(&SourceNext, SourceStart + S.size(), &TargetStart, in ConvertUTF8ToUnicodeScalarsLenient()
171 const UTF8 *SourceStart = reinterpret_cast<const UTF8 *>(S.data()); in ConvertUTF8ToUnicodeScalarsPartialLenient() local
173 const UTF8 *SourceNext = SourceStart; in ConvertUTF8ToUnicodeScalarsPartialLenient()
178 &SourceNext, SourceStart + S.size(), &TargetStart, in ConvertUTF8ToUnicodeScalarsPartialLenient()