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

Go to the source code of this file.

Data Structures

struct  lexbor_bst_map_entry_t
 
struct  lexbor_bst_map_t
 

Functions

LXB_API lexbor_bst_map_tlexbor_bst_map_create (void)
 
LXB_API lxb_status_t lexbor_bst_map_init (lexbor_bst_map_t *bst_map, size_t size)
 
LXB_API void lexbor_bst_map_clean (lexbor_bst_map_t *bst_map)
 
LXB_API lexbor_bst_map_tlexbor_bst_map_destroy (lexbor_bst_map_t *bst_map, bool self_destroy)
 
LXB_API lexbor_bst_map_entry_tlexbor_bst_map_search (lexbor_bst_map_t *bst_map, lexbor_bst_entry_t *scope, const lxb_char_t *key, size_t key_len)
 
LXB_API lexbor_bst_map_entry_tlexbor_bst_map_insert (lexbor_bst_map_t *bst_map, lexbor_bst_entry_t **scope, const lxb_char_t *key, size_t key_len, void *value)
 
LXB_API lexbor_bst_map_entry_tlexbor_bst_map_insert_not_exists (lexbor_bst_map_t *bst_map, lexbor_bst_entry_t **scope, const lxb_char_t *key, size_t key_len)
 
LXB_API voidlexbor_bst_map_remove (lexbor_bst_map_t *bst_map, lexbor_bst_entry_t **scope, const lxb_char_t *key, size_t key_len)
 
lxb_inline lexbor_mraw_tlexbor_bst_map_mraw (lexbor_bst_map_t *bst_map)
 
LXB_API lexbor_mraw_tlexbor_bst_map_mraw_noi (lexbor_bst_map_t *bst_map)
 

Function Documentation

◆ lexbor_bst_map_clean()

LXB_API void lexbor_bst_map_clean ( lexbor_bst_map_t * bst_map)

Definition at line 56 of file bst_map.c.

◆ lexbor_bst_map_create()

LXB_API lexbor_bst_map_t * lexbor_bst_map_create ( void )

Definition at line 12 of file bst_map.c.

◆ lexbor_bst_map_destroy()

LXB_API lexbor_bst_map_t * lexbor_bst_map_destroy ( lexbor_bst_map_t * bst_map,
bool self_destroy )

Definition at line 64 of file bst_map.c.

◆ lexbor_bst_map_init()

LXB_API lxb_status_t lexbor_bst_map_init ( lexbor_bst_map_t * bst_map,
size_t size )

Definition at line 18 of file bst_map.c.

◆ lexbor_bst_map_insert()

LXB_API lexbor_bst_map_entry_t * lexbor_bst_map_insert ( lexbor_bst_map_t * bst_map,
lexbor_bst_entry_t ** scope,
const lxb_char_t * key,
size_t key_len,
void * value )

Definition at line 112 of file bst_map.c.

◆ lexbor_bst_map_insert_not_exists()

LXB_API lexbor_bst_map_entry_t * lexbor_bst_map_insert_not_exists ( lexbor_bst_map_t * bst_map,
lexbor_bst_entry_t ** scope,
const lxb_char_t * key,
size_t key_len )

Definition at line 129 of file bst_map.c.

◆ lexbor_bst_map_mraw()

lxb_inline lexbor_mraw_t * lexbor_bst_map_mraw ( lexbor_bst_map_t * bst_map)

Definition at line 70 of file bst_map.h.

◆ lexbor_bst_map_mraw_noi()

LXB_API lexbor_mraw_t * lexbor_bst_map_mraw_noi ( lexbor_bst_map_t * bst_map)

Definition at line 235 of file bst_map.c.

◆ lexbor_bst_map_remove()

LXB_API void * lexbor_bst_map_remove ( lexbor_bst_map_t * bst_map,
lexbor_bst_entry_t ** scope,
const lxb_char_t * key,
size_t key_len )

Definition at line 195 of file bst_map.c.

◆ lexbor_bst_map_search()

LXB_API lexbor_bst_map_entry_t * lexbor_bst_map_search ( lexbor_bst_map_t * bst_map,
lexbor_bst_entry_t * scope,
const lxb_char_t * key,
size_t key_len )

Definition at line 82 of file bst_map.c.