HomeSort by relevance Sort by last modified time
    Searched refs:markup (Results 1 - 25 of 100) sorted by null

1 2 3 4

  /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(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...]
  /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 70 OS << markup("<reg:")
72 << markup(">");
145 << markup("<imm:")
147 << markup(">");
286 O << markup("<imm:")
288 << markup(">");
314 O << markup("<mem:") << "[pc, ";
323 O << markup("<imm:")
325 << markup(">");
327 O << markup("<imm:"
    [all...]
  /external/chromium/webkit/glue/
webclipboard_impl.cc 39 std::string markup("<a href=\"");
40 markup.append(url.spec());
41 markup.append("\">");
43 markup.append(EscapeForHTML(UTF16ToUTF8(title)));
44 markup.append("</a>");
45 return markup;
51 std::string markup("<img src=\"");
52 markup.append(url.spec());
53 markup.append("\"");
55 markup.append(" alt=\"")
    [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/platform/
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 59 // fragmentStart and fragmentEnd are indexes into the returned markup that indicate
60 // the start and end of the returned markup. If there is no additional context,
61 // fragmentStart will be zero and fragmentEnd will be the same as the length of the markup.
64 void writeHTML(const String& markup, const KURL& documentURL, const String& plainText, bool canSmartCopyOrDelete);
  /external/chromium_org/ui/base/x/
selection_utils.cc 195 string16 markup; local
205 markup.assign(reinterpret_cast<const uint16_t*>(data) + 1,
208 UTF8ToUTF16(reinterpret_cast<const char*>(data), size, &markup); local
212 if (!markup.empty() && markup.at(markup.length() - 1) == '\0')
213 markup.resize(markup.length() - 1);
215 return markup;
218 return markup;
    [all...]
  /external/llvm/lib/Target/X86/InstPrinter/
X86ATTInstPrinter.cpp 37 OS << markup("<reg:")
39 << markup(">");
158 O << markup("<imm:")
160 << markup(">");
167 O << markup("<imm:")
169 << markup(">");
180 O << markup("<mem:");
208 << markup("<imm:")
210 << markup(">");
216 O << 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 51 PassRefPtr<DocumentFragment> createFragmentFromMarkup(Document&, const String& markup, const String& baseURL, ParserContentPolicy = AllowScriptingContent);
52 PassRefPtr<DocumentFragment> createFragmentFromMarkupWithContext(Document&, const String& markup, unsigned fragmentStart, unsigned fragmentEnd, const String& baseURL, ParserContentPolicy);
markup.cpp 30 #include "core/editing/markup.h"
163 StringBuilder markup; local
165 appendElement(markup, toElement(node), convertBlocksToInlines && isBlock(const_cast<Node*>(node)), rangeFullySelectsNode);
167 appendStartMarkup(markup, node, 0);
168 m_reversedPrecedingMarkup.append(markup.toString());
351 // This null check will prevent crashes (but create too much markup)
370 // Add the node to the markup if we're not skipping the descendants
400 // Surround the currently accumulated markup with markup for ancestors we never opened as we leave the subtree(s) rooted at those ancestors.
475 // Add an interchange newline if a paragraph break is selected and a br won't already be added to the markup to represent it
936 StringBuilder markup; local
    [all...]
  /external/chromium_org/chrome/browser/ui/gtk/
first_run_bubble.cc 23 // Markup for the text of the Omnibox search label
48 char* markup = g_markup_printf_escaped( local
53 gtk_label_set_markup(GTK_LABEL(title), markup); local
54 g_free(markup);
avatar_menu_item_gtk.cc 237 char* markup = g_markup_printf_escaped( local
239 gtk_label_set_markup(GTK_LABEL(name_label), markup); local
240 g_free(markup);
248 char* markup = g_markup_printf_escaped( local
250 gtk_label_set_markup(GTK_LABEL(status_label_), markup); local
251 g_free(markup);
gtk_chrome_link_button.h 59 // As above, but don't escape markup in the text.
60 GtkWidget* gtk_chrome_link_button_new_with_markup(const char* markup);
  /external/chromium_org/ui/base/clipboard/
scoped_clipboard_writer.h 44 void WriteHTML(const base::string16& markup, const std::string& source_url);
clipboard_gtk.cc 481 base::string16* markup,
486 markup->clear();
508 markup->assign(reinterpret_cast<const uint16_t*>(raw_data) + 1,
511 UTF8ToUTF16(reinterpret_cast<const char*>(raw_data), data_length, markup); local
515 if (!markup->empty() && markup->at(markup->length() - 1) == '\0')
516 markup->resize(markup->length() - 1);
519 DCHECK(markup->length() <= kuint32max)
    [all...]
  /external/llvm/include/llvm/MC/
MCInstPrinter.h 87 StringRef markup(StringRef s) const;
88 StringRef markup(StringRef a, StringRef b) const;
  /external/llvm/lib/MC/
MCInstPrinter.cpp 42 StringRef MCInstPrinter::markup(StringRef s) const { function in class:MCInstPrinter
48 StringRef MCInstPrinter::markup(StringRef a, StringRef b) const { function in class:MCInstPrinter
  /external/chromium/chrome/browser/ui/gtk/
first_run_bubble.cc 24 // Markup for the text of the Omnibox search label
131 char* markup = g_markup_printf_escaped(kSearchLabelMarkup, local
133 gtk_label_set_markup(GTK_LABEL(label1), markup); local
134 g_free(markup);
182 char* markup = g_markup_printf_escaped(kSearchLabelMarkup, local
186 gtk_label_set_markup(GTK_LABEL(label1), markup); local
187 g_free(markup);
sad_tab_gtk.cc 35 char* markup = g_markup_printf_escaped(format, str.c_str()); local
36 gtk_label_set_markup(GTK_LABEL(label), markup); local
37 g_free(markup);
theme_install_bubble_view_gtk.cc 90 gchar* markup = g_markup_printf_escaped( local
93 gtk_label_set_markup(GTK_LABEL(label), markup); local
94 g_free(markup);
gtk_chrome_link_button.h 58 // As above, but don't escape markup in the text.
59 GtkWidget* gtk_chrome_link_button_new_with_markup(const char* markup);

Completed in 1429 milliseconds

1 2 3 4