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

/PHP_TRUNK/Zend/
H A Dzend_object_handlers.h110 typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type TSRMLS_DC);
169 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type TSRMLS_DC);
H A Dzend_object_handlers.c1445 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type TSRMLS_DC) /* {{{ */ argument
1452 ce = Z_OBJCE_P(readobj);
1454 (zend_call_method_with_0_params(readobj, ce, &ce->__tostring, "__tostring", &retval) || EG(exception))) {
1462 if (readobj == writeobj) {
1463 zval_ptr_dtor(readobj);
1469 if (readobj == writeobj) {
1470 zval_ptr_dtor(readobj);
1482 ce = Z_OBJCE_P(readobj);
1484 if (readobj == writeobj) {
1485 zval_dtor(readobj);
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1780 static int sxe_object_cast_ex(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
1788 sxe = Z_SXEOBJ_P(readobj);
1792 prop_hash = sxe_get_prop_hash(readobj, 1 TSRMLS_CC);
1818 if (readobj == writeobj) {
1819 zval_ptr_dtor(readobj);
1833 static int sxe_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
1836 && zend_std_cast_object_tostring(readobj, writeobj, IS_STRING TSRMLS_CC) == SUCCESS
1841 return sxe_object_cast_ex(readobj, writeobj, type TSRMLS_CC);
/PHP_TRUNK/ext/gmp/
H A Dgmp.c400 static int gmp_cast_object(zval *readobj, zval *writeobj, int type TSRMLS_DC) /* {{{ */ argument
405 gmpnum = GET_GMP_FROM_ZVAL(readobj);
409 gmpnum = GET_GMP_FROM_ZVAL(readobj);
413 gmpnum = GET_GMP_FROM_ZVAL(readobj);
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_handlers.c466 static int com_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
473 obj = CDNO_FETCH(readobj);
518 return zend_std_cast_object_tostring(readobj, writeobj, type TSRMLS_CC);
H A Dcom_saproxy.c346 static int saproxy_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c1850 static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
1852 spl_filesystem_object *intern = Z_SPLFILESYSTEM_P(readobj);
1855 if (Z_OBJCE_P(readobj)->__tostring) {
1856 return std_object_handlers.cast_object(readobj, writeobj, type TSRMLS_CC);
1862 if (readobj == writeobj) {
1867 zval_dtor(readobj);
1874 if (readobj == writeobj) {
1879 zval_dtor(readobj);
1890 if (readobj == writeobj) {
1891 zval_dtor(readobj);
[all...]

Completed in 18 milliseconds