Searched refs:match_main (Results 1 - 2 of 2) sorted by relevance

/external/google-diff-match-patch/name/fraser/neil/plaintext/
H A Ddiff_match_patch_test.java646 assertEquals("match_main: Equality.", 0, dmp.match_main("abcdef", "abcdef", 1000));
648 assertEquals("match_main: Null text.", -1, dmp.match_main("", "abcdef", 1));
650 assertEquals("match_main: Null pattern.", 3, dmp.match_main("abcdef", "", 3));
652 assertEquals("match_main: Exact match.", 3, dmp.match_main("abcdef", "de", 3));
654 assertEquals("match_main: Beyond end match.", 3, dmp.match_main("abcde
[all...]
H A Ddiff_match_patch.java1518 public int match_main(String text, String pattern, int loc) { method in class:diff_match_patch
1521 throw new IllegalArgumentException("Null inputs. (match_main)");
1932 start_loc = match_main(text,
1935 end_loc = match_main(text,
1944 start_loc = match_main(text, text1, expected_loc);

Completed in 80 milliseconds