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

1 2

  /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/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",
posixpath.py 29 "basename","dirname","commonprefix","getsize","getmtime",
426 i = len(commonprefix([start_list, path_list]))
  /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/chromium/chrome/browser/autocomplete/
autocomplete_popup_view_mac_unittest.mm 511 NSString* commonPrefix =
513 EXPECT_GT([commonPrefix length], 0U);
514 EXPECT_LT([commonPrefix length], [contents length]);
522 while([commonPrefix length] > runLength1 - 3) {
526 commonPrefix =
528 ASSERT_GT([commonPrefix length], 0U);
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/
compatibility.py 54 i = len(os.path.commonprefix([start_list, path_list]))
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/lib/
libstdc++.so.6.0.16-gdb.py 39 prefix = os.path.commonprefix ([libdir, pythondir])
  /external/chromium_org/tools/telemetry/telemetry/core/
temporary_http_server.py 23 common_prefix = os.path.commonprefix(self._paths)
  /external/chromium_org/tools/telemetry/telemetry/page/
page.py 104 common_prefix = os.path.dirname(os.path.commonprefix(all_urls))
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/lib64/
libstdc++.so.6.0.16-gdb.py 39 prefix = os.path.commonprefix ([libdir, pythondir])
  /external/chromium_org/chrome/browser/ui/cocoa/omnibox/
omnibox_popup_view_mac_unittest.mm 538 NSString* commonPrefix =
540 EXPECT_GT([commonPrefix length], 0U);
541 EXPECT_LT([commonPrefix length], [contents length]);
549 while([commonPrefix length] > run_length_1 - 3) {
553 commonPrefix =
555 ASSERT_GT([commonPrefix length], 0U);
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
TextPrompt.js 438 var commonPrefix = completions[0];
441 var lastIndex = Math.min(commonPrefix.length, completion.length);
443 if (commonPrefix[j] !== completion[j]) {
444 commonPrefix = commonPrefix.substr(0, j);
449 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
  /bionic/libc/kernel/tools/
clean_header.py 29 if os.path.commonprefix( [ src_path, original_path ] ) != original_path:
  /external/chromium_org/native_client_sdk/src/build_tools/
nacl-mono-builder.py 70 pepper_dir = os.path.commonprefix(tar_file.getnames())
  /external/harfbuzz_ng/src/
gen-arabic-table.py 113 names[items[0]] = os.path.commonprefix ([names[items[0]], fields[1]]).strip ()
  /external/chromium_org/third_party/WebKit/Tools/Scripts/
commit-log-editor 299 my $commonPrefix = removeLongestCommonPrefixEndingInDoubleNewline(%changeLogContents);
303 push @result, normalizeLineEndings($commonPrefix, $endl);

Completed in 2575 milliseconds

1 2