Lines Matching refs:path
110 static int php_disk_total_space(char *path, double *space) /* {{{ */ in php_disk_total_space() argument
139 if (func(path, in php_disk_total_space()
152 if (GetDiskFreeSpace(path, in php_disk_total_space()
173 char drive = path[0] & 95;
193 if (statvfs(path, &buf)) {
204 if (statfs(path, &buf)) {
223 char *path; in PHP_FUNCTION() local
226 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &path, &path_len) == FAILURE) { in PHP_FUNCTION()
230 if (php_check_open_basedir(path)) { in PHP_FUNCTION()
234 if (php_disk_total_space(path, &bytestotal) == SUCCESS) { in PHP_FUNCTION()
241 static int php_disk_free_space(char *path, double *space) /* {{{ */ in php_disk_free_space() argument
271 if (func(path, in php_disk_free_space()
284 if (GetDiskFreeSpace(path, in php_disk_free_space()
305 char drive = path[0] & 95;
325 if (statvfs(path, &buf)) {
335 if (statfs(path, &buf)) {
358 char *path; in PHP_FUNCTION() local
361 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &path, &path_len) == FAILURE) { in PHP_FUNCTION()
365 if (php_check_open_basedir(path)) { in PHP_FUNCTION()
369 if (php_disk_free_space(path, &bytesfree) == SUCCESS) { in PHP_FUNCTION()
1225 zend_hash_str_update(Z_ARRVAL_P(return_value), bucket->path, bucket->path_len, &entry); in PHP_FUNCTION()