Lines Matching refs:open_mode
131 if (intern->u.file.open_mode) { in spl_filesystem_object_free_storage()
132 efree(intern->u.file.open_mode); in spl_filesystem_object_free_storage()
292 intern->u.file.open_mode = NULL; in spl_filesystem_file_open()
299 …intern->u.file.stream = php_stream_open_wrapper_ex(intern->file_name, intern->u.file.open_mode, (u… in spl_filesystem_file_open()
306 intern->u.file.open_mode = NULL; in spl_filesystem_file_open()
324 intern->u.file.open_mode = estrndup(intern->u.file.open_mode, intern->u.file.open_mode_len); in spl_filesystem_file_open()
546 intern->u.file.open_mode = "r"; in spl_filesystem_object_create_type()
550 &intern->u.file.open_mode, &intern->u.file.open_mode_len, in spl_filesystem_object_create_type()
553 intern->u.file.open_mode = NULL; in spl_filesystem_object_create_type()
659 ZVAL_STRINGL(&tmp, intern->u.file.open_mode, intern->u.file.open_mode_len); in spl_filesystem_object_get_debug_info()
1917 ZEND_ARG_INFO(0, open_mode)
2288 intern->u.file.open_mode = NULL; in SPL_METHOD()
2293 &intern->u.file.open_mode, &intern->u.file.open_mode_len, in SPL_METHOD()
2295 intern->u.file.open_mode = NULL; in SPL_METHOD()
2300 if (intern->u.file.open_mode == NULL) { in SPL_METHOD()
2301 intern->u.file.open_mode = "r"; in SPL_METHOD()
2360 intern->u.file.open_mode = "wb"; in SPL_METHOD()
3017 ZEND_ARG_INFO(0, open_mode)