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) |
#define CHARPTR_AT | ( | msg, | |
ofs | |||
) | ((char*)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 458 of file ruby/ext/google/protobuf_c/storage.c.
|
static |
Definition at line 806 of file ruby/ext/google/protobuf_c/storage.c.
|
static |
Definition at line 774 of file ruby/ext/google/protobuf_c/storage.c.
MessageLayout* create_layout | ( | const upb_msgdef * | msgdef | ) |
Definition at line 463 of file ruby/ext/google/protobuf_c/storage.c.
bool field_contains_hasbit | ( | MessageLayout * | layout, |
const upb_fielddef * | field | ||
) |
Definition at line 452 of file ruby/ext/google/protobuf_c/storage.c.
VALUE field_type_class | ( | const upb_fielddef * | field | ) |
Definition at line 583 of file ruby/ext/google/protobuf_c/storage.c.
void free_layout | ( | MessageLayout * | layout | ) |
Definition at line 577 of file ruby/ext/google/protobuf_c/storage.c.
bool is_map_field | ( | const upb_fielddef * | field | ) |
Definition at line 417 of file ruby/ext/google/protobuf_c/storage.c.
|
static |
Definition at line 62 of file ruby/ext/google/protobuf_c/storage.c.
void layout_clear | ( | MessageLayout * | layout, |
const void * | storage, | ||
const upb_fielddef * | field | ||
) |
Definition at line 647 of file ruby/ext/google/protobuf_c/storage.c.
void layout_deep_copy | ( | MessageLayout * | layout, |
void * | to, | ||
void * | from | ||
) |
Definition at line 947 of file ruby/ext/google/protobuf_c/storage.c.
void layout_dup | ( | MessageLayout * | layout, |
void * | to, | ||
void * | from | ||
) |
Definition at line 915 of file ruby/ext/google/protobuf_c/storage.c.
VALUE layout_eq | ( | MessageLayout * | layout, |
void * | msg1, | ||
void * | msg2 | ||
) |
Definition at line 981 of file ruby/ext/google/protobuf_c/storage.c.
VALUE layout_get | ( | MessageLayout * | layout, |
const void * | storage, | ||
const upb_fielddef * | field | ||
) |
Definition at line 743 of file ruby/ext/google/protobuf_c/storage.c.
VALUE layout_get_default | ( | const upb_fielddef * | field | ) |
Definition at line 707 of file ruby/ext/google/protobuf_c/storage.c.
VALUE layout_has | ( | MessageLayout * | layout, |
const void * | storage, | ||
const upb_fielddef * | field | ||
) |
Definition at line 640 of file ruby/ext/google/protobuf_c/storage.c.
VALUE layout_hash | ( | MessageLayout * | layout, |
void * | storage | ||
) |
Definition at line 1023 of file ruby/ext/google/protobuf_c/storage.c.
void layout_init | ( | MessageLayout * | layout, |
void * | storage | ||
) |
Definition at line 883 of file ruby/ext/google/protobuf_c/storage.c.
VALUE layout_inspect | ( | MessageLayout * | layout, |
void * | storage | ||
) |
Definition at line 1039 of file ruby/ext/google/protobuf_c/storage.c.
void layout_mark | ( | MessageLayout * | layout, |
void * | storage | ||
) |
Definition at line 894 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 834 of file ruby/ext/google/protobuf_c/storage.c.
const upb_fielddef* map_entry_key | ( | const upb_msgdef * | msgdef | ) |
Definition at line 436 of file ruby/ext/google/protobuf_c/storage.c.
const upb_msgdef* map_entry_msgdef | ( | const upb_fielddef * | field | ) |
Definition at line 411 of file ruby/ext/google/protobuf_c/storage.c.
const upb_fielddef* map_entry_value | ( | const upb_msgdef * | msgdef | ) |
Definition at line 442 of file ruby/ext/google/protobuf_c/storage.c.
const upb_fielddef* map_field_key | ( | const upb_fielddef * | field | ) |
Definition at line 426 of file ruby/ext/google/protobuf_c/storage.c.
const upb_fielddef* map_field_value | ( | const upb_fielddef * | field | ) |
Definition at line 431 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 362 of file ruby/ext/google/protobuf_c/storage.c.
void native_slot_dup | ( | upb_fieldtype_t | type, |
void * | to, | ||
void * | from | ||
) |
Definition at line 358 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 382 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 272 of file ruby/ext/google/protobuf_c/storage.c.
void native_slot_init | ( | upb_fieldtype_t | type, |
void * | memory | ||
) |
Definition at line 308 of file ruby/ext/google/protobuf_c/storage.c.
void native_slot_mark | ( | upb_fieldtype_t | type, |
void * | memory | ||
) |
Definition at line 346 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 114 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 120 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 620 of file ruby/ext/google/protobuf_c/storage.c.
|
static |
Definition at line 628 of file ruby/ext/google/protobuf_c/storage.c.
|
static |
Definition at line 597 of file ruby/ext/google/protobuf_c/storage.c.
|
static |
Definition at line 604 of file ruby/ext/google/protobuf_c/storage.c.
|
static |
Definition at line 611 of file ruby/ext/google/protobuf_c/storage.c.
const upb_msgdef* tryget_map_entry_msgdef | ( | const upb_fielddef * | field | ) |
Definition at line 401 of file ruby/ext/google/protobuf_c/storage.c.