php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
shs.h File Reference
#include <string.h>
#include "lexbor/core/base.h"

Go to the source code of this file.

Data Structures

struct  lexbor_shs_entry_t
 
struct  lexbor_shs_hash_t
 

Functions

LXB_API const lexbor_shs_entry_tlexbor_shs_entry_get_static (const lexbor_shs_entry_t *tree, const lxb_char_t *key, size_t size)
 
LXB_API const lexbor_shs_entry_tlexbor_shs_entry_get_lower_static (const lexbor_shs_entry_t *root, const lxb_char_t *key, size_t key_len)
 
LXB_API const lexbor_shs_entry_tlexbor_shs_entry_get_upper_static (const lexbor_shs_entry_t *root, const lxb_char_t *key, size_t key_len)
 
lxb_inline const lexbor_shs_hash_tlexbor_shs_hash_get_static (const lexbor_shs_hash_t *table, const size_t table_size, const uint32_t key)
 

Function Documentation

◆ lexbor_shs_entry_get_lower_static()

LXB_API const lexbor_shs_entry_t * lexbor_shs_entry_get_lower_static ( const lexbor_shs_entry_t * root,
const lxb_char_t * key,
size_t key_len )

Definition at line 63 of file shs.c.

◆ lexbor_shs_entry_get_static()

LXB_API const lexbor_shs_entry_t * lexbor_shs_entry_get_static ( const lexbor_shs_entry_t * tree,
const lxb_char_t * key,
size_t size )

Definition at line 34 of file shs.c.

◆ lexbor_shs_entry_get_upper_static()

LXB_API const lexbor_shs_entry_t * lexbor_shs_entry_get_upper_static ( const lexbor_shs_entry_t * root,
const lxb_char_t * key,
size_t key_len )

Definition at line 92 of file shs.c.

◆ lexbor_shs_hash_get_static()

lxb_inline const lexbor_shs_hash_t * lexbor_shs_hash_get_static ( const lexbor_shs_hash_t * table,
const size_t table_size,
const uint32_t key )

Definition at line 53 of file shs.h.