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

/PHP_TRUNK/Zend/
H A Dzend_object_handlers.h165 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type TSRMLS_DC);
H A Dzend_object_handlers.c1551 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type TSRMLS_DC) /* {{{ */ argument
1570 INIT_PZVAL(writeobj);
1571 if (readobj == writeobj) {
1574 ZVAL_ZVAL(writeobj, retval, 1, 1);
1575 if (Z_TYPE_P(writeobj) != type) {
1576 convert_to_explicit_type(writeobj, type);
1581 INIT_PZVAL(writeobj);
1582 if (readobj == writeobj) {
1585 ZVAL_EMPTY_STRING(writeobj);
1592 INIT_PZVAL(writeobj);
[all...]
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_handlers.c489 static int com_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
497 ZVAL_NULL(writeobj);
531 php_com_zval_from_variant(writeobj, &v, obj->code_page TSRMLS_CC);
540 return zend_std_cast_object_tostring(readobj, writeobj, type TSRMLS_CC);
H A Dcom_saproxy.c358 static int saproxy_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
/PHP_TRUNK/ext/gmp/
H A Dgmp.c426 static int gmp_cast_object(zval *readobj, zval *writeobj, int type TSRMLS_DC) /* {{{ */ argument
432 INIT_PZVAL(writeobj);
433 gmp_strval(writeobj, gmpnum, 10);
437 INIT_PZVAL(writeobj);
438 ZVAL_LONG(writeobj, mpz_get_si(gmpnum));
442 INIT_PZVAL(writeobj);
443 ZVAL_DOUBLE(writeobj, mpz_get_d(gmpnum));
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1804 static int sxe_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
1817 INIT_PZVAL(writeobj);
1818 ZVAL_BOOL(writeobj, node != NULL || zend_hash_num_elements(prop_hash) > 0);
1843 if (readobj == writeobj) {
1844 INIT_PZVAL(writeobj);
1848 rv = cast_object(writeobj, type, (char *)contents TSRMLS_CC);
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c1878 static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) argument
1884 return std_object_handlers.cast_object(readobj, writeobj, type TSRMLS_CC);
1890 if (readobj == writeobj) {
1896 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0);
1898 ZVAL_STRINGL(writeobj, intern->file_name, intern->file_name_len, 1);
1902 if (readobj == writeobj) {
1908 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0);
1910 ZVAL_STRING(writeobj, intern->u.dir.entry.d_name, 1);
1915 if (readobj == writeobj) {
1918 ZVAL_NULL(writeobj);
[all...]

Completed in 19 milliseconds