Home
last modified time | relevance | path

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

/PHP-7.3/ext/com_dotnet/
H A Dcom_handlers.c468 static int com_object_cast(zval *readobj, zval *writeobj, int type) in com_object_cast() argument
476 ZVAL_NULL(writeobj); in com_object_cast()
513 php_com_zval_from_variant(writeobj, &v, obj->code_page); in com_object_cast()
522 return zend_std_cast_object_tostring(readobj, writeobj, type); in com_object_cast()
H A Dcom_saproxy.c346 static int saproxy_object_cast(zval *readobj, zval *writeobj, int type) in saproxy_object_cast() argument
/PHP-7.3/Zend/
H A Dzend_object_handlers.c1695 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type) /* {{{ */ in zend_std_cast_object_tostring() argument
1721 ZVAL_COPY_VALUE(writeobj, &retval); in zend_std_cast_object_tostring()
1725 ZVAL_EMPTY_STRING(writeobj); in zend_std_cast_object_tostring()
1732 ZVAL_TRUE(writeobj); in zend_std_cast_object_tostring()
1737 ZVAL_LONG(writeobj, 1); in zend_std_cast_object_tostring()
1742 ZVAL_DOUBLE(writeobj, 1); in zend_std_cast_object_tostring()
1747 ZVAL_LONG(writeobj, 1); in zend_std_cast_object_tostring()
1750 ZVAL_NULL(writeobj); in zend_std_cast_object_tostring()
H A Dzend_object_handlers.h187 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type);
/PHP-7.3/ext/gmp/
H A Dgmp.c412 static int gmp_cast_object(zval *readobj, zval *writeobj, int type) /* {{{ */ in gmp_cast_object() argument
418 gmp_strval(writeobj, gmpnum, 10); in gmp_cast_object()
422 ZVAL_LONG(writeobj, mpz_get_si(gmpnum)); in gmp_cast_object()
426 ZVAL_DOUBLE(writeobj, mpz_get_d(gmpnum)); in gmp_cast_object()
431 ZVAL_LONG(writeobj, mpz_get_si(gmpnum)); in gmp_cast_object()
433 ZVAL_DOUBLE(writeobj, mpz_get_d(gmpnum)); in gmp_cast_object()
/PHP-7.3/ext/simplexml/
H A Dsimplexml.c1859 static int sxe_object_cast_ex(zval *readobj, zval *writeobj, int type) in sxe_object_cast_ex() argument
1871 ZVAL_TRUE(writeobj); in sxe_object_cast_ex()
1873 ZVAL_BOOL(writeobj, !sxe_prop_is_empty(readobj)); in sxe_object_cast_ex()
1897 rv = cast_object(writeobj, type, (char *)contents); in sxe_object_cast_ex()
1908 static int sxe_object_cast(zval *readobj, zval *writeobj, int type) in sxe_object_cast() argument
1911 && zend_std_cast_object_tostring(readobj, writeobj, IS_STRING) == SUCCESS in sxe_object_cast()
1916 return sxe_object_cast_ex(readobj, writeobj, type); in sxe_object_cast()
/PHP-7.3/ext/spl/
H A Dspl_directory.c1862 static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type) in spl_filesystem_object_cast() argument
1868 return zend_std_cast_object_tostring(readobj, writeobj, type); in spl_filesystem_object_cast()
1874 ZVAL_STRINGL(writeobj, intern->file_name, intern->file_name_len); in spl_filesystem_object_cast()
1877 ZVAL_STRING(writeobj, intern->u.dir.entry.d_name); in spl_filesystem_object_cast()
1881 ZVAL_TRUE(writeobj); in spl_filesystem_object_cast()
1884 ZVAL_NULL(writeobj); in spl_filesystem_object_cast()

Completed in 78 milliseconds