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

/PHP_TRUNK/Zend/
H A Dzend_object_handlers.c1553 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type TSRMLS_DC) /* {{{ */ argument
1570 if (readobj == writeobj) {
1573 ZVAL_COPY_VALUE(writeobj, &retval);
1577 if (readobj == writeobj) {
1580 ZVAL_EMPTY_STRING(writeobj);
1587 ZVAL_BOOL(writeobj, 1);
1592 if (readobj == writeobj) {
1595 ZVAL_LONG(writeobj, 1);
1600 if (readobj == writeobj) {
1603 ZVAL_DOUBLE(writeobj,
[all...]
H A Dzend_object_handlers.h165 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type TSRMLS_DC);
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_handlers.c473 static int com_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
481 ZVAL_NULL(writeobj);
516 php_com_zval_from_variant(writeobj, &v, obj->code_page TSRMLS_CC);
525 return zend_std_cast_object_tostring(readobj, writeobj, type TSRMLS_CC);
H A Dcom_saproxy.c351 static int saproxy_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
/PHP_TRUNK/ext/gmp/
H A Dgmp.c402 static int gmp_cast_object(zval *readobj, zval *writeobj, int type TSRMLS_DC) /* {{{ */ argument
408 gmp_strval(writeobj, gmpnum, 10);
412 ZVAL_LONG(writeobj, mpz_get_si(gmpnum));
416 ZVAL_DOUBLE(writeobj, mpz_get_d(gmpnum));
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1788 static int sxe_object_cast_ex(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
1801 ZVAL_BOOL(writeobj, node != NULL || zend_hash_num_elements(prop_hash) > 0);
1826 if (readobj == writeobj) {
1830 rv = cast_object(writeobj, type, (char *)contents TSRMLS_CC);
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.c1847 static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
1853 return std_object_handlers.cast_object(readobj, writeobj, type TSRMLS_CC);
1859 if (readobj == writeobj) {
1865 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0);
1867 ZVAL_STRINGL(writeobj, intern->file_name, intern->file_name_len);
1871 if (readobj == writeobj) {
1877 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0);
1879 ZVAL_STRING(writeobj, intern->u.dir.entry.d_name);
1884 ZVAL_TRUE(writeobj);
1887 if (readobj == writeobj) {
[all...]

Completed in 19 milliseconds