Lines Matching refs:path_tmp
147 char path_tmp[MAXPATHLEN + 1]; local
172 memcpy(path_tmp, resolved_name, path_len + 1); /* safe */
174 while (VCWD_REALPATH(path_tmp, resolved_name) == NULL) {
180 ret = php_sys_readlink(path_tmp, buf, MAXPATHLEN - 1);
185 memcpy(path_tmp, buf, ret);
186 path_tmp[ret] = '\0';
192 path_file = strrchr(path_tmp, DEFAULT_SLASH);
194 path_file = strrchr(path_tmp, '/');
197 path_file = strrchr(path_tmp, DEFAULT_SLASH);
203 path_len = path_file - path_tmp + 1;
205 if (path_len > 1 && path_tmp[path_len - 2] == ':') {
210 path_tmp[path_len] = '\0';
212 path_tmp[path_len - 1] = '\0';
215 path_tmp[path_len - 1] = '\0';
218 if (*path_tmp == '\0') {
245 if (path_tmp[path_len - 1] == PHP_DIR_SEPARATOR) {