Home
last modified time | relevance | path

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

/PHP-7.1/Zend/
H A Dzend_object_handlers.h112 typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type);
171 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type);
H A Dzend_object_handlers.c1656 ce = Z_OBJCE_P(readobj); in zend_std_cast_object_tostring()
1675 if (readobj == writeobj) { in zend_std_cast_object_tostring()
1676 zval_ptr_dtor(readobj); in zend_std_cast_object_tostring()
1682 if (readobj == writeobj) { in zend_std_cast_object_tostring()
1683 zval_ptr_dtor(readobj); in zend_std_cast_object_tostring()
1695 ce = Z_OBJCE_P(readobj); in zend_std_cast_object_tostring()
1697 if (readobj == writeobj) { in zend_std_cast_object_tostring()
1698 zval_dtor(readobj); in zend_std_cast_object_tostring()
1703 ce = Z_OBJCE_P(readobj); in zend_std_cast_object_tostring()
1705 if (readobj == writeobj) { in zend_std_cast_object_tostring()
[all …]
/PHP-7.1/ext/com_dotnet/
H A Dcom_handlers.c465 static int com_object_cast(zval *readobj, zval *writeobj, int type) in com_object_cast() argument
472 obj = CDNO_FETCH(readobj); in com_object_cast()
518 return zend_std_cast_object_tostring(readobj, writeobj, type); in com_object_cast()
H A Dcom_saproxy.c346 static int saproxy_object_cast(zval *readobj, zval *writeobj, int type) in saproxy_object_cast() argument
/PHP-7.1/ext/spl/
H A Dspl_directory.c1839 static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type) in spl_filesystem_object_cast() argument
1841 spl_filesystem_object *intern = Z_SPLFILESYSTEM_P(readobj); in spl_filesystem_object_cast()
1844 if (Z_OBJCE_P(readobj)->__tostring) { in spl_filesystem_object_cast()
1845 return std_object_handlers.cast_object(readobj, writeobj, type); in spl_filesystem_object_cast()
1851 if (readobj == writeobj) { in spl_filesystem_object_cast()
1856 zval_ptr_dtor(readobj); in spl_filesystem_object_cast()
1863 if (readobj == writeobj) { in spl_filesystem_object_cast()
1868 zval_ptr_dtor(readobj); in spl_filesystem_object_cast()
1879 if (readobj == writeobj) { in spl_filesystem_object_cast()
1880 zval_ptr_dtor(readobj); in spl_filesystem_object_cast()
/PHP-7.1/ext/simplexml/
H A Dsimplexml.c1882 static int sxe_object_cast_ex(zval *readobj, zval *writeobj, int type) in sxe_object_cast_ex() argument
1889 sxe = Z_SXEOBJ_P(readobj); in sxe_object_cast_ex()
1896 ZVAL_BOOL(writeobj, !sxe_prop_is_empty(readobj)); in sxe_object_cast_ex()
1920 if (readobj == writeobj) { in sxe_object_cast_ex()
1921 zval_ptr_dtor(readobj); in sxe_object_cast_ex()
1935 static int sxe_object_cast(zval *readobj, zval *writeobj, int type) in sxe_object_cast() argument
1938 && zend_std_cast_object_tostring(readobj, writeobj, IS_STRING) == SUCCESS in sxe_object_cast()
1943 return sxe_object_cast_ex(readobj, writeobj, type); in sxe_object_cast()
/PHP-7.1/ext/gmp/
H A Dgmp.c410 static int gmp_cast_object(zval *readobj, zval *writeobj, int type) /* {{{ */ in gmp_cast_object() argument
415 gmpnum = GET_GMP_FROM_ZVAL(readobj); in gmp_cast_object()
419 gmpnum = GET_GMP_FROM_ZVAL(readobj); in gmp_cast_object()
423 gmpnum = GET_GMP_FROM_ZVAL(readobj); in gmp_cast_object()

Completed in 38 milliseconds