Home
last modified time | relevance | path

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

/PHP-7.2/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.c1644 ce = Z_OBJCE_P(readobj); in zend_std_cast_object_tostring()
1663 if (readobj == writeobj) { in zend_std_cast_object_tostring()
1664 zval_ptr_dtor(readobj); in zend_std_cast_object_tostring()
1670 if (readobj == writeobj) { in zend_std_cast_object_tostring()
1671 zval_ptr_dtor(readobj); in zend_std_cast_object_tostring()
1683 ce = Z_OBJCE_P(readobj); in zend_std_cast_object_tostring()
1685 if (readobj == writeobj) { in zend_std_cast_object_tostring()
1686 zval_dtor(readobj); in zend_std_cast_object_tostring()
1691 ce = Z_OBJCE_P(readobj); in zend_std_cast_object_tostring()
1693 if (readobj == writeobj) { in zend_std_cast_object_tostring()
[all …]
/PHP-7.2/ext/com_dotnet/
H A Dcom_handlers.c472 static int com_object_cast(zval *readobj, zval *writeobj, int type) in com_object_cast() argument
479 obj = CDNO_FETCH(readobj); in com_object_cast()
525 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.2/ext/spl/
H A Dspl_directory.c1862 static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type) in spl_filesystem_object_cast() argument
1864 spl_filesystem_object *intern = Z_SPLFILESYSTEM_P(readobj); in spl_filesystem_object_cast()
1867 if (Z_OBJCE_P(readobj)->__tostring) { in spl_filesystem_object_cast()
1868 return std_object_handlers.cast_object(readobj, writeobj, type); in spl_filesystem_object_cast()
1874 if (readobj == writeobj) { in spl_filesystem_object_cast()
1879 zval_ptr_dtor(readobj); in spl_filesystem_object_cast()
1886 if (readobj == writeobj) { in spl_filesystem_object_cast()
1891 zval_ptr_dtor(readobj); in spl_filesystem_object_cast()
1902 if (readobj == writeobj) { in spl_filesystem_object_cast()
1903 zval_ptr_dtor(readobj); in spl_filesystem_object_cast()
/PHP-7.2/ext/simplexml/
H A Dsimplexml.c1870 static int sxe_object_cast_ex(zval *readobj, zval *writeobj, int type) in sxe_object_cast_ex() argument
1877 sxe = Z_SXEOBJ_P(readobj); in sxe_object_cast_ex()
1884 ZVAL_BOOL(writeobj, !sxe_prop_is_empty(readobj)); in sxe_object_cast_ex()
1908 if (readobj == writeobj) { in sxe_object_cast_ex()
1909 zval_ptr_dtor(readobj); in sxe_object_cast_ex()
1923 static int sxe_object_cast(zval *readobj, zval *writeobj, int type) in sxe_object_cast() argument
1926 && zend_std_cast_object_tostring(readobj, writeobj, IS_STRING) == SUCCESS in sxe_object_cast()
1931 return sxe_object_cast_ex(readobj, writeobj, type); in sxe_object_cast()
/PHP-7.2/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 40 milliseconds