Lines Matching refs:writeobj
1878 static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type TSRMLS_DC) in spl_filesystem_object_cast() argument
1884 return std_object_handlers.cast_object(readobj, writeobj, type TSRMLS_CC); in spl_filesystem_object_cast()
1890 if (readobj == writeobj) { in spl_filesystem_object_cast()
1896 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0); in spl_filesystem_object_cast()
1898 ZVAL_STRINGL(writeobj, intern->file_name, intern->file_name_len, 1); in spl_filesystem_object_cast()
1902 if (readobj == writeobj) { in spl_filesystem_object_cast()
1908 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0); in spl_filesystem_object_cast()
1910 ZVAL_STRING(writeobj, intern->u.dir.entry.d_name, 1); in spl_filesystem_object_cast()
1915 ZVAL_BOOL(writeobj, 1); in spl_filesystem_object_cast()
1918 if (readobj == writeobj) { in spl_filesystem_object_cast()
1921 ZVAL_NULL(writeobj); in spl_filesystem_object_cast()