Lines Matching refs:sep
14 sep = '\\' variable
78 sep = b'\\'
82 sep = '\\'
87 path[:0] + sep #23780: Ensure compatible data type even if p is null.
107 result_path = result_path + sep
112 return result_drive + sep + result_path
144 sep = b'\\'
148 sep = '\\'
151 normp = p.replace(altsep, sep)
152 if (normp[0:2] == sep*2) and (normp[2:3] != sep):
157 index = normp.find(sep, 2)
160 index2 = normp.find(sep, index + 1)
454 sep = b'\\'
460 sep = '\\'
471 path = path.replace(altsep, sep)
475 if path.startswith(sep):
476 prefix += sep
477 path = path.lstrip(sep)
479 comps = path.split(sep)
488 elif i == 0 and prefix.endswith(sep):
497 return prefix + sep.join(comps)
540 sep = b'\\'
544 sep = '\\'
564 start_list = [x for x in start_rest.split(sep) if x]
565 path_list = [x for x in path_rest.split(sep) if x]
600 sep = b'\\'
604 sep = '\\'
609 drivesplits = [splitdrive(p.replace(altsep, sep).lower()) for p in paths]
610 split_paths = [p.split(sep) for d, p in drivesplits]
613 isabs, = set(p[:1] == sep for d, p in drivesplits)
623 drive, path = splitdrive(paths[0].replace(altsep, sep))
624 common = path.split(sep)
637 prefix = drive + sep if isabs else drive
638 return prefix + sep.join(common)