Lines Matching refs:zv2
4330 zval *zv1, *zv2; in ZEND_METHOD() local
4339 Z_PARAM_ZVAL(zv2) in ZEND_METHOD()
4355 ZVAL_DEREF(zv2); in ZEND_METHOD()
4356 if (Z_TYPE_P(zv2) == IS_STRING) { in ZEND_METHOD()
4357 ptr2 = Z_STRVAL_P(zv2); in ZEND_METHOD()
4358 if (size > Z_STRLEN_P(zv2)) { in ZEND_METHOD()
4362 } else if (Z_TYPE_P(zv2) == IS_OBJECT && Z_OBJCE_P(zv2) == zend_ffi_cdata_ce) { in ZEND_METHOD()
4363 cdata2 = (zend_ffi_cdata*)Z_OBJ_P(zv2); in ZEND_METHOD()
4375 zend_wrong_parameter_class_error(2, "FFI\\CData or string", zv2); in ZEND_METHOD()
4385 zval *zv1, *zv2; in ZEND_METHOD() local
4395 Z_PARAM_ZVAL(zv2); in ZEND_METHOD()
4423 ZVAL_DEREF(zv2); in ZEND_METHOD()
4424 if (Z_TYPE_P(zv2) == IS_STRING) { in ZEND_METHOD()
4425 ptr2 = Z_STRVAL_P(zv2); in ZEND_METHOD()
4426 if (size > Z_STRLEN_P(zv2)) { in ZEND_METHOD()
4430 } else if (Z_TYPE_P(zv2) == IS_OBJECT && Z_OBJCE_P(zv2) == zend_ffi_cdata_ce) { in ZEND_METHOD()
4431 cdata2 = (zend_ffi_cdata*)Z_OBJ_P(zv2); in ZEND_METHOD()
4443 zend_wrong_parameter_class_error(2, "FFI\\CData or string", zv2); in ZEND_METHOD()