Home
last modified time | relevance | path

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

1234567

/external/chromium_org/content/renderer/
Dclipboard_utils.cc16 std::string markup("<a href=\""); in URLToMarkup() local
17 markup.append(url.spec()); in URLToMarkup()
18 markup.append("\">"); in URLToMarkup()
20 markup.append(net::EscapeForHTML(base::UTF16ToUTF8(title))); in URLToMarkup()
21 markup.append("</a>"); in URLToMarkup()
22 return markup; in URLToMarkup()
27 std::string markup("<img src=\""); in URLToImageMarkup() local
28 markup.append(net::EscapeForHTML(url.spec())); in URLToImageMarkup()
29 markup.append("\""); in URLToImageMarkup()
31 markup.append(" alt=\""); in URLToImageMarkup()
[all …]
/external/llvm/lib/Target/ARM/InstPrinter/
DARMInstPrinter.cpp71 OS << markup("<reg:") in printRegName()
73 << markup(">"); in printRegName()
154 << markup("<imm:") in printInst()
156 << markup(">"); in printInst()
306 O << markup("<imm:") in printOperand()
308 << markup(">"); in printOperand()
347 O << markup("<mem:") << "[pc, "; in printThumbLdrLabelOperand()
356 O << markup("<imm:") in printThumbLdrLabelOperand()
358 << markup(">"); in printThumbLdrLabelOperand()
360 O << markup("<imm:") in printThumbLdrLabelOperand()
[all …]
/external/llvm/lib/Target/X86/InstPrinter/
DX86ATTInstPrinter.cpp38 OS << markup("<reg:") in printRegName()
40 << markup(">"); in printRegName()
169 O << markup("<imm:") in printOperand()
171 << markup(">"); in printOperand()
178 O << markup("<imm:") in printOperand()
180 << markup(">"); in printOperand()
191 O << markup("<mem:"); in printMemReference()
219 << markup("<imm:") in printMemReference()
221 << markup(">"); in printMemReference()
227 O << markup(">"); in printMemReference()
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/
DBeautifulSoup.py912 markup = None
914 markup = markupName
915 markupAttrs = markup
921 or (markup and self._matches(markup, self.name)) \
922 or (not markup and self._matches(markupName, self.name)):
941 if markup:
942 found = markup
947 def search(self, markup): argument
952 if hasattr(markup, "__iter__") \
953 and not isinstance(markup, Tag):
[all …]
/external/chromium_org/content/browser/
Dtransition_request_manager.h33 std::string markup; member
72 const std::string& markup);
84 const std::string& markup);
95 std::string markup; member
99 const std::string& markup) : in AllowedEntry()
102 markup(markup) {} in AllowedEntry()
Dtransition_request_manager.cc115 const std::string& markup) { in AddEntry() argument
118 markup)); in AddEntry()
134 transition_data->markup = allowed_entry.markup; in FindEntry()
158 const std::string& markup) { in AddPendingTransitionRequestData() argument
164 markup); in AddPendingTransitionRequestData()
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/gtk/
Dannotate.c27 const char *markup; in perf_gtk__get_percent() local
41 markup = perf_gtk__get_percent_color(percent); in perf_gtk__get_percent()
42 if (markup) in perf_gtk__get_percent()
43 ret += scnprintf(buf, size, "%s", markup); in perf_gtk__get_percent()
45 if (markup) in perf_gtk__get_percent()
68 const char *markup = "<span fgcolor='gray'>"; in perf_gtk__get_line() local
76 markup = NULL; in perf_gtk__get_line()
78 if (markup) in perf_gtk__get_line()
79 ret += scnprintf(buf, size, "%s", markup); in perf_gtk__get_line()
81 if (markup) in perf_gtk__get_line()
Dhists.c14 const char *markup; in __percent_color_snprintf() local
16 markup = perf_gtk__get_percent_color(percent); in __percent_color_snprintf()
17 if (markup) in __percent_color_snprintf()
18 ret += scnprintf(buf, size, markup); in __percent_color_snprintf()
22 if (markup) in __percent_color_snprintf()
/external/chromium_org/ui/base/x/
Dselection_utils.cc220 base::string16 markup; in GetHtml() local
230 markup.assign(reinterpret_cast<const uint16_t*>(data) + 1, in GetHtml()
233 base::UTF8ToUTF16(reinterpret_cast<const char*>(data), size, &markup); in GetHtml()
237 if (!markup.empty() && markup.at(markup.length() - 1) == '\0') in GetHtml()
238 markup.resize(markup.length() - 1); in GetHtml()
240 return markup; in GetHtml()
243 return markup; in GetHtml()
/external/chromium_org/third_party/WebKit/Source/core/clipboard/
DPasteboard.cpp116 …blink::WebString markup = blink::Platform::current()->clipboard()->readHTML(m_buffer, &webURL, &fr… in readHTML() local
117 if (!markup.isEmpty()) { in readHTML()
125 return markup; in readHTML()
128 void Pasteboard::writeHTML(const String& markup, const KURL& documentURL, const String& plainText, … in writeHTML() argument
136 …blink::Platform::current()->clipboard()->writeHTML(markup, documentURL, text, canSmartCopyOrDelete… in writeHTML()
/external/chromium_org/third_party/markupsafe/
D_speedups.c24 static PyObject* markup; variable
49 markup = PyObject_GetAttrString(module, "Markup"); in init_constants()
129 return PyObject_CallFunctionObjArgs(markup, text, NULL); in escape()
156 rv = PyObject_CallFunctionObjArgs(markup, (PyObject*)s, NULL); in escape()
167 return PyObject_CallFunctionObjArgs(markup, NULL); in escape_silent()
/external/chromium_org/ui/base/clipboard/
Dclipboard_unittest.cc120 base::string16 markup(ASCIIToUTF16("<string>Hi!</string>")), markup_result; in TEST_F() local
127 clipboard_writer.WriteHTML(markup, url); in TEST_F()
135 EXPECT_PRED2(MarkupMatches, markup, markup_result); in TEST_F()
166 base::string16 markup(ASCIIToUTF16("<string>Selection</string>")); in TEST_F() local
176 clipboard_writer.WriteHTML(markup, url); in TEST_F()
200 EXPECT_PRED2(MarkupMatches, markup, markup_result); in TEST_F()
205 base::string16 markup(ASCIIToUTF16("<em>Bye!<!--EndFragment --></em>")), in TEST_F() local
213 clipboard_writer.WriteHTML(markup, url); in TEST_F()
221 EXPECT_PRED2(MarkupMatches, markup, markup_result); in TEST_F()
231 base::string16 markup(UTF8ToUTF16("<div>A \xc3\xb8 \xe6\xb0\xb4</div>")), in TEST_F() local
[all …]
Dclipboard_aura.cc211 void ReadHTML(base::string16* markup, in ReadHTML() argument
215 markup->clear(); in ReadHTML()
225 *markup = base::UTF8ToUTF16(data->markup_data()); in ReadHTML()
229 DCHECK_LE(markup->length(), kuint32max); in ReadHTML()
230 *fragment_end = static_cast<uint32>(markup->length()); in ReadHTML()
527 base::string16* markup, in ReadHTML() argument
532 GetClipboard()->ReadHTML(markup, src_url, fragment_start, fragment_end); in ReadHTML()
/external/chromium_org/third_party/WebKit/Source/core/editing/
Dmarkup.cpp176 StringBuilder markup; in wrapWithNode() local
178 …appendElement(markup, toElement(node), convertBlocksToInlines && isBlock(&node), rangeFullySelects… in wrapWithNode()
180 appendStartMarkup(markup, node, 0); in wrapWithNode()
181 m_reversedPrecedingMarkup.append(markup.toString()); in wrapWithNode()
659 …mentFragment> createFragmentFromMarkup(Document& document, const String& markup, const String& bas… in createFragmentFromMarkup() argument
665 fragment->parseHTML(markup, fakeBody.get(), parserContentPolicy); in createFragmentFromMarkup()
712 …t> createFragmentFromMarkupWithContext(Document& document, const String& markup, unsigned fragment… in createFragmentFromMarkupWithContext() argument
718 taggedMarkup.append(markup.left(fragmentStart)); in createFragmentFromMarkupWithContext()
720 taggedMarkup.append(markup.substring(fragmentStart, fragmentEnd - fragmentStart)); in createFragmentFromMarkupWithContext()
722 taggedMarkup.append(markup.substring(fragmentEnd)); in createFragmentFromMarkupWithContext()
[all …]
Dmarkup.h51 PassRefPtrWillBeRawPtr<DocumentFragment> createFragmentFromMarkup(Document&, const String& markup, …
52 …ntFragment> createFragmentFromMarkupWithContext(Document&, const String& markup, unsigned fragment…
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/webcontents/
DWebContentsImpl.java177 public void setupTransitionView(String markup) { in setupTransitionView() argument
178 nativeSetupTransitionView(mNativeWebContentsAndroid, markup); in setupTransitionView()
191 private void didDeferAfterResponseStarted(String markup, String cssSelector, in didDeferAfterResponseStarted() argument
194 mNavigationTransitionDelegate.didDeferAfterResponseStarted(markup, in didDeferAfterResponseStarted()
256 String markup); in nativeSetupTransitionView() argument
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DDOMPatchSupport.h53 static void patchDocument(Document&, const String& markup);
57 void patchDocument(const String& markup);
58 Node* patchNode(Node*, const String& markup, ExceptionState&);
DDOMPatchSupport.cpp69 void DOMPatchSupport::patchDocument(Document& document, const String& markup) in patchDocument() argument
74 patchSupport.patchDocument(markup); in patchDocument()
83 void DOMPatchSupport::patchDocument(const String& markup) in patchDocument() argument
101 parser->insert(markup); // Use insert() so that the parser will not yield. in patchDocument()
110 document().write(markup); in patchDocument()
115 Node* DOMPatchSupport::patchNode(Node* node, const String& markup, ExceptionState& exceptionState) in patchNode() argument
119 patchDocument(markup); in patchNode()
135 fragment->parseHTML(markup, targetElement); in patchNode()
137 fragment->parseXML(markup, targetElement); in patchNode()
146 String markupCopy = markup.lower(); in patchNode()
/external/chromium_org/chrome/common/extensions/docs/static/css/
Dprettify.css14 .tag { color: #008 } /* a markup tag name */
15 .atn { color: #606 } /* a markup attribute name */
16 .atv { color: #080 } /* a markup attribute value */
/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlLexerTest.java148 private static void assertTokens(String markup, String... golden) { in assertTokens() argument
149 HtmlLexer lexer = new HtmlLexer(markup); in assertTokens()
153 actual.add(t.type + ": " + markup.substring(t.start, t.end)); in assertTokens()
/external/llvm/lib/MC/
DMCInstPrinter.cpp46 StringRef MCInstPrinter::markup(StringRef s) const { in markup() function in MCInstPrinter
52 StringRef MCInstPrinter::markup(StringRef a, StringRef b) const { in markup() function in MCInstPrinter
/external/pcre/dist/
D132html209 my($markup) = $1;
214 print TEMP "$_$markup\n";
/external/llvm/include/llvm/MC/
DMCInstPrinter.h88 StringRef markup(StringRef s) const;
89 StringRef markup(StringRef a, StringRef b) const;
/external/llvm/docs/
DMarkedUpDisassembly.rst21 The markup is simple enough in syntax to be robust even in the case of version
44 Annoated assembly display will supply contextual markup to help clients more
45 efficiently implement things like pretty printers. Most markup will be target
/external/chromium_org/content/public/android/java/src/org/chromium/content_public/browser/
DNavigationTransitionDelegate.java23 String markup, String cssSelector, String enteringColor); in didDeferAfterResponseStarted() argument

1234567