Lines Matching full:os
23 import os.path
30 dirname, filename = os.path.split(binary)
35 for path in os.environ["PATH"].split(os.pathsep):
36 if os.path.exists(os.path.join(path, binary)):
37 return os.path.join(path, binary)
44 dirname, filename = os.path.split(binary)
48 thisfile = os.path.realpath(binary)
49 if not os.path.exists(thisfile):
53 basedir = os.path.split(thisfile)[0]
54 tapset = os.path.join(basedir, "..", "share", "systemtap", "tapset")
55 return os.path.realpath(tapset)