Home
last modified time | relevance | path

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

123

/openbmc/openbmc/poky/bitbake/lib/bs4/builder/
H A D_lxml.py149 def prepare_markup(self, markup, user_specified_encoding=None, argument
183 markup, stacklevel=3
188 if isinstance(markup, str):
195 if len(markup) > 0 and markup[0] == u'\N{BYTE ORDER MARK}':
196 markup = markup[1:]
197 yield markup, None, document_declared_encoding, False
199 if isinstance(markup, str):
202 yield (markup.encode("utf8"), "utf8",
214 markup, known_definite_encodings=known_definite_encodings,
219 yield (detector.markup, encoding, document_declared_encoding, False)
[all …]
H A D__init__.py228 def feed(self, markup): argument
239 def prepare_markup(self, markup, user_specified_encoding=None, argument
265 yield markup, None, None, False
340 def feed(self, markup): argument
517 def warn_if_markup_looks_like_xml(cls, markup, stacklevel=3): argument
531 if isinstance(markup, bytes):
538 if (markup is not None
539 and markup.startswith(prefix)
540 and not looks_like_html.search(markup[:500])
H A D_htmlparser.py323 def prepare_markup(self, markup, user_specified_encoding=None, argument
344 if isinstance(markup, str):
346 yield (markup, None, None, False)
362 markup,
368 yield (dammit.markup, dammit.original_encoding,
372 def feed(self, markup): argument
380 parser.feed(markup)
H A D_html5lib.py64 def prepare_markup(self, markup, user_specified_encoding, argument
81 markup, stacklevel=3
84 yield (markup, None, None, False)
87 def feed(self, markup): argument
96 if not isinstance(markup, str):
101 doc = parser.parse(markup, **extra_kwargs)
104 if isinstance(markup, str):
/openbmc/openbmc/poky/bitbake/lib/bs4/
H A D__init__.py122 def __init__(self, markup="", features=None, builder=None, argument
227 if from_encoding and isinstance(markup, str):
263 ) and markup:
313 if hasattr(markup, 'read'): # It's a file-type object.
314 markup = markup.read()
315 elif len(markup) <= 256 and (
316 (isinstance(markup, bytes) and not b'<' in markup)
317 or (isinstance(markup, str) and not '<' in markup)
323 if not self._markup_is_url(markup):
324 self._markup_resembles_filename(markup)
[all …]
H A Ddammit.py344 def __init__(self, markup, known_definite_encodings=None, argument
389 self.markup, self.sniffed_encoding = self.strip_byte_order_mark(markup)
435 self.markup, self.is_html)
442 self.chardet_encoding = chardet_dammit(self.markup)
482 def find_declared_encoding(cls, markup, is_html=False, search_entire_document=False): argument
498 xml_endpos = html_endpos = len(markup)
501 html_endpos = max(2048, int(len(markup) * 0.05))
503 if isinstance(markup, bytes):
511 declared_encoding_match = xml_re.search(markup, endpos=xml_endpos)
513 declared_encoding_match = html_re.search(markup, endpos=html_endpos)
[all …]
H A Delement.py2254 markup = None
2256 markup = markup_name
2257 markup_attrs = markup
2263 if markup and not markup.prefix and self.name != markup.name:
2272 or (markup and self._matches(markup, self.name))
2273 or (not markup and self._matches(markup_name, self.name))):
2292 if markup:
2293 found = markup
2303 def search(self, markup): argument
2315 if hasattr(markup, '__iter__') and not isinstance(markup, (Tag, str)):
[all …]
H A DCHANGELOG13 markup would result in an AssertionError instead of a
65 * Tag.prettify() will now consistently end prettified markup with
284 the name of a regular file) is passed as markup into the BeautifulSoup
318 builder) which lets you customize the handling of markup that
327 warning issued when BeautifulSoup is instantiated with 'markup' that
359 non-ASCII characters as markup into Beautiful Soup, on a system that
404 completely rejects the incoming markup. [bug=1838877]
529 * When markup contains duplicate elements, a select() call that
537 markup string is a filename. [bug=1737121]
540 bad markup. [bug=1708831]
[all …]
/openbmc/linux/tools/perf/ui/gtk/
H A Dannotate.c33 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 Dhists.c22 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 Dcreate_config_directory.patch16 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 Dreadme.md7 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 Ddoc-bad-section.err1 doc-bad-section.json:5:1: unexpected '=' markup in definition documentation
/openbmc/linux/Documentation/doc-guide/
H A Dsphinx.rst218 .. _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 Dpython3-meld3_2.0.1.bb4 template markup and dynamic rendering logic separate from one \
/openbmc/linux/
H A DREADME14 several of them using the Restructured Text markup notation.
/openbmc/rest-dbus/resources/
H A Djsrender.min.js3markup?n:{}),i.tmplName=t,r&&(i._parentTmpl=r),!d&&n.markup&&(d=a(n.markup))&&d.fn&&(d=d.markup),v…
/openbmc/webui-vue/docs/guide/coding-standards/
H A Daccessibility.md26 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 Dsphinx.rst139 .. _主目录树: http://www.sphinx-doc.org/en/stable/markup/toctree.html
152 .. _Sphinx 特殊标记结构: http://www.sphinx-doc.org/en/stable/markup/index.html
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Djsrender.min.js3markup?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 Dinternationalization.md23 - We use the `$t()` function in markup and `this.$t` in scripts (which Vue I18n
/openbmc/linux/Documentation/ABI/
H A DREADME62 The fields should be use a simple notation, compatible with ReST markup.
/openbmc/webui-vue/docs/customization/
H A Dbuild.md74 navigation. This configuration will make customizations to the rendered markup
/openbmc/openbmc/poky/meta/files/common-licenses/
H A DGFDL-1.2-no-invariants-or-later28 …rs. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has be…
30 Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo inp…
H A DGFDL-1.2-only28 …rs. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has be…
30 Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo inp…

123