Searched refs:path_separator (Results 1 – 3 of 3) sorted by relevance
17 int path_separator = static_cast<int>(strlen(exec_path)) - 1; in RelativePath() local18 while (path_separator >= 0 && in RelativePath()19 !OS::isDirectorySeparator(exec_path[path_separator])) { in RelativePath()20 path_separator--; in RelativePath()22 if (path_separator >= 0) { in RelativePath()25 reinterpret_cast<char*>(calloc(path_separator + name_length + 2, 1)); in RelativePath()27 strncat(*buffer, exec_path, path_separator + 1); in RelativePath()
194 path_separator = FindFirstOf(gn_target_name, (':', '('))198 if not path_separator:201 location = gn_target_name[2:path_separator]202 toolchain_separator = gn_target_name.find('(', path_separator)204 name = gn_target_name[path_separator + 1:]206 if toolchain_separator > path_separator:207 name = gn_target_name[path_separator + 1:toolchain_separator]