Lines Matching refs:path_tmp
135 char path_tmp[MAXPATHLEN + 1]; local
160 memcpy(path_tmp, resolved_name, path_len + 1); /* safe */
162 while (VCWD_REALPATH(path_tmp, resolved_name) == NULL) {
168 ret = php_sys_readlink(path_tmp, buf, MAXPATHLEN - 1);
173 memcpy(path_tmp, buf, ret);
174 path_tmp[ret] = '\0';
180 path_file = strrchr(path_tmp, DEFAULT_SLASH);
182 path_file = strrchr(path_tmp, '/');
185 path_file = strrchr(path_tmp, DEFAULT_SLASH);
191 path_len = path_file - path_tmp + 1;
193 if (path_len > 1 && path_tmp[path_len - 2] == ':') {
198 path_tmp[path_len] = '\0';
200 path_tmp[path_len - 1] = '\0';
203 path_tmp[path_len - 1] = '\0';
206 if (*path_tmp == '\0') {
233 if (path_tmp[path_len - 1] == PHP_DIR_SEPARATOR) {