Home
last modified time | relevance | path

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

/PHP-5.6/Zend/
H A Dzend_object_handlers.c1576 INIT_PZVAL(writeobj); in zend_std_cast_object_tostring()
1587 INIT_PZVAL(writeobj); in zend_std_cast_object_tostring()
1598 INIT_PZVAL(writeobj); in zend_std_cast_object_tostring()
1599 ZVAL_BOOL(writeobj, 1); in zend_std_cast_object_tostring()
1604 INIT_PZVAL(writeobj); in zend_std_cast_object_tostring()
1605 if (readobj == writeobj) { in zend_std_cast_object_tostring()
1608 ZVAL_LONG(writeobj, 1); in zend_std_cast_object_tostring()
1613 INIT_PZVAL(writeobj); in zend_std_cast_object_tostring()
1614 if (readobj == writeobj) { in zend_std_cast_object_tostring()
1617 ZVAL_DOUBLE(writeobj, 1); in zend_std_cast_object_tostring()
[all …]
H A Dzend_object_handlers.h165 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type TSRMLS_DC);
/PHP-5.6/ext/com_dotnet/
H A Dcom_handlers.c489 static int com_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) in com_object_cast() argument
497 ZVAL_NULL(writeobj); in com_object_cast()
531 php_com_zval_from_variant(writeobj, &v, obj->code_page TSRMLS_CC); in com_object_cast()
540 return zend_std_cast_object_tostring(readobj, writeobj, type TSRMLS_CC); in com_object_cast()
H A Dcom_saproxy.c358 static int saproxy_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) in saproxy_object_cast() argument
/PHP-5.6/ext/gmp/
H A Dgmp.c436 static int gmp_cast_object(zval *readobj, zval *writeobj, int type TSRMLS_DC) /* {{{ */ in gmp_cast_object() argument
442 INIT_PZVAL(writeobj); in gmp_cast_object()
443 gmp_strval(writeobj, gmpnum, 10); in gmp_cast_object()
447 INIT_PZVAL(writeobj); in gmp_cast_object()
448 ZVAL_LONG(writeobj, mpz_get_si(gmpnum)); in gmp_cast_object()
452 INIT_PZVAL(writeobj); in gmp_cast_object()
453 ZVAL_DOUBLE(writeobj, mpz_get_d(gmpnum)); in gmp_cast_object()
/PHP-5.6/ext/spl/
H A Dspl_directory.c1878 static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) in spl_filesystem_object_cast() argument
1884 return std_object_handlers.cast_object(readobj, writeobj, type TSRMLS_CC); in spl_filesystem_object_cast()
1890 if (readobj == writeobj) { in spl_filesystem_object_cast()
1896 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0); in spl_filesystem_object_cast()
1898 ZVAL_STRINGL(writeobj, intern->file_name, intern->file_name_len, 1); in spl_filesystem_object_cast()
1902 if (readobj == writeobj) { in spl_filesystem_object_cast()
1908 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0); in spl_filesystem_object_cast()
1910 ZVAL_STRING(writeobj, intern->u.dir.entry.d_name, 1); in spl_filesystem_object_cast()
1915 ZVAL_BOOL(writeobj, 1); in spl_filesystem_object_cast()
1918 if (readobj == writeobj) { in spl_filesystem_object_cast()
[all …]
/PHP-5.6/ext/simplexml/
H A Dsimplexml.c1817 static int sxe_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) in sxe_object_cast() argument
1830 INIT_PZVAL(writeobj); in sxe_object_cast()
1831 ZVAL_BOOL(writeobj, node != NULL || zend_hash_num_elements(prop_hash) > 0); in sxe_object_cast()
1856 if (readobj == writeobj) { in sxe_object_cast()
1857 INIT_PZVAL(writeobj); in sxe_object_cast()
1861 rv = cast_object(writeobj, type, (char *)contents TSRMLS_CC); in sxe_object_cast()

Completed in 57 milliseconds