Searched refs:writeobj (Results 1 – 8 of 8) sorted by relevance
/PHP-8.0/ext/com_dotnet/ |
H A D | com_handlers.c | 433 static int com_object_cast(zend_object *readobj, zval *writeobj, int type) in com_object_cast() argument 441 ZVAL_NULL(writeobj); in com_object_cast() 482 php_com_zval_from_variant(writeobj, &v, obj->code_page); in com_object_cast() 491 return zend_std_cast_object_tostring(readobj, writeobj, type); in com_object_cast()
|
H A D | com_saproxy.c | 335 static int saproxy_object_cast(zend_object *readobj, zval *writeobj, int type) in saproxy_object_cast() argument
|
/PHP-8.0/ext/gmp/ |
H A D | gmp.c | 273 static int gmp_cast_object(zend_object *readobj, zval *writeobj, int type) /* {{{ */ in gmp_cast_object() argument 279 gmp_strval(writeobj, gmpnum, 10); in gmp_cast_object() 283 ZVAL_LONG(writeobj, mpz_get_si(gmpnum)); in gmp_cast_object() 287 ZVAL_DOUBLE(writeobj, mpz_get_d(gmpnum)); in gmp_cast_object() 292 ZVAL_LONG(writeobj, mpz_get_si(gmpnum)); in gmp_cast_object() 294 ZVAL_DOUBLE(writeobj, mpz_get_d(gmpnum)); in gmp_cast_object()
|
/PHP-8.0/ext/simplexml/ |
H A D | simplexml.c | 60 static int sxe_object_cast_ex(zend_object *readobj, zval *writeobj, int type); 1841 static int sxe_object_cast_ex(zend_object *readobj, zval *writeobj, int type) in sxe_object_cast_ex() argument 1853 ZVAL_TRUE(writeobj); in sxe_object_cast_ex() 1855 ZVAL_BOOL(writeobj, !sxe_prop_is_empty(readobj)); in sxe_object_cast_ex() 1879 rv = cast_object(writeobj, type, (char *)contents); in sxe_object_cast_ex() 1890 static int sxe_object_cast(zend_object *readobj, zval *writeobj, int type) in sxe_object_cast() argument 1893 && zend_std_cast_object_tostring(readobj, writeobj, IS_STRING) == SUCCESS in sxe_object_cast() 1898 return sxe_object_cast_ex(readobj, writeobj, type); in sxe_object_cast()
|
/PHP-8.0/Zend/ |
H A D | zend_object_handlers.h | 200 ZEND_API int zend_std_cast_object_tostring(zend_object *object, zval *writeobj, int type);
|
H A D | zend_object_handlers.c | 1727 ZEND_API int zend_std_cast_object_tostring(zend_object *readobj, zval *writeobj, int type) /* {{{ */ in zend_std_cast_object_tostring() argument 1738 ZVAL_COPY_VALUE(writeobj, &retval); in zend_std_cast_object_tostring() 1749 ZVAL_TRUE(writeobj); in zend_std_cast_object_tostring()
|
/PHP-8.0/ext/spl/ |
H A D | spl_directory.c | 1832 static int spl_filesystem_object_cast(zend_object *readobj, zval *writeobj, int type) in spl_filesystem_object_cast() argument 1838 return zend_std_cast_object_tostring(readobj, writeobj, type); in spl_filesystem_object_cast() 1844 ZVAL_STRINGL(writeobj, intern->file_name, intern->file_name_len); in spl_filesystem_object_cast() 1847 ZVAL_STRING(writeobj, intern->u.dir.entry.d_name); in spl_filesystem_object_cast() 1851 ZVAL_TRUE(writeobj); in spl_filesystem_object_cast() 1854 ZVAL_NULL(writeobj); in spl_filesystem_object_cast()
|
/PHP-8.0/ext/ffi/ |
H A D | ffi.c | 1097 ZVAL_DOUBLE(writeobj, *(float*)ptr); in zend_ffi_cdata_cast_object() 1108 ZVAL_LONG(writeobj, *(uint8_t*)ptr); in zend_ffi_cdata_cast_object() 1111 ZVAL_LONG(writeobj, *(int8_t*)ptr); in zend_ffi_cdata_cast_object() 1117 ZVAL_LONG(writeobj, *(int16_t*)ptr); in zend_ffi_cdata_cast_object() 1123 ZVAL_LONG(writeobj, *(int32_t*)ptr); in zend_ffi_cdata_cast_object() 1129 ZVAL_LONG(writeobj, *(int64_t*)ptr); in zend_ffi_cdata_cast_object() 1132 ZVAL_BOOL(writeobj, *(uint8_t*)ptr); in zend_ffi_cdata_cast_object() 1135 ZVAL_CHAR(writeobj, *(char*)ptr); in zend_ffi_cdata_cast_object() 1142 ZVAL_NULL(writeobj); in zend_ffi_cdata_cast_object() 1152 convert_to_string(writeobj); in zend_ffi_cdata_cast_object() [all …]
|
Completed in 61 milliseconds