Searched refs:writeobj (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
475 ZVAL_NULL(writeobj);
510 php_com_zval_from_variant(writeobj, &v, obj->code_page);
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
1846 return std_object_handlers.cast_object(readobj, writeobj, type);
1852 if (readobj == writeobj) {
1858 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0);
1860 ZVAL_STRINGL(writeobj, intern->file_name, intern->file_name_len);
1864 if (readobj == writeobj) {
1870 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0);
1872 ZVAL_STRING(writeobj, intern->u.dir.entry.d_name);
1877 ZVAL_TRUE(writeobj);
1880 if (readobj == writeobj) {
[all...]
/PHP_TRUNK/Zend/
H A Dzend_object_handlers.h171 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
1506 if (readobj == writeobj) {
1509 ZVAL_COPY_VALUE(writeobj, &retval);
1513 if (readobj == writeobj) {
1516 ZVAL_EMPTY_STRING(writeobj);
1523 ZVAL_BOOL(writeobj, 1);
1528 if (readobj == writeobj) {
1531 ZVAL_LONG(writeobj, 1);
1536 if (readobj == writeobj) {
1539 ZVAL_DOUBLE(writeobj,
[all...]
/PHP_TRUNK/ext/gmp/
H A Dgmp.c410 static int gmp_cast_object(zval *readobj, zval *writeobj, int type) /* {{{ */ argument
416 gmp_strval(writeobj, gmpnum, 10);
420 ZVAL_LONG(writeobj, mpz_get_si(gmpnum));
424 ZVAL_DOUBLE(writeobj, mpz_get_d(gmpnum));
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1864 static int sxe_object_cast_ex(zval *readobj, zval *writeobj, int type) argument
1876 ZVAL_TRUE(writeobj);
1878 ZVAL_BOOL(writeobj, !sxe_prop_is_empty(readobj));
1902 if (readobj == writeobj) {
1906 rv = cast_object(writeobj, type, (char *)contents);
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 31 milliseconds