/external/chromium_org/content/renderer/ |
clipboard_utils.cc | 16 std::string markup("<a href=\""); 17 markup.append(url.spec()); 18 markup.append("\">"); 20 markup.append(net::EscapeForHTML(base::UTF16ToUTF8(title))); 21 markup.append("</a>"); 22 return markup; 27 std::string markup("<img src=\""); 28 markup.append(net::EscapeForHTML(url.spec())); 29 markup.append("\""); 31 markup.append(" alt=\"") [all...] |
clipboard_client.h | 58 base::string16* markup,
|
renderer_clipboard_client.h | 30 base::string16* markup,
|
renderer_clipboard_client.cc | 144 base::string16* markup, 148 type, markup, url, fragment_start, fragment_end));
|
/external/chromium_org/third_party/markupsafe/ |
_speedups.c | 24 static PyObject* markup; variable 45 /* import markup type so that we can mark the return value */ 49 markup = PyObject_GetAttrString(module, "Markup"); 129 return PyObject_CallFunctionObjArgs(markup, text, NULL); 155 /* convert the unicode string into a markup object. */ 156 rv = PyObject_CallFunctionObjArgs(markup, (PyObject*)s, NULL); 167 return PyObject_CallFunctionObjArgs(markup, NULL); 187 "escape(s) -> markup\n\n" 190 "such characters in HTML. Marks return value as markup string."} [all...] |
__init__.py | 6 Implements a Markup string. 16 __all__ = ['Markup', 'soft_unicode', 'escape', 'escape_silent'] 23 class Markup(text_type): 26 of frameworks and web applications use. :class:`Markup` is a direct 28 it escapes arguments passed and always returns `Markup`. 30 The `escape` function returns markup objects so that double escaping can't 33 The constructor of the :class:`Markup` class can be used for three 39 >>> Markup("Hello <em>World</em>!") 40 Markup(u'Hello <em>World</em>!') 45 >>> Markup(Foo() [all...] |
_native.py | 11 from markupsafe import Markup 18 such characters in HTML. Marks return value as markup string. 22 return Markup(text_type(s) 33 markup string. 36 return Markup() 41 """Make a string unicode if it isn't already. That way a markup
|
/external/llvm/lib/Target/ARM/InstPrinter/ |
ARMInstPrinter.cpp | 71 OS << markup("<reg:") 73 << markup(">"); 154 << markup("<imm:") 156 << markup(">"); 306 O << markup("<imm:") 308 << markup(">"); 347 O << markup("<mem:") << "[pc, "; 356 O << markup("<imm:") 358 << markup(">"); 360 O << markup("<imm:" [all...] |
/external/llvm/lib/Target/X86/InstPrinter/ |
X86ATTInstPrinter.cpp | 38 OS << markup("<reg:") 40 << markup(">"); 169 O << markup("<imm:") 171 << markup(">"); 178 O << markup("<imm:") 180 << markup(">"); 191 O << markup("<mem:"); 219 << markup("<imm:") 221 << markup(">"); 227 O << markup(">"); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
DOMPatchSupport.h | 51 static void patchDocument(Document&, const String& markup); 55 void patchDocument(const String& markup); 56 Node* patchNode(Node*, const String& markup, ExceptionState&);
|
/external/chromium_org/third_party/WebKit/Source/core/clipboard/ |
Pasteboard.cpp | 116 blink::WebString markup = blink::Platform::current()->clipboard()->readHTML(m_buffer, &webURL, &fragmentStart, &fragmentEnd); local 117 if (!markup.isEmpty()) { 125 return markup; 128 void Pasteboard::writeHTML(const String& markup, const KURL& documentURL, const String& plainText, bool canSmartCopyOrDelete) 136 blink::Platform::current()->clipboard()->writeHTML(markup, documentURL, text, canSmartCopyOrDelete);
|
Pasteboard.h | 60 // fragmentStart and fragmentEnd are indexes into the returned markup that indicate 61 // the start and end of the returned markup. If there is no additional context, 62 // fragmentStart will be zero and fragmentEnd will be the same as the length of the markup. 65 void writeHTML(const String& markup, const KURL& documentURL, const String& plainText, bool canSmartCopyOrDelete);
|
/external/chromium_org/ui/base/x/ |
selection_utils.cc | 220 base::string16 markup; local 230 markup.assign(reinterpret_cast<const uint16_t*>(data) + 1, 233 base::UTF8ToUTF16(reinterpret_cast<const char*>(data), size, &markup); local 237 if (!markup.empty() && markup.at(markup.length() - 1) == '\0') 238 markup.resize(markup.length() - 1); 240 return markup; 243 return markup; [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/gtk/ |
annotate.c | 27 const char *markup; local 41 markup = perf_gtk__get_percent_color(percent); 42 if (markup) 43 ret += scnprintf(buf, size, "%s", markup); 45 if (markup) 68 const char *markup = "<span fgcolor='gray'>"; local 76 markup = NULL; 78 if (markup) 79 ret += scnprintf(buf, size, "%s", markup); 81 if (markup) [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/ |
BeautifulSoup.py | 111 # First, the classes that represent markup elements. [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
markup.h | 52 PassRefPtrWillBeRawPtr<DocumentFragment> createFragmentFromMarkup(Document&, const String& markup, const String& baseURL, ParserContentPolicy = AllowScriptingContent); 53 PassRefPtrWillBeRawPtr<DocumentFragment> createFragmentFromMarkupWithContext(Document&, const String& markup, unsigned fragmentStart, unsigned fragmentEnd, const String& baseURL, ParserContentPolicy);
|
markup.cpp | 30 #include "core/editing/markup.h" 171 StringBuilder markup; local 173 appendElement(markup, toElement(node), convertBlocksToInlines && isBlock(&node), rangeFullySelectsNode); 175 appendStartMarkup(markup, node, 0); 176 m_reversedPrecedingMarkup.append(markup.toString()); 361 // This null check will prevent crashes (but create too much markup) 380 // Add the node to the markup if we're not skipping the descendants 411 // Surround the currently accumulated markup with markup for ancestors we never opened as we leave the subtree(s) rooted at those ancestors. 486 // Add an interchange newline if a paragraph break is selected and a br won't already be added to the markup to represent it 916 StringBuilder markup; local [all...] |
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
HtmlLexerTest.java | 148 private static void assertTokens(String markup, String... golden) { 149 HtmlLexer lexer = new HtmlLexer(markup); 153 actual.add(t.type + ": " + markup.substring(t.start, t.end));
|
/external/chromium_org/ui/base/clipboard/ |
scoped_clipboard_writer.h | 44 void WriteHTML(const base::string16& markup, const std::string& source_url);
|
clipboard_unittest.cc | 119 base::string16 markup(ASCIIToUTF16("<string>Hi!</string>")), markup_result; 127 clipboard_writer.WriteHTML(markup, url); 135 EXPECT_PRED2(MarkupMatches, markup, markup_result); 167 base::string16 markup(ASCIIToUTF16("<string>Selection</string>")); 179 clipboard_writer.WriteHTML(markup, url); 203 EXPECT_PRED2(MarkupMatches, markup, markup_result); 208 base::string16 markup(ASCIIToUTF16("<em>Bye!<!--EndFragment --></em>")), 217 clipboard_writer.WriteHTML(markup, url); 225 EXPECT_PRED2(MarkupMatches, markup, markup_result); 235 base::string16 markup(UTF8ToUTF16("<div>A \xc3\xb8 \xe6\xb0\xb4</div>")) [all...] |
scoped_clipboard_writer.cc | 37 void ScopedClipboardWriter::WriteHTML(const base::string16& markup, 39 std::string utf8_markup = base::UTF16ToUTF8(markup);
|
/external/llvm/include/llvm/MC/ |
MCInstPrinter.h | 88 StringRef markup(StringRef s) const; 89 StringRef markup(StringRef a, StringRef b) const;
|
/external/llvm/lib/MC/ |
MCInstPrinter.cpp | 46 StringRef MCInstPrinter::markup(StringRef s) const { function in class:MCInstPrinter 52 StringRef MCInstPrinter::markup(StringRef a, StringRef b) const { function in class:MCInstPrinter
|
/external/chromium_org/third_party/markdown/extensions/ |
headerid.py | 69 Works with inline markup. 71 >>> text = '#Some *Header* with [markup](http://example.com).' 74 <h1 id="some-header-with-markup">Some <em>Header</em> with <a href="http://example.com">markup</a>.</h1>
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/speech_rules/ |
speech_rule_store.js | 9 * author needs for a particular markup type such as MathML or HTML 11 * store for all rules for such markup (lookup).
|