Go to the source code of this file.
|
| UPB_NORETURN void | _upb_DefBuilder_FailJmp (upb_DefBuilder *ctx) |
| |
| UPB_NORETURN void | _upb_DefBuilder_Errf (upb_DefBuilder *ctx, const char *fmt,...) UPB_PRINTF(2 |
| |
| UPB_NORETURN void UPB_NORETURN void | _upb_DefBuilder_OomErr (upb_DefBuilder *ctx) |
| |
| const char * | _upb_DefBuilder_MakeFullName (upb_DefBuilder *ctx, const char *prefix, upb_StringView name) |
| |
| const void * | _upb_DefBuilder_ResolveAny (upb_DefBuilder *ctx, const char *from_name_dbg, const char *base, upb_StringView sym, upb_deftype_t *type) |
| |
| const void * | _upb_DefBuilder_Resolve (upb_DefBuilder *ctx, const char *from_name_dbg, const char *base, upb_StringView sym, upb_deftype_t type) |
| |
| char | _upb_DefBuilder_ParseEscape (upb_DefBuilder *ctx, const upb_FieldDef *f, const char **src, const char *end) |
| |
| const char * | _upb_DefBuilder_FullToShort (const char *fullname) |
| |
| UPB_INLINE void * | _upb_DefBuilder_Alloc (upb_DefBuilder *ctx, size_t bytes) |
| |
| UPB_INLINE void * | _upb_DefBuilder_AllocCounted (upb_DefBuilder *ctx, size_t size, size_t count) |
| |
| UPB_INLINE void | _upb_DefBuilder_Add (upb_DefBuilder *ctx, const char *name, upb_value v) |
| |
| UPB_INLINE upb_Arena * | _upb_DefBuilder_Arena (const upb_DefBuilder *ctx) |
| |
| UPB_INLINE upb_FileDef * | _upb_DefBuilder_File (const upb_DefBuilder *ctx) |
| |
| void | _upb_DefBuilder_CheckIdentSlow (upb_DefBuilder *ctx, upb_StringView name, bool full) |
| |
| UPB_INLINE void | _upb_DefBuilder_CheckIdentFull (upb_DefBuilder *ctx, upb_StringView name) |
| |
| bool | _upb_DefBuilder_GetOrCreateFeatureSet (upb_DefBuilder *ctx, const UPB_DESC(FeatureSet *) parent, upb_StringView key, UPB_DESC(FeatureSet **) set) |
| |
| const | UPB_DESC (FeatureSet *) _upb_DefBuilder_DoResolveFeatures(upb_DefBuilder *ctx |
| |
◆ UPB_DEF_SET_OPTIONS
| #define UPB_DEF_SET_OPTIONS |
( |
| target, |
|
|
| desc_type, |
|
|
| options_type, |
|
|
| proto ) |
Value: if (
UPB_DESC(desc_type##_has_options)(proto)) { \
size_t size; \
char* pb =
UPB_DESC(options_type##_serialize)( \
UPB_DESC(desc_type##_options)(proto), ctx->tmp_arena, &size); \
target = \
} else { \
}
#define UPB_DESC(sym)
Definition def.inc:496
UPB_NORETURN void UPB_NORETURN void _upb_DefBuilder_OomErr(upb_DefBuilder *ctx)
const char * kUpbDefOptDefault
UPB_INLINE upb_Arena * _upb_DefBuilder_Arena(const upb_DefBuilder *ctx)
Definition def_builder.h:126
◆ UPB_DEFBUILDER_ALLOCARRAY
| #define UPB_DEFBUILDER_ALLOCARRAY |
( |
| ctx, |
|
|
| type, |
|
|
| count ) |
Value:
UPB_INLINE void * _upb_DefBuilder_AllocCounted(upb_DefBuilder *ctx, size_t size, size_t count)
Definition def_builder.h:104
◆ _upb_DefBuilder_Add()
◆ _upb_DefBuilder_Alloc()
◆ _upb_DefBuilder_AllocCounted()
◆ _upb_DefBuilder_Arena()
◆ _upb_DefBuilder_CheckIdentFull()
◆ _upb_DefBuilder_CheckIdentSlow()
◆ _upb_DefBuilder_Errf()
◆ _upb_DefBuilder_FailJmp()
◆ _upb_DefBuilder_File()
◆ _upb_DefBuilder_FullToShort()
| const char * _upb_DefBuilder_FullToShort |
( |
const char * | fullname | ) |
|
◆ _upb_DefBuilder_GetOrCreateFeatureSet()
◆ _upb_DefBuilder_MakeFullName()
◆ _upb_DefBuilder_OomErr()
◆ _upb_DefBuilder_ParseEscape()
◆ _upb_DefBuilder_Resolve()
◆ _upb_DefBuilder_ResolveAny()
◆ UPB_DESC()
| const UPB_DESC |
( |
FeatureSet * | | ) |
|
◆ is_implicit
| const const const bool is_implicit |
◆ kUpbDefOptDefault
| const char* kUpbDefOptDefault |
|
extern |