Lines Matching refs:NULL

103 	BG(CurrentStatFile)=NULL;  in PHP_RINIT_FUNCTION()
104 BG(CurrentLStatFile)=NULL; in PHP_RINIT_FUNCTION()
113 BG(CurrentStatFile) = NULL; in PHP_RSHUTDOWN_FUNCTION()
117 BG(CurrentLStatFile) = NULL; in PHP_RSHUTDOWN_FUNCTION()
156 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", php_win_err()); in php_disk_total_space()
168 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", php_win_err()); in php_disk_total_space()
174 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to load kernel32.dll"); in php_disk_total_space()
207 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno));
218 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno));
288 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", php_win_err()); in php_disk_free_space()
300 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", php_win_err()); in php_disk_free_space()
306 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to load kernel32.dll"); in php_disk_free_space()
339 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno));
349 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno));
424 if (getgrnam_r(Z_STRVAL_P(group), &gr, grbuf, grbuflen, &retgrptr) != 0 || retgrptr == NULL) { in php_do_chgrp()
425 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to find gid for %s", Z_STRVAL_P(group)); in php_do_chgrp()
435 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to find gid for %s", Z_STRVAL_P(group)); in php_do_chgrp()
441 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "parameter 2 should be string or integer, %s given", z… in php_do_chgrp()
445 if (PG(safe_mode) &&(!php_checkuid(filename, NULL, CHECKUID_ALLOW_FILE_NOT_EXISTS))) { in php_do_chgrp()
462 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno)); in php_do_chgrp()
520 struct passwd *retpwptr = NULL; in php_do_chown()
529 if (getpwnam_r(Z_STRVAL_P(user), &pw, pwbuf, pwbuflen, &retpwptr) != 0 || retpwptr == NULL) { in php_do_chown()
530 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to find uid for %s", Z_STRVAL_P(user)); in php_do_chown()
540 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to find uid for %s", Z_STRVAL_P(user)); in php_do_chown()
546 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "parameter 2 should be string or integer, %s given", z… in php_do_chown()
550 if (PG(safe_mode) && (!php_checkuid(filename, NULL, CHECKUID_ALLOW_FILE_NOT_EXISTS))) { in php_do_chown()
567 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno)); in php_do_chown()
618 if (PG(safe_mode) &&(!php_checkuid(filename, NULL, CHECKUID_ALLOW_FILE_NOT_EXISTS))) { in PHP_FUNCTION()
638 if (php_stream_stat_path_ex(filename, 0, &ssb, NULL)) { in PHP_FUNCTION()
639 php_error_docref(NULL TSRMLS_CC, E_WARNING, "stat failed for %s", filename); in PHP_FUNCTION()
655 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno)); in PHP_FUNCTION()
686 newtime = NULL; in PHP_FUNCTION()
688 newtime->modtime = newtime->actime = time(NULL); in PHP_FUNCTION()
704 if (PG(safe_mode) && (!php_checkuid(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in PHP_FUNCTION()
716 if (file == NULL) { in PHP_FUNCTION()
717 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to create file %s because %s", filename, strer… in PHP_FUNCTION()
725 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Utime failed: %s", strerror(errno)); in PHP_FUNCTION()
743 BG(CurrentStatFile) = NULL; in php_clear_stat_cache()
747 BG(CurrentLStatFile) = NULL; in php_clear_stat_cache()
750 if (filename != NULL) { in php_clear_stat_cache()
764 char *filename = NULL; in PHP_FUNCTION()
817 } else if (!php_checkuid_ex(local, NULL, CHECKUID_ALLOW_FILE_NOT_EXISTS, CHECKUID_NO_ERRORS)) { in php_stat()
858 if (php_stream_stat_path_ex((char *)filename, flags, &ssb, NULL)) { in php_stat()
861 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "%sstat failed for %s", IS_LINK_OPERATION(type) ? "L" … in php_stat()
883 groups = getgroups(0, NULL); in php_stat()
946 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Unknown file type (%d)", ssb.sb.st_mode&S_IFMT); in php_stat()
993 zend_hash_next_index_insert(HASH_OF(return_value), (void *)&stat_dev, sizeof(zval *), NULL); in php_stat()
994 zend_hash_next_index_insert(HASH_OF(return_value), (void *)&stat_ino, sizeof(zval *), NULL); in php_stat()
995 zend_hash_next_index_insert(HASH_OF(return_value), (void *)&stat_mode, sizeof(zval *), NULL); in php_stat()
996 zend_hash_next_index_insert(HASH_OF(return_value), (void *)&stat_nlink, sizeof(zval *), NULL); in php_stat()
997 zend_hash_next_index_insert(HASH_OF(return_value), (void *)&stat_uid, sizeof(zval *), NULL); in php_stat()
998 zend_hash_next_index_insert(HASH_OF(return_value), (void *)&stat_gid, sizeof(zval *), NULL); in php_stat()
1000 zend_hash_next_index_insert(HASH_OF(return_value), (void *)&stat_rdev, sizeof(zval *), NULL); in php_stat()
1001 zend_hash_next_index_insert(HASH_OF(return_value), (void *)&stat_size, sizeof(zval *), NULL); in php_stat()
1002 zend_hash_next_index_insert(HASH_OF(return_value), (void *)&stat_atime, sizeof(zval *), NULL); in php_stat()
1003 zend_hash_next_index_insert(HASH_OF(return_value), (void *)&stat_mtime, sizeof(zval *), NULL); in php_stat()
1004 zend_hash_next_index_insert(HASH_OF(return_value), (void *)&stat_ctime, sizeof(zval *), NULL); in php_stat()
1005 zend_hash_next_index_insert(HASH_OF(return_value), (void *)&stat_blksize, sizeof(zval *), NULL); in php_stat()
1006 zend_hash_next_index_insert(HASH_OF(return_value), (void *)&stat_blocks, sizeof(zval *), NULL); in php_stat()
1009 …rn_value), stat_sb_names[0], strlen(stat_sb_names[0])+1, (void *) &stat_dev, sizeof(zval *), NULL); in php_stat()
1010 …rn_value), stat_sb_names[1], strlen(stat_sb_names[1])+1, (void *) &stat_ino, sizeof(zval *), NULL); in php_stat()
1011 …n_value), stat_sb_names[2], strlen(stat_sb_names[2])+1, (void *) &stat_mode, sizeof(zval *), NULL); in php_stat()
1012 …_value), stat_sb_names[3], strlen(stat_sb_names[3])+1, (void *) &stat_nlink, sizeof(zval *), NULL); in php_stat()
1013 …rn_value), stat_sb_names[4], strlen(stat_sb_names[4])+1, (void *) &stat_uid, sizeof(zval *), NULL); in php_stat()
1014 …rn_value), stat_sb_names[5], strlen(stat_sb_names[5])+1, (void *) &stat_gid, sizeof(zval *), NULL); in php_stat()
1015 …n_value), stat_sb_names[6], strlen(stat_sb_names[6])+1, (void *) &stat_rdev, sizeof(zval *), NULL); in php_stat()
1016 …n_value), stat_sb_names[7], strlen(stat_sb_names[7])+1, (void *) &stat_size, sizeof(zval *), NULL); in php_stat()
1017 …_value), stat_sb_names[8], strlen(stat_sb_names[8])+1, (void *) &stat_atime, sizeof(zval *), NULL); in php_stat()
1018 …_value), stat_sb_names[9], strlen(stat_sb_names[9])+1, (void *) &stat_mtime, sizeof(zval *), NULL); in php_stat()
1019 …alue), stat_sb_names[10], strlen(stat_sb_names[10])+1, (void *) &stat_ctime, sizeof(zval *), NULL); in php_stat()
1020 …ue), stat_sb_names[11], strlen(stat_sb_names[11])+1, (void *) &stat_blksize, sizeof(zval *), NULL); in php_stat()
1021 …lue), stat_sb_names[12], strlen(stat_sb_names[12])+1, (void *) &stat_blocks, sizeof(zval *), NULL); in php_stat()
1025 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Didn't understand stat call"); in php_stat()
1178 …h_update(Z_ARRVAL_P(return_value), bucket->path, bucket->path_len+1, &entry, sizeof(zval *), NULL); in PHP_FUNCTION()