Home
last modified time | relevance | path

Searched refs:from_memory (Results 1 – 1 of 1) sorted by relevance

/external/protobuf/ruby/ext/google/protobuf_c/
Dstorage.c737 void* from_memory = slot_memory(layout, from, field); in layout_dup() local
743 native_slot_dup(upb_fielddef_type(field), to_memory, from_memory); in layout_dup()
746 DEREF(to_memory, VALUE) = Map_dup(DEREF(from_memory, VALUE)); in layout_dup()
748 DEREF(to_memory, VALUE) = RepeatedField_dup(DEREF(from_memory, VALUE)); in layout_dup()
750 native_slot_dup(upb_fielddef_type(field), to_memory, from_memory); in layout_dup()
764 void* from_memory = slot_memory(layout, from, field); in layout_deep_copy() local
770 native_slot_deep_copy(upb_fielddef_type(field), to_memory, from_memory); in layout_deep_copy()
774 Map_deep_copy(DEREF(from_memory, VALUE)); in layout_deep_copy()
777 RepeatedField_deep_copy(DEREF(from_memory, VALUE)); in layout_deep_copy()
779 native_slot_deep_copy(upb_fielddef_type(field), to_memory, from_memory); in layout_deep_copy()