Lines Matching full:os
26 import os
32 The first item in the list will be either ``os.curdir``, ``os.pardir``, empty,
40 while loc != os.curdir and loc != os.pardir:
42 loc, child = os.path.split(prev)
57 If they are identical return ``os.curdir``
61 origin = os.path.abspath(origin).replace('\\', '/')
62 dest = os.path.abspath(dest).replace('\\', '/')
64 orig_list = splitall(os.path.normcase(origin))
68 if orig_list[0] != os.path.normcase(dest_list[0]):
75 if start_seg != os.path.normcase(dest_seg):
80 # Need a certain number of "os.pardir"s to work up
82 segments = [os.pardir] * (len(orig_list) - i)
86 # If they happen to be identical, use os.curdir.
87 return os.curdir
89 # return os.path.join(*segments).replace('\\', '/')
90 return os.path.join(*segments)
132 path = os.path.abspath(path)
133 prefix = os.path.abspath(prefix)
201 FILES[i] = os.path.abspath(str(FILES[i]))
202 DIRS.append(os.path.dirname(FILES[i]))
215 CPPPATH[i] = os.path.abspath(CPPPATH[i])
222 CPPPATH += [os.path.abspath(path).replace('\\', '/')]
225 CPPPATH += [os.path.abspath(path).replace('\\', '/')]