Go to the source code of this file.
|
| UPB_INLINE void UPB_PRIVATE | _upb_Map_ShallowFreeze (struct upb_Map *map) |
| |
| UPB_API_INLINE bool | upb_Map_IsFrozen (const struct upb_Map *map) |
| |
| UPB_INLINE upb_StringView | _upb_map_tokey (const void *key, size_t size) |
| |
| UPB_INLINE uintptr_t | _upb_map_tointkey (const void *key, size_t key_size) |
| |
| UPB_INLINE void | _upb_map_fromkey (upb_StringView key, void *out, size_t size) |
| |
| UPB_INLINE bool | _upb_map_tovalue (const void *val, size_t size, upb_value *msgval, upb_Arena *a) |
| |
| UPB_INLINE void | _upb_map_fromvalue (upb_value val, void *out, size_t size) |
| |
| UPB_INLINE bool | _upb_map_next (const struct upb_Map *map, size_t *iter) |
| |
| UPB_INLINE void | _upb_Map_Clear (struct upb_Map *map) |
| |
| UPB_INLINE bool | _upb_Map_Delete (struct upb_Map *map, const void *key, size_t key_size, upb_value *val) |
| |
| UPB_INLINE bool | _upb_Map_Get (const struct upb_Map *map, const void *key, size_t key_size, void *val, size_t val_size) |
| |
| UPB_INLINE upb_MapInsertStatus | _upb_Map_Insert (struct upb_Map *map, const void *key, size_t key_size, void *val, size_t val_size, upb_Arena *a) |
| |
| UPB_INLINE size_t | _upb_Map_Size (const struct upb_Map *map) |
| |
| UPB_INLINE size_t | _upb_Map_CTypeSize (upb_CType ctype) |
| |
| struct upb_Map * | _upb_Map_New (upb_Arena *a, size_t key_size, size_t value_size) |
| |
◆ upb_MapInsertStatus
| Enumerator |
|---|
| kUpb_MapInsertStatus_Inserted | |
| kUpb_MapInsertStatus_Replaced | |
| kUpb_MapInsertStatus_OutOfMemory | |
◆ _upb_Map_Clear()
◆ _upb_Map_CTypeSize()
◆ _upb_Map_Delete()
◆ _upb_map_fromkey()
◆ _upb_map_fromvalue()
◆ _upb_Map_Get()
| UPB_INLINE bool _upb_Map_Get |
( |
const struct upb_Map * | map, |
|
|
const void * | key, |
|
|
size_t | key_size, |
|
|
void * | val, |
|
|
size_t | val_size ) |
◆ _upb_Map_Insert()
◆ _upb_Map_New()
| struct upb_Map * _upb_Map_New |
( |
upb_Arena * | a, |
|
|
size_t | key_size, |
|
|
size_t | value_size ) |
◆ _upb_map_next()
◆ _upb_Map_ShallowFreeze()
◆ _upb_Map_Size()
◆ _upb_map_tointkey()
| UPB_INLINE uintptr_t _upb_map_tointkey |
( |
const void * | key, |
|
|
size_t | key_size ) |
◆ _upb_map_tokey()
◆ _upb_map_tovalue()
◆ upb_Map_IsFrozen()
◆ _upb_Map_CTypeSizeTable
| char _upb_Map_CTypeSizeTable[12] |
|
extern |