Home
last modified time | relevance | path

Searched refs:longest_common_prefix (Results 1 – 3 of 3) 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 …]
/external/rust/crates/regex/src/literal/
Dimp.rs61 lcp: Memmem::new(lits.longest_common_prefix()), in new()
/external/rust/crates/regex-syntax/src/hir/literal/
Dmod.rs156 pub fn longest_common_prefix(&self) -> &[u8] { in longest_common_prefix() method
1633 let got = lits.longest_common_prefix();