Lines Matching refs:NULL

70 			if ((tmp = zend_hash_str_find(Z_OBJPROP_P(myself), "handle", sizeof("handle")-1)) == NULL) { \
71 php_error_docref(NULL, E_WARNING, "Unable to find my handle property"); \
74 …((dirp = (php_stream *)zend_fetch_resource_ex(tmp, "Directory", php_file_le_stream())) == NULL) { \
79 …hp_stream *)zend_fetch_resource(DIRG(default_dir), "Directory", php_file_le_stream())) == NULL) { \
84 …p = (php_stream *)zend_fetch_resource(Z_RES_P(id), "Directory", php_file_le_stream())) == NULL) { \
118 DIRG(default_dir) = NULL; in PHP_RINIT_FUNCTION()
131 ts_allocate_id(&dir_globals_id, sizeof(php_dir_globals), NULL, NULL); in PHP_MINIT_FUNCTION()
209 zval *zcontext = NULL; in _php_do_opendir()
210 php_stream_context *context = NULL; in _php_do_opendir()
223 if (dirp == NULL) { in _php_do_opendir()
262 zval *id = NULL, *tmp, *myself; in PHP_FUNCTION()
269 php_error_docref(NULL, E_WARNING, "%d is not a valid Directory resource", dirp->res->handle); in PHP_FUNCTION()
277 php_set_default_dir(NULL); in PHP_FUNCTION()
297 php_error_docref(NULL, E_WARNING, "%s (errno %d)", strerror(errno), errno); in PHP_FUNCTION()
301 php_clear_stat_cache(1, NULL, 0); in PHP_FUNCTION()
306 php_error_docref(NULL, E_WARNING, "%s (errno %d)", strerror(errno), errno); in PHP_FUNCTION()
333 php_error_docref(NULL, E_WARNING, "%s (errno %d)", strerror(errno), errno); in PHP_FUNCTION()
339 BG(CurrentStatFile) = NULL; in PHP_FUNCTION()
343 BG(CurrentLStatFile) = NULL; in PHP_FUNCTION()
355 char *ret=NULL; in PHP_FUNCTION()
379 zval *id = NULL, *tmp, *myself; in PHP_FUNCTION()
385 php_error_docref(NULL, E_WARNING, "%d is not a valid Directory resource", dirp->res->handle); in PHP_FUNCTION()
397 zval *id = NULL, *tmp, *myself; in PHP_NAMED_FUNCTION()
404 php_error_docref(NULL, E_WARNING, "%d is not a valid Directory resource", dirp->res->handle); in PHP_NAMED_FUNCTION()
426 char *pattern = NULL; in PHP_FUNCTION()
441 …php_error_docref(NULL, E_WARNING, "Pattern exceeds the maximum allowed length of %d characters", M… in PHP_FUNCTION()
446 …php_error_docref(NULL, E_WARNING, "At least one of the passed flags is invalid or not supported on… in PHP_FUNCTION()
471 if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) { in PHP_FUNCTION()
558 zval *zcontext = NULL; in PHP_FUNCTION()
559 php_stream_context *context = NULL; in PHP_FUNCTION()
569 php_error_docref(NULL, E_WARNING, "Directory name cannot be empty"); in PHP_FUNCTION()
580 n = php_stream_scandir(dirn, &namelist, context, NULL); in PHP_FUNCTION()
585 php_error_docref(NULL, E_WARNING, "(errno %d): %s", errno, strerror(errno)); in PHP_FUNCTION()