webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Macros | Functions
storage.c File Reference
#include <stdint.h>
#include <protobuf.h>

Macros

#define DEREF(memory, type)   *(type*)(memory)
 

Functions

size_t native_slot_size (upb_fieldtype_t type)
 
void native_slot_check_int_range_precision (upb_fieldtype_t type, zval *val)
 
zval * native_slot_get (upb_fieldtype_t type, const void *memory TSRMLS_DC)
 
void native_slot_init (upb_fieldtype_t type, void *memory)
 
void native_slot_set (upb_fieldtype_t type, void *memory, zval *value)
 
void native_slot_set_value_and_case (upb_fieldtype_t type, void *memory, zval *value, uint32_t *case_memory, uint32_t case_number)
 
const upb_msgdeftryget_map_entry_msgdef (const upb_fielddef *field)
 
const upb_msgdefmap_entry_msgdef (const upb_fielddef *field)
 
bool is_map_field (const upb_fielddef *field)
 
MessageLayoutcreate_layout (const upb_msgdef *msgdef)
 
void free_layout (MessageLayout *layout)
 
void layout_set (MessageLayout *layout, void *storage, const upb_fielddef *field, zval *val)
 
void layout_init (MessageLayout *layout, void *storage)
 
zval * layout_get (MessageLayout *layout, const void *storage, const upb_fielddef *field TSRMLS_DC)
 

Macro Definition Documentation

◆ DEREF

#define DEREF (   memory,
  type 
)    *(type*)(memory)

Function Documentation

◆ create_layout()

MessageLayout* create_layout ( const upb_msgdef msgdef)

◆ free_layout()

void free_layout ( MessageLayout layout)

◆ is_map_field()

bool is_map_field ( const upb_fielddef field)

◆ layout_get()

zval* layout_get ( MessageLayout layout,
const void storage,
const upb_fielddef *field  TSRMLS_DC 
)

◆ layout_init()

void layout_init ( MessageLayout layout,
void storage 
)

◆ layout_set()

void layout_set ( MessageLayout layout,
void storage,
const upb_fielddef field,
zval *  val 
)

◆ map_entry_msgdef()

const upb_msgdef* map_entry_msgdef ( const upb_fielddef field)

◆ native_slot_check_int_range_precision()

void native_slot_check_int_range_precision ( upb_fieldtype_t  type,
zval *  val 
)

◆ native_slot_get()

zval* native_slot_get ( upb_fieldtype_t  type,
const void *memory  TSRMLS_DC 
)

◆ native_slot_init()

void native_slot_init ( upb_fieldtype_t  type,
void memory 
)

◆ native_slot_set()

void native_slot_set ( upb_fieldtype_t  type,
void memory,
zval *  value 
)

◆ native_slot_set_value_and_case()

void native_slot_set_value_and_case ( upb_fieldtype_t  type,
void memory,
zval *  value,
uint32_t case_memory,
uint32_t  case_number 
)

◆ native_slot_size()

size_t native_slot_size ( upb_fieldtype_t  type)

◆ tryget_map_entry_msgdef()

const upb_msgdef* tryget_map_entry_msgdef ( const upb_fielddef field)