php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
encoding.h File Reference

Go to the source code of this file.

Functions

LXB_API const lxb_encoding_data_tlxb_encoding_data_by_pre_name (const lxb_char_t *name, size_t length)
 
lxb_inline lxb_status_t lxb_encoding_encode_init (lxb_encoding_encode_t *encode, const lxb_encoding_data_t *encoding_data, lxb_char_t *buffer_out, size_t buffer_length)
 
lxb_inline lxb_status_t lxb_encoding_encode_finish (lxb_encoding_encode_t *encode)
 
lxb_inline lxb_char_tlxb_encoding_encode_buf (lxb_encoding_encode_t *encode)
 
lxb_inline void lxb_encoding_encode_buf_set (lxb_encoding_encode_t *encode, lxb_char_t *buffer_out, size_t buffer_length)
 
lxb_inline void lxb_encoding_encode_buf_used_set (lxb_encoding_encode_t *encode, size_t buffer_used)
 
lxb_inline size_t lxb_encoding_encode_buf_used (lxb_encoding_encode_t *encode)
 
lxb_inline lxb_status_t lxb_encoding_encode_replace_set (lxb_encoding_encode_t *encode, const lxb_char_t *replace, size_t length)
 
lxb_inline lxb_status_t lxb_encoding_encode_buf_add_to (lxb_encoding_encode_t *encode, lxb_char_t *data, size_t length)
 
lxb_inline lxb_status_t lxb_encoding_decode_buf_add_to (lxb_encoding_decode_t *decode, const lxb_codepoint_t *data, size_t length)
 
lxb_inline lxb_status_t lxb_encoding_decode_init (lxb_encoding_decode_t *decode, const lxb_encoding_data_t *encoding_data, lxb_codepoint_t *buffer_out, size_t buffer_length)
 
lxb_inline lxb_status_t lxb_encoding_decode_finish (lxb_encoding_decode_t *decode)
 
lxb_inline lxb_codepoint_tlxb_encoding_decode_buf (lxb_encoding_decode_t *decode)
 
lxb_inline void lxb_encoding_decode_buf_set (lxb_encoding_decode_t *decode, lxb_codepoint_t *buffer_out, size_t buffer_length)
 
lxb_inline void lxb_encoding_decode_buf_used_set (lxb_encoding_decode_t *decode, size_t buffer_used)
 
lxb_inline size_t lxb_encoding_decode_buf_used (lxb_encoding_decode_t *decode)
 
lxb_inline lxb_status_t lxb_encoding_decode_replace_set (lxb_encoding_decode_t *decode, const lxb_codepoint_t *replace, size_t length)
 
lxb_inline lxb_status_t lxb_encoding_encode_init_single (lxb_encoding_encode_t *encode, const lxb_encoding_data_t *encoding_data)
 
lxb_inline int8_t lxb_encoding_encode_finish_single (lxb_encoding_encode_t *encode, lxb_char_t **data, const lxb_char_t *end)
 
lxb_inline lxb_status_t lxb_encoding_decode_init_single (lxb_encoding_decode_t *decode, const lxb_encoding_data_t *encoding_data)
 
lxb_inline lxb_status_t lxb_encoding_decode_finish_single (lxb_encoding_decode_t *decode)
 
lxb_inline const lxb_encoding_data_tlxb_encoding_data_by_name (const lxb_char_t *name, size_t length)
 
lxb_inline const lxb_encoding_data_tlxb_encoding_data (lxb_encoding_t encoding)
 
lxb_inline lxb_encoding_encode_f lxb_encoding_encode_function (lxb_encoding_t encoding)
 
lxb_inline lxb_encoding_decode_f lxb_encoding_decode_function (lxb_encoding_t encoding)
 
lxb_inline lxb_status_t lxb_encoding_data_call_encode (lxb_encoding_data_t *encoding_data, lxb_encoding_encode_t *ctx, const lxb_codepoint_t **cp, const lxb_codepoint_t *end)
 
lxb_inline lxb_status_t lxb_encoding_data_call_decode (lxb_encoding_data_t *encoding_data, lxb_encoding_decode_t *ctx, const lxb_char_t **data, const lxb_char_t *end)
 
lxb_inline lxb_encoding_t lxb_encoding_data_encoding (lxb_encoding_data_t *data)
 
LXB_API lxb_status_t lxb_encoding_encode_init_noi (lxb_encoding_encode_t *encode, const lxb_encoding_data_t *encoding_data, lxb_char_t *buffer_out, size_t buffer_length)
 
