Searched refs:NumChars (Results 1 - 7 of 7) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DStringMatcher.cpp86 unsigned NumChars = FirstNonCommonLetter-CharNo; local
89 if (NumChars == 1) {
99 << ", \"" << Matches[0]->first.substr(CharNo, NumChars) << "\", "
100 << NumChars << ") != 0)\n";
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Support/
H A DNativeFormatting.cpp144 unsigned NumChars = local
151 char *EndPtr = NumberBuffer + NumChars;
159 S.write(NumberBuffer, NumChars);
H A Draw_ostream.cpp476 static raw_ostream &write_padding(raw_ostream &OS, unsigned NumChars) { argument
484 if (NumChars < array_lengthof(Chars))
485 return OS.write(Chars, NumChars);
487 while (NumChars) {
488 unsigned NumToWrite = std::min(NumChars,
491 NumChars -= NumToWrite;
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Demangle/
H A DMicrosoftDemangle.cpp1207 // (passed in StringBytes, NumChars).
1208 static unsigned guessCharByteSize(const uint8_t *StringBytes, unsigned NumChars, argument
1220 unsigned TrailingNulls = countTrailingNullBytes(StringBytes, NumChars);
1234 unsigned Nulls = countEmbeddedNulls(StringBytes, NumChars);
1235 if (Nulls >= 2 * NumChars / 3 && NumBytes % 4 == 0)
1237 if (Nulls >= NumChars / 3)
1369 const unsigned NumChars = BytesDecoded / CharBytes; local
1370 for (unsigned CharIndex = 0; CharIndex < NumChars; ++CharIndex) {
1373 if (CharIndex + 1 < NumChars || Result->IsTruncated)
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp138 /// Gets an llvm type of size NumChars and alignment 1.
139 llvm::Type *getByteArrayType(CharUnits NumChars) { argument
140 assert(!NumChars.isZero() && "Empty byte arrays aren't allowed.");
142 return NumChars == CharUnits::One() ? Type :
143 (llvm::Type *)llvm::ArrayType::get(Type, NumChars.getQuantity());
/netbsd-current/external/apache2/llvm/dist/clang/lib/Format/
H A DBreakableToken.cpp81 for (unsigned NumChars = 0;
82 NumChars < MaxSplit && MaxSplitBytes < Text.size();) {
85 NumChars +=
/netbsd-current/external/apache2/llvm/dist/clang/utils/TableGen/
H A DSveEmitter.cpp859 unsigned NumChars = End - Pos + 1; local
860 assert(NumChars == 3 && "Unexpected template argument");
888 Ret.replace(Pos, NumChars, TypeCode + utostr(T.getElementSizeInBits()));

Completed in 225 milliseconds