Home
last modified time | relevance | path

Searched refs:code_unit_to_byte (Results 1 – 1 of 1) sorted by relevance

/dports/devel/tree-sitter/tree-sitter-0.20.1/lib/binding_web/
H A Dbinding.c25 static uint32_t code_unit_to_byte(uint32_t unit) { in code_unit_to_byte() function
44 node.context[0] = code_unit_to_byte((uint32_t)TRANSFER_BUFFER[1]); in unmarshal_node()
46 node.context[2] = code_unit_to_byte((uint32_t)TRANSFER_BUFFER[3]); in unmarshal_node()
75 point.column = code_unit_to_byte((uint32_t)address[1]); in unmarshal_point()
87 range->start_byte = code_unit_to_byte(range->start_byte); in unmarshal_range()
88 range->end_byte = code_unit_to_byte(range->end_byte); in unmarshal_range()
136 *bytes_read = code_unit_to_byte(*bytes_read); in call_parse_callback()
390 uint32_t start = code_unit_to_byte((uint32_t)address[0]); in ts_node_descendant_for_index_wasm()
391 uint32_t end = code_unit_to_byte((uint32_t)address[1]); in ts_node_descendant_for_index_wasm()
398 uint32_t start = code_unit_to_byte((uint32_t)address[0]); in ts_node_named_descendant_for_index_wasm()
[all …]