MCPcopy Index your code

hub / github.com/commonmark/cmark / functions

Functions364 in github.com/commonmark/cmark

↓ 3 callersFunctionappend_child
Like cmark_node_append_child but without costly sanity checks. Assumes that child was newly created.
src/inlines.c:141
↓ 3 callersFunctioncmark_chunk_trim
NOLINTNEXTLINE(clang-diagnostic-unused-function)
src/chunk.h:42
↓ 3 callersFunctioncmark_consolidate_text_nodes
src/iterator.c:90
↓ 3 callersFunctioncmark_node_get_fence_info
src/node.c:485
↓ 3 callersFunctioncmark_node_insert_after
src/node.c:736
↓ 3 callersFunctioncmark_node_is_leaf
src/node.c:25
↓ 3 callersFunctioncmark_node_parent
src/node.c:243
↓ 3 callersFunctioncmark_node_set_list_start
src/node.c:447
↓ 3 callersFunctioncmark_node_set_list_tight
src/node.c:472
↓ 3 callersFunctioncmark_parser_new_with_mem_into_root
src/blocks.c:93
↓ 3 callersFunctioncmark_render
src/render.c:151
↓ 3 callersFunctioncmark_strbuf_unescape
Destructively unescape a string: remove backslashes before punctuation chars.
src/buffer.c:198
↓ 3 callersFunctionencode_unknown
src/utf8.c:21
↓ 3 callersFunctionescape_xml
src/xml.c:43
↓ 3 callersMethodis_block_tag
(self,tag)
test/normalize.py:122
↓ 3 callersFunctionlabelcmp
src/references.c:74
↓ 3 callersFunctionmake_str_from_buf
src/inlines.c:118
↓ 3 callersFunctionnormalize_html
r""" Return normalized form of HTML which ignores insignificant output differences: Multiple inner whitespaces are collapsed to a single
test/normalize.py:131
↓ 3 callersFunctionrender_man
api_test/main.c:611
↓ 3 callersFunctiontest_continuation_byte
api_test/main.c:812
↓ 3 callersFunctiontest_result
api_test/harness.c:12
↓ 2 callersFunctionS_set_last_line_checked
src/blocks.c:54
↓ 2 callersFunctionS_strbuf_grow_by
src/buffer.c:33
↓ 2 callersFunction_scan_dangerous_url
Returns positive value if a URL begins in a way that is potentially dangerous, with javascript:, vbscript:, file:, or data:, otherwise 0.
src/scanners.c:9104
↓ 2 callersFunction_ss
Return sum of square deviations of sequence data. If ``c`` is None, the mean is calculated in one pass, and the deviations from the mean are
bench/statistics.py:453
↓ 2 callersFunctionaccepts_lines
src/blocks.c:171
↓ 2 callersFunctionadjust_subj_node_newlines
Adjust `node`'s `end_line`, `end_column`, and `subj`'s `line` and `column_offset` according to the number of newlines in a just-matched span of text i
src/inlines.c:298
↓ 2 callersFunctioncmark_clean_title
src/inlines.c:882
↓ 2 callersFunctioncmark_clean_url
Clean a URL: remove surrounding whitespace, and remove \ that escape punctuation.
src/inlines.c:871
↓ 2 callersFunctioncmark_node_get_end_line
src/node.c:656
↓ 2 callersFunctioncmark_node_get_start_column
src/node.c:649
↓ 2 callersFunctioncmark_node_get_start_line
src/node.c:642
↓ 2 callersFunctioncmark_node_prepend_child
src/node.c:777
↓ 2 callersFunctioncmark_node_previous
src/node.c:235
↓ 2 callersFunctioncmark_node_replace
src/node.c:769
↓ 2 callersFunctioncmark_node_set_fence_info
src/node.c:497
↓ 2 callersFunctioncmark_node_set_on_enter
src/node.c:592
↓ 2 callersFunctioncmark_node_set_title
src/node.c:559
↓ 2 callersFunctioncmark_node_set_url
src/node.c:526
↓ 2 callersFunctioncmark_strbuf_trim
src/buffer.c:162
↓ 2 callersFunctioncmark_strdup
Duplicate a chunk by creating a copy of the buffer not by reusing the buffer like cmark_chunk_dup does.
src/inlines.c:159
↓ 2 callersFunctioncmark_utf8proc_encode_char
src/utf8.c:189
↓ 2 callersFunctioncmark_version_string
src/cmark.c:11
↓ 2 callersFunctiondo_test
(converter, test, normalize, result_counts)
test/spec_tests.py:43
↓ 2 callersFunctionget_link_type
src/latex.c:152
↓ 2 callersFunctionget_tests
(specfile)
test/spec_tests.py:79
↓ 2 callersFunctionhoudini_escape_href
src/houdini_href_e.c:57
↓ 2 callersFunctionhoudini_unescape_ent
src/houdini_html_u.c:58
↓ 2 callersFunctionhoudini_unescape_html
src/houdini_html_u.c:133
↓ 2 callersFunctionindent
src/xml.c:85
↓ 2 callersFunctionlink_label
Parse a link label. Returns 1 if successful. Note: unescaped brackets are not allowed in labels. The label begins with `[` and ends with the first `
src/inlines.c:1011
↓ 2 callersFunctionmake_autolink
src/inlines.c:182
↓ 2 callersFunctionmake_block
src/blocks.c:72
↓ 2 callersFunctionmake_simple
Create an inline with no value.
src/inlines.c:100
↓ 2 callersFunctionmanual_scan_link_url
src/inlines.c:1093
↓ 2 callersFunctionmd2man
(text)
man/make_man_page.py:40
↓ 2 callersFunctionnormalize_reference
normalize reference: collapse internal whitespace to single space, remove leading/trailing whitespace, case fold Return NULL if the reference name is
src/references.c:22
↓ 2 callersMethodoutput_char
(self, c, fallback)
test/normalize.py:108
↓ 2 callersFunctionpipe_through_prog
(prog, text)
test/cmark.py:14
↓ 2 callersFunctionprint_test_header
(headertext, example_number, start_line, end_line)
test/spec_tests.py:40
↓ 2 callersFunctionprint_usage
src/main.c:31
↓ 2 callersFunctionprocess_emphasis
src/inlines.c:651
↓ 2 callersFunctionpush_bracket
src/inlines.c:548
↓ 2 callersFunctionrender_commonmark
api_test/main.c:697
↓ 2 callersFunctionresolve_reference_link_definitions
returns true if content remains after link defs are resolved.
src/blocks.c:240
↓ 2 callersFunctionspnl
Parse zero or more space characters, including at most one newline.
src/inlines.c:1432
↓ 2 callersFunctionsubject_from_buf
src/inlines.c:195
↓ 2 callersFunctiontest_incomplete_char
api_test/main.c:805
↓ 2 callersFunctiontest_ok
api_test/harness.c:68
↓ 1 callersFunctionS_ends_with_blank_line
Check to see if a node ends with a blank line, descending if needed into lists and sublists.
src/blocks.c:226
↓ 1 callersFunctionS_free_nodes
Free a cmark_node list and any children.
src/node.c:121
↓ 1 callersFunctionS_get_enumlevel
src/latex.c:207
↓ 1 callersFunctionS_insert_emph
src/inlines.c:755
↓ 1 callersFunctionS_is_leaf
src/iterator.c:32
↓ 1 callersFunctionS_is_line_end_char
src/inlines.c:73
↓ 1 callersFunctionS_last_child_is_open
src/blocks.c:774
↓ 1 callersFunctionS_last_line_checked
src/blocks.c:39
↓ 1 callersFunctionS_lookup
src/houdini_html_u.c:23
↓ 1 callersFunctionS_lookup_entity
src/houdini_html_u.c:53
↓ 1 callersFunctionS_normalize_code
Destructively modify string, converting newlines to spaces, then removing a single leading + trailing space, unless the code span consists entirely of
src/inlines.c:361
↓ 1 callersFunctionS_render_node
src/xml.c:92
↓ 1 callersFunctionS_render_node
src/html.c:44
↓ 1 callersFunctionS_scan_thematic_break
Check for thematic break. On failure, return 0 and update thematic_break_kill_pos with the index at which the parse fails. On success, return length
src/blocks.c:676
↓ 1 callersFunction_check_type
(T, allowed)
bench/statistics.py:187
↓ 1 callersFunction_counts
(data)
bench/statistics.py:256
↓ 1 callersFunction_decimal_to_ratio
Convert Decimal d to exact integer ratio (numerator, denominator). >>> from decimal import Decimal >>> _decimal_to_ratio(Decimal("2.6"))
bench/statistics.py:231
↓ 1 callersFunction_exact_ratio
Convert Real number x exactly to (numerator, denominator) pair. >>> _exact_ratio(0.25) (1, 4) x is expected to be an int, Fraction, Deci
bench/statistics.py:196
↓ 1 callersFunction_scan_scheme
Try to match a scheme including colon.
src/scanners.c:25
↓ 1 callersFunctionaccessors
api_test/main.c:94
↓ 1 callersFunctionadd_text_to_container
src/blocks.c:1158
↓ 1 callersFunctionbadhash
(ref)
test/pathological_tests.py:31
↓ 1 callersFunctioncan_contain
src/blocks.c:163
↓ 1 callersFunctioncheck_open_blocks
* For each containing node, try to parse the associated line start. * * Will not close unmatched blocks, as we may have a lazy continuation * line
src/blocks.c:894
↓ 1 callersFunctionchop_trailing_hashtags
src/blocks.c:653
↓ 1 callersFunctionclassifiers
api_test/main.c:76
↓ 1 callersFunctioncmark_chunk_ltrim
src/chunk.h:25
↓ 1 callersFunctioncmark_chunk_strchr
NOLINTNEXTLINE(clang-diagnostic-unused-function)
src/chunk.h:48
↓ 1 callersFunctioncmark_clean_autolink
src/inlines.c:169
↓ 1 callersFunctioncmark_isalpha
src/cmark_ctype.c:38
↓ 1 callersFunctioncmark_iter_reset
src/iterator.c:75
← previousnext →101–200 of 364, ranked by callers