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

/PHP_TRUNK/ext/com_dotnet/
H A Dcom_saproxy.c346 static int saproxy_object_cast(zval *readobj, zval *writeobj, int type) argument
H A Dcom_handlers.c467 static int com_object_cast(zval *readobj, zval *writeobj, int type) argument
474 obj = CDNO_FETCH(readobj);
519 return zend_std_cast_object_tostring(readobj, writeobj, type);
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c1840 static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type) argument
1842 spl_filesystem_object *intern = Z_SPLFILESYSTEM_P(readobj);
1845 if (Z_OBJCE_P(readobj)->__tostring) {
1846 return std_object_handlers.cast_object(readobj, writeobj, type);
1852 if (readobj == writeobj) {
1857 zval_dtor(readobj);
1864 if (readobj == writeobj) {
1869 zval_dtor(readobj);
1880 if (readobj == writeobj) {
1881 zval_dtor(readobj);
[all...]
/PHP_TRUNK/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.c1489 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type) /* {{{ */ argument
1496 ce = Z_OBJCE_P(readobj);
1498 (zend_call_method_with_0_params(readobj, ce, &ce->__tostring, "__tostring", &retval) || EG(exception))) {
1506 if (readobj == writeobj) {
1507 zval_ptr_dtor(readobj);
1513 if (readobj == writeobj) {
1514 zval_ptr_dtor(readobj);
1526 ce = Z_OBJCE_P(readobj);
1528 if (readobj == writeobj) {
1529 zval_dtor(readobj);
[all...]
/PHP_TRUNK/ext/gmp/
H A Dgmp.c410 static int gmp_cast_object(zval *readobj, zval *writeobj, int type) /* {{{ */ argument
415 gmpnum = GET_GMP_FROM_ZVAL(readobj);
419 gmpnum = GET_GMP_FROM_ZVAL(readobj);
423 gmpnum = GET_GMP_FROM_ZVAL(readobj);
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1864 static int sxe_object_cast_ex(zval *readobj, zval *writeobj, int type) argument
1871 sxe = Z_SXEOBJ_P(readobj);
1878 ZVAL_BOOL(writeobj, !sxe_prop_is_empty(readobj));
1902 if (readobj == writeobj) {
1903 zval_ptr_dtor(readobj);
1917 static int sxe_object_cast(zval *readobj, zval *writeobj, int type) argument
1920 && zend_std_cast_object_tostring(readobj, writeobj, IS_STRING) == SUCCESS
1925 return sxe_object_cast_ex(readobj, writeobj, type);

Completed in 19 milliseconds