Home
last modified time | relevance | path

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

/PHP-7.4/ext/com_dotnet/
H A Dcom_handlers.c488 static int com_object_cast(zval *readobj, zval *writeobj, int type) in com_object_cast() argument
496 ZVAL_NULL(writeobj); in com_object_cast()
533 php_com_zval_from_variant(writeobj, &v, obj->code_page); in com_object_cast()
542 return zend_std_cast_object_tostring(readobj, writeobj, type); in com_object_cast()
H A Dcom_saproxy.c353 static int saproxy_object_cast(zval *readobj, zval *writeobj, int type) in saproxy_object_cast() argument
/PHP-7.4/Zend/
H A Dzend_object_handlers.c1805 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type) /* {{{ */ in zend_std_cast_object_tostring() argument
1819 ZVAL_COPY_VALUE(writeobj, &retval); in zend_std_cast_object_tostring()
1829 ZVAL_TRUE(writeobj); in zend_std_cast_object_tostring()
1834 ZVAL_LONG(writeobj, 1); in zend_std_cast_object_tostring()
1839 ZVAL_DOUBLE(writeobj, 1); in zend_std_cast_object_tostring()
1844 ZVAL_LONG(writeobj, 1); in zend_std_cast_object_tostring()
1847 ZVAL_NULL(writeobj); in zend_std_cast_object_tostring()
H A Dzend_object_handlers.h211 ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type);
/PHP-7.4/ext/gmp/
H A Dgmp.c411 static int gmp_cast_object(zval *readobj, zval *writeobj, int type) /* {{{ */ in gmp_cast_object() argument
417 gmp_strval(writeobj, gmpnum, 10); in gmp_cast_object()
421 ZVAL_LONG(writeobj, mpz_get_si(gmpnum)); in gmp_cast_object()
425 ZVAL_DOUBLE(writeobj, mpz_get_d(gmpnum)); in gmp_cast_object()
430 ZVAL_LONG(writeobj, mpz_get_si(gmpnum)); in gmp_cast_object()
432 ZVAL_DOUBLE(writeobj, mpz_get_d(gmpnum)); in gmp_cast_object()
/PHP-7.4/ext/simplexml/
H A Dsimplexml.c1878 static int sxe_object_cast_ex(zval *readobj, zval *writeobj, int type) in sxe_object_cast_ex() argument
1890 ZVAL_TRUE(writeobj); in sxe_object_cast_ex()
1892 ZVAL_BOOL(writeobj, !sxe_prop_is_empty(readobj)); in sxe_object_cast_ex()
1916 rv = cast_object(writeobj, type, (char *)contents); in sxe_object_cast_ex()
1927 static int sxe_object_cast(zval *readobj, zval *writeobj, int type) in sxe_object_cast() argument
1930 && zend_std_cast_object_tostring(readobj, writeobj, IS_STRING) == SUCCESS in sxe_object_cast()
1935 return sxe_object_cast_ex(readobj, writeobj, type); in sxe_object_cast()
/PHP-7.4/ext/ffi/
H A Dffi.c1049 ZVAL_DOUBLE(writeobj, *(float*)ptr); in zend_ffi_cdata_cast_object()
1052 ZVAL_DOUBLE(writeobj, *(double*)ptr); in zend_ffi_cdata_cast_object()
1060 ZVAL_LONG(writeobj, *(uint8_t*)ptr); in zend_ffi_cdata_cast_object()
1063 ZVAL_LONG(writeobj, *(int8_t*)ptr); in zend_ffi_cdata_cast_object()
1066 ZVAL_LONG(writeobj, *(uint16_t*)ptr); in zend_ffi_cdata_cast_object()
1069 ZVAL_LONG(writeobj, *(int16_t*)ptr); in zend_ffi_cdata_cast_object()
1075 ZVAL_LONG(writeobj, *(int32_t*)ptr); in zend_ffi_cdata_cast_object()
1081 ZVAL_LONG(writeobj, *(int64_t*)ptr); in zend_ffi_cdata_cast_object()
1084 ZVAL_BOOL(writeobj, *(uint8_t*)ptr); in zend_ffi_cdata_cast_object()
1094 ZVAL_NULL(writeobj); in zend_ffi_cdata_cast_object()
[all …]
/PHP-7.4/ext/spl/
H A Dspl_directory.c1860 static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type) in spl_filesystem_object_cast() argument
1866 return zend_std_cast_object_tostring(readobj, writeobj, type); in spl_filesystem_object_cast()
1872 ZVAL_STRINGL(writeobj, intern->file_name, intern->file_name_len); in spl_filesystem_object_cast()
1875 ZVAL_STRING(writeobj, intern->u.dir.entry.d_name); in spl_filesystem_object_cast()
1879 ZVAL_TRUE(writeobj); in spl_filesystem_object_cast()
1882 ZVAL_NULL(writeobj); in spl_filesystem_object_cast()

Completed in 82 milliseconds