WPILibC++ 2027.0.0-alpha-3
Loading...
Searching...
No Matches
int_table.h File Reference
#include <stddef.h>
#include <stdint.h>
#include "upb/hash/common.h"
#include "upb/mem/arena.h"
#include "upb/port/def.inc"
#include "upb/port/undef.inc"

Go to the source code of this file.

Classes

struct  upb_inttable
 

Macros

#define UPB_INTTABLE_BEGIN   -1
 

Functions

bool upb_inttable_init (upb_inttable *table, upb_Arena *a)
 
size_t upb_inttable_count (const upb_inttable *t)
 
bool upb_inttable_insert (upb_inttable *t, uintptr_t key, upb_value val, upb_Arena *a)
 
bool upb_inttable_lookup (const upb_inttable *t, uintptr_t key, upb_value *v)
 
bool upb_inttable_remove (upb_inttable *t, uintptr_t key, upb_value *val)
 
bool upb_inttable_replace (upb_inttable *t, uintptr_t key, upb_value val)
 
bool upb_inttable_compact (upb_inttable *t, upb_Arena *a)
 
void upb_inttable_clear (upb_inttable *t)
 
bool upb_inttable_next (const upb_inttable *t, uintptr_t *key, upb_value *val, intptr_t *iter)
 
void upb_inttable_removeiter (upb_inttable *t, intptr_t *iter)
 
void upb_inttable_setentryvalue (upb_inttable *t, intptr_t iter, upb_value v)
 
bool upb_inttable_done (const upb_inttable *t, intptr_t i)
 
uintptr_t upb_inttable_iter_key (const upb_inttable *t, intptr_t iter)
 
upb_value upb_inttable_iter_value (const upb_inttable *t, intptr_t iter)
 
UPB_INLINE bool upb_inttable_arrhas (const upb_inttable *t, uintptr_t key)
 

Macro Definition Documentation

◆ UPB_INTTABLE_BEGIN

#define UPB_INTTABLE_BEGIN   -1

Function Documentation

◆ upb_inttable_arrhas()

UPB_INLINE bool upb_inttable_arrhas ( const upb_inttable * t,
uintptr_t key )

◆ upb_inttable_clear()

void upb_inttable_clear ( upb_inttable * t)

◆ upb_inttable_compact()

bool upb_inttable_compact ( upb_inttable * t,
upb_Arena * a )

◆ upb_inttable_count()

size_t upb_inttable_count ( const upb_inttable * t)

◆ upb_inttable_done()

bool upb_inttable_done ( const upb_inttable * t,
intptr_t i )

◆ upb_inttable_init()

bool upb_inttable_init ( upb_inttable * table,
upb_Arena * a )

◆ upb_inttable_insert()

bool upb_inttable_insert ( upb_inttable * t,
uintptr_t key,
upb_value val,
upb_Arena * a )

◆ upb_inttable_iter_key()

uintptr_t upb_inttable_iter_key ( const upb_inttable * t,
intptr_t iter )

◆ upb_inttable_iter_value()

upb_value upb_inttable_iter_value ( const upb_inttable * t,
intptr_t iter )

◆ upb_inttable_lookup()

bool upb_inttable_lookup ( const upb_inttable * t,
uintptr_t key,
upb_value * v )

◆ upb_inttable_next()

bool upb_inttable_next ( const upb_inttable * t,
uintptr_t * key,
upb_value * val,
intptr_t * iter )

◆ upb_inttable_remove()

bool upb_inttable_remove ( upb_inttable * t,
uintptr_t key,
upb_value * val )

◆ upb_inttable_removeiter()

void upb_inttable_removeiter ( upb_inttable * t,
intptr_t * iter )

◆ upb_inttable_replace()

bool upb_inttable_replace ( upb_inttable * t,
uintptr_t key,
upb_value val )

◆ upb_inttable_setentryvalue()

void upb_inttable_setentryvalue ( upb_inttable * t,
intptr_t iter,
upb_value v )