libpcre2_32

package module
v0.0.132 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

README

libpcre2-32

Package libpcre2-32 is a ccgo/v4 version of libpcre2-32.a (https://www.pcre.org)

Documentation

Overview

Package libpcre2_32 is a ccgo/v4 version of libpcre2-32.a (https://www.pcre.org)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Xpcre2_callout_enumerate_32

func Xpcre2_callout_enumerate_32(tls *libc.TLS, code uintptr, callback uintptr, callout_data uintptr) (r int32)

Arguments:

code          points to compiled code
callback      function called for each callout block
callout_data  user data passed to the callback

Returns: 0 when successfully completed

 < 0 on local error
!= 0 for callback error

func Xpcre2_code_copy_32

func Xpcre2_code_copy_32(tls *libc.TLS, code uintptr) (r uintptr)
Compiled JIT code cannot be copied, so the new compiled block has no

associated JIT data.

func Xpcre2_code_copy_with_tables_32

func Xpcre2_code_copy_with_tables_32(tls *libc.TLS, code uintptr) (r uintptr)
Compiled JIT code cannot be copied, so the new compiled block has no

associated JIT data. This version of code_copy also makes a separate copy of the character tables.

func Xpcre2_code_free_32

func Xpcre2_code_free_32(tls *libc.TLS, code uintptr)

************************************************ * Free compiled code * ************************************************

func Xpcre2_compile_32

func Xpcre2_compile_32(tls *libc.TLS, pattern TPCRE2_SPTR32, patlen Tsize_t, options Tuint32_t, errorptr uintptr, erroroffset uintptr, ccontext uintptr) (r uintptr)
This function reads a regular expression in the form of a string and returns

a pointer to a block of store holding a compiled version of the expression.

Arguments:

pattern       the regular expression
patlen        the length of the pattern, or PCRE2_ZERO_TERMINATED
options       option bits
errorptr      pointer to errorcode
erroroffset   pointer to error offset
ccontext      points to a compile context or is NULL

Returns: pointer to compiled data block, or NULL on error,

with errorcode and erroroffset set

func Xpcre2_compile_context_copy_32

func Xpcre2_compile_context_copy_32(tls *libc.TLS, ccontext uintptr) (r uintptr)

func Xpcre2_compile_context_create_32

func Xpcre2_compile_context_create_32(tls *libc.TLS, gcontext uintptr) (r uintptr)
The create function copies the default into the new memory, but must

override the default memory handling functions if a gcontext was provided.

func Xpcre2_compile_context_free_32

func Xpcre2_compile_context_free_32(tls *libc.TLS, ccontext uintptr)

func Xpcre2_config_32

func Xpcre2_config_32(tls *libc.TLS, what Tuint32_t, where uintptr) (r int32)
If where is NULL, the length of memory required is returned.

Arguments:

what             what information is required
where            where to put the information

Returns: 0 if a numerical value is returned

>= 0 if a string value
PCRE2_ERROR_BADOPTION if "where" not recognized
  or JIT target requested when JIT not enabled

func Xpcre2_convert_context_copy_32

func Xpcre2_convert_context_copy_32(tls *libc.TLS, ccontext uintptr) (r uintptr)

func Xpcre2_convert_context_create_32

func Xpcre2_convert_context_create_32(tls *libc.TLS, gcontext uintptr) (r uintptr)
The create function copies the default into the new memory, but must

override the default memory handling functions if a gcontext was provided.

func Xpcre2_convert_context_free_32

func Xpcre2_convert_context_free_32(tls *libc.TLS, ccontext uintptr)

func Xpcre2_converted_pattern_free_32

func Xpcre2_converted_pattern_free_32(tls *libc.TLS, converted uintptr)
This frees a converted pattern that was put in newly-allocated memory.

Argument: the converted pattern Returns: nothing

func Xpcre2_dfa_match_32

func Xpcre2_dfa_match_32(tls *libc.TLS, code uintptr, subject TPCRE2_SPTR32, length Tsize_t, start_offset Tsize_t, options Tuint32_t, match_data uintptr, mcontext uintptr, workspace uintptr, wscount Tsize_t) (r int32)
This function matches a compiled pattern to a subject string, using the

alternate matching algorithm that finds all matches at once.

Arguments:

code          points to the compiled pattern
subject       subject string
length        length of subject string
startoffset   where to start matching in the subject
options       option bits
match_data    points to a match data structure
gcontext      points to a match context
workspace     pointer to workspace
wscount       size of workspace

Returns: > 0 => number of match offset pairs placed in offsets

 = 0 => offsets overflowed; longest matches are present
  -1 => failed to match
< -1 => some kind of unexpected problem

func Xpcre2_general_context_copy_32

func Xpcre2_general_context_copy_32(tls *libc.TLS, gcontext uintptr) (r uintptr)

************************************************ * Context copy functions * ************************************************

func Xpcre2_general_context_create_32

func Xpcre2_general_context_create_32(tls *libc.TLS, private_malloc uintptr, private_free uintptr, memory_data uintptr) (r uintptr)
Initializing for compile and match contexts is done in separate, private

functions so that these can be called from functions such as pcre2_compile() when an external context is not supplied. The initializing functions have an option to set up default memory management.

func Xpcre2_general_context_free_32

func Xpcre2_general_context_free_32(tls *libc.TLS, gcontext uintptr)

************************************************ * Context free functions * ************************************************

func Xpcre2_get_error_message_32

func Xpcre2_get_error_message_32(tls *libc.TLS, enumber int32, buffer uintptr, size Tsize_t) (r int32)
This function copies an error message into a buffer whose units are of an

appropriate width. Error numbers are positive for compile-time errors, and negative for match-time errors (except for UTF errors), but the numbers are all distinct.

Arguments:

enumber       error number
buffer        where to put the message (zero terminated)
size          size of the buffer in code units

Returns: length of message if all is well

negative on error

func Xpcre2_get_ovector_pointer_32

func Xpcre2_get_ovector_pointer_32(tls *libc.TLS, match_data uintptr) (r uintptr)

************************************************ * Get pointer to ovector * ************************************************

func Xpcre2_jit_compile_32

func Xpcre2_jit_compile_32(tls *libc.TLS, code uintptr, options Tuint32_t) (r int32)
This function used JIT to convert a previously-compiled pattern into machine

code.

Arguments:

code          a compiled pattern
options       JIT option bits

Returns: 0: success or (*NOJIT) was used

<0: an error code

func Xpcre2_jit_free_unused_memory_32

func Xpcre2_jit_free_unused_memory_32(tls *libc.TLS, gcontext uintptr)

************************************************ * Free unused JIT memory * ************************************************

func Xpcre2_jit_match_32

func Xpcre2_jit_match_32(tls *libc.TLS, code uintptr, subject TPCRE2_SPTR32, length Tsize_t, start_offset Tsize_t, options Tuint32_t, match_data uintptr, mcontext uintptr) (r int32)
This function runs a JIT pattern match.

Arguments:

code            points to the compiled expression
subject         points to the subject string
length          length of subject string (may contain binary zeros)
start_offset    where to start in the subject string
options         option bits
match_data      points to a match_data block
mcontext        points to a match context

Returns: > 0 => success; value is the number of ovector pairs filled

 = 0 => success, but ovector is not big enough
  -1 => failed to match (PCRE_ERROR_NOMATCH)
< -1 => some kind of unexpected problem

func Xpcre2_jit_stack_assign_32

func Xpcre2_jit_stack_assign_32(tls *libc.TLS, mcontext uintptr, callback Tpcre2_jit_callback_32, callback_data uintptr)

************************************************ * Assign a JIT stack to a pattern * ************************************************

func Xpcre2_jit_stack_create_32

func Xpcre2_jit_stack_create_32(tls *libc.TLS, startsize Tsize_t, maxsize Tsize_t, gcontext uintptr) (r uintptr)

************************************************ * Allocate a JIT stack * ************************************************

func Xpcre2_jit_stack_free_32

func Xpcre2_jit_stack_free_32(tls *libc.TLS, jit_stack uintptr)

************************************************ * Free a JIT stack * ************************************************

func Xpcre2_maketables_32

func Xpcre2_maketables_32(tls *libc.TLS, gcontext uintptr) (r uintptr)
This function builds a set of character tables for use by PCRE2 and returns

a pointer to them. They are build using the ctype functions, and consequently their contents will depend upon the current locale setting. When compiled as part of the library, the store is obtained via a general context malloc, if supplied, but when PCRE2_DFTABLES is defined (when compiling the pcre2_dftables freestanding auxiliary program) malloc() is used, and the function has a different name so as not to clash with the prototype in pcre2.h.

Arguments: none when PCRE2_DFTABLES is defined

else a PCRE2 general context or NULL

Returns: pointer to the contiguous block of data

else NULL if memory allocation failed

func Xpcre2_maketables_free_32

func Xpcre2_maketables_free_32(tls *libc.TLS, gcontext uintptr, tables uintptr)

func Xpcre2_match_32

func Xpcre2_match_32(tls *libc.TLS, code uintptr, subject TPCRE2_SPTR32, length Tsize_t, start_offset Tsize_t, options Tuint32_t, match_data uintptr, mcontext uintptr) (r int32)
This function applies a compiled pattern to a subject string and picks out

portions of the string if it matches. Two elements in the vector are set for each substring: the offsets to the start and end of the substring.

Arguments:

code            points to the compiled expression
subject         points to the subject string
length          length of subject string (may contain binary zeros)
start_offset    where to start in the subject string
options         option bits
match_data      points to a match_data block
mcontext        points a PCRE2 context

Returns: > 0 => success; value is the number of ovector pairs filled

= 0 => success, but ovector is not big enough
= -1 => failed to match (PCRE2_ERROR_NOMATCH)
= -2 => partial match (PCRE2_ERROR_PARTIAL)
< -2 => some kind of unexpected problem

func Xpcre2_match_context_copy_32

func Xpcre2_match_context_copy_32(tls *libc.TLS, mcontext uintptr) (r uintptr)

func Xpcre2_match_context_create_32

func Xpcre2_match_context_create_32(tls *libc.TLS, gcontext uintptr) (r uintptr)
The create function copies the default into the new memory, but must

override the default memory handling functions if a gcontext was provided.

func Xpcre2_match_context_free_32

func Xpcre2_match_context_free_32(tls *libc.TLS, mcontext uintptr)

func Xpcre2_match_data_create_32

func Xpcre2_match_data_create_32(tls *libc.TLS, oveccount Tuint32_t, gcontext uintptr) (r uintptr)
A minimum of 1 is imposed on the number of ovector pairs. A maximum is also

imposed because the oveccount field in a match data block is uintt6_t.

func Xpcre2_match_data_create_from_pattern_32

func Xpcre2_match_data_create_from_pattern_32(tls *libc.TLS, code uintptr, gcontext uintptr) (r uintptr)

If no context is supplied, use the memory allocator from the code.

func Xpcre2_match_data_free_32

func Xpcre2_match_data_free_32(tls *libc.TLS, match_data uintptr)

************************************************ * Free a match data block * ************************************************

func Xpcre2_pattern_convert_32

func Xpcre2_pattern_convert_32(tls *libc.TLS, pattern TPCRE2_SPTR32, plength Tsize_t, options Tuint32_t, buffptr uintptr, bufflenptr uintptr, ccontext uintptr) (r int32)
This is the external-facing function for converting other forms of pattern

into PCRE2 regular expression patterns. On error, the bufflenptr argument is used to return an offset in the original pattern.

Arguments:

pattern     the input pattern
plength     length of input, or PCRE2_ZERO_TERMINATED
options     options bits
buffptr     pointer to pointer to output buffer
bufflenptr  pointer to length of output buffer
ccontext    convert context or NULL

Returns: 0 for success, else an error code (+ve or -ve)

func Xpcre2_pattern_info_32

func Xpcre2_pattern_info_32(tls *libc.TLS, code uintptr, what Tuint32_t, where uintptr) (r int32)

Arguments:

code          points to compiled code
what          what information is required
where         where to put the information; if NULL, return length

Returns: 0 when data returned

> 0 when length requested
< 0 on error or unset value

func Xpcre2_serialize_free_32

func Xpcre2_serialize_free_32(tls *libc.TLS, bytes uintptr)

************************************************ * Free the allocated stream * ************************************************

func Xpcre2_set_bsr_32

func Xpcre2_set_bsr_32(tls *libc.TLS, ccontext uintptr, value Tuint32_t) (r int32)

func Xpcre2_set_callout_32

func Xpcre2_set_callout_32(tls *libc.TLS, mcontext uintptr, callout uintptr, callout_data uintptr) (r int32)

------------ Match context ------------

func Xpcre2_set_character_tables_32

func Xpcre2_set_character_tables_32(tls *libc.TLS, ccontext uintptr, tables uintptr) (r int32)

------------ Compile context ------------

func Xpcre2_set_compile_extra_options_32

func Xpcre2_set_compile_extra_options_32(tls *libc.TLS, ccontext uintptr, options Tuint32_t) (r int32)

func Xpcre2_set_compile_recursion_guard_32

func Xpcre2_set_compile_recursion_guard_32(tls *libc.TLS, ccontext uintptr, guard uintptr, user_data uintptr) (r int32)

func Xpcre2_set_depth_limit_32

func Xpcre2_set_depth_limit_32(tls *libc.TLS, mcontext uintptr, limit Tuint32_t) (r int32)

func Xpcre2_set_glob_escape_32

func Xpcre2_set_glob_escape_32(tls *libc.TLS, ccontext uintptr, escape Tuint32_t) (r int32)

func Xpcre2_set_glob_separator_32

func Xpcre2_set_glob_separator_32(tls *libc.TLS, ccontext uintptr, separator Tuint32_t) (r int32)

------------ Convert context ------------

func Xpcre2_set_heap_limit_32

func Xpcre2_set_heap_limit_32(tls *libc.TLS, mcontext uintptr, limit Tuint32_t) (r int32)

func Xpcre2_set_match_limit_32

func Xpcre2_set_match_limit_32(tls *libc.TLS, mcontext uintptr, limit Tuint32_t) (r int32)

func Xpcre2_set_max_pattern_length_32

func Xpcre2_set_max_pattern_length_32(tls *libc.TLS, ccontext uintptr, length Tsize_t) (r int32)

func Xpcre2_set_newline_32

func Xpcre2_set_newline_32(tls *libc.TLS, ccontext uintptr, newline Tuint32_t) (r int32)

func Xpcre2_set_offset_limit_32

func Xpcre2_set_offset_limit_32(tls *libc.TLS, mcontext uintptr, limit Tsize_t) (r int32)

func Xpcre2_set_parens_nest_limit_32

func Xpcre2_set_parens_nest_limit_32(tls *libc.TLS, ccontext uintptr, limit Tuint32_t) (r int32)

func Xpcre2_set_recursion_limit_32

func Xpcre2_set_recursion_limit_32(tls *libc.TLS, mcontext uintptr, limit Tuint32_t) (r int32)

LCOV_EXCL_START

func Xpcre2_set_recursion_memory_management_32

func Xpcre2_set_recursion_memory_management_32(tls *libc.TLS, mcontext uintptr, mymalloc uintptr, myfree uintptr, mydata uintptr) (r int32)

func Xpcre2_set_substitute_callout_32

func Xpcre2_set_substitute_callout_32(tls *libc.TLS, mcontext uintptr, substitute_callout uintptr, substitute_callout_data uintptr) (r int32)

func Xpcre2_substitute_32

func Xpcre2_substitute_32(tls *libc.TLS, code uintptr, subject TPCRE2_SPTR32, length Tsize_t, start_offset Tsize_t, options Tuint32_t, match_data uintptr, mcontext uintptr, replacement TPCRE2_SPTR32, rlength Tsize_t, buffer uintptr, blength uintptr) (r int32)

Here's the function

func Xpcre2_substring_copy_byname_32

func Xpcre2_substring_copy_byname_32(tls *libc.TLS, match_data uintptr, stringname TPCRE2_SPTR32, buffer uintptr, sizeptr uintptr) (r int32)
This function copies a single captured substring into a given buffer,

identifying it by name. If the regex permits duplicate names, the first substring that is set is chosen.

Arguments:

match_data     points to the match data
stringname     the name of the required substring
buffer         where to put the substring
sizeptr        the size of the buffer, updated to the size of the substring

Returns: if successful: zero

if not successful, a negative error code:
  (1) an error from nametable_scan()
  (2) an error from copy_bynumber()
  (3) PCRE2_ERROR_UNAVAILABLE: no group is in ovector
  (4) PCRE2_ERROR_UNSET: all named groups in ovector are unset

func Xpcre2_substring_copy_bynumber_32

func Xpcre2_substring_copy_bynumber_32(tls *libc.TLS, match_data uintptr, stringnumber Tuint32_t, buffer uintptr, sizeptr uintptr) (r int32)
This function copies a single captured substring into a given buffer,

identifying it by number.

Arguments:

match_data     points to the match data
stringnumber   the number of the required substring
buffer         where to put the substring
sizeptr        the size of the buffer, updated to the size of the substring

Returns: if successful: 0

if not successful, a negative error code:
  PCRE2_ERROR_NOMEMORY: buffer too small
  PCRE2_ERROR_NOSUBSTRING: no such substring
  PCRE2_ERROR_UNAVAILABLE: ovector too small
  PCRE2_ERROR_UNSET: substring is not set

func Xpcre2_substring_free_32

func Xpcre2_substring_free_32(tls *libc.TLS, string1 uintptr)

Argument: the result of a previous pcre2_substring_get_byxxx() Returns: nothing

func Xpcre2_substring_get_byname_32

func Xpcre2_substring_get_byname_32(tls *libc.TLS, match_data uintptr, stringname TPCRE2_SPTR32, stringptr uintptr, sizeptr uintptr) (r int32)
This function copies a single captured substring, identified by name, into

new memory. If the regex permits duplicate names, the first substring that is set is chosen.

Arguments:

match_data     pointer to match_data
stringname     the name of the required substring
stringptr      where to put the pointer to the new memory
sizeptr        where to put the length of the substring

Returns: if successful: zero

if not successful, a negative value:
  (1) an error from nametable_scan()
  (2) an error from get_bynumber()
  (3) PCRE2_ERROR_UNAVAILABLE: no group is in ovector
  (4) PCRE2_ERROR_UNSET: all named groups in ovector are unset

func Xpcre2_substring_get_bynumber_32

func Xpcre2_substring_get_bynumber_32(tls *libc.TLS, match_data uintptr, stringnumber Tuint32_t, stringptr uintptr, sizeptr uintptr) (r int32)
This function copies a single captured substring into a piece of new

memory.

Arguments:

match_data     points to match data
stringnumber   the number of the required substring
stringptr      where to put a pointer to the new memory
sizeptr        where to put the size of the substring

Returns: if successful: 0

if not successful, a negative error code:
  PCRE2_ERROR_NOMEMORY: failed to get memory
  PCRE2_ERROR_NOSUBSTRING: no such substring
  PCRE2_ERROR_UNAVAILABLE: ovector too small
  PCRE2_ERROR_UNSET: substring is not set

func Xpcre2_substring_length_byname_32

func Xpcre2_substring_length_byname_32(tls *libc.TLS, match_data uintptr, stringname TPCRE2_SPTR32, sizeptr uintptr) (r int32)
This function returns the length of a named captured substring. If the regex

permits duplicate names, the first substring that is set is chosen.

Arguments:

match_data      pointer to match data
stringname      the name of the required substring
sizeptr         where to put the length

Returns: 0 if successful, else a negative error number

func Xpcre2_substring_length_bynumber_32

func Xpcre2_substring_length_bynumber_32(tls *libc.TLS, match_data uintptr, stringnumber Tuint32_t, sizeptr uintptr) (r int32)
This function returns the length of a captured substring. If the start is

beyond the end (which can happen when \K is used in an assertion), it sets the length to zero.

Arguments:

match_data      pointer to match data
stringnumber    the number of the required substring
sizeptr         where to put the length, if not NULL

Returns: if successful: 0

if not successful, a negative error code:
  PCRE2_ERROR_NOSUBSTRING: no such substring
  PCRE2_ERROR_UNAVAILABLE: ovector is too small
  PCRE2_ERROR_UNSET: substring is not set

func Xpcre2_substring_list_free_32

func Xpcre2_substring_list_free_32(tls *libc.TLS, list uintptr)

Argument: the result of a previous pcre2_substring_list_get() Returns: nothing

func Xpcre2_substring_list_get_32

func Xpcre2_substring_list_get_32(tls *libc.TLS, match_data uintptr, listptr uintptr, lengthsptr uintptr) (r int32)
This function gets one chunk of memory and builds a list of pointers and all

the captured substrings in it. A NULL pointer is put on the end of the list. The substrings are zero-terminated, but also, if the final argument is non-NULL, a list of lengths is also returned. This allows binary data to be handled.

Arguments:

match_data     points to the match data
listptr        set to point to the list of pointers
lengthsptr     set to point to the list of lengths (may be NULL)

Returns: if successful: 0

if not successful, a negative error code:
  PCRE2_ERROR_NOMEMORY: failed to get memory,
  or a match failure code

func Xpcre2_substring_nametable_scan_32

func Xpcre2_substring_nametable_scan_32(tls *libc.TLS, code uintptr, stringname TPCRE2_SPTR32, firstptr uintptr, lastptr uintptr) (r int32)
This function scans the nametable for a given name, using binary chop. It

returns either two pointers to the entries in the table, or, if no pointers are given, the number of a unique group with the given name. If duplicate names are permitted, and the name is not unique, an error is generated.

Arguments:

code        the compiled regex
stringname  the name whose entries required
firstptr    where to put the pointer to the first entry
lastptr     where to put the pointer to the last entry

Returns: PCRE2_ERROR_NOSUBSTRING if the name is not found

otherwise, if firstptr and lastptr are NULL:
  a group number for a unique substring
  else PCRE2_ERROR_NOUNIQUESUBSTRING
otherwise:
  the length of each entry, having set firstptr and lastptr

func Xpcre2_substring_number_from_name_32

func Xpcre2_substring_number_from_name_32(tls *libc.TLS, code uintptr, stringname TPCRE2_SPTR32) (r int32)
This function is a convenience wrapper for pcre2_substring_nametable_scan()

when it is known that names are unique. If there are duplicate names, it is not defined which number is returned.

Arguments:

code        the compiled regex
stringname  the name whose number is required

Returns: the number of the named parenthesis, or a negative number

PCRE2_ERROR_NOSUBSTRING if not found
PCRE2_ERROR_NOUNIQUESUBSTRING if not unique

Types

type TBOOL

type TBOOL = int32

type TPCRE2_SPTR16

type TPCRE2_SPTR16 = uintptr

type TPCRE2_SPTR32

type TPCRE2_SPTR32 = uintptr

func Xpcre2_get_mark_32

func Xpcre2_get_mark_32(tls *libc.TLS, match_data uintptr) (r TPCRE2_SPTR32)

************************************************ * Get last mark in match * ************************************************

type TPCRE2_SPTR8

type TPCRE2_SPTR8 = uintptr

type TPCRE2_UCHAR16

type TPCRE2_UCHAR16 = uint16

type TPCRE2_UCHAR32

type TPCRE2_UCHAR32 = uint32

type TPCRE2_UCHAR8

type TPCRE2_UCHAR8 = uint8

type TRWS_anchor

type TRWS_anchor = struct {
	Fnext uintptr
	Fsize Tuint32_t
	Ffree Tuint32_t
}

type T_G_fpos64_t

type T_G_fpos64_t = Tfpos_t
type T_IO_cookie_io_functions_t = Tcookie_io_functions_t

type Talasitem

type Talasitem = struct {
	Flen1 uint32
	Fmeta Tuint32_t
}

type Tbranch_chain_32

type Tbranch_chain_32 = struct {
	Fouter          uintptr
	Fcurrent_branch uintptr
}

type Tcheck_heapframe_size

type Tcheck_heapframe_size = [1]int8

type Tcompile_block_32

type Tcompile_block_32 = struct {
	Fcx                    uintptr
	Flcc                   uintptr
	Ffcc                   uintptr
	Fcbits                 uintptr
	Fctypes                uintptr
	Fstart_workspace       TPCRE2_SPTR32
	Fstart_code            TPCRE2_SPTR32
	Fstart_pattern         TPCRE2_SPTR32
	Fend_pattern           TPCRE2_SPTR32
	Fname_table            uintptr
	Fworkspace_size        Tsize_t
	Fsmall_ref_offset      [10]Tsize_t
	Ferroroffset           Tsize_t
	Fnames_found           Tuint16_t
	Fname_entry_size       Tuint16_t
	Fparens_depth          Tuint16_t
	Fassert_depth          Tuint16_t
	Fopen_caps             uintptr
	Fnamed_groups          uintptr
	Fnamed_group_list_size Tuint32_t
	Fexternal_options      Tuint32_t
	Fexternal_flags        Tuint32_t
	Fbracount              Tuint32_t
	Flastcapture           Tuint32_t
	Fparsed_pattern        uintptr
	Fparsed_pattern_end    uintptr
	Fgroupinfo             uintptr
	Ftop_backref           Tuint32_t
	Fbackref_map           Tuint32_t
	Fnltype                Tuint32_t
	Fnllen                 Tuint32_t
	Fclass_range_start     Tuint32_t
	Fclass_range_end       Tuint32_t
	Fnl                    [4]TPCRE2_UCHAR32
	Freq_varyopt           Tuint32_t
	Fmax_lookbehind        int32
	Fhad_accept            TBOOL
	Fhad_pruneorskip       TBOOL
	Fhad_recurse           TBOOL
	Fdupnames              TBOOL
}

type Tcookie_io_functions_t

type Tcookie_io_functions_t = struct {
	Fread   uintptr
	Fwrite  uintptr
	Fseek   uintptr
	Fclose1 uintptr
}

type Tdfa_match_block_32

type Tdfa_match_block_32 = struct {
	Fmemctl            Tpcre2_memctl
	Fstart_code        TPCRE2_SPTR32
	Fstart_subject     TPCRE2_SPTR32
	Fend_subject       TPCRE2_SPTR32
	Fstart_used_ptr    TPCRE2_SPTR32
	Flast_used_ptr     TPCRE2_SPTR32
	Ftables            uintptr
	Fstart_offset      Tsize_t
	Fheap_limit        Tsize_t
	Fheap_used         Tsize_t
	Fmatch_limit       Tuint32_t
	Fmatch_limit_depth Tuint32_t
	Fmatch_call_count  Tuint32_t
	Fmoptions          Tuint32_t
	Fpoptions          Tuint32_t
	Fnltype            Tuint32_t
	Fnllen             Tuint32_t
	Fallowemptypartial TBOOL
	Fnl                [4]TPCRE2_UCHAR32
	Fbsr_convention    Tuint16_t
	Fcb                uintptr
	Fcallout_data      uintptr
	Fcallout           uintptr
	Frecursive         uintptr
}

type Tdfa_recursion_info

type Tdfa_recursion_info = struct {
	Fprevrec          uintptr
	Fsubject_position TPCRE2_SPTR32
	Fgroup_num        Tuint32_t
}

type Tdiv_t

type Tdiv_t = struct {
	Fquot int32
	Frem  int32
}

type Tfpos_t

type Tfpos_t = struct {
	F__lldata [0]int64
	F__align  [0]float64
	F__opaque [16]int8
}

type Theapframe

type Theapframe = struct {
	Fecode             TPCRE2_SPTR32
	Ftemp_sptr         [2]TPCRE2_SPTR32
	Flength            Tsize_t
	Fback_frame        Tsize_t
	Ftemp_size         Tsize_t
	Frdepth            Tuint32_t
	Fgroup_frame_type  Tuint32_t
	Ftemp_32           [4]Tuint32_t
	Freturn_id         Tuint8_t
	Fop                Tuint8_t
	Funused            [2]Tuint8_t
	Foccu              [1]TPCRE2_UCHAR32
	Feptr              TPCRE2_SPTR32
	Fstart_match       TPCRE2_SPTR32
	Fmark              TPCRE2_SPTR32
	Fcurrent_recurse   Tuint32_t
	Fcapture_last      Tuint32_t
	Flast_group_offset Tsize_t
	Foffset_top        Tsize_t
	Fovector           [131072]Tsize_t
}

type Theapframe1

type Theapframe1 = struct {
	Fecode             TPCRE2_SPTR32
	Ftemp_sptr         [2]TPCRE2_SPTR32
	Flength            Tsize_t
	Fback_frame        Tsize_t
	Ftemp_size         Tsize_t
	Frdepth            Tuint32_t
	Fgroup_frame_type  Tuint32_t
	Ftemp_32           [4]Tuint32_t
	Freturn_id         Tuint8_t
	Fop                Tuint8_t
	Funused            [2]Tuint8_t
	Foccu              [1]TPCRE2_UCHAR32
	Feptr              TPCRE2_SPTR32
	Fstart_match       TPCRE2_SPTR32
	Fmark              TPCRE2_SPTR32
	Fcurrent_recurse   Tuint32_t
	Fcapture_last      Tuint32_t
	Flast_group_offset Tsize_t
	Foffset_top        Tsize_t
	Fovector           [131072]Tsize_t
}

type Theapframe_align

type Theapframe_align = struct {
	Funalign int8
	Fframe   Theapframe
}

type Timaxdiv_t

type Timaxdiv_t = struct {
	Fquot Tintmax_t
	Frem  Tintmax_t
}

type Tint16_t

type Tint16_t = int16

type Tint32_t

type Tint32_t = int32

func Xpcre2_serialize_decode_32

func Xpcre2_serialize_decode_32(tls *libc.TLS, codes uintptr, number_of_codes Tint32_t, bytes uintptr, gcontext uintptr) (r Tint32_t)

************************************************ * Deserialize compiled patterns * ************************************************

func Xpcre2_serialize_encode_32

func Xpcre2_serialize_encode_32(tls *libc.TLS, codes uintptr, number_of_codes Tint32_t, serialized_bytes uintptr, serialized_size uintptr, gcontext uintptr) (r Tint32_t)

************************************************ * Serialize compiled patterns * ************************************************

func Xpcre2_serialize_get_number_of_codes_32

func Xpcre2_serialize_get_number_of_codes_32(tls *libc.TLS, bytes uintptr) (r Tint32_t)

************************************************ * Get the number of serialized patterns * ************************************************

type Tint64_t

type Tint64_t = int64

type Tint8_t

type Tint8_t = int8

type Tint_fast16_t

type Tint_fast16_t = int32

type Tint_fast32_t

type Tint_fast32_t = int32

type Tint_fast64_t

type Tint_fast64_t = int64

type Tint_fast8_t

type Tint_fast8_t = int8

type Tint_least16_t

type Tint_least16_t = int16

type Tint_least32_t

type Tint_least32_t = int32

type Tint_least64_t

type Tint_least64_t = int64

type Tint_least8_t

type Tint_least8_t = int8

type Tintmax_t

type Tintmax_t = int64

type Tintptr_t

type Tintptr_t = int64

type Tldiv_t

type Tldiv_t = struct {
	Fquot int64
	Frem  int64
}

type Tlldiv_t

type Tlldiv_t = struct {
	Fquot int64
	Frem  int64
}

type Tlocale_t

type Tlocale_t = uintptr

type Tmatch_block_32

type Tmatch_block_32 = struct {
	Fmemctl               Tpcre2_memctl
	Fheap_limit           Tsize_t
	Fmatch_limit          Tuint32_t
	Fmatch_limit_depth    Tuint32_t
	Fmatch_call_count     Tuint32_t
	Fhitend               TBOOL
	Fhasthen              TBOOL
	Fallowemptypartial    TBOOL
	Flcc                  uintptr
	Ffcc                  uintptr
	Fctypes               uintptr
	Fstart_offset         Tsize_t
	Fend_offset_top       Tsize_t
	Fpartial              Tuint16_t
	Fbsr_convention       Tuint16_t
	Fname_count           Tuint16_t
	Fname_entry_size      Tuint16_t
	Fname_table           TPCRE2_SPTR32
	Fstart_code           TPCRE2_SPTR32
	Fstart_subject        TPCRE2_SPTR32
	Fcheck_subject        TPCRE2_SPTR32
	Fend_subject          TPCRE2_SPTR32
	Fend_match_ptr        TPCRE2_SPTR32
	Fstart_used_ptr       TPCRE2_SPTR32
	Flast_used_ptr        TPCRE2_SPTR32
	Fmark                 TPCRE2_SPTR32
	Fnomatch_mark         TPCRE2_SPTR32
	Fverb_ecode_ptr       TPCRE2_SPTR32
	Fverb_skip_ptr        TPCRE2_SPTR32
	Fverb_current_recurse Tuint32_t
	Fmoptions             Tuint32_t
	Fpoptions             Tuint32_t
	Fskip_arg_count       Tuint32_t
	Fignore_skip_arg      Tuint32_t
	Fnltype               Tuint32_t
	Fnllen                Tuint32_t
	Fnl                   [4]TPCRE2_UCHAR32
	Fcb                   uintptr
	Fcallout_data         uintptr
	Fcallout              uintptr
}

type Tmax_align_t

type Tmax_align_t = struct {
	F__ll int64
	F__ld float64
}

type Tnamed_group_32

type Tnamed_group_32 = struct {
	Fname   TPCRE2_SPTR32
	Fnumber Tuint32_t
	Flength Tuint16_t
	Fisdup  Tuint16_t
}

type Tnest_save

type Tnest_save = struct {
	Fnest_depth  Tuint16_t
	Freset_group Tuint16_t
	Fmax_group   Tuint16_t
	Fflags       Tuint16_t
	Foptions     Tuint32_t
}

type Toff_t

type Toff_t = int64

type Topen_capitem

type Topen_capitem = struct {
	Fnext         uintptr
	Fnumber       Tuint16_t
	Fassert_depth Tuint16_t
}

type Tparsed_recurse_check

type Tparsed_recurse_check = struct {
	Fprev     uintptr
	Fgroupptr uintptr
}

type Tpcre2_callout_block_16

type Tpcre2_callout_block_16 = struct {
	Fversion               Tuint32_t
	Fcallout_number        Tuint32_t
	Fcapture_top           Tuint32_t
	Fcapture_last          Tuint32_t
	Foffset_vector         uintptr
	Fmark                  TPCRE2_SPTR16
	Fsubject               TPCRE2_SPTR16
	Fsubject_length        Tsize_t
	Fstart_match           Tsize_t
	Fcurrent_position      Tsize_t
	Fpattern_position      Tsize_t
	Fnext_item_length      Tsize_t
	Fcallout_string_offset Tsize_t
	Fcallout_string_length Tsize_t
	Fcallout_string        TPCRE2_SPTR16
	Fcallout_flags         Tuint32_t
}

type Tpcre2_callout_block_32

type Tpcre2_callout_block_32 = struct {
	Fversion               Tuint32_t
	Fcallout_number        Tuint32_t
	Fcapture_top           Tuint32_t
	Fcapture_last          Tuint32_t
	Foffset_vector         uintptr
	Fmark                  TPCRE2_SPTR32
	Fsubject               TPCRE2_SPTR32
	Fsubject_length        Tsize_t
	Fstart_match           Tsize_t
	Fcurrent_position      Tsize_t
	Fpattern_position      Tsize_t
	Fnext_item_length      Tsize_t
	Fcallout_string_offset Tsize_t
	Fcallout_string_length Tsize_t
	Fcallout_string        TPCRE2_SPTR32
	Fcallout_flags         Tuint32_t
}

type Tpcre2_callout_block_8

type Tpcre2_callout_block_8 = struct {
	Fversion               Tuint32_t
	Fcallout_number        Tuint32_t
	Fcapture_top           Tuint32_t
	Fcapture_last          Tuint32_t
	Foffset_vector         uintptr
	Fmark                  TPCRE2_SPTR8
	Fsubject               TPCRE2_SPTR8
	Fsubject_length        Tsize_t
	Fstart_match           Tsize_t
	Fcurrent_position      Tsize_t
	Fpattern_position      Tsize_t
	Fnext_item_length      Tsize_t
	Fcallout_string_offset Tsize_t
	Fcallout_string_length Tsize_t
	Fcallout_string        TPCRE2_SPTR8
	Fcallout_flags         Tuint32_t
}

type Tpcre2_callout_enumerate_block_16

type Tpcre2_callout_enumerate_block_16 = struct {
	Fversion               Tuint32_t
	Fpattern_position      Tsize_t
	Fnext_item_length      Tsize_t
	Fcallout_number        Tuint32_t
	Fcallout_string_offset Tsize_t
	Fcallout_string_length Tsize_t
	Fcallout_string        TPCRE2_SPTR16
}

type Tpcre2_callout_enumerate_block_32

type Tpcre2_callout_enumerate_block_32 = struct {
	Fversion               Tuint32_t
	Fpattern_position      Tsize_t
	Fnext_item_length      Tsize_t
	Fcallout_number        Tuint32_t
	Fcallout_string_offset Tsize_t
	Fcallout_string_length Tsize_t
	Fcallout_string        TPCRE2_SPTR32
}

type Tpcre2_callout_enumerate_block_8

type Tpcre2_callout_enumerate_block_8 = struct {
	Fversion               Tuint32_t
	Fpattern_position      Tsize_t
	Fnext_item_length      Tsize_t
	Fcallout_number        Tuint32_t
	Fcallout_string_offset Tsize_t
	Fcallout_string_length Tsize_t
	Fcallout_string        TPCRE2_SPTR8
}

type Tpcre2_code_32

type Tpcre2_code_32 = struct {
	Fmemctl             Tpcre2_memctl
	Ftables             uintptr
	Fexecutable_jit     uintptr
	Fstart_bitmap       [32]Tuint8_t
	Fblocksize          Tsize_t
	Fmagic_number       Tuint32_t
	Fcompile_options    Tuint32_t
	Foverall_options    Tuint32_t
	Fextra_options      Tuint32_t
	Fflags              Tuint32_t
	Flimit_heap         Tuint32_t
	Flimit_match        Tuint32_t
	Flimit_depth        Tuint32_t
	Ffirst_codeunit     Tuint32_t
	Flast_codeunit      Tuint32_t
	Fbsr_convention     Tuint16_t
	Fnewline_convention Tuint16_t
	Fmax_lookbehind     Tuint16_t
	Fminlength          Tuint16_t
	Ftop_bracket        Tuint16_t
	Ftop_backref        Tuint16_t
	Fname_entry_size    Tuint16_t
	Fname_count         Tuint16_t
}

type Tpcre2_compile_context_32

type Tpcre2_compile_context_32 = struct {
	Fmemctl             Tpcre2_memctl
	Fstack_guard        uintptr
	Fstack_guard_data   uintptr
	Ftables             uintptr
	Fmax_pattern_length Tsize_t
	Fbsr_convention     Tuint16_t
	Fnewline_convention Tuint16_t
	Fparens_nest_limit  Tuint32_t
	Fextra_options      Tuint32_t
}

type Tpcre2_convert_context_32

type Tpcre2_convert_context_32 = struct {
	Fmemctl         Tpcre2_memctl
	Fglob_separator Tuint32_t
	Fglob_escape    Tuint32_t
}

type Tpcre2_general_context_32

type Tpcre2_general_context_32 = struct {
	Fmemctl Tpcre2_memctl
}

type Tpcre2_jit_callback_16

type Tpcre2_jit_callback_16 = uintptr

type Tpcre2_jit_callback_32

type Tpcre2_jit_callback_32 = uintptr

type Tpcre2_jit_callback_8

type Tpcre2_jit_callback_8 = uintptr

type Tpcre2_jit_stack_32

type Tpcre2_jit_stack_32 = struct {
	Fmemctl Tpcre2_memctl
	Fstack  uintptr
}

type Tpcre2_match_context_32

type Tpcre2_match_context_32 = struct {
	Fmemctl                  Tpcre2_memctl
	Fcallout                 uintptr
	Fcallout_data            uintptr
	Fsubstitute_callout      uintptr
	Fsubstitute_callout_data uintptr
	Foffset_limit            Tsize_t
	Fheap_limit              Tuint32_t
	Fmatch_limit             Tuint32_t
	Fdepth_limit             Tuint32_t
}

type Tpcre2_match_data_32

type Tpcre2_match_data_32 = struct {
	Fmemctl          Tpcre2_memctl
	Fcode            uintptr
	Fsubject         TPCRE2_SPTR32
	Fmark            TPCRE2_SPTR32
	Fheapframes      uintptr
	Fheapframes_size Tsize_t
	Fleftchar        Tsize_t
	Frightchar       Tsize_t
	Fstartchar       Tsize_t
	Fmatchedby       Tuint8_t
	Fflags           Tuint8_t
	Foveccount       Tuint16_t
	Frc              int32
	Fovector         [131072]Tsize_t
}

type Tpcre2_memctl

type Tpcre2_memctl = struct {
	Fmalloc      uintptr
	Ffree        uintptr
	Fmemory_data uintptr
}

type Tpcre2_output_context

type Tpcre2_output_context = struct {
	Foutput      uintptr
	Foutput_end  TPCRE2_SPTR32
	Foutput_size Tsize_t
	Fout_str     [8]Tuint8_t
}

type Tpcre2_real_code_32

type Tpcre2_real_code_32 = struct {
	Fmemctl             Tpcre2_memctl
	Ftables             uintptr
	Fexecutable_jit     uintptr
	Fstart_bitmap       [32]Tuint8_t
	Fblocksize          Tsize_t
	Fmagic_number       Tuint32_t
	Fcompile_options    Tuint32_t
	Foverall_options    Tuint32_t
	Fextra_options      Tuint32_t
	Fflags              Tuint32_t
	Flimit_heap         Tuint32_t
	Flimit_match        Tuint32_t
	Flimit_depth        Tuint32_t
	Ffirst_codeunit     Tuint32_t
	Flast_codeunit      Tuint32_t
	Fbsr_convention     Tuint16_t
	Fnewline_convention Tuint16_t
	Fmax_lookbehind     Tuint16_t
	Fminlength          Tuint16_t
	Ftop_bracket        Tuint16_t
	Ftop_backref        Tuint16_t
	Fname_entry_size    Tuint16_t
	Fname_count         Tuint16_t
}

type Tpcre2_real_code_321

type Tpcre2_real_code_321 = struct {
	Fmemctl             Tpcre2_memctl
	Ftables             uintptr
	Fexecutable_jit     uintptr
	Fstart_bitmap       [32]Tuint8_t
	Fblocksize          Tsize_t
	Fmagic_number       Tuint32_t
	Fcompile_options    Tuint32_t
	Foverall_options    Tuint32_t
	Fextra_options      Tuint32_t
	Fflags              Tuint32_t
	Flimit_heap         Tuint32_t
	Flimit_match        Tuint32_t
	Flimit_depth        Tuint32_t
	Ffirst_codeunit     Tuint32_t
	Flast_codeunit      Tuint32_t
	Fbsr_convention     Tuint16_t
	Fnewline_convention Tuint16_t
	Fmax_lookbehind     Tuint16_t
	Fminlength          Tuint16_t
	Ftop_bracket        Tuint16_t
	Ftop_backref        Tuint16_t
	Fname_entry_size    Tuint16_t
	Fname_count         Tuint16_t
}

type Tpcre2_real_compile_context_32

type Tpcre2_real_compile_context_32 = struct {
	Fmemctl             Tpcre2_memctl
	Fstack_guard        uintptr
	Fstack_guard_data   uintptr
	Ftables             uintptr
	Fmax_pattern_length Tsize_t
	Fbsr_convention     Tuint16_t
	Fnewline_convention Tuint16_t
	Fparens_nest_limit  Tuint32_t
	Fextra_options      Tuint32_t
}

type Tpcre2_real_compile_context_321

type Tpcre2_real_compile_context_321 = struct {
	Fmemctl             Tpcre2_memctl
	Fstack_guard        uintptr
	Fstack_guard_data   uintptr
	Ftables             uintptr
	Fmax_pattern_length Tsize_t
	Fbsr_convention     Tuint16_t
	Fnewline_convention Tuint16_t
	Fparens_nest_limit  Tuint32_t
	Fextra_options      Tuint32_t
}

type Tpcre2_real_convert_context_32

type Tpcre2_real_convert_context_32 = struct {
	Fmemctl         Tpcre2_memctl
	Fglob_separator Tuint32_t
	Fglob_escape    Tuint32_t
}

type Tpcre2_real_convert_context_321

type Tpcre2_real_convert_context_321 = struct {
	Fmemctl         Tpcre2_memctl
	Fglob_separator Tuint32_t
	Fglob_escape    Tuint32_t
}

type Tpcre2_real_general_context_32

type Tpcre2_real_general_context_32 = struct {
	Fmemctl Tpcre2_memctl
}

type Tpcre2_real_general_context_321

type Tpcre2_real_general_context_321 = struct {
	Fmemctl Tpcre2_memctl
}

type Tpcre2_real_jit_stack_32

type Tpcre2_real_jit_stack_32 = struct {
	Fmemctl Tpcre2_memctl
	Fstack  uintptr
}

type Tpcre2_real_jit_stack_321

type Tpcre2_real_jit_stack_321 = struct {
	Fmemctl Tpcre2_memctl
	Fstack  uintptr
}

type Tpcre2_real_match_context_32

type Tpcre2_real_match_context_32 = struct {
	Fmemctl                  Tpcre2_memctl
	Fcallout                 uintptr
	Fcallout_data            uintptr
	Fsubstitute_callout      uintptr
	Fsubstitute_callout_data uintptr
	Foffset_limit            Tsize_t
	Fheap_limit              Tuint32_t
	Fmatch_limit             Tuint32_t
	Fdepth_limit             Tuint32_t
}

type Tpcre2_real_match_context_321

type Tpcre2_real_match_context_321 = struct {
	Fmemctl                  Tpcre2_memctl
	Fcallout                 uintptr
	Fcallout_data            uintptr
	Fsubstitute_callout      uintptr
	Fsubstitute_callout_data uintptr
	Foffset_limit            Tsize_t
	Fheap_limit              Tuint32_t
	Fmatch_limit             Tuint32_t
	Fdepth_limit             Tuint32_t
}

type Tpcre2_real_match_data_32

type Tpcre2_real_match_data_32 = struct {
	Fmemctl          Tpcre2_memctl
	Fcode            uintptr
	Fsubject         TPCRE2_SPTR32
	Fmark            TPCRE2_SPTR32
	Fheapframes      uintptr
	Fheapframes_size Tsize_t
	Fleftchar        Tsize_t
	Frightchar       Tsize_t
	Fstartchar       Tsize_t
	Fmatchedby       Tuint8_t
	Fflags           Tuint8_t
	Foveccount       Tuint16_t
	Frc              int32
	Fovector         [131072]Tsize_t
}

type Tpcre2_real_match_data_321

type Tpcre2_real_match_data_321 = struct {
	Fmemctl          Tpcre2_memctl
	Fcode            uintptr
	Fsubject         TPCRE2_SPTR32
	Fmark            TPCRE2_SPTR32
	Fheapframes      uintptr
	Fheapframes_size Tsize_t
	Fleftchar        Tsize_t
	Frightchar       Tsize_t
	Fstartchar       Tsize_t
	Fmatchedby       Tuint8_t
	Fflags           Tuint8_t
	Foveccount       Tuint16_t
	Frc              int32
	Fovector         [131072]Tsize_t
}

type Tpcre2_serialized_data

type Tpcre2_serialized_data = struct {
	Fmagic           Tuint32_t
	Fversion         Tuint32_t
	Fconfig          Tuint32_t
	Fnumber_of_codes Tint32_t
}

type Tpcre2_substitute_callout_block_16

type Tpcre2_substitute_callout_block_16 = struct {
	Fversion        Tuint32_t
	Finput          TPCRE2_SPTR16
	Foutput         TPCRE2_SPTR16
	Foutput_offsets [2]Tsize_t
	Fovector        uintptr
	Foveccount      Tuint32_t
	Fsubscount      Tuint32_t
}

type Tpcre2_substitute_callout_block_32

type Tpcre2_substitute_callout_block_32 = struct {
	Fversion        Tuint32_t
	Finput          TPCRE2_SPTR32
	Foutput         TPCRE2_SPTR32
	Foutput_offsets [2]Tsize_t
	Fovector        uintptr
	Foveccount      Tuint32_t
	Fsubscount      Tuint32_t
}

type Tpcre2_substitute_callout_block_8

type Tpcre2_substitute_callout_block_8 = struct {
	Fversion        Tuint32_t
	Finput          TPCRE2_SPTR8
	Foutput         TPCRE2_SPTR8
	Foutput_offsets [2]Tsize_t
	Fovector        uintptr
	Foveccount      Tuint32_t
	Fsubscount      Tuint32_t
}

type Tpso

type Tpso = struct {
	Fname   uintptr
	Flength Tuint16_t
	Ftype1  Tuint16_t
	Fvalue  Tuint32_t
}

type Tptrdiff_t

type Tptrdiff_t = int64

type Trecurse_cache

type Trecurse_cache = struct {
	Fgroup       TPCRE2_SPTR32
	Fgroupnumber int32
}

type Trecurse_check

type Trecurse_check = struct {
	Fprev  uintptr
	Fgroup TPCRE2_SPTR32
}

type Tsize_t

type Tsize_t = uint64

func Xpcre2_get_match_data_size_32

func Xpcre2_get_match_data_size_32(tls *libc.TLS, match_data uintptr) (r Tsize_t)

************************************************ * Get size of match data block * ************************************************

func Xpcre2_get_startchar_32

func Xpcre2_get_startchar_32(tls *libc.TLS, match_data uintptr) (r Tsize_t)

************************************************ * Get starting code unit in match * ************************************************

type Tssize_t

type Tssize_t = int64

type Tstateblock

type Tstateblock = struct {
	Foffset int32
	Fcount  int32
	Fdata   int32
}

type Tucd_record

type Tucd_record = struct {
	Fscript            Tuint8_t
	Fchartype          Tuint8_t
	Fgbprop            Tuint8_t
	Fcaseset           Tuint8_t
	Fother_case        Tint32_t
	Fscriptx_bidiclass Tuint16_t
	Fbprops            Tuint16_t
}

type Tucp_type_table

type Tucp_type_table = struct {
	Fname_offset Tuint16_t
	Ftype1       Tuint16_t
	Fvalue       Tuint16_t
}

type Tuint16_t

type Tuint16_t = uint16

type Tuint32_t

type Tuint32_t = uint32

func Xpcre2_get_ovector_count_32

func Xpcre2_get_ovector_count_32(tls *libc.TLS, match_data uintptr) (r Tuint32_t)

************************************************ * Get number of ovector slots * ************************************************

type Tuint64_t

type Tuint64_t = uint64

type Tuint8_t

type Tuint8_t = uint8

type Tuint_fast16_t

type Tuint_fast16_t = uint32

type Tuint_fast32_t

type Tuint_fast32_t = uint32

type Tuint_fast64_t

type Tuint_fast64_t = uint64

type Tuint_fast8_t

type Tuint_fast8_t = uint8

type Tuint_least16_t

type Tuint_least16_t = uint16

type Tuint_least32_t

type Tuint_least32_t = uint32

type Tuint_least64_t

type Tuint_least64_t = uint64

type Tuint_least8_t

type Tuint_least8_t = uint8

type Tuintmax_t

type Tuintmax_t = uint64

type Tuintptr_t

type Tuintptr_t = uint64

type Tva_list

type Tva_list = uintptr

type Tverbitem

type Tverbitem = struct {
	Flen1    uint32
	Fmeta    Tuint32_t
	Fhas_arg int32
}

type Twchar_t

type Twchar_t = int32

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL