/openbmc/openbmc/poky/bitbake/lib/bs4/ |
H A D | testing.py | 28 def soup(self, markup, **kwargs): argument 33 def document_for(self, markup): argument 96 soup = self.soup(markup) 133 soup = self.soup(markup) 140 soup = self.soup(markup) 206 soup = self.soup(markup) 249 markup, 264 soup = self.soup(markup) 272 soup = self.soup(markup) 343 soup = self.soup(markup) [all …]
|
H A D | __init__.py | 175 markup = markup.read() 176 elif len(markup) <= 256: 181 if (isinstance(markup, str) 185 possible_filename = markup 196 markup = markup.encode("utf8") 199 if markup[:5] == "http:" or markup[:6] == "https:": 202 if ((isinstance(markup, bytes) and not b' ' in markup) 203 or (isinstance(markup, str) and not ' ' in markup)): 205 markup = markup.encode("utf8") 222 self.markup = None [all …]
|
H A D | dammit.py | 219 self.markup, self.sniffed_encoding = self.strip_byte_order_mark(markup) 248 self.markup, self.is_html) 346 if isinstance(markup, str) or markup == '': 347 self.markup = markup 348 self.unicode_markup = str(markup) 354 self.markup = self.detector.markup 358 markup = self.detector.markup 406 markup = self.markup 413 markup = smart_quotes_compiled.sub(self._sub_ms_char, markup) 419 self.markup = u [all …]
|
H A D | element.py | 1599 markup = None 1601 markup = markup_name 1609 or (markup and self._matches(markup, self.name)) 1629 if markup: 1638 def search(self, markup): argument 1643 if hasattr(markup, '__iter__') and not isinstance(markup, (Tag, str)): 1658 found = markup 1667 if isinstance(markup, list) or isinstance(markup, tuple): 1696 markup = markup.name 1699 markup = self._normalize_search_value(markup) [all …]
|
H A D | NEWS.txt | 53 * Beautiful Soup will issue a warning if instead of markup you pass it 120 - diagnose(data) tries the given markup on every installed parser, 124 - lxml_trace(data, html=True) runs the given markup through lxml's 217 markup declarations are now treated as preformatted strings, the way 279 UnicodeDammit(markup, smart_quotes_to="ascii"). 374 invalid markup have been removed. Legitimate changes to those 443 on certain kinds of markup. [bug=838800] 522 markup: 546 <markup> 548 </markup>
|
/openbmc/openbmc/poky/bitbake/lib/bs4/tests/ |
H A D | test_html5lib.py | 30 markup = "<p>A <b>bold</b> statement.</p>" 34 soup.decode(), self.document_for(markup)) 42 markup = ('<table id="1">' 50 markup, 70 soup = self.soup(markup) 76 soup = self.soup(markup) 83 soup = self.soup(markup) 89 markup = b"""<?PITarget PIContent?>""" 90 soup = self.soup(markup) 94 markup = b"""<a class="my_class"><p></a>""" [all …]
|
H A D | test_soup.py | 130 markup = "No<b>Yes</b><a>No<b>Yes <c>Yes</c></b>" 132 soup = self.soup(markup, parse_only=strainer) 263 self.assertEqual(self.soup(markup).div.encode("utf8"), markup.encode("utf8")) 269 markup = "I'm already Unicode! \N{SNOWMAN}" 270 dammit = UnicodeDammit(markup) 271 self.assertEqual(dammit.unicode_markup, markup) 274 markup = b"<foo>\x91\x92\x93\x94</foo>" 275 dammit = UnicodeDammit(markup) 280 markup = b"<foo>\x91\x92\x93\x94</foo>" 286 markup = b"<foo>\x91\x92\x93\x94</foo>" [all …]
|
H A D | test_tree.py | 574 markup = '''<html> 588 markup = re.compile(r"\n\s*").sub("", markup) 589 self.tree = self.soup(markup) 1382 soup = self.soup(markup) 1392 soup = self.soup(markup) 1400 soup = self.soup(markup) 1410 soup = self.soup(markup) 1418 markup = "<b><foo></b><b>bar</b>" 1419 soup = self.soup(markup) 1429 soup = self.soup(markup) [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bs4/builder/ |
H A D | _lxml.py | 90 if isinstance(markup, str): 95 if isinstance(markup, str): 98 yield (markup.encode("utf8"), "utf8", 112 def feed(self, markup): argument 113 if isinstance(markup, bytes): 114 markup = BytesIO(markup) 115 elif isinstance(markup, str): 116 markup = StringIO(markup) 120 data = markup.read(self.CHUNK_SIZE) 236 def feed(self, markup): argument [all …]
|
H A D | _htmlparser.py | 141 def prepare_markup(self, markup, user_specified_encoding=None, argument 148 if isinstance(markup, str): 149 yield (markup, None, None, False) 153 dammit = UnicodeDammit(markup, try_encodings, is_html=True, 155 yield (dammit.markup, dammit.original_encoding, 159 def feed(self, markup): argument 164 parser.feed(markup)
|
H A D | __init__.py | 125 def feed(self, markup): argument 128 def prepare_markup(self, markup, user_specified_encoding=None, argument 130 return markup, None, None, False 181 def feed(self, markup): argument
|
H A D | _html5lib.py | 39 def prepare_markup(self, markup, user_specified_encoding, argument 49 yield (markup, None, None, False) 52 def feed(self, markup): argument 56 doc = parser.parse(markup, encoding=self.user_specified_encoding) 59 if isinstance(markup, str):
|
/openbmc/linux/tools/perf/ui/gtk/ |
H A D | annotate.c | 33 const char *markup; in perf_gtk__get_percent() local 47 markup = perf_gtk__get_percent_color(percent); in perf_gtk__get_percent() 48 if (markup) in perf_gtk__get_percent() 49 ret += scnprintf(buf, size, "%s", markup); in perf_gtk__get_percent() 51 if (markup) in perf_gtk__get_percent() 74 const char *markup = "<span fgcolor='gray'>"; in perf_gtk__get_line() local 82 markup = NULL; in perf_gtk__get_line() 84 if (markup) in perf_gtk__get_line() 85 ret += scnprintf(buf, size, "%s", markup); in perf_gtk__get_line() 87 if (markup) in perf_gtk__get_line()
|
H A D | hists.c | 22 const char *markup; in __percent_color_snprintf() local 31 markup = perf_gtk__get_percent_color(percent); in __percent_color_snprintf() 32 if (markup) in __percent_color_snprintf() 33 ret += scnprintf(buf, size, markup); in __percent_color_snprintf() 37 if (markup) in __percent_color_snprintf()
|
/openbmc/openbmc/poky/meta/recipes-gnome/gnome/gconf/ |
H A D | create_config_directory.patch | 16 Index: GConf-3.2.6/backends/markup-backend.c 18 --- GConf-3.2.6.orig/backends/markup-backend.c 19 +++ GConf-3.2.6/backends/markup-backend.c
|
/openbmc/webui-vue/docs/guide/components/ |
H A D | readme.md | 7 HTML markup. If the feature you're working on includes a new layout pattern, 8 rather than adding raw markup to the page, consider creating a component that
|
/openbmc/qemu/tests/qapi-schema/ |
H A D | doc-bad-section.err | 1 doc-bad-section.json:5:1: unexpected '=' markup in definition documentation
|
/openbmc/linux/Documentation/doc-guide/ |
H A D | sphinx.rst | 218 .. _TOC tree: http://www.sphinx-doc.org/en/stable/markup/toctree.html 230 markup constructs`_. 233 .. _Sphinx specific markup constructs: http://www.sphinx-doc.org/en/stable/markup/index.html 240 * Please don't go overboard with reStructuredText markup. Keep it 361 The example below shows how to use this markup. The first level of the staged 362 list is the *table-row*. In the *table-row* there is only one markup allowed, 490 installed, you will see a vector image. If not, the raw markup is inserted as 511 :caption: Embedded **SVG** markup 522 :caption: Embedded **SVG** markup
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/ |
H A D | python3-meld3_2.0.1.bb | 4 template markup and dynamic rendering logic separate from one \
|
/openbmc/linux/ |
H A D | README | 14 several of them using the Restructured Text markup notation.
|
/openbmc/webui-vue/docs/guide/coding-standards/ |
H A D | accessibility.md | 26 Coding the UI using semantic markup is the most important step in creating an 32 1. Always favor semantic markup over ARIA
|
/openbmc/linux/Documentation/translations/zh_CN/doc-guide/ |
H A D | sphinx.rst | 139 .. _主目录树: http://www.sphinx-doc.org/en/stable/markup/toctree.html 152 .. _Sphinx 特殊标记结构: http://www.sphinx-doc.org/en/stable/markup/index.html
|
/openbmc/rest-dbus/resources/ |
H A D | jsrender.min.js | 3 …markup?n:{}),i.tmplName=t,r&&(i._parentTmpl=r),!d&&n.markup&&(d=a(n.markup))&&d.fn&&(d=d.markup),v…
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/ |
H A D | jsrender.min.js | 3 …markup?n:{}),i.tmplName=e,r&&(i._parentTmpl=r),!d&&n.markup&&(d=o(n.markup))&&d.fn&&(d=d.markup),v…
|
/openbmc/webui-vue/docs/guide/guidelines/ |
H A D | internationalization.md | 23 - We use the `$t()` function in markup and `this.$t` in scripts (which Vue I18n
|