Searched refs:new_cdata (Results 1 – 1 of 1) sorted by relevance
2379 zend_ffi_cdata *new_cdata; in zend_ffi_cdata_clone_obj() local2385 new_cdata->type = type; in zend_ffi_cdata_clone_obj()2386 new_cdata->ptr = emalloc(type->size); in zend_ffi_cdata_clone_obj()2387 memcpy(new_cdata->ptr, old_cdata->ptr, type->size); in zend_ffi_cdata_clone_obj()2388 new_cdata->flags |= ZEND_FFI_FLAG_OWNED; in zend_ffi_cdata_clone_obj()2390 return &new_cdata->std; in zend_ffi_cdata_clone_obj()4152 zend_ffi_cdata *cdata, *new_cdata; in ZEND_METHOD() local4180 new_cdata->ptr_holder = cdata->ptr; in ZEND_METHOD()4181 new_cdata->ptr = &new_cdata->ptr_holder; in ZEND_METHOD()4192 new_cdata->flags |= ZEND_FFI_FLAG_OWNED; in ZEND_METHOD()[all …]
Completed in 19 milliseconds