Lines Matching refs:absolute_path
72 char *absolute_path = NULL;
114 absolute_path = (char *)getcwd(NULL, 0);
115 if (absolute_path == NULL) {
120 len = strlen(absolute_path);
121 absolute_path = realloc(absolute_path,
123 if (absolute_path == NULL) {
128 absolute_path[len] = '/';
129 strcpy(absolute_path + len + 1, relative_path);
131 absolute_file = malloc(strlen(absolute_path) + 1 + strlen(file));
132 bzero(absolute_file, strlen(absolute_path) + 1 + strlen(file));
137 strcpy(absolute_file, absolute_path);
139 strcpy(absolute_file + strlen(absolute_path), file);
172 abs_fd = open(absolute_path, O_RDONLY);
213 tests[0].tests[2].params[1].cp = absolute_path;
233 tests[0].tests[6].params[1].cp = absolute_path;
248 tests[1].tests[1].params[1].cp = absolute_path;