Home
last modified time | relevance | path

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

/external/gflags/src/
Dgflags_completions.cc105 string *longest_common_prefix);
223 string longest_common_prefix; in PrintFlagCompletionInfo() local
229 &longest_common_prefix); in PrintFlagCompletionInfo()
231 DVLOG(1) << "Identified " << longest_common_prefix in PrintFlagCompletionInfo()
233 if (longest_common_prefix.size() > canonical_token.size()) { in PrintFlagCompletionInfo()
236 DVLOG(1) << "The common prefix '" << longest_common_prefix in PrintFlagCompletionInfo()
239 fprintf(stdout, "--%s", longest_common_prefix.c_str()); in PrintFlagCompletionInfo()
355 string *longest_common_prefix) { in FindMatchingFlags() argument
365 *longest_common_prefix = it->name; in FindMatchingFlags()
367 if (longest_common_prefix->empty() || it->name.empty()) { in FindMatchingFlags()
[all …]