Lines Matching refs:open_mode
132 if (intern->u.file.open_mode) { in spl_filesystem_object_free_storage()
133 efree(intern->u.file.open_mode); in spl_filesystem_object_free_storage()
295 intern->u.file.open_mode = NULL; in spl_filesystem_file_open()
302 …intern->u.file.stream = php_stream_open_wrapper_ex(intern->file_name, intern->u.file.open_mode, (u… in spl_filesystem_file_open()
309 intern->u.file.open_mode = NULL; in spl_filesystem_file_open()
327 intern->u.file.open_mode = estrndup(intern->u.file.open_mode, intern->u.file.open_mode_len); in spl_filesystem_file_open()
530 char *open_mode = "r"; in spl_filesystem_object_create_type() local
535 &open_mode, &open_mode_len, &use_include_path, &resource) == FAILURE in spl_filesystem_object_create_type()
549 ZVAL_STRINGL(&arg2, open_mode, open_mode_len); in spl_filesystem_object_create_type()
559 intern->u.file.open_mode = open_mode; in spl_filesystem_object_create_type()
661 ZVAL_STRINGL(&tmp, intern->u.file.open_mode, intern->u.file.open_mode_len); in spl_filesystem_object_get_debug_info()
2055 intern->u.file.open_mode = NULL; in PHP_METHOD()
2060 &intern->u.file.open_mode, &intern->u.file.open_mode_len, in PHP_METHOD()
2062 intern->u.file.open_mode = NULL; in PHP_METHOD()
2067 if (intern->u.file.open_mode == NULL) { in PHP_METHOD()
2068 intern->u.file.open_mode = "r"; in PHP_METHOD()
2126 intern->u.file.open_mode = "wb"; in PHP_METHOD()