Searched refs:os (Results 276 - 300 of 1037) sorted by relevance

<<11121314151617181920>>

/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-core-2.5.1/Lib/objc/
H A D_compat.py38 import os
40 path = os.path.dirname(os.path.dirname(os.environ['RESOURCEPATH']))
/macosx-10.10.1/xar-254/xar/test/
H A Dcompression.py6 import os
7 import os.path
22 util.assert_identical_directories("/bin", os.path.join(directory, "bin"))
69 import sys, os
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_nsjavasetup.py2 import os
58 fd = os.dup(2)
59 x = os.open('/dev/null', os.O_WRONLY)
60 os.dup2(x, 2)
61 os.close(x)
68 os.dup2(fd, 2)
H A Dtest_threading.py64 import os
76 dupped = os.dup(2)
77 fp = os.open('/dev/null', os.O_RDWR)
78 os.dup2(fp, 2)
79 os.close(fp)
93 os.dup2(dupped, 2)
H A Dtest_cfpreferences.py2 import os
37 prefsFn = os.path.expanduser('~/Library/Preferences/PyObjCTest.plist')
38 if os.path.exists(prefsFn):
39 os.unlink(prefsFn)
53 self.failUnless(os.path.exists(prefsFn))
54 os.unlink(prefsFn)
75 if os.path.exists(prefsFn):
76 os.unlink(prefsFn)
79 self.failUnless(os.path.exists(prefsFn))
80 os
[all...]
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_threading.py71 import os
83 dupped = os.dup(2)
84 fp = os.open('/dev/null', os.O_RDWR)
85 os.dup2(fp, 2)
86 os.close(fp)
100 os.dup2(dupped, 2)
H A Dtest_cfpreferences.py2 import os
29 prefsFn = os.path.expanduser('~/Library/Preferences/PyObjCTest.plist')
30 if os.path.exists(prefsFn):
31 os.unlink(prefsFn)
43 self.assertTrue(os.path.exists(prefsFn))
44 os.unlink(prefsFn)
62 if os.path.exists(prefsFn):
63 os.unlink(prefsFn)
66 self.assertTrue(os.path.exists(prefsFn))
67 os
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/PyObjCTest/
H A Dtest_threading.py71 import os
83 dupped = os.dup(2)
84 fp = os.open('/dev/null', os.O_RDWR)
85 os.dup2(fp, 2)
86 os.close(fp)
100 os.dup2(dupped, 2)
/macosx-10.10.1/swig-12/Source/Modules/
H A Dbrowser.cxx36 String *os = NewString("");
51 Printf(os, "<a href=\"data.html?n=0x%x\">?</a> %-12s - %s\n", Getattr(obj, k), k, o);
63 Printf(os, "<a href=\"data.html?n=0x%x\">?</a> %-12s - \"%(escape)-0.70s%s\"\n", Getattr(obj, k), k, o, trunc);
66 Printf(os, "<a href=\"data.html?n=0x%x\">?</a> %-12s - 0x%x\n", Getattr(obj, k), k, Getattr(obj, k));
71 Printf(out, "<FONT color=\"#660000\"><pre>\n%s</pre></FONT>\n", Char(os));
72 Delete(os);
241 String *os = NewString(""); local
242 Printf(os, "Hash {\n");
254 Printf(os, " <a href=\"data.html?n=0x%x\">?</a> %-12s - \"%(escape)-0.70s%s\"\n", Getattr(obj, k), k, o, trunc);
257 Printf(os, " <
271 String *os = NewString(""); local
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-Accounts-2.5.1/
H A Dpyobjc_setup.py62 bn = os.path.basename(dirname)
93 sys.path.insert(1, os.path.dirname(__file__))
153 import os
194 result[os.path.join(self.install_dir, 'PyObjCTest')] = 1
195 for fn in os.listdir('PyObjCTest'):
196 result[os.path.join('PyObjCTest', fn)] = 1
197 result[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1
202 if os.path.isfile(executable):
206 for p in os.environ['PATH'].split(os
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-AddressBook-2.5.1/
H A Dpyobjc_setup.py62 bn = os.path.basename(dirname)
93 sys.path.insert(1, os.path.dirname(__file__))
153 import os
194 result[os.path.join(self.install_dir, 'PyObjCTest')] = 1
195 for fn in os.listdir('PyObjCTest'):
196 result[os.path.join('PyObjCTest', fn)] = 1
197 result[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1
202 if os.path.isfile(executable):
206 for p in os.environ['PATH'].split(os
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-AppleScriptKit-2.5.1/
H A Dpyobjc_setup.py62 bn = os.path.basename(dirname)
93 sys.path.insert(1, os.path.dirname(__file__))
153 import os
194 result[os.path.join(self.install_dir, 'PyObjCTest')] = 1
195 for fn in os.listdir('PyObjCTest'):
196 result[os.path.join('PyObjCTest', fn)] = 1
197 result[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1
202 if os.path.isfile(executable):
206 for p in os.environ['PATH'].split(os
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-AppleScriptObjC-2.5.1/
H A Dpyobjc_setup.py62 bn = os.path.basename(dirname)
93 sys.path.insert(1, os.path.dirname(__file__))
153 import os
194 result[os.path.join(self.install_dir, 'PyObjCTest')] = 1
195 for fn in os.listdir('PyObjCTest'):
196 result[os.path.join('PyObjCTest', fn)] = 1
197 result[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1
202 if os.path.isfile(executable):
206 for p in os.environ['PATH'].split(os
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-Automator-2.5.1/
H A Dpyobjc_setup.py62 bn = os.path.basename(dirname)
93 sys.path.insert(1, os.path.dirname(__file__))
153 import os
194 result[os.path.join(self.install_dir, 'PyObjCTest')] = 1
195 for fn in os.listdir('PyObjCTest'):
196 result[os.path.join('PyObjCTest', fn)] = 1
197 result[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1
202 if os.path.isfile(executable):
206 for p in os.environ['PATH'].split(os
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-CFNetwork-2.5.1/
H A Dpyobjc_setup.py62 bn = os.path.basename(dirname)
93 sys.path.insert(1, os.path.dirname(__file__))
153 import os
194 result[os.path.join(self.install_dir, 'PyObjCTest')] = 1
195 for fn in os.listdir('PyObjCTest'):
196 result[os.path.join('PyObjCTest', fn)] = 1
197 result[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1
202 if os.path.isfile(executable):
206 for p in os.environ['PATH'].split(os
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/
H A Dpyobjc_setup.py62 bn = os.path.basename(dirname)
93 sys.path.insert(1, os.path.dirname(__file__))
153 import os
194 result[os.path.join(self.install_dir, 'PyObjCTest')] = 1
195 for fn in os.listdir('PyObjCTest'):
196 result[os.path.join('PyObjCTest', fn)] = 1
197 result[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1
202 if os.path.isfile(executable):
206 for p in os.environ['PATH'].split(os
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-Collaboration-2.5.1/
H A Dpyobjc_setup.py62 bn = os.path.basename(dirname)
93 sys.path.insert(1, os.path.dirname(__file__))
153 import os
194 result[os.path.join(self.install_dir, 'PyObjCTest')] = 1
195 for fn in os.listdir('PyObjCTest'):
196 result[os.path.join('PyObjCTest', fn)] = 1
197 result[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1
202 if os.path.isfile(executable):
206 for p in os.environ['PATH'].split(os
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-CoreData-2.5.1/
H A Dpyobjc_setup.py62 bn = os.path.basename(dirname)
93 sys.path.insert(1, os.path.dirname(__file__))
153 import os
194 result[os.path.join(self.install_dir, 'PyObjCTest')] = 1
195 for fn in os.listdir('PyObjCTest'):
196 result[os.path.join('PyObjCTest', fn)] = 1
197 result[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1
202 if os.path.isfile(executable):
206 for p in os.environ['PATH'].split(os
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-CoreLocation-2.5.1/
H A Dpyobjc_setup.py62 bn = os.path.basename(dirname)
93 sys.path.insert(1, os.path.dirname(__file__))
153 import os
194 result[os.path.join(self.install_dir, 'PyObjCTest')] = 1
195 for fn in os.listdir('PyObjCTest'):
196 result[os.path.join('PyObjCTest', fn)] = 1
197 result[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1
202 if os.path.isfile(executable):
206 for p in os.environ['PATH'].split(os
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-CoreText-2.5.1/
H A Dpyobjc_setup.py62 bn = os.path.basename(dirname)
93 sys.path.insert(1, os.path.dirname(__file__))
153 import os
194 result[os.path.join(self.install_dir, 'PyObjCTest')] = 1
195 for fn in os.listdir('PyObjCTest'):
196 result[os.path.join('PyObjCTest', fn)] = 1
197 result[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1
202 if os.path.isfile(executable):
206 for p in os.environ['PATH'].split(os
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-DictionaryServices-2.5.1/
H A Dpyobjc_setup.py62 bn = os.path.basename(dirname)
93 sys.path.insert(1, os.path.dirname(__file__))
153 import os
194 result[os.path.join(self.install_dir, 'PyObjCTest')] = 1
195 for fn in os.listdir('PyObjCTest'):
196 result[os.path.join('PyObjCTest', fn)] = 1
197 result[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1
202 if os.path.isfile(executable):
206 for p in os.environ['PATH'].split(os
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-EventKit-2.5.1/
H A Dpyobjc_setup.py62 bn = os.path.basename(dirname)
93 sys.path.insert(1, os.path.dirname(__file__))
153 import os
194 result[os.path.join(self.install_dir, 'PyObjCTest')] = 1
195 for fn in os.listdir('PyObjCTest'):
196 result[os.path.join('PyObjCTest', fn)] = 1
197 result[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1
202 if os.path.isfile(executable):
206 for p in os.environ['PATH'].split(os
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-ExceptionHandling-2.5.1/
H A Dpyobjc_setup.py62 bn = os.path.basename(dirname)
93 sys.path.insert(1, os.path.dirname(__file__))
153 import os
194 result[os.path.join(self.install_dir, 'PyObjCTest')] = 1
195 for fn in os.listdir('PyObjCTest'):
196 result[os.path.join('PyObjCTest', fn)] = 1
197 result[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1
202 if os.path.isfile(executable):
206 for p in os.environ['PATH'].split(os
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-FSEvents-2.5.1/
H A Dpyobjc_setup.py62 bn = os.path.basename(dirname)
93 sys.path.insert(1, os.path.dirname(__file__))
153 import os
194 result[os.path.join(self.install_dir, 'PyObjCTest')] = 1
195 for fn in os.listdir('PyObjCTest'):
196 result[os.path.join('PyObjCTest', fn)] = 1
197 result[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1
202 if os.path.isfile(executable):
206 for p in os.environ['PATH'].split(os
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-InputMethodKit-2.5.1/
H A Dpyobjc_setup.py62 bn = os.path.basename(dirname)
93 sys.path.insert(1, os.path.dirname(__file__))
153 import os
194 result[os.path.join(self.install_dir, 'PyObjCTest')] = 1
195 for fn in os.listdir('PyObjCTest'):
196 result[os.path.join('PyObjCTest', fn)] = 1
197 result[os.path.join(self.install_dir, 'PyObjCTest', fn)] = 1
202 if os.path.isfile(executable):
206 for p in os.environ['PATH'].split(os
[all...]

Completed in 169 milliseconds

<<11121314151617181920>>