Searched refs:root_path (Results 1 – 2 of 2) sorted by relevance
78 char* root_path = NULL; in main() local91 root_path = optarg; in main()106 if (root_path != NULL) { in main()107 size_t root_len = strlen(root_path); in main()109 while (root_len && root_path[--root_len] == '/') { in main()110 root_path[root_len] = '\0'; in main()138 if (root_path != NULL && strcmp(buffer, root_path) == 0) { in main()
224 root_path = '/'.join(parts[:idx])226 if os.path.exists(root_path + '/build/make/tools/warn.py'):227 return root_path254 root_path = os.path.commonprefix(warning_lines)256 if len(root_path) > 2 and root_path[len(root_path) - 1] == '/':257 return root_path[:-1]