Lines Matching refs:normalized_path
37 char* normalized_path, in uvwasi__normalize_path() argument
50 normalized_path[0] = '\0'; in uvwasi__normalize_path()
51 ptr = normalized_path; in uvwasi__normalize_path()
57 if (ptr == normalized_path && next != NULL && is_absolute) { in uvwasi__normalize_path()
68 while (!IS_SLASH(*last) && last != normalized_path) { in uvwasi__normalize_path()
74 if (ptr == normalized_path || in uvwasi__normalize_path()
78 if (ptr != normalized_path && *(ptr - 1) != '/') { in uvwasi__normalize_path()
90 if (last == normalized_path && *last == '/') in uvwasi__normalize_path()
98 if (ptr != normalized_path && *(ptr - 1) != '/') { in uvwasi__normalize_path()
113 if (ptr == normalized_path) { in uvwasi__normalize_path()
177 char** normalized_path, in uvwasi__normalize_absolute_path() argument
190 *normalized_path = NULL; in uvwasi__normalize_absolute_path()
207 fd->normalized_path, in uvwasi__normalize_absolute_path()
208 strlen(fd->normalized_path))) { in uvwasi__normalize_absolute_path()
213 *normalized_path = abs_path; in uvwasi__normalize_absolute_path()
228 char** normalized_path, in uvwasi__normalize_relative_path() argument
242 *normalized_path = NULL; in uvwasi__normalize_relative_path()
247 fd_path_len = strlen(fd->normalized_path); in uvwasi__normalize_relative_path()
259 r = snprintf(combined, combined_size, "%s/%s", fd->normalized_path, path); in uvwasi__normalize_relative_path()
278 fd->normalized_path, in uvwasi__normalize_relative_path()
285 *normalized_path = normalized; in uvwasi__normalize_relative_path()
316 fake_path_len = strlen(fd->normalized_path); in uvwasi__resolve_path_to_host()
319 if (fake_path_len == 1 && fd->normalized_path[0] == '.') { in uvwasi__resolve_path_to_host()
375 char* normalized_path; in uvwasi__resolve_path() local
390 normalized_path = NULL; in uvwasi__resolve_path()
398 &normalized_path, in uvwasi__resolve_path()
405 &normalized_path, in uvwasi__resolve_path()
415 normalized_path, in uvwasi__resolve_path()
472 uvwasi__free(uvwasi, normalized_path); in uvwasi__resolve_path()
486 uvwasi__free(uvwasi, normalized_path); in uvwasi__resolve_path()