Lines Matching refs:type
81 switch(intern->type) { in spl_filesystem_object_destroy_object()
122 switch(intern->type) { in spl_filesystem_object_free_storage()
190 if (intern->type == SPL_FS_DIR) { in spl_filesystem_object_get_path()
206 switch (intern->type) { in spl_filesystem_object_get_file_name()
258 intern->type = SPL_FS_DIR; in spl_filesystem_dir_open()
288 intern->type = SPL_FS_FILE; in spl_filesystem_file_open()
363 switch (source->type) { in spl_filesystem_object_clone()
477 …_filesystem_object_create_type(int ht, spl_filesystem_object *source, int type, zend_class_entry *… in spl_filesystem_object_create_type() argument
486 switch (source->type) { in spl_filesystem_object_create_type()
498 switch (type) { in spl_filesystem_object_create_type()
584 switch (intern->type) { in spl_filesystem_object_get_pathname()
637 if (intern->type == SPL_FS_DIR) { in spl_filesystem_object_get_debug_info()
657 if (intern->type == SPL_FS_FILE) { in spl_filesystem_object_get_debug_info()
1306 if (intern->type == SPL_FS_DIR && !intern->file_name && intern->u.dir.entry.d_name[0]) { in SPL_METHOD()
1862 static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type) in spl_filesystem_object_cast() argument
1866 if (type == IS_STRING) { in spl_filesystem_object_cast()
1868 return std_object_handlers.cast_object(readobj, writeobj, type); in spl_filesystem_object_cast()
1871 switch (intern->type) { in spl_filesystem_object_cast()
1898 } else if (type == _IS_BOOL) { in spl_filesystem_object_cast()