LXB_API lxb_status_t lxb_encoding_encode_finish_noi (lxb_encoding_encode_t *encode)
 
LXB_API lxb_char_tlxb_encoding_encode_buf_noi (lxb_encoding_encode_t *encode)
 
LXB_API void lxb_encoding_encode_buf_set_noi (lxb_encoding_encode_t *encode, lxb_char_t *buffer_out, size_t buffer_length)
 
LXB_API void lxb_encoding_encode_buf_used_set_noi (lxb_encoding_encode_t *encode, size_t buffer_used)
 
LXB_API size_t lxb_encoding_encode_buf_used_noi (lxb_encoding_encode_t *encode)
 
LXB_API lxb_status_t lxb_encoding_encode_replace_set_noi (lxb_encoding_encode_t *encode, const lxb_char_t *replace, size_t buffer_length)
 
LXB_API lxb_status_t lxb_encoding_encode_buf_add_to_noi (lxb_encoding_encode_t *encode, lxb_char_t *data, size_t length)
 
LXB_API lxb_status_t lxb_encoding_decode_init_noi (lxb_encoding_decode_t *decode, const lxb_encoding_data_t *encoding_data, lxb_codepoint_t *buffer_out, size_t buffer_length)
 
LXB_API lxb_status_t lxb_encoding_decode_finish_noi (lxb_encoding_decode_t *decode)
 
LXB_API lxb_codepoint_tlxb_encoding_decode_buf_noi (lxb_encoding_decode_t *decode)
 
LXB_API void lxb_encoding_decode_buf_set_noi (lxb_encoding_decode_t *decode, lxb_codepoint_t *buffer_out, size_t buffer_length)
 
LXB_API void lxb_encoding_decode_buf_used_set_noi (lxb_encoding_decode_t *decode, size_t buffer_used)
 
LXB_API size_t lxb_encoding_decode_buf_used_noi (lxb_encoding_decode_t *decode)
 
LXB_API lxb_status_t lxb_encoding_decode_replace_set_noi (lxb_encoding_decode_t *decode, const lxb_codepoint_t *replace, size_t length)
 
LXB_API lxb_status_t lxb_encoding_decode_buf_add_to_noi (lxb_encoding_decode_t *decode, const lxb_codepoint_t *data, size_t length)
 
LXB_API lxb_status_t lxb_encoding_encode_init_single_noi (lxb_encoding_encode_t *encode, const lxb_encoding_data_t *encoding_data)
 
LXB_API int8_t lxb_encoding_encode_finish_single_noi (lxb_encoding_encode_t *encode, lxb_char_t **data, const lxb_char_t *end)
 
LXB_API lxb_status_t lxb_encoding_decode_init_single_noi (lxb_encoding_decode_t *decode, const lxb_encoding_data_t *encoding_data)
 
LXB_API lxb_status_t lxb_encoding_decode_finish_single_noi (lxb_encoding_decode_t *decode)
 
LXB_API const lxb_encoding_data_tlxb_encoding_data_by_name_noi (const lxb_char_t *name, size_t length)
 
LXB_API const lxb_encoding_data_tlxb_encoding_data_noi (lxb_encoding_t encoding)
 
LXB_API lxb_encoding_encode_f lxb_encoding_encode_function_noi (lxb_encoding_t encoding)
 
LXB_API lxb_encoding_decode_f lxb_encoding_decode_function_noi (lxb_encoding_t encoding)
 
LXB_API lxb_status_t lxb_encoding_data_call_encode_noi (lxb_encoding_data_t *encoding_data, lxb_encoding_encode_t *ctx, const lxb_codepoint_t **cp, const lxb_codepoint_t *end)
 
LXB_API lxb_status_t lxb_encoding_data_call_decode_noi (lxb_encoding_data_t *encoding_data, lxb_encoding_decode_t *ctx, const lxb_char_t **data, const lxb_char_t *end)
 
LXB_API lxb_encoding_t lxb_encoding_data_encoding_noi (lxb_encoding_data_t *data)
 
LXB_API size_t lxb_encoding_encode_t_sizeof (void)
 
LXB_API size_t lxb_encoding_decode_t_sizeof (void)
 

Function Documentation

◆ lxb_encoding_data()

lxb_inline const lxb_encoding_data_t * lxb_encoding_data ( lxb_encoding_t encoding)

Definition at line 315 of file encoding.h.

◆ lxb_encoding_data_by_name()

lxb_inline const lxb_encoding_data_t * lxb_encoding_data_by_name ( const lxb_char_t * name,
size_t length )

Definition at line 297 of file encoding.h.

