Searched refs:writeobj (Results 1 – 7 of 7) sorted by relevance
/PHP-7.1/ext/com_dotnet/ |
H A D | com_handlers.c | 465 static int com_object_cast(zval *readobj, zval *writeobj, int type) in com_object_cast() argument 473 ZVAL_NULL(writeobj); in com_object_cast() 509 php_com_zval_from_variant(writeobj, &v, obj->code_page); in com_object_cast() 518 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.1/Zend/ |
H A D | zend_object_handlers.c | 1649 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type) /* {{{ */ in zend_std_cast_object_tostring() argument 1675 if (readobj == writeobj) { in zend_std_cast_object_tostring() 1678 ZVAL_COPY_VALUE(writeobj, &retval); in zend_std_cast_object_tostring() 1682 if (readobj == writeobj) { in zend_std_cast_object_tostring() 1685 ZVAL_EMPTY_STRING(writeobj); in zend_std_cast_object_tostring() 1692 ZVAL_BOOL(writeobj, 1); in zend_std_cast_object_tostring() 1697 if (readobj == writeobj) { in zend_std_cast_object_tostring() 1700 ZVAL_LONG(writeobj, 1); in zend_std_cast_object_tostring() 1705 if (readobj == writeobj) { in zend_std_cast_object_tostring() 1708 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.1/ext/spl/ |
H A D | spl_directory.c | 1839 static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type) in spl_filesystem_object_cast() argument 1845 return std_object_handlers.cast_object(readobj, writeobj, type); in spl_filesystem_object_cast() 1851 if (readobj == writeobj) { in spl_filesystem_object_cast() 1857 ZVAL_NEW_STR(writeobj, Z_STR_P(retval_ptr)); in spl_filesystem_object_cast() 1859 ZVAL_STRINGL(writeobj, intern->file_name, intern->file_name_len); in spl_filesystem_object_cast() 1863 if (readobj == writeobj) { in spl_filesystem_object_cast() 1869 ZVAL_NEW_STR(writeobj, Z_STR_P(retval_ptr)); in spl_filesystem_object_cast() 1871 ZVAL_STRING(writeobj, intern->u.dir.entry.d_name); in spl_filesystem_object_cast() 1876 ZVAL_TRUE(writeobj); in spl_filesystem_object_cast() 1879 if (readobj == writeobj) { in spl_filesystem_object_cast() [all …]
|
/PHP-7.1/ext/simplexml/ |
H A D | simplexml.c | 1882 static int sxe_object_cast_ex(zval *readobj, zval *writeobj, int type) in sxe_object_cast_ex() argument 1894 ZVAL_TRUE(writeobj); in sxe_object_cast_ex() 1896 ZVAL_BOOL(writeobj, !sxe_prop_is_empty(readobj)); in sxe_object_cast_ex() 1920 if (readobj == writeobj) { in sxe_object_cast_ex() 1924 rv = cast_object(writeobj, type, (char *)contents); in sxe_object_cast_ex() 1935 static int sxe_object_cast(zval *readobj, zval *writeobj, int type) in sxe_object_cast() argument 1938 && zend_std_cast_object_tostring(readobj, writeobj, IS_STRING) == SUCCESS in sxe_object_cast() 1943 return sxe_object_cast_ex(readobj, writeobj, type); in sxe_object_cast()
|
/PHP-7.1/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 44 milliseconds