Searched refs:writeobj (Results 1 – 7 of 7) sorted by relevance
/PHP-7.2/ext/com_dotnet/ |
H A D | com_handlers.c | 472 static int com_object_cast(zval *readobj, zval *writeobj, int type) in com_object_cast() argument 480 ZVAL_NULL(writeobj); in com_object_cast() 516 php_com_zval_from_variant(writeobj, &v, obj->code_page); in com_object_cast() 525 return zend_std_cast_object_tostring(readobj, writeobj, type); in com_object_cast()
|
H A D | com_saproxy.c | 346 static int saproxy_object_cast(zval *readobj, zval *writeobj, int type) in saproxy_object_cast() argument
|
/PHP-7.2/Zend/ |
H A D | zend_object_handlers.c | 1637 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type) /* {{{ */ in zend_std_cast_object_tostring() argument 1663 if (readobj == writeobj) { in zend_std_cast_object_tostring() 1666 ZVAL_COPY_VALUE(writeobj, &retval); in zend_std_cast_object_tostring() 1670 if (readobj == writeobj) { in zend_std_cast_object_tostring() 1673 ZVAL_EMPTY_STRING(writeobj); in zend_std_cast_object_tostring() 1680 ZVAL_BOOL(writeobj, 1); in zend_std_cast_object_tostring() 1685 if (readobj == writeobj) { in zend_std_cast_object_tostring() 1688 ZVAL_LONG(writeobj, 1); in zend_std_cast_object_tostring() 1693 if (readobj == writeobj) { in zend_std_cast_object_tostring() 1696 ZVAL_DOUBLE(writeobj, 1); in zend_std_cast_object_tostring() [all …]
|
H A D | zend_object_handlers.h | 171 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type);
|
/PHP-7.2/ext/spl/ |
H A D | spl_directory.c | 1862 static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type) in spl_filesystem_object_cast() argument 1868 return std_object_handlers.cast_object(readobj, writeobj, type); in spl_filesystem_object_cast() 1874 if (readobj == writeobj) { in spl_filesystem_object_cast() 1880 ZVAL_NEW_STR(writeobj, Z_STR_P(retval_ptr)); in spl_filesystem_object_cast() 1882 ZVAL_STRINGL(writeobj, intern->file_name, intern->file_name_len); in spl_filesystem_object_cast() 1886 if (readobj == writeobj) { in spl_filesystem_object_cast() 1892 ZVAL_NEW_STR(writeobj, Z_STR_P(retval_ptr)); in spl_filesystem_object_cast() 1894 ZVAL_STRING(writeobj, intern->u.dir.entry.d_name); in spl_filesystem_object_cast() 1899 ZVAL_TRUE(writeobj); in spl_filesystem_object_cast() 1902 if (readobj == writeobj) { in spl_filesystem_object_cast() [all …]
|
/PHP-7.2/ext/simplexml/ |
H A D | simplexml.c | 1870 static int sxe_object_cast_ex(zval *readobj, zval *writeobj, int type) in sxe_object_cast_ex() argument 1882 ZVAL_TRUE(writeobj); in sxe_object_cast_ex() 1884 ZVAL_BOOL(writeobj, !sxe_prop_is_empty(readobj)); in sxe_object_cast_ex() 1908 if (readobj == writeobj) { in sxe_object_cast_ex() 1912 rv = cast_object(writeobj, type, (char *)contents); in sxe_object_cast_ex() 1923 static int sxe_object_cast(zval *readobj, zval *writeobj, int type) in sxe_object_cast() argument 1926 && zend_std_cast_object_tostring(readobj, writeobj, IS_STRING) == SUCCESS in sxe_object_cast() 1931 return sxe_object_cast_ex(readobj, writeobj, type); in sxe_object_cast()
|
/PHP-7.2/ext/gmp/ |
H A D | gmp.c | 410 static int gmp_cast_object(zval *readobj, zval *writeobj, int type) /* {{{ */ in gmp_cast_object() argument 416 gmp_strval(writeobj, gmpnum, 10); in gmp_cast_object() 420 ZVAL_LONG(writeobj, mpz_get_si(gmpnum)); in gmp_cast_object() 424 ZVAL_DOUBLE(writeobj, mpz_get_d(gmpnum)); in gmp_cast_object()
|
Completed in 40 milliseconds