◆ lxb_encoding_data_by_name_noi()

LXB_API const lxb_encoding_data_t * lxb_encoding_data_by_name_noi ( const lxb_char_t * name,
size_t length )

Definition at line 199 of file encoding.c.

◆ lxb_encoding_data_by_pre_name()

LXB_API const lxb_encoding_data_t * lxb_encoding_data_by_pre_name ( const lxb_char_t * name,
size_t length )

Definition at line 11 of file encoding.c.

◆ lxb_encoding_data_call_decode()

lxb_inline lxb_status_t lxb_encoding_data_call_decode ( lxb_encoding_data_t * encoding_data,
lxb_encoding_decode_t * ctx,
const lxb_char_t ** data,
const lxb_char_t * end )

Definition at line 352 of file encoding.h.

◆ lxb_encoding_data_call_decode_noi()

LXB_API lxb_status_t lxb_encoding_data_call_decode_noi ( lxb_encoding_data_t * encoding_data,
lxb_encoding_decode_t * ctx,
const lxb_char_t ** data,
const lxb_char_t * end )

Definition at line 230 of file encoding.c.

◆ lxb_encoding_data_call_encode()

lxb_inline lxb_status_t lxb_encoding_data_call_encode ( lxb_encoding_data_t * encoding_data,
lxb_encoding_encode_t * ctx,
const lxb_codepoint_t ** cp,
const lxb_codepoint_t * end )

Definition at line 345 of file encoding.h.

◆ lxb_encoding_data_call_encode_noi()

LXB_API lxb_status_t lxb_encoding_data_call_encode_noi ( lxb_encoding_data_t * encoding_data,
lxb_encoding_encode_t * ctx,
const lxb_codepoint_t ** cp,
const lxb_codepoint_t * end )

Definition at line 223 of file encoding.c.

◆ lxb_encoding_data_encoding()

lxb_inline lxb_encoding_t lxb_encoding_data_encoding ( lxb_encoding_data_t * data)

Definition at line 359 of file encoding.h.

◆ lxb_encoding_data_encoding_noi()

LXB_API lxb_encoding_t lxb_encoding_data_encoding_noi ( lxb_encoding_data_t * data)

Definition at line 237 of file encoding.c.

◆ lxb_encoding_data_noi()

LXB_API const lxb_encoding_data_t * lxb_encoding_data_noi ( lxb_encoding_t encoding)

Definition at line 205 of file encoding.c.

◆ lxb_encoding_decode_buf()

lxb_inline lxb_codepoint_t * lxb_encoding_decode_buf ( lxb_encoding_decode_t * decode)

Definition at line 188 of file encoding.h.

◆ lxb_encoding_decode_buf_add_to()

lxb_inline lxb_status_t lxb_encoding_decode_buf_add_to ( lxb_encoding_decode_t * decode,
const lxb_codepoint_t * data,
size_t length )

Definition at line 127 of file encoding.h.

◆ lxb_encoding_decode_buf_add_to_noi()

LXB_API lxb_status_t lxb_encoding_decode_buf_add_to_noi ( lxb_encoding_decode_t * decode,
const lxb_codepoint_t * data,
size_t length )

Definition at line 165 of file encoding.c.

◆ lxb_encoding_decode_buf_noi()

LXB_API lxb_codepoint_t * lxb_encoding_decode_buf_noi ( lxb_encoding_decode_t * decode)

Definition at line 132 of file encoding.c.

◆ lxb_encoding_decode_buf_set()

lxb_inline void lxb_encoding_decode_buf_set ( lxb_encoding_decode_t * decode,
lxb_codepoint_t * buffer_out,
size_t buffer_length )

Definition at line 194 of file encoding.h.

◆ lxb_encoding_decode_buf_set_noi()

LXB_API void lxb_encoding_decode_buf_set_noi ( lxb_encoding_decode_t * decode,
lxb_codepoint_t * buffer_out,
size_t buffer_length )

Definition at line 138 of file encoding.c.

◆ lxb_encoding_decode_buf_used()

lxb_inline size_t lxb_encoding_decode_buf_used ( lxb_encoding_decode_t * decode)

Definition at line 210 of file encoding.h.

◆ lxb_encoding_decode_buf_used_noi()

LXB_API size_t lxb_encoding_decode_buf_used_noi ( lxb_encoding_decode_t * decode)

Definition at line 152 of file encoding.c.

◆ lxb_encoding_decode_buf_used_set()

lxb_inline void lxb_encoding_decode_buf_used_set ( lxb_encoding_decode_t * decode,
size_t buffer_used )

