Searched refs:kMaxSnippetLength (Results 1 – 2 of 2) sorted by relevance
88 const unsigned kMaxSnippetLength = 64; in snippetForBuffer() local90 unsigned snippetLength = std::min(sharedBuffer->size(), kMaxSnippetLength); in snippetForBuffer()
90 const unsigned kMaxSnippetLength = 64; in fillWithSnippet() local93 size_t expectedLength = std::min(string->length(), kMaxSnippetLength); in fillWithSnippet()94 if (expectedLength == kMaxSnippetLength) in fillWithSnippet()100 for (i = 0; i < string->length() && i < kMaxSnippetLength; ++i) { in fillWithSnippet()