Go to the source code of this file.
Macros | |
#define | CHARPTR_AT(msg, ofs) ((char*)msg + ofs) |
#define | DEREF(memory, type) *(type*)(memory) |
#define | DEREF_OFFSET(msg, ofs, type) *(type*)CHARPTR_AT(msg, ofs) |
Definition at line 41 of file ruby/ext/google/protobuf_c/storage.c.
Definition at line 43 of file ruby/ext/google/protobuf_c/storage.c.
#define DEREF_OFFSET | ( | msg, | |
ofs, | |||
type | |||
) | *(type*)CHARPTR_AT(msg, ofs) |
Definition at line 42 of file ruby/ext/google/protobuf_c/storage.c.
|
static |
Definition at line 471 of file ruby/ext/google/protobuf_c/storage.c.
|
static |
Definition at line 871 of file ruby/ext/google/protobuf_c/storage.c.
|
static |
Definition at line 851 of file ruby/ext/google/protobuf_c/storage.c.
void create_layout | ( | Descriptor * | desc | ) |
Definition at line 481 of file ruby/ext/google/protobuf_c/storage.c.
bool field_contains_hasbit | ( | MessageLayout * | layout, |
const upb_fielddef * | field | ||
) |
Definition at line 465 of file ruby/ext/google/protobuf_c/storage.c.
VALUE field_type_class | ( | const MessageLayout * | layout, |
const upb_fielddef * | field | ||
) |
Definition at line 659 of file ruby/ext/google/protobuf_c/storage.c.
void free_layout | ( | MessageLayout * | layout | ) |
Definition at line 652 of file ruby/ext/google/protobuf_c/storage.c.
bool is_map_field | ( | const upb_fielddef * | field | ) |
Definition at line 430 of file ruby/ext/google/protobuf_c/storage.c.
|
static |
Definition at line 62 of file ruby/ext/google/protobuf_c/storage.c.
bool is_value_field | ( | const upb_fielddef * | f | ) |
Definition at line 476 of file ruby/ext/google/protobuf_c/storage.c.
void layout_clear | ( | MessageLayout * | layout, |
const void * | storage, | ||
const upb_fielddef * | field | ||
) |
Definition at line 729 of file ruby/ext/google/protobuf_c/storage.c.
void layout_deep_copy | ( | MessageLayout * | layout, |
void * | to, | ||
void * | from | ||
) |
Definition at line 1011 of file ruby/ext/google/protobuf_c/storage.c.
void layout_dup | ( | MessageLayout * | layout, |
void * | to, | ||
void * | from | ||
) |
Definition at line 977 of file ruby/ext/google/protobuf_c/storage.c.
VALUE layout_eq | ( | MessageLayout * | layout, |
void * | msg1, | ||
void * | msg2 | ||
) |
Definition at line 1047 of file ruby/ext/google/protobuf_c/storage.c.
VALUE layout_get | ( | MessageLayout * | layout, |
const void * | storage, | ||
const upb_fielddef * | field | ||
) |
Definition at line 822 of file ruby/ext/google/protobuf_c/storage.c.
VALUE layout_get_default | ( | const upb_fielddef * | field | ) |
Definition at line 790 of file ruby/ext/google/protobuf_c/storage.c.
VALUE layout_has | ( | MessageLayout * | layout, |
const void * | storage, | ||
const upb_fielddef * | field | ||
) |
Definition at line 722 of file ruby/ext/google/protobuf_c/storage.c.
VALUE layout_hash | ( | MessageLayout * | layout, |
void * | storage | ||
) |
Definition at line 1089 of file ruby/ext/google/protobuf_c/storage.c.
void layout_init | ( | MessageLayout * | layout, |
void * | storage | ||
) |
Definition at line 946 of file ruby/ext/google/protobuf_c/storage.c.
VALUE layout_inspect | ( | MessageLayout * | layout, |
void * | storage | ||
) |
Definition at line 1105 of file ruby/ext/google/protobuf_c/storage.c.
void layout_mark | ( | MessageLayout * | layout, |
void * | storage | ||
) |
Definition at line 959 of file ruby/ext/google/protobuf_c/storage.c.
void layout_set | ( | MessageLayout * | layout, |
void * | storage, | ||
const upb_fielddef * | field, | ||
VALUE | val | ||
) |
Definition at line 894 of file ruby/ext/google/protobuf_c/storage.c.
const upb_fielddef* map_entry_key | ( | const upb_msgdef * | msgdef | ) |
Definition at line 449 of file ruby/ext/google/protobuf_c/storage.c.
const upb_msgdef* map_entry_msgdef | ( | const upb_fielddef * | field | ) |
Definition at line 424 of file ruby/ext/google/protobuf_c/storage.c.
const upb_fielddef* map_entry_value | ( | const upb_msgdef * | msgdef | ) |
Definition at line 455 of file ruby/ext/google/protobuf_c/storage.c.
const upb_fielddef* map_field_key | ( | const upb_fielddef * | field | ) |
Definition at line 439 of file ruby/ext/google/protobuf_c/storage.c.
const upb_fielddef* map_field_value | ( | const upb_fielddef * | field | ) |
Definition at line 444 of file ruby/ext/google/protobuf_c/storage.c.
void native_slot_check_int_range_precision | ( | const char * | name, |
upb_fieldtype_t | type, | ||
VALUE | val | ||
) |
Definition at line 68 of file ruby/ext/google/protobuf_c/storage.c.
void native_slot_deep_copy | ( | upb_fieldtype_t | type, |
void * | to, | ||
void * | from | ||
) |
Definition at line 375 of file ruby/ext/google/protobuf_c/storage.c.
void native_slot_dup | ( | upb_fieldtype_t | type, |
void * | to, | ||
void * | from | ||
) |
Definition at line 371 of file ruby/ext/google/protobuf_c/storage.c.
VALUE native_slot_encode_and_freeze_string | ( | upb_fieldtype_t | type, |
VALUE | value | ||
) |
Definition at line 94 of file ruby/ext/google/protobuf_c/storage.c.
bool native_slot_eq | ( | upb_fieldtype_t | type, |
void * | mem1, | ||
void * | mem2 | ||
) |
Definition at line 395 of file ruby/ext/google/protobuf_c/storage.c.
VALUE native_slot_get | ( | upb_fieldtype_t | type, |
VALUE | type_class, | ||
const void * | memory | ||
) |
Definition at line 285 of file ruby/ext/google/protobuf_c/storage.c.
void native_slot_init | ( | upb_fieldtype_t | type, |
void * | memory | ||
) |
Definition at line 321 of file ruby/ext/google/protobuf_c/storage.c.
void native_slot_mark | ( | upb_fieldtype_t | type, |
void * | memory | ||
) |
Definition at line 359 of file ruby/ext/google/protobuf_c/storage.c.
void native_slot_set | ( | const char * | name, |
upb_fieldtype_t | type, | ||
VALUE | type_class, | ||
void * | memory, | ||
VALUE | value | ||
) |
Definition at line 116 of file ruby/ext/google/protobuf_c/storage.c.
void native_slot_set_value_and_case | ( | const char * | name, |
upb_fieldtype_t | type, | ||
VALUE | type_class, | ||
void * | memory, | ||
VALUE | value, | ||
uint32_t * | case_memory, | ||
uint32_t | case_number | ||
) |
Definition at line 122 of file ruby/ext/google/protobuf_c/storage.c.
size_t native_slot_size | ( | upb_fieldtype_t | type | ) |
Definition at line 45 of file ruby/ext/google/protobuf_c/storage.c.
|
static |
Definition at line 702 of file ruby/ext/google/protobuf_c/storage.c.
|
static |
Definition at line 710 of file ruby/ext/google/protobuf_c/storage.c.
|
static |
Definition at line 673 of file ruby/ext/google/protobuf_c/storage.c.
|
static |
Definition at line 680 of file ruby/ext/google/protobuf_c/storage.c.
uint32_t slot_read_oneof_case | ( | MessageLayout * | layout, |
const void * | storage, | ||
const upb_oneofdef * | oneof | ||
) |
Definition at line 687 of file ruby/ext/google/protobuf_c/storage.c.
|
static |
Definition at line 693 of file ruby/ext/google/protobuf_c/storage.c.
const upb_msgdef* tryget_map_entry_msgdef | ( | const upb_fielddef * | field | ) |
Definition at line 414 of file ruby/ext/google/protobuf_c/storage.c.