Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DFormatUtil.cpp54 uint32_t RequiredExtraChars = Label.size() + 1 + 2; in truncateQuotedNameFront() local
55 if (MaxLen == 0 || RequiredExtraChars + Name.size() <= MaxLen) in truncateQuotedNameFront()
58 assert(MaxLen >= RequiredExtraChars); in truncateQuotedNameFront()
59 std::string TN = truncateStringFront(Name, MaxLen - RequiredExtraChars); in truncateQuotedNameFront()
65 uint32_t RequiredExtraChars = Label.size() + 1 + 2; in truncateQuotedNameBack() local
66 if (MaxLen == 0 || RequiredExtraChars + Name.size() <= MaxLen) in truncateQuotedNameBack()
69 assert(MaxLen >= RequiredExtraChars); in truncateQuotedNameBack()
70 std::string TN = truncateStringBack(Name, MaxLen - RequiredExtraChars); in truncateQuotedNameBack()