Searched refs:from_memory (Results 1 – 6 of 6) sorted by relevance
/external/protobuf/php/ext/google/protobuf/ |
D | storage.c | 923 static void native_slot_merge(const upb_fielddef* field, const void* from_memory, in native_slot_merge() argument 927 if (!native_slot_is_default(type, from_memory)) { in native_slot_merge() 931 DEREF(to_memory, c_type) = DEREF(from_memory, c_type); \ in native_slot_merge() 948 from_memory, CACHED_VALUE*)) PHP_PROTO_TSRMLS_CC); in native_slot_merge() 968 CACHED_PTR_TO_ZVAL_PTR(DEREF(from_memory, CACHED_VALUE*))); in native_slot_merge() 980 static void native_slot_merge_by_array(const upb_fielddef* field, const void* from_memory, in native_slot_merge_by_array() argument 989 Z_STRVAL_P(*(zval**)from_memory), in native_slot_merge_by_array() 990 Z_STRLEN_P(*(zval**)from_memory), 1); in native_slot_merge_by_array() 993 zend_string_dup(*(zend_string**)from_memory, 0); in native_slot_merge_by_array() 1008 MessageHeader, DEREF(from_memory, PHP_PROTO_HASHTABLE_VALUE)); in native_slot_merge_by_array() [all …]
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | storage.c | 924 void* from_memory = slot_memory(layout, from, 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() 956 void* from_memory = slot_memory(layout, from, field); in layout_deep_copy() local 962 native_slot_deep_copy(upb_fielddef_type(field), to_memory, from_memory); in layout_deep_copy() 966 Map_deep_copy(DEREF(from_memory, VALUE)); in layout_deep_copy() 969 RepeatedField_deep_copy(DEREF(from_memory, VALUE)); in layout_deep_copy() 976 native_slot_deep_copy(upb_fielddef_type(field), to_memory, from_memory); in layout_deep_copy()
|
/external/python/pybind11/docs/advanced/pycpp/ |
D | numpy.rst | 422 We can also use ``memoryview::from_memory`` for a simple 1D contiguous buffer: 427 return py::memoryview::from_memory( 435 ``memoryview::from_memory`` is not available in Python 2. 438 ``memoryview::from_memory`` added.
|
/external/python/pybind11/tests/ |
D | test_pytypes.cpp | 409 return py::memoryview::from_memory( in TEST_SUBMODULE()
|
/external/python/pybind11/include/pybind11/ |
D | pytypes.h | 1494 static memoryview from_memory(void *mem, ssize_t size, bool readonly = false) { 1503 static memoryview from_memory(const void *mem, ssize_t size) { in from_memory() function 1504 return memoryview::from_memory(const_cast<void*>(mem), size, true); in from_memory()
|
/external/python/pybind11/docs/ |
D | changelog.rst | 305 ``py::memoryview::from_memory`` in Python 3, and documentation.
|