Lines Matching refs:path_tmp
147 char path_tmp[MAXPATHLEN]; local
172 memcpy(path_tmp, resolved_name, path_len + 1); /* safe */
174 while (VCWD_REALPATH(path_tmp, resolved_name) == NULL) {
183 ret = php_sys_readlink(path_tmp, buf, MAXPATHLEN - 1);
188 memcpy(path_tmp, buf, ret);
189 path_tmp[ret] = '\0';
198 path_file = strrchr(path_tmp, DEFAULT_SLASH);
200 path_file = strrchr(path_tmp, '/');
203 path_file = strrchr(path_tmp, DEFAULT_SLASH);
209 path_len = path_file - path_tmp + 1;
211 if (path_len > 1 && path_tmp[path_len - 2] == ':') {
216 path_tmp[path_len] = '\0';
218 path_tmp[path_len - 1] = '\0';
221 path_tmp[path_len - 1] = '\0';
246 if (path_tmp[path_len - 1] == PHP_DIR_SEPARATOR) {