Home
last modified time | relevance | path

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

/external/protobuf/php/ext/google/protobuf/
Dstorage.c924 void* to_memory PHP_PROTO_TSRMLS_DC) { in native_slot_merge()
931 DEREF(to_memory, c_type) = DEREF(from_memory, c_type); \ in native_slot_merge()
946 native_slot_set(type, NULL, value_memory(field, to_memory), in native_slot_merge()
954 if (native_slot_is_default(type, to_memory)) { in native_slot_merge()
956 SEPARATE_ZVAL_IF_NOT_REF((zval**)value_memory(field, to_memory)); in native_slot_merge()
959 CACHED_PTR_TO_ZVAL_PTR(DEREF(to_memory, CACHED_VALUE*)), ce); in native_slot_merge()
962 CACHED_PTR_TO_ZVAL_PTR(DEREF(to_memory, CACHED_VALUE*))); in native_slot_merge()
971 CACHED_PTR_TO_ZVAL_PTR(DEREF(to_memory, CACHED_VALUE*))); in native_slot_merge()
981 void* to_memory PHP_PROTO_TSRMLS_DC) { in native_slot_merge_by_array()
987 MAKE_STD_ZVAL(DEREF(to_memory, zval*)); in native_slot_merge_by_array()
[all …]
/external/protobuf/ruby/ext/google/protobuf_c/
Dstorage.c922 void* to_memory = slot_memory(layout, to, field); in layout_dup() local
930 native_slot_dup(upb_fielddef_type(field), to_memory, from_memory); in layout_dup()
933 DEREF(to_memory, VALUE) = Map_dup(DEREF(from_memory, VALUE)); in layout_dup()
935 DEREF(to_memory, VALUE) = RepeatedField_dup(DEREF(from_memory, VALUE)); in layout_dup()
942 native_slot_dup(upb_fielddef_type(field), to_memory, from_memory); in layout_dup()
954 void* to_memory = slot_memory(layout, to, field); in layout_deep_copy() local
962 native_slot_deep_copy(upb_fielddef_type(field), to_memory, from_memory); in layout_deep_copy()
965 DEREF(to_memory, VALUE) = in layout_deep_copy()
968 DEREF(to_memory, VALUE) = in layout_deep_copy()
976 native_slot_deep_copy(upb_fielddef_type(field), to_memory, from_memory); in layout_deep_copy()