Lines Matching refs:resolved_path

1010 	char resolved_path[MAXPATHLEN];  in virtual_file_ex()  local
1038 memcpy(resolved_path , path, path_length + 1); in virtual_file_ex()
1075 memcpy(resolved_path, state->cwd, state_cwd_length); in virtual_file_ex()
1076 if (resolved_path[state_cwd_length-1] == DEFAULT_SLASH) { in virtual_file_ex()
1077 memcpy(resolved_path + state_cwd_length, path, path_length + 1); in virtual_file_ex()
1080 resolved_path[state_cwd_length] = DEFAULT_SLASH; in virtual_file_ex()
1081 memcpy(resolved_path + state_cwd_length + 1, path, path_length + 1); in virtual_file_ex()
1088 resolved_path[0] = path[0]; in virtual_file_ex()
1089 resolved_path[1] = ':'; in virtual_file_ex()
1090 resolved_path[2] = DEFAULT_SLASH; in virtual_file_ex()
1091 memcpy(resolved_path + 3, path + 2, path_length - 1); in virtual_file_ex()
1095 memcpy(resolved_path, path, path_length + 1); in virtual_file_ex()
1099 if (memchr(resolved_path, '*', path_length) || in virtual_file_ex()
1100 memchr(resolved_path, '?', path_length)) { in virtual_file_ex()
1107 if (IS_UNC_PATH(resolved_path, path_length)) { in virtual_file_ex()
1109 resolved_path[0] = DEFAULT_SLASH; in virtual_file_ex()
1110 resolved_path[1] = DEFAULT_SLASH; in virtual_file_ex()
1112 while (!IS_SLASH(resolved_path[start])) { in virtual_file_ex()
1113 if (resolved_path[start] == 0) { in virtual_file_ex()
1116 resolved_path[start] = toupper(resolved_path[start]); in virtual_file_ex()
1119 resolved_path[start++] = DEFAULT_SLASH; in virtual_file_ex()
1120 while (!IS_SLASH(resolved_path[start])) { in virtual_file_ex()
1121 if (resolved_path[start] == 0) { in virtual_file_ex()
1124 resolved_path[start] = toupper(resolved_path[start]); in virtual_file_ex()
1127 resolved_path[start++] = DEFAULT_SLASH; in virtual_file_ex()
1128 } else if (IS_ABSOLUTE_PATH(resolved_path, path_length)) { in virtual_file_ex()
1130 resolved_path[0] = toupper(resolved_path[0]); in virtual_file_ex()
1131 resolved_path[2] = DEFAULT_SLASH; in virtual_file_ex()
1133 resolved_path[3] = '\0'; in virtual_file_ex()
1139 …add_slash = (use_realpath != CWD_REALPATH) && path_length > 0 && IS_SLASH(resolved_path[path_lengt… in virtual_file_ex()
1141 path_length = tsrm_realpath_r(resolved_path, start, path_length, &ll, &t, use_realpath, 0, NULL); in virtual_file_ex()
1155 resolved_path[path_length++] = '.'; in virtual_file_ex()
1158 if (add_slash && path_length && !IS_SLASH(resolved_path[path_length-1])) { in virtual_file_ex()
1162 resolved_path[path_length++] = DEFAULT_SLASH; in virtual_file_ex()
1164 resolved_path[path_length] = 0; in virtual_file_ex()
1178 memcpy(state->cwd, resolved_path, state->cwd_length+1); in virtual_file_ex()
1192 memcpy(state->cwd, resolved_path, state->cwd_length+1); in virtual_file_ex()