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

/PHP_TRUNK/Zend/
H A Dzend_object_handlers.c1445 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type) /* {{{ */ argument
1462 if (readobj == writeobj) {
1465 ZVAL_COPY_VALUE(writeobj, &retval);
1469 if (readobj == writeobj) {
1472 ZVAL_EMPTY_STRING(writeobj);
1479 ZVAL_BOOL(writeobj, 1);
1484 if (readobj == writeobj) {
1487 ZVAL_LONG(writeobj, 1);
1492 if (readobj == writeobj) {
1495 ZVAL_DOUBLE(writeobj,
[all...]
H A Dzend_object_handlers.h169 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type);
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_handlers.c466 static int com_object_cast(zval *readobj, zval *writeobj, int type) argument
474 ZVAL_NULL(writeobj);
509 php_com_zval_from_variant(writeobj, &v, obj->code_page);
518 return zend_std_cast_object_tostring(readobj, writeobj, type);
H A Dcom_saproxy.c346 static int saproxy_object_cast(zval *readobj, zval *writeobj, int type) argument
/PHP_TRUNK/ext/gmp/
H A Dgmp.c408 static int gmp_cast_object(zval *readobj, zval *writeobj, int type) /* {{{ */ argument
414 gmp_strval(writeobj, gmpnum, 10);
418 ZVAL_LONG(writeobj, mpz_get_si(gmpnum));
422 ZVAL_DOUBLE(writeobj, mpz_get_d(gmpnum));
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1780 static int sxe_object_cast_ex(zval *readobj, zval *writeobj, int type) argument
1793 ZVAL_BOOL(writeobj, node != NULL || zend_hash_num_elements(prop_hash) > 0);
1818 if (readobj == writeobj) {
1822 rv = cast_object(writeobj, type, (char *)contents);
1833 static int sxe_object_cast(zval *readobj, zval *writeobj, int type) argument
1836 && zend_std_cast_object_tostring(readobj, writeobj, IS_STRING) == SUCCESS
1841 return sxe_object_cast_ex(readobj, writeobj, type);
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c1846 static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type) argument
1852 return std_object_handlers.cast_object(readobj, writeobj, type);
1858 if (readobj == writeobj) {
1864 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0);
1866 ZVAL_STRINGL(writeobj, intern->file_name, intern->file_name_len);
1870 if (readobj == writeobj) {
1876 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0);
1878 ZVAL_STRING(writeobj, intern->u.dir.entry.d_name);
1883 ZVAL_TRUE(writeobj);
1886 if (readobj == writeobj) {
[all...]

Completed in 18 milliseconds