Home
last modified time | relevance | path

Searched refs:text2 (Results 1 – 25 of 25) sorted by relevance

/external/google-diff-match-patch/name/fraser/neil/plaintext/
Ddiff_match_patch.java137 public LinkedList<Diff> diff_main(String text1, String text2) { in diff_main() argument
138 return diff_main(text1, text2, true); in diff_main()
151 public LinkedList<Diff> diff_main(String text1, String text2, in diff_main() argument
154 if (text1 == null || text2 == null) { in diff_main()
160 if (text1.equals(text2)) { in diff_main()
167 int commonlength = diff_commonPrefix(text1, text2); in diff_main()
170 text2 = text2.substring(commonlength); in diff_main()
173 commonlength = diff_commonSuffix(text1, text2); in diff_main()
176 text2 = text2.substring(0, text2.length() - commonlength); in diff_main()
179 diffs = diff_compute(text1, text2, checklines); in diff_main()
[all …]
Ddiff_match_patch_test.java356 String text2 = dmp.diff_text2(diffs); in testDiffDelta() local
357 …iff_text2: Unchanged characters.", "A-Z a-z 0-9 - _ . ! ~ * \' ( ) ; / ? : @ & = + $ , # ", text2); in testDiffDelta()
743 String text2 = "That quick brown fox jumped over a lazy dog."; in testPatchMake() local
746 patches = dmp.patch_make(text2, text1); in testPatchMake()
750 patches = dmp.patch_make(text1, text2); in testPatchMake()
753 LinkedList<Diff> diffs = dmp.diff_main(text1, text2, false); in testPatchMake()
760 patches = dmp.patch_make(text1, text2, diffs); in testPatchMake()
773 text2 = text1 + "123"; in testPatchMake()
775 patches = dmp.patch_make(text1, text2); in testPatchMake()
/external/webkit/LayoutTests/dom/xhtml/level3/core/
Dnodeisequalnode28.js92 var text2;
102 text2 = doc.createTextNode("");
104 isEqual = text1.isEqualNode(text2);
Dtextwholetext03.js91 var text2;
102 text2 = doc.createTextNode(" Text II");
104 appendedChild = elem.appendChild(text2);
/external/icu4c/test/cintltst/
Dreapits.c357 UChar text2[50]; in TestRegexCAPI() local
361 u_uastrncpy(text2, "abcccxd", sizeof(text2)/2); in TestRegexCAPI()
379 uregex_setText(re, text2, -1, &status); in TestRegexCAPI()
411 UChar text2[50]; in TestRegexCAPI() local
416 u_uastrncpy(text2, "abcccxd", sizeof(text2)/2); in TestRegexCAPI()
428 uregex_setText(re, text2, 7, &status); in TestRegexCAPI()
430 TEST_ASSERT(result == text2); in TestRegexCAPI()
435 uregex_setText(re, text2, 4, &status); in TestRegexCAPI()
437 TEST_ASSERT(result == text2); in TestRegexCAPI()
778 UChar text2[80]; in TestRegexCAPI() local
[all …]
Dcbiditst.c1672 static const char* const text2 = "\\u05d0 1-2\\u001c\\u0630 1-2\\u001c1-2"; in testMultipleParagraphs() local
1905 u_unescape(text2, src, MAXLEN); in testMultipleParagraphs()
/external/chromium/webkit/glue/
Dregular_expression_unittest.cc62 WebUChar text2[] = {L' ', L'\x6240', L'\x6709', L'\x7f51', L'\x9875'}; in TEST() local
68 MATCH_DESC(text2, 1, 4), in TEST()
82 WebUChar text2[] = {L' ', L' ', L':', L' ', L' ', L' ', L' ', L':', L' ', L' '}; in TEST() local
90 MATCH_DESC(text2, 2, 6), in TEST()
/external/webkit/Source/WebCore/editing/
DJoinTextNodesCommand.h37 static PassRefPtr<JoinTextNodesCommand> create(PassRefPtr<Text> text1, PassRefPtr<Text> text2) in create() argument
39 return adoptRef(new JoinTextNodesCommand(text1, text2)); in create()
DJoinTextNodesCommand.cpp33 JoinTextNodesCommand::JoinTextNodesCommand(PassRefPtr<Text> text1, PassRefPtr<Text> text2) in JoinTextNodesCommand() argument
34 : SimpleEditCommand(text1->document()), m_text1(text1), m_text2(text2) in JoinTextNodesCommand()
DCompositeEditCommand.cpp295 void CompositeEditCommand::joinTextNodes(PassRefPtr<Text> text1, PassRefPtr<Text> text2) in joinTextNodes() argument
297 applyCommandToComposite(JoinTextNodesCommand::create(text1, text2)); in joinTextNodes()
/external/webkit/LayoutTests/fast/dom/NodeList/
Dnodelist-item-with-name-expected.txt7 text2
12 PASS div2.innerHTML is 'text2'
Dnodelist-item-with-index-expected.txt7 text2
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DBufferedTreeNodeStream.cs549 string text2 = adaptor.GetText(stop); in ToString()
550 if (text2 == null) { in ToString()
551 text2 = " " + adaptor.GetType(stop).ToString(); in ToString()
553 buf.Append(text2); in ToString()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBufferedTreeNodeStream.cs654 string text2 = adaptor.GetText( stop ); in ToString()
655 if ( text2 == null ) in ToString()
657 text2 = " " + adaptor.GetType( stop ).ToString(); in ToString()
659 buf.Append( text2 ); in ToString()
/external/quake/quake/src/WinQuake/
Dsys_win.cpp349 char text[1024], text2[1024]; in Sys_Error() local
376 sprintf (text2, "ERROR: %s\n", text); in Sys_Error()
379 WriteFile (houtput, text2, strlen (text2), &dummy, NULL); in Sys_Error()
/external/icu4c/test/intltest/
Dregcoll.cpp1119 static const UChar text2[][CollationRegressionTest::MAX_TOKEN_LEN] = { in TestT7189() local
1144 len2 = calcKeyIncremental(coll, text2[i], -1, key2, sizeof(key2), status); in TestT7189()
1146 errln(UnicodeString("Failed to get a partial collation key for ") + text2[i]); in TestT7189()
1151 …ed: Identical key\n") + " text1: " + text1[i] + "\n" + " text2: " + text2[i] + "\n" + " k… in TestT7189()
1153 …" + " key1 : " + TestUtility::hex(key1, len1) + "\n" + " text2: " + text2[i] + "\n" + " k… in TestT7189()
Dregextst.cpp4918 UText text2 = UTEXT_INITIALIZER; in PreAllocatedUTextCAPI() local
4924 regextst_openUTF8FromInvariant(&text2, "abcccxd", -1, &status); in PreAllocatedUTextCAPI()
4925 u_uastrncpy(text2Chars, "abcccxd", sizeof(text2)/2); in PreAllocatedUTextCAPI()
4926 utext_openUChars(&text2, text2Chars, -1, &status); in PreAllocatedUTextCAPI()
4953 utext_setNativeIndex(&text2, 0); in PreAllocatedUTextCAPI()
4954 REGEX_ASSERT(utext_compare(resultText, -1, &text2, -1) == 0); in PreAllocatedUTextCAPI()
4958 utext_close(&text2); in PreAllocatedUTextCAPI()
5007 UChar text2[80]; in PreAllocatedUTextCAPI() local
5013 u_uastrncpy(text2, "No match here.", sizeof(text2)/2); in PreAllocatedUTextCAPI()
5028 uregex_setText(re, text2, -1, &status); in PreAllocatedUTextCAPI()
[all …]
Drbbiapts.cpp259 CharacterIterator* text2= new StringCharacterIterator(str2); in TestGetSetAdoptText() local
291 rb->adoptText(text2); in TestGetSetAdoptText()
292 if(rb->getText() != *text2) in TestGetSetAdoptText()
Ditrbnf.cpp91 UChar text2[] = { in TestHebrewFraction() local
124 UnicodeString expected(text2); in TestHebrewFraction()
Dnumfmtst.cpp6353 UnicodeString text1, text2; in TestCurrencyFractionDigits() local
6366 fmt->format(value, text2); in TestCurrencyFractionDigits()
6368 if (text1 != text2) { in TestCurrencyFractionDigits()
6370 + text1 + " text2=" + text2); in TestCurrencyFractionDigits()
/external/valgrind/main/auxprogs/
DDotToScc.hs65 [text1, "->", text2] -> Just (text1, text2)
/external/chromium/chrome/browser/resources/ntp4/
Dnew_tab_theme.css98 #apps-promo-text2 {
/external/chromium/chrome/browser/resources/
Dnew_new_tab_theme.css147 #apps-promo-text2 {
/external/markdown/docs/
Dusing_as_module.txt51 html2 = md.convert(text2)
97 html2 = md.convert(text2)
/external/quake/quake/src/QW/client/
Dsys_win.c232 char text[1024], text2[1024]; in Sys_Error() local