Searched refs:plainText (Results 1 - 25 of 43) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
H A DDOMSyntaxHighlighter.js79 var plainText = line.substring(plainTextStart, column);
80 node.createTextChild(plainText);
92 var plainText = line.substring(plainTextStart, line.length);
93 node.createTextChild(plainText);
/external/chromium_org/third_party/WebKit/Source/core/clipboard/
H A DPasteboard.cpp73 String plainText(text);
74 replaceNewlinesWithWindowsStyleNewlines(plainText);
75 blink::Platform::current()->clipboard()->writePlainText(plainText);
108 String Pasteboard::plainText() function in class:blink::Pasteboard
128 void Pasteboard::writeHTML(const String& markup, const KURL& documentURL, const String& plainText, bool canSmartCopyOrDelete) argument
130 String text = plainText;
H A DPasteboard.h55 String plainText();
64 void writeHTML(const String& markup, const KURL& documentURL, const String& plainText, bool canSmartCopyOrDelete);
/external/owasp/sanitizer/src/main/org/owasp/html/
H A DEncoding.java164 static void encodeHtmlOnto(String plainText, Appendable output) argument
166 int n = plainText.length();
169 char ch = plainText.charAt(i);
173 output.append(plainText, pos, i).append(repl);
181 ch, next = plainText.charAt(i + 1))) {
186 output.append(plainText, pos, i);
191 output.append(plainText, pos, i);
196 output.append(plainText, pos, i);
208 output.append(plainText, pos, n);
/external/chromium_org/mojo/services/html_viewer/
H A Dwebclipboard_impl.h34 const blink::WebString& plainText,
H A Dwebclipboard_impl.cc182 const blink::WebString& plainText,
187 text_data->data = Array<uint8_t>::From(plainText).Pass();
180 writeHTML(const blink::WebString& htmlText, const blink::WebURL& url, const blink::WebString& plainText, bool writeSmartPaste) argument
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
H A Dcrypto-sha1.js205 var plainText = "Two households, both alike in dignity,\n\ variable
221 plainText += plainText;
224 var sha1Output = hex_sha1(plainText);
H A Dcrypto-md5.js258 var plainText = "Rebellious subjects, enemies to peace,\n\
283 plainText += plainText;
286 var md5Output = hex_md5(plainText);
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
H A Dcrypto-sha1.js205 var plainText = "Two households, both alike in dignity,\n\ variable
221 plainText += plainText;
224 var sha1Output = hex_sha1(plainText);
H A Dcrypto-md5.js258 var plainText = "Rebellious subjects, enemies to peace,\n\
283 plainText += plainText;
286 var md5Output = hex_md5(plainText);
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
H A Dcrypto-sha1.js205 var plainText = "Two households, both alike in dignity,\n\ variable
221 plainText += plainText;
224 var sha1Output = hex_sha1(plainText);
H A Dcrypto-md5.js258 var plainText = "Rebellious subjects, enemies to peace,\n\
283 plainText += plainText;
286 var md5Output = hex_md5(plainText);
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebClipboard.h87 const WebString& plainText, bool writeSmartPaste) { }
85 writeHTML( const WebString& htmlText, const WebURL&, const WebString& plainText, bool writeSmartPaste) argument
/external/chromium_org/content/test/
H A Dmock_webclipboard_impl.h46 const blink::WebString& plainText, bool writeSmartPaste);
H A Dmock_webclipboard_impl.cc131 const blink::WebString& plainText,
136 m_plainText = plainText;
129 writeHTML(const blink::WebString& htmlText, const blink::WebURL& url, const blink::WebString& plainText, bool writeSmartPaste) argument
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DAbstractInlineTextBox.cpp160 return plainText(range.get(), TextIteratorIgnoresStyleVisibility);
H A DRenderText.h61 String plainText() const;
/external/chromium_org/v8/test/mjsunit/
H A Dmd5.js180 var plainText = "Rebellious subjects, enemies to peace,\n\
205 plainText += plainText;
210 assertEquals(hex_md5(plainText), "1b8719c72d5d8bfd06e096ef6c6288c5");
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DEditor.cpp384 String text = pasteboard->plainText();
406 String text = pasteboard->plainText();
417 void Editor::writeSelectionToPasteboard(Pasteboard* pasteboard, Range* selectedRange, const String& plainText) argument
421 pasteboard->writeHTML(html, url, plainText, canSmartCopyOrDelete());
833 String plainText = frame().selectedTextForClipboard(); local
835 Pasteboard::generalPasteboard()->writePlainText(plainText,
838 writeSelectionToPasteboard(Pasteboard::generalPasteboard(), selection.get(), plainText); local
1045 String text = plainText(range.get());
1063 String text = plainText(range);
H A DTextIterator.h53 String plainText(const Range*, TextIteratorBehaviorFlags = TextIteratorDefaultBehavior);
54 String plainText(const Position& start, const Position& end, TextIteratorBehaviorFlags = TextIteratorDefaultBehavior);
H A DEditor.h270 void writeSelectionToPasteboard(Pasteboard*, Range*, const String& plainText);
H A DTextCheckingHelper.cpp194 m_text = plainText(paragraphRange().get());
333 String paragraphString = plainText(paragraphStart, paragraphEnd);
257 ASSERT(misspellingLocation < length); ASSERT(misspellingLength <= length); ASSERT(misspellingLocation + misspellingLength <= length); if (misspellingLocation >= 0 && misspellingLength > 0 && misspellingLocation < length && misspellingLength <= length && misspellingLocation + misspellingLength <= length) { Position misspellingStart = m_start; Position misspellingEnd = m_end; TextIterator::subrange(misspellingStart, misspellingEnd, currentChunkOffset + misspellingLocation, misspellingLength); if (!firstMisspelling) { firstMisspellingOffset = currentChunkOffset + misspellingLocation; firstMisspelling = it.substring(misspellingLocation, misspellingLength); firstMisspellingRange = Range::create(misspellingStart.containerNode()->document(), m_start, m_end); } misspellingStart.containerNode()->document().markers().addMarker(misspellingStart, misspellingEnd, DocumentMarker::Spelling); if (!markAll) break; } } currentChunkOffset += length; it.advance(); } return firstMisspelling; } String TextCheckingHelper::findFirstMisspellingOrBadGrammar(bool checkGrammar, bool& outIsSpelling, int& outFirstFoundOffset, GrammarDetail& outGrammarDetail) { if (!unifiedTextCheckerEnabled()) return �; String firstFoundItem; String misspelledWord; String badGrammarPhrase; outIsSpelling = true; outFirstFoundOffset = 0; outGrammarDetail.location = -1; outGrammarDetail.length = 0; outGrammarDetail.guesses.clear(); outGrammarDetail.userDescription = �; Position paragraphStart = startOfParagraph(VisiblePosition(m_start)).toParentAnchoredPosition(); Position paragraphEnd = m_end; int totalRangeLength = TextIterator::rangeLength(paragraphStart, paragraphEnd); paragraphEnd = endOfParagraph(VisiblePosition(m_start)).toParentAnchoredPosition(); int rangeStartOffset = TextIterator::rangeLength(paragraphStart, m_start); int totalLengthProcessed = 0; bool firstIteration = true; bool lastIteration = false; while (totalLengthProcessed < totalRangeLength) { int currentLength = TextIterator::rangeLength(paragraphStart, paragraphEnd); int currentStartOffset = firstIteration ? rangeStartOffset : 0; int currentEndOffset = currentLength; if (inSameParagraph(VisiblePosition(paragraphStart), VisiblePosition(m_end))) { currentEndOffset = TextIterator::rangeLength(paragraphStart, m_end); lastIteration = true; } if (currentStartOffset < currentEndOffset) { String paragraphString = plainText(paragraphStart, paragraphEnd); if (paragraphString.length() > 0) { bool foundGrammar = false; int spellingLocation = 0; int grammarPhraseLocation = 0; int grammarDetailLocation = 0; unsigned grammarDetailIndex = 0; Vector<TextCheckingResult> results; TextCheckingTypeMask checkingTypes = checkGrammar ? (TextCheckingTypeSpelling | TextCheckingTypeGrammar) : TextCheckingTypeSpelling; checkTextOfParagraph(m_client->textChecker(), paragraphString, checkingTypes, results); for (unsigned i = 0; i < results.size(); i++) { const TextCheckingResult* result = &results[i]; if (result->decoration == TextDecorationTypeSpelling && result->location >= currentStartOffset && result->location + result->length <= currentEndOffset) argument
H A DDOMSelection.cpp510 return plainText(start, end);
/external/fonttools/Lib/fontTools/
H A Dt1Lib.py325 plainText, R = eexec.decrypt(cypherText, 55665)
326 eEndLocal = plainText.find(EEXECINTERNALEND)
/external/fonttools/Tools/fontTools/
H A Dt1Lib.py325 plainText, R = eexec.decrypt(cypherText, 55665)
326 eEndLocal = plainText.find(EEXECINTERNALEND)

Completed in 404 milliseconds

12