#include <errno.h>
#include <float.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "upb/upb_internal.h"
#include "upb/port_def.inc"
Go to the source code of this file.
Classes | |
struct | cleanup_ent |
struct | mem_block |
Typedefs | |
typedef struct cleanup_ent | cleanup_ent |
Variables | |
static const size_t | memblock_reserve = UPB_ALIGN_UP(sizeof(mem_block), 16) |
upb_alloc | upb_alloc_global = {&upb_global_allocfunc} |
typedef struct cleanup_ent cleanup_ent |
void* _upb_Arena_SlowMalloc | ( | upb_Arena * | a, |
size_t | size | ||
) |
Definition at line 176 of file upb/upb/upb.c.
void _upb_EncodeRoundTripDouble | ( | double | val, |
char * | buf, | ||
size_t | size | ||
) |
Definition at line 344 of file upb/upb/upb.c.
void _upb_EncodeRoundTripFloat | ( | float | val, |
char * | buf, | ||
size_t | size | ||
) |
Definition at line 354 of file upb/upb/upb.c.
|
static |
Definition at line 250 of file upb/upb/upb.c.
Definition at line 135 of file upb/upb/upb.c.
Definition at line 190 of file upb/upb/upb.c.
Definition at line 146 of file upb/upb/upb.c.
bool upb_Arena_AddCleanup | ( | upb_Arena * | a, |
void * | ud, | ||
upb_CleanupFunc * | func | ||
) |
Definition at line 278 of file upb/upb/upb.c.
Definition at line 166 of file upb/upb/upb.c.
|
static |
Definition at line 182 of file upb/upb/upb.c.
void upb_Arena_Free | ( | upb_Arena * | a | ) |
Definition at line 273 of file upb/upb/upb.c.
Definition at line 299 of file upb/upb/upb.c.
Definition at line 216 of file upb/upb/upb.c.
Definition at line 106 of file upb/upb/upb.c.
Definition at line 110 of file upb/upb/upb.c.
Definition at line 102 of file upb/upb/upb.c.
|
static |
Definition at line 333 of file upb/upb/upb.c.
|
static |
Definition at line 90 of file upb/upb/upb.c.
void upb_Status_Clear | ( | upb_Status * | status | ) |
Definition at line 44 of file upb/upb/upb.c.
const char* upb_Status_ErrorMessage | ( | const upb_Status * | status | ) |
Definition at line 52 of file upb/upb/upb.c.
bool upb_Status_IsOk | ( | const upb_Status * | status | ) |
Definition at line 50 of file upb/upb/upb.c.
void upb_Status_SetErrorFormat | ( | upb_Status * | status, |
const char * | fmt, | ||
... | |||
) |
Definition at line 63 of file upb/upb/upb.c.
void upb_Status_SetErrorMessage | ( | upb_Status * | status, |
const char * | msg | ||
) |
Definition at line 56 of file upb/upb/upb.c.
void upb_Status_VAppendErrorFormat | ( | upb_Status * | status, |
const char * | fmt, | ||
va_list | args | ||
) |
Definition at line 78 of file upb/upb/upb.c.
void upb_Status_VSetErrorFormat | ( | upb_Status * | status, |
const char * | fmt, | ||
va_list | args | ||
) |
Definition at line 70 of file upb/upb/upb.c.
|
static |
Definition at line 133 of file upb/upb/upb.c.
upb_alloc upb_alloc_global = {&upb_global_allocfunc} |
Definition at line 115 of file upb/upb/upb.c.