Searched refs:NumChars (Results 1 – 7 of 7) sorted by relevance
/openbsd/gnu/llvm/llvm/lib/TableGen/ |
H A D | StringMatcher.cpp | 86 unsigned NumChars = FirstNonCommonLetter-CharNo; in EmitStringMatcherForChar() local 89 if (NumChars == 1) { in EmitStringMatcherForChar() 99 << ", \"" << Matches[0]->first.substr(CharNo, NumChars) << "\", " in EmitStringMatcherForChar() 100 << NumChars << ") != 0)\n"; in EmitStringMatcherForChar()
|
/openbsd/gnu/llvm/llvm/lib/Support/ |
H A D | NativeFormatting.cpp | 150 unsigned NumChars = in write_hex() local 157 char *EndPtr = NumberBuffer + NumChars; in write_hex() 165 S.write(NumberBuffer, NumChars); in write_hex()
|
H A D | raw_ostream.cpp | 482 static raw_ostream &write_padding(raw_ostream &OS, unsigned NumChars) { in write_padding() argument 490 if (NumChars < std::size(Chars)) in write_padding() 491 return OS.write(Chars, NumChars); in write_padding() 493 while (NumChars) { in write_padding() 494 unsigned NumToWrite = std::min(NumChars, (unsigned)std::size(Chars) - 1); in write_padding() 496 NumChars -= NumToWrite; in write_padding()
|
/openbsd/gnu/llvm/llvm/lib/Demangle/ |
H A D | MicrosoftDemangle.cpp | 1209 static unsigned guessCharByteSize(const uint8_t *StringBytes, unsigned NumChars, in guessCharByteSize() argument 1221 unsigned TrailingNulls = countTrailingNullBytes(StringBytes, NumChars); in guessCharByteSize() 1235 unsigned Nulls = countEmbeddedNulls(StringBytes, NumChars); in guessCharByteSize() 1236 if (Nulls >= 2 * NumChars / 3 && NumBytes % 4 == 0) in guessCharByteSize() 1238 if (Nulls >= NumChars / 3) in guessCharByteSize() 1364 const unsigned NumChars = BytesDecoded / CharBytes; in demangleStringLiteral() local 1365 for (unsigned CharIndex = 0; CharIndex < NumChars; ++CharIndex) { in demangleStringLiteral() 1368 if (CharIndex + 1 < NumChars || Result->IsTruncated) in demangleStringLiteral()
|
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGRecordLayoutBuilder.cpp | 139 llvm::Type *getByteArrayType(CharUnits NumChars) { in getByteArrayType() 140 assert(!NumChars.isZero() && "Empty byte arrays aren't allowed."); in getByteArrayType() 142 return NumChars == CharUnits::One() ? Type : in getByteArrayType() 143 (llvm::Type *)llvm::ArrayType::get(Type, NumChars.getQuantity()); in getByteArrayType()
|
/openbsd/gnu/llvm/clang/utils/TableGen/ |
H A D | SveEmitter.cpp | 859 unsigned NumChars = End - Pos + 1; in replaceTemplatedArgs() local 860 assert(NumChars == 3 && "Unexpected template argument"); in replaceTemplatedArgs() 888 Ret.replace(Pos, NumChars, TypeCode + utostr(T.getElementSizeInBits())); in replaceTemplatedArgs()
|
/openbsd/gnu/llvm/clang/lib/Format/ |
H A D | BreakableToken.cpp | 81 for (unsigned NumChars = 0; in getCommentSplit() local 82 NumChars < MaxSplit && MaxSplitBytes < Text.size();) { in getCommentSplit() 85 NumChars += in getCommentSplit()
|