Searched refs:PrefixLength (Results 1 – 5 of 5) sorted by relevance
190 size_t PrefixLength = KnownPrefix.size(); in getLineCommentIndentPrefix() local191 while (PrefixLength < Comment.size() && Comment[PrefixLength] == ' ') in getLineCommentIndentPrefix()192 ++PrefixLength; in getLineCommentIndentPrefix()193 if (PrefixLength > LongestPrefix.size()) in getLineCommentIndentPrefix()194 LongestPrefix = Comment.substr(0, PrefixLength); in getLineCommentIndentPrefix()
153 Cursor C, MIToken &Token, MIToken::TokenKind Type, unsigned PrefixLength, in lexName() argument156 C.advance(PrefixLength); in lexName()162 unescapeQuotedString(String.drop_front(PrefixLength))); in lexName()171 .setStringValue(Range.upto(C).drop_front(PrefixLength)); in lexName()251 unsigned PrefixLength = IsReference ? 4 : 3; in maybeLexMachineBasicBlock() local252 C.advance(PrefixLength); // Skip '%bb.' or 'bb.' in maybeLexMachineBasicBlock()262 unsigned StringOffset = PrefixLength + Number.size(); // Drop '%bb.<id>' in maybeLexMachineBasicBlock()
297 size_t PrefixLength = Prefix.length(); in getCacheFilename() local298 if (ModID.substr(0, PrefixLength) != Prefix) in getCacheFilename()300 std::string CacheSubdir = ModID.substr(PrefixLength); in getCacheFilename()
184 ULONG PrefixLength; member
518 if (TruncateIP(ip, prefixlist->PrefixLength) == current_prefix && in GetPrefix()519 prefixlist->PrefixLength > best_length) { in GetPrefix()521 best_length = prefixlist->PrefixLength; in GetPrefix()