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

/PHP_TRUNK/Zend/
H A Dzend_object_handlers.h105 typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type TSRMLS_DC);
165 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type TSRMLS_DC);
H A Dzend_object_handlers.c1553 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type TSRMLS_DC) /* {{{ */ argument
1560 ce = Z_OBJCE_P(readobj);
1562 (zend_call_method_with_0_params(readobj, ce, &ce->__tostring, "__tostring", &retval) || EG(exception))) {
1570 if (readobj == writeobj) {
1571 zval_ptr_dtor(readobj);
1577 if (readobj == writeobj) {
1578 zval_ptr_dtor(readobj);
1590 ce = Z_OBJCE_P(readobj);
1592 if (readobj == writeobj) {
1593 zval_dtor(readobj);
[all...]
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_saproxy.c351 static int saproxy_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
H A Dcom_handlers.c473 static int com_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
480 obj = CDNO_FETCH(readobj);
525 return zend_std_cast_object_tostring(readobj, writeobj, type TSRMLS_CC);
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1788 static int sxe_object_cast_ex(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
1796 sxe = Z_SXEOBJ_P(readobj);
1800 prop_hash = sxe_get_prop_hash(readobj, 1 TSRMLS_CC);
1826 if (readobj == writeobj) {
1827 zval_ptr_dtor(readobj);
1841 static int sxe_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
1844 && zend_std_cast_object_tostring(readobj, writeobj, IS_STRING TSRMLS_CC) == SUCCESS
1849 return sxe_object_cast_ex(readobj, writeobj, type TSRMLS_CC);
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c1848 static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
1850 spl_filesystem_object *intern = Z_SPLFILESYSTEM_P(readobj);
1853 if (Z_OBJCE_P(readobj)->__tostring) {
1854 return std_object_handlers.cast_object(readobj, writeobj, type TSRMLS_CC);
1860 if (readobj == writeobj) {
1865 zval_dtor(readobj);
1872 if (readobj == writeobj) {
1877 zval_dtor(readobj);
1888 if (readobj == writeobj) {
1889 zval_dtor(readobj);
[all...]
/PHP_TRUNK/ext/gmp/
H A Dgmp.c402 static int gmp_cast_object(zval *readobj, zval *writeobj, int type TSRMLS_DC) /* {{{ */ argument
407 gmpnum = GET_GMP_FROM_ZVAL(readobj);
411 gmpnum = GET_GMP_FROM_ZVAL(readobj);
415 gmpnum = GET_GMP_FROM_ZVAL(readobj);

Completed in 18 milliseconds