#include <stdint.h>
#include <string.h>
#include "upb/upb.h"
#include "upb/port_def.inc"
#include "upb/port_undef.inc"
Go to the source code of this file.
Classes | |
struct | _upb_tabent |
struct | upb_inttable |
struct | upb_inttable_iter |
struct | upb_strtable |
struct | upb_strtable_iter |
struct | upb_table |
struct | upb_tabval |
struct | upb_value |
Macros | |
#define | FUNCS(name, membername, type_t, converter, proto_type) |
#define | UPB_INTTABLE_BEGIN -1 |
#define | UPB_STRTABLE_BEGIN -1 |
#define | UPB_TABVALUE_EMPTY_INIT { -1 } |
Typedefs | |
typedef struct _upb_tabent | upb_tabent |
typedef uintptr_t | upb_tabkey |
typedef struct upb_tabval | upb_tabval |
#define FUNCS | ( | name, | |
membername, | |||
type_t, | |||
converter, | |||
proto_type | |||
) |
Definition at line 82 of file table_internal.h.
#define UPB_INTTABLE_BEGIN -1 |
Definition at line 277 of file table_internal.h.
#define UPB_STRTABLE_BEGIN -1 |
Definition at line 293 of file table_internal.h.
#define UPB_TABVALUE_EMPTY_INIT { -1 } |
Definition at line 159 of file table_internal.h.
typedef struct _upb_tabent upb_tabent |
typedef uintptr_t upb_tabkey |
Definition at line 137 of file table_internal.h.
typedef struct upb_tabval upb_tabval |
UPB_INLINE void _upb_value_setval | ( | upb_value * | v, |
uint64_t | val | ||
) |
Definition at line 72 of file table_internal.h.
const UPB_INLINE upb_tabent* str_tabent | ( | const upb_strtable_iter * | i | ) |
Definition at line 364 of file table_internal.h.
void upb_inttable_begin | ( | upb_inttable_iter * | i, |
const upb_inttable * | t | ||
) |
Definition at line 1936 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
void upb_inttable_compact | ( | upb_inttable * | t, |
upb_Arena * | a | ||
) |
size_t upb_inttable_count | ( | const upb_inttable * | t | ) |
Definition at line 1711 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
bool upb_inttable_done | ( | const upb_inttable_iter * | i | ) |
Definition at line 1958 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
bool upb_inttable_init | ( | upb_inttable * | table, |
upb_Arena * | a | ||
) |
bool upb_inttable_insert | ( | upb_inttable * | t, |
uintptr_t | key, | ||
upb_value | val, | ||
upb_Arena * | a | ||
) |
bool upb_inttable_iter_isequal | ( | const upb_inttable_iter * | i1, |
const upb_inttable_iter * | i2 | ||
) |
Definition at line 1987 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
uintptr_t upb_inttable_iter_key | ( | const upb_inttable_iter * | i | ) |
Definition at line 1969 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
void upb_inttable_iter_setdone | ( | upb_inttable_iter * | i | ) |
Definition at line 1981 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
upb_value upb_inttable_iter_value | ( | const upb_inttable_iter * | i | ) |
Definition at line 1974 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
bool upb_inttable_lookup | ( | const upb_inttable * | t, |
uintptr_t | key, | ||
upb_value * | v | ||
) |
Definition at line 1803 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
void upb_inttable_next | ( | upb_inttable_iter * | i | ) |
Definition at line 1943 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
bool upb_inttable_remove | ( | upb_inttable * | t, |
uintptr_t | key, | ||
upb_value * | val | ||
) |
Definition at line 1817 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
void upb_inttable_removeiter | ( | upb_inttable * | t, |
intptr_t * | iter | ||
) |
bool upb_inttable_replace | ( | upb_inttable * | t, |
uintptr_t | key, | ||
upb_value | val | ||
) |
Definition at line 1810 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
void upb_strtable_begin | ( | upb_strtable_iter * | i, |
const upb_strtable * | t | ||
) |
Definition at line 1636 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
void upb_strtable_clear | ( | upb_strtable * | t | ) |
UPB_INLINE size_t upb_strtable_count | ( | const upb_strtable * | t | ) |
Definition at line 211 of file table_internal.h.
bool upb_strtable_done | ( | const upb_strtable_iter * | i | ) |
Definition at line 1645 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
bool upb_strtable_init | ( | upb_strtable * | table, |
size_t | expected_size, | ||
upb_Arena * | a | ||
) |
bool upb_strtable_insert | ( | upb_strtable * | t, |
const char * | key, | ||
size_t | len, | ||
upb_value | val, | ||
upb_Arena * | a | ||
) |
bool upb_strtable_iter_isequal | ( | const upb_strtable_iter * | i1, |
const upb_strtable_iter * | i2 | ||
) |
Definition at line 1673 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
upb_StringView upb_strtable_iter_key | ( | const upb_strtable_iter * | i | ) |
Definition at line 1651 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
void upb_strtable_iter_setdone | ( | upb_strtable_iter * | i | ) |
Definition at line 1668 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
upb_value upb_strtable_iter_value | ( | const upb_strtable_iter * | i | ) |
Definition at line 1663 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
UPB_INLINE bool upb_strtable_lookup | ( | const upb_strtable * | t, |
const char * | key, | ||
upb_value * | v | ||
) |
Definition at line 236 of file table_internal.h.
bool upb_strtable_lookup2 | ( | const upb_strtable * | t, |
const char * | key, | ||
size_t | len, | ||
upb_value * | v | ||
) |
Definition at line 1612 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
void upb_strtable_next | ( | upb_strtable_iter * | i | ) |
Definition at line 1641 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c.
bool upb_strtable_next2 | ( | const upb_strtable * | t, |
upb_StringView * | key, | ||
upb_value * | val, | ||
intptr_t * | iter | ||
) |
UPB_INLINE bool upb_strtable_remove | ( | upb_strtable * | t, |
const char * | key, | ||
upb_value * | v | ||
) |
Definition at line 247 of file table_internal.h.
bool upb_strtable_remove2 | ( | upb_strtable * | t, |
const char * | key, | ||
size_t | len, | ||
upb_value * | val | ||
) |
Definition at line 976 of file bloaty/third_party/protobuf/php/ext/google/protobuf/upb.h.
void upb_strtable_removeiter | ( | upb_strtable * | t, |
intptr_t * | iter | ||
) |
bool upb_strtable_resize | ( | upb_strtable * | t, |
size_t | size_lg2, | ||
upb_Arena * | a | ||
) |
UPB_INLINE bool upb_tabent_isempty | ( | const upb_tabent * | e | ) |
Definition at line 202 of file table_internal.h.
UPB_INLINE size_t upb_table_size | ( | const upb_table * | t | ) |
Definition at line 194 of file table_internal.h.
UPB_INLINE char* upb_tabstr | ( | upb_tabkey | key, |
uint32_t * | len | ||
) |
Definition at line 139 of file table_internal.h.
UPB_INLINE upb_StringView upb_tabstrview | ( | upb_tabkey | key | ) |
Definition at line 145 of file table_internal.h.
UPB_INLINE upb_value upb_value_double | ( | double | cval | ) |
Definition at line 120 of file table_internal.h.
UPB_INLINE upb_value upb_value_float | ( | float | cval | ) |
Definition at line 114 of file table_internal.h.
UPB_INLINE void upb_value_setdouble | ( | upb_value * | val, |
double | cval | ||
) |
Definition at line 110 of file table_internal.h.
UPB_INLINE void upb_value_setfloat | ( | upb_value * | val, |
float | cval | ||
) |
Definition at line 106 of file table_internal.h.