Lines Matching refs:path
53 char path[MAXPATHLEN]; in php_checkuid_ex() local
57 path[0] = '\0'; in php_checkuid_ex()
85 strcpy(path, filename); in php_checkuid_ex()
88 expand_filepath(filename, path TSRMLS_CC); in php_checkuid_ex()
90 ret = VCWD_STAT(path, &sb); in php_checkuid_ex()
115 if ((s = strrchr(path, DEFAULT_SLASH))) { in php_checkuid_ex()
116 if (*(s + 1) == '\0' && s != path) { /* make sure that the / is not the last character */ in php_checkuid_ex()
118 s = strrchr(path, DEFAULT_SLASH); in php_checkuid_ex()
121 if (s == path) { in php_checkuid_ex()
122 path[1] = '\0'; in php_checkuid_ex()
133 path[0] = DEFAULT_SLASH; in php_checkuid_ex()
134 path[1] = '\0'; in php_checkuid_ex()
137 VCWD_REALPATH(filename, path); in php_checkuid_ex()
143 path[0] = '.'; in php_checkuid_ex()
144 path[1] = '\0'; in php_checkuid_ex()
145 VCWD_GETCWD(path, sizeof(path)); in php_checkuid_ex()
151 ret = VCWD_STAT(path, &sb); in php_checkuid_ex()
184 filename = path; in php_checkuid_ex()