Searched refs:common_prefix (Results 1 - 11 of 11) sorted by relevance

/external/lldb/source/Core/
H A DStringList.cpp127 StringList::LongestCommonPrefix (std::string &common_prefix) argument
134 common_prefix.clear();
136 common_prefix = m_strings[pos];
142 // First trim common_prefix if it is longer than the current element:
143 if (common_prefix.size() > new_size)
144 common_prefix.erase (new_size);
148 for (size_t i = 0; i < common_prefix.size(); i++)
150 if (m_strings[pos][i] != common_prefix[i])
152 common_prefix.erase(i);
158 if (common_prefix
[all...]
/external/chromium_org/components/url_matcher/
H A Dsubstring_set_matcher.cc43 uint32 common_prefix = 0; local
44 while (common_prefix < prefix_bound &&
45 last_pattern[common_prefix] == current_pattern[common_prefix])
46 ++common_prefix;
47 result += current_pattern.size() - common_prefix;
/external/chromium_org/tools/telemetry/telemetry/core/
H A Dmemory_cache_http_server.py250 common_prefix = os.path.commonprefix(paths)
251 if os.path.isdir(common_prefix):
252 self._base_dir = common_prefix
254 self._base_dir = os.path.dirname(common_prefix)
/external/lldb/include/lldb/Core/
H A DStringList.h64 LongestCommonPrefix (std::string &common_prefix);
/external/chromium_org/tools/telemetry/telemetry/page/
H A D__init__.py186 common_prefix = os.path.dirname(os.path.commonprefix(all_urls))
187 return self.url[len(common_prefix):].strip('/')
/external/lldb/source/Interpreter/
H A DArgs.cpp1191 Args::LongestCommonPrefix (std::string &common_prefix)
1196 common_prefix.clear();
1198 common_prefix = (*pos);
1204 // First trim common_prefix if it is longer than the current element:
1205 if (common_prefix.size() > new_size)
1206 common_prefix.erase (new_size);
1210 for (size_t i = 0; i < common_prefix.size(); i++)
1212 if ((*pos)[i] != common_prefix[i])
1214 common_prefix.erase(i);
1220 if (common_prefix
[all...]
H A DCommandInterpreter.cpp2036 std::string common_prefix; local
2037 matches.LongestCommonPrefix (common_prefix);
2046 common_prefix.push_back(quote_char);
2048 common_prefix.push_back(' ');
2050 common_prefix.erase (0, partial_name_len);
2051 matches.InsertStringAtIndex(0, common_prefix.c_str());
/external/lldb/include/lldb/Interpreter/
H A DArgs.h445 LongestCommonPrefix (std::string &common_prefix);
/external/chromium_org/tools/telemetry/telemetry/util/
H A Dfind_dependencies.py28 common_prefix = os.path.commonprefix([subdirectory, directory])
29 return common_prefix == directory
/external/chromium-trace/trace-viewer/third_party/python_gflags/
H A Dgflags.py582 common_prefix = os.path.commonprefix([line for line in text_lines if line])
583 space_prefix_len = len(common_prefix) - len(common_prefix.lstrip())
/external/chromium_org/third_party/python_gflags/
H A Dgflags.py582 common_prefix = os.path.commonprefix([line for line in text_lines if line])
583 space_prefix_len = len(common_prefix) - len(common_prefix.lstrip())

Completed in 2946 milliseconds