Searched refs:columnWidth (Results 1 – 5 of 5) sorted by relevance
65 inline unsigned columnWidth(StringRef Text, Encoding Encoding) { in columnWidth() function88 return TotalWidth + columnWidth(Tail, Encoding); in columnWidthWithTabs()89 TotalWidth += columnWidth(Tail.substr(0, TabPos), Encoding); in columnWidthWithTabs()
10 int columnWidth(StringRef s);
10 int columnWidth(StringRef Text) { in columnWidth() function
288 assert((size_t)llvm::sys::locale::columnWidth(I->getText()) == in buildFixItLine()
214 columns += llvm::sys::locale::columnWidth(res.first); in byteToColumn()247 columns += llvm::sys::locale::columnWidth(res.first); in columnToByte()327 unsigned FixItColumns = llvm::sys::locale::columnWidth(FixItInsertionLine); in selectInterestingSourceRegion()370 = llvm::sys::locale::columnWidth(FixItInsertionLine.substr(0, FixItEnd)); in selectInterestingSourceRegion()1046 HintCol + llvm::sys::locale::columnWidth(I->CodeToInsert); in buildFixItInsertionLine()