Definition at line 203 of file encoding.h.

◆ lxb_encoding_decode_buf_used_set_noi()

LXB_API void lxb_encoding_decode_buf_used_set_noi ( lxb_encoding_decode_t * decode,
size_t buffer_used )

Definition at line 145 of file encoding.c.

◆ lxb_encoding_decode_finish()

lxb_inline lxb_status_t lxb_encoding_decode_finish ( lxb_encoding_decode_t * decode)

Definition at line 161 of file encoding.h.

◆ lxb_encoding_decode_finish_noi()

LXB_API lxb_status_t lxb_encoding_decode_finish_noi ( lxb_encoding_decode_t * decode)

Definition at line 126 of file encoding.c.

◆ lxb_encoding_decode_finish_single()

lxb_inline lxb_status_t lxb_encoding_decode_finish_single ( lxb_encoding_decode_t * decode)

Definition at line 277 of file encoding.h.

◆ lxb_encoding_decode_finish_single_noi()

LXB_API lxb_status_t lxb_encoding_decode_finish_single_noi ( lxb_encoding_decode_t * decode)

Definition at line 193 of file encoding.c.

◆ lxb_encoding_decode_function()

lxb_inline lxb_encoding_decode_f lxb_encoding_decode_function ( lxb_encoding_t encoding)

Definition at line 335 of file encoding.h.

◆ lxb_encoding_decode_function_noi()

LXB_API lxb_encoding_decode_f lxb_encoding_decode_function_noi ( lxb_encoding_t encoding)

Definition at line 217 of file encoding.c.

◆ lxb_encoding_decode_init()

lxb_inline lxb_status_t lxb_encoding_decode_init ( lxb_encoding_decode_t * decode,
const lxb_encoding_data_t * encoding_data,
lxb_codepoint_t * buffer_out,
size_t buffer_length )

Definition at line 143 of file encoding.h.

◆ lxb_encoding_decode_init_noi()

LXB_API lxb_status_t lxb_encoding_decode_init_noi ( lxb_encoding_decode_t * decode,
const lxb_encoding_data_t * encoding_data,
lxb_codepoint_t * buffer_out,
size_t buffer_length )

Definition at line 117 of file encoding.c.

◆ lxb_encoding_decode_init_single()

lxb_inline lxb_status_t lxb_encoding_decode_init_single ( lxb_encoding_decode_t * decode,
const lxb_encoding_data_t * encoding_data )

Definition at line 262 of file encoding.h.

◆ lxb_encoding_decode_init_single_noi()

LXB_API lxb_status_t lxb_encoding_decode_init_single_noi ( lxb_encoding_decode_t * decode,
const lxb_encoding_data_t * encoding_data )

Definition at line 186 of file encoding.c.

◆ lxb_encoding_decode_replace_set()

lxb_inline lxb_status_t lxb_encoding_decode_replace_set ( lxb_encoding_decode_t * decode,
const lxb_codepoint_t * replace,
size_t length )

Definition at line 216 of file encoding.h.

◆ lxb_encoding_decode_replace_set_noi()

LXB_API lxb_status_t lxb_encoding_decode_replace_set_noi ( lxb_encoding_decode_t * decode,
const lxb_codepoint_t * replace,
size_t length )

Definition at line 158 of file encoding.c.

◆ lxb_encoding_decode_t_sizeof()

LXB_API size_t lxb_encoding_decode_t_sizeof ( void )

Definition at line 249 of file encoding.c.

◆ lxb_encoding_encode_buf()

lxb_inline lxb_char_t * lxb_encoding_encode_buf ( lxb_encoding_encode_t * encode)

Definition at line 67 of file encoding.h.

◆ lxb_encoding_encode_buf_add_to()

lxb_inline lxb_status_t lxb_encoding_encode_buf_add_to ( lxb_encoding_encode_t * encode,
lxb_char_t * data,
size_t length )

Definition at line 109 of file encoding.h.

◆ lxb_encoding_encode_buf_add_to_noi()

LXB_API lxb_status_t lxb_encoding_encode_buf_add_to_noi ( lxb_encoding_encode_t * encode,
lxb_char_t * data,
size_t length )

Definition at line 110 of file encoding.c.

◆ lxb_encoding_encode_buf_noi()

LXB_API lxb_char_t * lxb_encoding_encode_buf_noi ( lxb_encoding_encode_t * encode)

Definition at line 77 of file encoding.c.

◆ lxb_encoding_encode_buf_set()

