Lines Matching refs:NULL

64 		zend_throw_error(NULL, "Invalid finfo object"); \
100 php_error_docref(NULL, E_WARNING, "Failed to set option '" ZEND_LONG_FMT "' %d:%s", \
116 finfo_object_handlers.clone_obj = NULL; in PHP_MINIT_FUNCTION()
130 NULL,
131 NULL,
132 NULL,
162 char *file = NULL; in PHP_FUNCTION()
176 zend_replace_error_handling(EH_THROW, NULL, &zeh); in PHP_FUNCTION()
181 finfo_obj->ptr = NULL; in PHP_FUNCTION()
186 file = NULL; in PHP_FUNCTION()
193 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
198 if (!expand_filepath_with_mode(file, resolved_path, NULL, 0, CWD_EXPAND)) { in PHP_FUNCTION()
202 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
215 if (finfo->magic == NULL) { in PHP_FUNCTION()
217 php_error_docref(NULL, E_WARNING, "Invalid mode '" ZEND_LONG_FMT "'.", options); in PHP_FUNCTION()
221 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
228 php_error_docref(NULL, E_WARNING, "Failed to load magic database at \"%s\"", file); in PHP_FUNCTION()
234 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
293 char *ret_val = NULL, *buffer = NULL; in _php_finfo_get_type()
295 php_fileinfo *finfo = NULL; in _php_finfo_get_type()
296 zval *zcontext = NULL; in _php_finfo_get_type()
299 struct magic_set *magic = NULL; in _php_finfo_get_type()
325 if (magic_load(magic, NULL) == -1) { in _php_finfo_get_type()
326 php_error_docref(NULL, E_WARNING, "Failed to load magic database"); in _php_finfo_get_type()
378 if (buffer == NULL || buffer_len == 0) { in _php_finfo_get_type()
402 stream = php_stream_open_wrapper_ex(buffer, "rb", REPORT_ERRORS, NULL, context); in _php_finfo_get_type()
428 …php_error_docref(NULL, E_WARNING, "Failed identify data %d:%s", magic_errno(magic), magic_error(ma… in _php_finfo_get_type()