HomeSort by relevance Sort by last modified time
    Searched full:commonprefix (Results 1 - 25 of 68) sorted by null

1 2 3

  /external/guava/guava-tests/test/com/google/common/base/
StringsTest.java 144 assertEquals("", Strings.commonPrefix("", ""));
145 assertEquals("", Strings.commonPrefix("abc", ""));
146 assertEquals("", Strings.commonPrefix("", "abc"));
147 assertEquals("", Strings.commonPrefix("abcde", "xyz"));
148 assertEquals("", Strings.commonPrefix("xyz", "abcde"));
149 assertEquals("", Strings.commonPrefix("xyz", "abcxyz"));
150 assertEquals("a", Strings.commonPrefix("abc", "aaaaa"));
151 assertEquals("aa", Strings.commonPrefix("aa", "aaaaa"));
153 Strings.commonPrefix(new StringBuffer("abcdef"), "abcxyz"));
157 Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCABxyz"))
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_genericpath.py 22 common_attributes = ['commonprefix', 'getsize', 'getatime', 'getctime',
34 commonprefix = self.pathmodule.commonprefix
36 commonprefix([]),
40 commonprefix(["/home/swenson/spam", "/home/swen/spam"]),
44 commonprefix(["/home/swen/spam", "/home/swen/eggs"]),
48 commonprefix(["/home/swen/spam", "/home/swen/spam"]),
52 commonprefix(["home:swenson:spam", "home:swen:spam"]),
56 commonprefix([":home:swen:spam", ":home:swen:eggs"]),
60 commonprefix([":home:swen:spam", ":home:swen:spam"])
    [all...]
test_ntpath.py 60 tester('ntpath.commonprefix(["/home/swenson/spam", "/home/swen/spam"])',
62 tester('ntpath.commonprefix(["\\home\\swen\\spam", "\\home\\swen\\eggs"])',
64 tester('ntpath.commonprefix(["/home/swen/spam", "/home/swen/spam"])',
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_genericpath.py 22 common_attributes = ['commonprefix', 'getsize', 'getatime', 'getctime',
34 commonprefix = self.pathmodule.commonprefix
36 commonprefix([]),
40 commonprefix(["/home/swenson/spam", "/home/swen/spam"]),
44 commonprefix(["/home/swen/spam", "/home/swen/eggs"]),
48 commonprefix(["/home/swen/spam", "/home/swen/spam"]),
52 commonprefix(["home:swenson:spam", "home:swen:spam"]),
56 commonprefix([":home:swen:spam", ":home:swen:eggs"]),
60 commonprefix([":home:swen:spam", ":home:swen:spam"])
    [all...]
test_ntpath.py 60 tester('ntpath.commonprefix(["/home/swenson/spam", "/home/swen/spam"])',
62 tester('ntpath.commonprefix(["\\home\\swen\\spam", "\\home\\swen\\eggs"])',
64 tester('ntpath.commonprefix(["/home/swen/spam", "/home/swen/spam"])',
  /external/llvm/lib/LineEditor/
LineEditor.cpp 38 std::string CommonPrefix = Comps[0].TypedText;
42 size_t Len = std::min(CommonPrefix.size(), I->TypedText.size());
45 if (CommonPrefix[CommonLen] != I->TypedText[CommonLen])
48 CommonPrefix.resize(CommonLen);
50 return CommonPrefix;
62 std::string CommonPrefix = getCommonPrefix(Comps);
69 if (CommonPrefix.empty()) {
76 Action.Text = CommonPrefix;
  /external/chromium_org/tools/
gyp-explain.py 64 prefixes = [os.path.commonprefix(path) for path in paths]
65 prefix = os.path.commonprefix(prefixes)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
genericpath.py 9 __all__ = ['commonprefix', 'exists', 'getatime', 'getctime', 'getmtime',
68 def commonprefix(m): function
os2emxpath.py 15 "basename","dirname","commonprefix","getsize","getmtime",
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
genericpath.py 9 __all__ = ['commonprefix', 'exists', 'getatime', 'getctime', 'getmtime',
68 def commonprefix(m): function
os2emxpath.py 15 "basename","dirname","commonprefix","getsize","getmtime",
  /external/lldb/test/unittest2/
compatibility.py 54 i = len(os.path.commonprefix([start_list, path_list]))
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/lib32/
libstdc++.so.6.0.16-gdb.py 39 prefix = os.path.commonprefix ([libdir, pythondir])
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/lib64/
libstdc++.so.6.0.16-gdb.py 39 prefix = os.path.commonprefix ([libdir, pythondir])
  /external/chromium_org/chrome/common/extensions/docs/server2/
path_canonicalizer.py 20 return posixpath.commonprefix((_Normalize(first_file),
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/lib32/
libstdc++.so.6.0.18-gdb.py 39 prefix = os.path.commonprefix ([libdir, pythondir])
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/lib64/
libstdc++.so.6.0.18-gdb.py 39 prefix = os.path.commonprefix ([libdir, pythondir])
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/lib/
libstdc++.a-gdb.py 39 prefix = os.path.commonprefix ([libdir, pythondir])
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/lib32/
libstdc++.a-gdb.py 39 prefix = os.path.commonprefix ([libdir, pythondir])
  /external/chromium_org/tools/memory_inspector/memory_inspector/classification/
native_heap_classifier.py 90 posixpath.commonprefix implementation would do)
92 parts = posixpath.commonprefix(args).rpartition(posixpath.sep)[0]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
TextPrompt.js 422 var commonPrefix = completions[0];
425 var lastIndex = Math.min(commonPrefix.length, completion.length);
427 if (commonPrefix[j] !== completion[j]) {
428 commonPrefix = commonPrefix.substr(0, j);
433 return commonPrefix;
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/
main.py 235 input_base_dir = os.path.commonprefix(args)
239 # os.path.commonprefix() is ignorant of path elements, this corrects
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/
main.py 235 input_base_dir = os.path.commonprefix(args)
239 # os.path.commonprefix() is ignorant of path elements, this corrects
  /external/chromium_org/native_client_sdk/src/build_tools/
nacl-mono-builder.py 70 pepper_dir = os.path.commonprefix(tar_file.getnames())
  /external/chromium_org/tools/telemetry/telemetry/page/
__init__.py 186 common_prefix = os.path.dirname(os.path.commonprefix(all_urls))

Completed in 685 milliseconds

1 2 3