lxb_inline void lxb_encoding_encode_buf_set ( lxb_encoding_encode_t * encode,
lxb_char_t * buffer_out,
size_t buffer_length )

Definition at line 73 of file encoding.h.

◆ lxb_encoding_encode_buf_set_noi()

LXB_API void lxb_encoding_encode_buf_set_noi ( lxb_encoding_encode_t * encode,
lxb_char_t * buffer_out,
size_t buffer_length )

Definition at line 83 of file encoding.c.

◆ lxb_encoding_encode_buf_used()

lxb_inline size_t lxb_encoding_encode_buf_used ( lxb_encoding_encode_t * encode)

Definition at line 89 of file encoding.h.

◆ lxb_encoding_encode_buf_used_noi()

LXB_API size_t lxb_encoding_encode_buf_used_noi ( lxb_encoding_encode_t * encode)

Definition at line 97 of file encoding.c.

◆ lxb_encoding_encode_buf_used_set()

lxb_inline void lxb_encoding_encode_buf_used_set ( lxb_encoding_encode_t * encode,
size_t buffer_used )

Definition at line 82 of file encoding.h.

◆ lxb_encoding_encode_buf_used_set_noi()

LXB_API void lxb_encoding_encode_buf_used_set_noi ( lxb_encoding_encode_t * encode,
size_t buffer_used )

Definition at line 90 of file encoding.c.

◆ lxb_encoding_encode_finish()

lxb_inline lxb_status_t lxb_encoding_encode_finish ( lxb_encoding_encode_t * encode)

Definition at line 57 of file encoding.h.

◆ lxb_encoding_encode_finish_noi()

LXB_API lxb_status_t lxb_encoding_encode_finish_noi ( lxb_encoding_encode_t * encode)

Definition at line 71 of file encoding.c.

◆ lxb_encoding_encode_finish_single()

lxb_inline int8_t lxb_encoding_encode_finish_single ( lxb_encoding_encode_t * encode,
lxb_char_t ** data,
const lxb_char_t * end )

Definition at line 248 of file encoding.h.

◆ lxb_encoding_encode_finish_single_noi()

LXB_API int8_t lxb_encoding_encode_finish_single_noi ( lxb_encoding_encode_t * encode,
lxb_char_t ** data,
const lxb_char_t * end )

Definition at line 179 of file encoding.c.

◆ lxb_encoding_encode_function()

lxb_inline lxb_encoding_encode_f lxb_encoding_encode_function ( lxb_encoding_t encoding)

Definition at line 325 of file encoding.h.

◆ lxb_encoding_encode_function_noi()

LXB_API lxb_encoding_encode_f lxb_encoding_encode_function_noi ( lxb_encoding_t encoding)

Definition at line 211 of file encoding.c.

◆ lxb_encoding_encode_init()

lxb_inline lxb_status_t lxb_encoding_encode_init ( lxb_encoding_encode_t * encode,
const lxb_encoding_data_t * encoding_data,
lxb_char_t * buffer_out,
size_t buffer_length )

Definition at line 39 of file encoding.h.

◆ lxb_encoding_encode_init_noi()

LXB_API lxb_status_t lxb_encoding_encode_init_noi ( lxb_encoding_encode_t * encode,
const lxb_encoding_data_t * encoding_data,
lxb_char_t * buffer_out,
size_t buffer_length )

Definition at line 62 of file encoding.c.

◆ lxb_encoding_encode_init_single()

lxb_inline lxb_status_t lxb_encoding_encode_init_single ( lxb_encoding_encode_t * encode,
const lxb_encoding_data_t * encoding_data )

Definition at line 233 of file encoding.h.

◆ lxb_encoding_encode_init_single_noi()

LXB_API lxb_status_t lxb_encoding_encode_init_single_noi ( lxb_encoding_encode_t * encode,
const lxb_encoding_data_t * encoding_data )

Definition at line 172 of file encoding.c.

◆ lxb_encoding_encode_replace_set()

lxb_inline lxb_status_t lxb_encoding_encode_replace_set ( lxb_encoding_encode_t * encode,
const lxb_char_t * replace,
size_t length )

Definition at line 95 of file encoding.h.

◆ lxb_encoding_encode_replace_set_noi()

LXB_API lxb_status_t lxb_encoding_encode_replace_set_noi ( lxb_encoding_encode_t * encode,
const lxb_char_t * replace,
size_t buffer_length )

Definition at line 103 of file encoding.c.

◆ lxb_encoding_encode_t_sizeof()

LXB_API size_t lxb_encoding_encode_t_sizeof ( void )

Definition at line 243 of file encoding.c.