• Home
  • Raw
  • Download

Lines Matching refs:text

668   def inner(text):  argument
670 text += '\n\n<b>Units</b>: %s\n' % (dedent(entry.units))
672 text += '\n\n<b>Possible values:</b>\n<ul>\n'
675 text += ' <li>{@link #%s %s}</li>\n' % ( jenum_value(entry, value ), value.name )
676 text += '</ul>\n'
679 text += '\n\n<b>Available values for this device:</b><br>\n'
681 text += '\n\n<b>Range of valid values:</b><br>\n'
682 text += '%s\n' % (dedent(entry.range))
684 text += '\n\n<b>Optional</b> - This value may be {@code null} on some devices.\n'
686 text += \
691 text += \
696 text += "\nThis key is available on all devices."
698 return text
736 def javadoc_formatter(text): argument
740 javatext = md(text, JAVADOC_IMAGE_SRC_METADATA)
763 text = '\n'
765 text = text + '\n@see %s#%s' % (kind_mapping[node.kind],
768 return text if text != '\n' else ''
785 def dedent(text): argument
802 text = textwrap.dedent(text)
803 text_lines = text.split('\n')
806 text = text_lines[0] + "\n" + text_not_first
808 return text
810 def md(text, img_src_prefix=""): argument
851 text = dedent(text)
856 text = markdown.markdown(text, md_extensions)
859 text = re.sub(r'src="([^"]*)"', 'src="' + img_src_prefix + r'\1"', text)
860 return text
862 def filter_tags(text, metadata, filter_function, summary_function = None): argument
949 text = re.sub(tag_match, filter_sub, text)
952 return text + summary_function(sorted(tag_set, key=lambda x: x.name))
954 return text
1005 def wbr(text): argument
1025 def wbr_filter(text): argument
1026 new_txt = text
1030 for words in text.split(" "):
1044 soup = bs4.BeautifulSoup(text, features='html.parser')
1047 for navigable_string in soup.findAll(text=True):