Home
last modified time | relevance | path

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

/external/llvm-project/llvm/tools/llvm-pdbutil/
DFormatUtil.cpp53 uint32_t RequiredExtraChars = Label.size() + 1 + 2; in truncateQuotedNameFront() local
54 if (MaxLen == 0 || RequiredExtraChars + Name.size() <= MaxLen) in truncateQuotedNameFront()
57 assert(MaxLen >= RequiredExtraChars); in truncateQuotedNameFront()
58 std::string TN = truncateStringFront(Name, MaxLen - RequiredExtraChars); in truncateQuotedNameFront()
64 uint32_t RequiredExtraChars = Label.size() + 1 + 2; in truncateQuotedNameBack() local
65 if (MaxLen == 0 || RequiredExtraChars + Name.size() <= MaxLen) in truncateQuotedNameBack()
68 assert(MaxLen >= RequiredExtraChars); in truncateQuotedNameBack()
69 std::string TN = truncateStringBack(Name, MaxLen - RequiredExtraChars); in truncateQuotedNameBack()