Searched refs:os (Results 1 - 25 of 1045) sorted by last modified time

1234567891011>>

/macosx-10.10/libmalloc-53.1.1/src/
H A Dnano_malloc.c49 #include <os/tsd.h>
/macosx-10.10/llvmCore-3425.0.34/utils/yaml-bench/
H A DYAMLBench.cpp60 static raw_ostream &operator <<(raw_ostream &os, const indent &in) { argument
62 os << " ";
63 return os;
/macosx-10.10/llvmCore-3425.0.34/utils/lit/lit/
H A DLitConfig.py72 import os, Util
77 self.bashPath = Util.which('bash', os.pathsep.join(self.path))
81 if os.path.exists(path):
92 import os, Util
93 if dir is not None and os.path.isabs(dir) and os.path.isdir(dir):
108 import inspect, os, sys
115 location = '%s:%d' % (os.path.basename(file), line)
H A DTest.py1 import os
39 return os.path.join(self.source_root, *components)
42 return os.path.join(self.exec_root, *components)
H A DTestFormats.py1 import os
12 self.test_sub_dir = os.path.normcase(str(test_sub_dir)).split(';')
60 for filename in os.listdir(source_path):
63 if not os.path.normcase(filename) in self.test_sub_dir:
66 filepath = os.path.join(source_path, filename)
67 if not os.path.isdir(filepath):
70 for subfilename in os.listdir(filepath):
72 execpath = os.path.join(filepath, subfilename)
81 testPath,testName = os.path.split(test.getSourcePath())
82 while not os
[all...]
H A DTestRunner.py1 import os, signal, subprocess, sys
234 os.remove(f)
407 sourcedir = os.path.dirname(sourcepath)
409 execdir,execbase = os.path.split(execpath)
410 tmpDir = os.path.join(execdir, 'Output')
411 tmpBase = os.path.join(tmpDir, execbase)
429 ('%{pathsep}', os.pathsep),
541 Util.mkdir_p(os.path.dirname(tmpBase))
587 Util.mkdir_p(os.path.dirname(tmpBase))
H A DTestingConfig.py1 import os
14 'LIBRARY_PATH' : os.environ.get('LIBRARY_PATH',''),
15 'LD_LIBRARY_PATH' : os.environ.get('LD_LIBRARY_PATH',''),
16 'PATH' : os.pathsep.join(litConfig.path +
17 [os.environ.get('PATH','')]),
18 'SYSTEMROOT' : os.environ.get('SYSTEMROOT',''),
24 'INCLUDE' : os.environ.get('INCLUDE',''),
25 'PATHEXT' : os.environ.get('PATHEXT',''),
27 'TEMP' : os.environ.get('TEMP',''),
28 'TMP' : os
[all...]
H A DUtil.py1 import os, sys
8 if hasattr(os, "sysconf"):
9 if os.sysconf_names.has_key("SC_NPROCESSORS_ONLN"):
11 ncpus = os.sysconf("SC_NPROCESSORS_ONLN")
17 if os.environ.has_key("NUMBER_OF_PROCESSORS"):
18 ncpus = int(os.environ["NUMBER_OF_PROCESSORS"])
28 if not path or os.path.exists(path):
31 parent = os.path.dirname(path)
36 os.mkdir(path)
56 paths = os
[all...]
H A Dmain.py9 import math, os, platform, random, re, sys, time, threading, traceback
127 os.kill(0,9)
141 cfgpath = os.path.join(path, gSiteConfigName)
142 if os.path.exists(cfgpath):
144 cfgpath = os.path.join(path, gConfigName)
145 if os.path.exists(cfgpath):
163 parent,base = os.path.split(path)
175 source_root = os.path.realpath(cfg.test_source_root or path)
176 exec_root = os.path.realpath(cfg.test_exec_root or path)
187 item = os
[all...]
/macosx-10.10/llvmCore-3425.0.34/utils/llvm-build/llvmbuild/
H A Dconfigutil.py6 import os
39 output_parent_path = os.path.dirname(os.path.abspath(output_path))
40 if not os.path.exists(output_parent_path):
41 os.makedirs(output_parent_path)
44 if os.path.exists(output_path):
H A Dmain.py2 import os
58 # os.makedirs considers it an error to be called with an existent path.
59 if not os.path.exists(path):
60 os.makedirs(path)
69 llvmbuild_path = os.path.join(llvmbuild_source_root + subpath,
71 if not os.path.exists(llvmbuild_path):
82 for item in recurse(os.path.join(subpath, subdir)):
219 parent_path = os.path.dirname(ci.subpath)
222 parent_list.add(os.path.basename(ci.subpath))
254 directory_path = os
[all...]
H A Dutil.py1 import os
5 program = os.path.basename(sys.argv[0])
/macosx-10.10/llvmCore-3425.0.34/utils/
H A Dllvm-compilers-check73 import os
85 string listing directories separated by 'os.pathsep'; defaults to
86 os.environ['PATH']). Returns the complete filename or None if not
90 path = os.environ['PATH']
91 paths = path.split(os.pathsep)
93 if os.name == 'os2':
94 (base, ext) = os.path.splitext(executable)
100 pathext = os.environ['PATHEXT'].lower().split(os.pathsep)
101 (base, ext) = os
[all...]
/macosx-10.10/llvmCore-3425.0.34/utils/llvm-lit/
H A Dllvm-lit.in3 import os
11 sys.path.insert(0, os.path.join(llvm_source_root, 'utils', 'lit'))
18 'llvm_site_config' : os.path.join(llvm_obj_root, 'test', 'lit.site.cfg')
21 clang_obj_root = os.path.join(llvm_obj_root, 'tools', 'clang')
23 if os.path.exists(clang_obj_root):
25 os.path.join(clang_obj_root, 'test', 'lit.site.cfg')
26 clang_tools_extra_obj_root = os.path.join(clang_obj_root, 'tools', 'extra')
27 if os.path.exists(clang_tools_extra_obj_root):
29 os.path.join(clang_tools_extra_obj_root, 'test', 'lit.site.cfg')
/macosx-10.10/llvmCore-3425.0.34/utils/release/
H A DfindRegressions-nightly.py2 import re, string, sys, os, time
H A DfindRegressions-simple.py2 import re, string, sys, os, time, math
/macosx-10.10/llvmCore-3425.0.34/utils/unittest/googletest/
H A Dgtest-printers.cc68 size_t count, ostream* os) {
76 *os << ' ';
78 *os << '-';
81 *os << text;
87 ostream* os) {
89 *os << count << "-byte object <";
98 PrintByteSegmentInObjectTo(obj_bytes, 0, count, os);
100 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os);
101 *os << " ... ";
104 PrintByteSegmentInObjectTo(obj_bytes, resume_pos, count - resume_pos, os);
67 PrintByteSegmentInObjectTo(const unsigned char* obj_bytes, size_t start, size_t count, ostream* os) argument
86 PrintBytesInObjectToImpl(const unsigned char* obj_bytes, size_t count, ostream* os) argument
118 PrintBytesInObjectTo(const unsigned char* obj_bytes, size_t count, ostream* os) argument
150 PrintAsCharLiteralTo(Char c, ostream* os) argument
196 PrintAsWideStringLiteralTo(wchar_t c, ostream* os) argument
211 PrintAsNarrowStringLiteralTo(char c, ostream* os) argument
220 PrintCharAndCodeTo(Char c, ostream* os) argument
245 PrintTo(unsigned char c, ::std::ostream* os) argument
248 PrintTo(signed char c, ::std::ostream* os) argument
254 PrintTo(wchar_t wc, ostream* os) argument
261 PrintCharsAsStringTo(const char* begin, size_t len, ostream* os) argument
278 UniversalPrintArray(const char* begin, size_t len, ostream* os) argument
285 PrintWideCharsAsStringTo(const wchar_t* begin, size_t len, ostream* os) argument
303 PrintTo(const char* s, ostream* os) argument
320 PrintTo(const wchar_t* s, ostream* os) argument
332 PrintStringTo(const ::string& s, ostream* os) argument
337 PrintStringTo(const ::std::string& s, ostream* os) argument
343 PrintWideStringTo(const ::wstring& s, ostream* os) argument
349 PrintWideStringTo(const ::std::wstring& s, ostream* os) argument
[all...]
H A Dgtest-test-part.cc58 std::ostream& operator<<(std::ostream& os, const TestPartResult& result) { argument
59 return os
/macosx-10.10/llvmCore-3425.0.34/utils/unittest/googletest/include/gtest/
H A Dgtest-message.h224 inline std::ostream& operator <<(std::ostream& os, const Message& sb) { argument
225 return os << sb.GetString();
H A Dgtest-printers.h116 ::std::ostream* os);
127 // TypeWithoutFormatter<T, kTypeKind>::PrintValue(value, os) is called
135 static void PrintValue(const T& value, ::std::ostream* os) { argument
137 sizeof(value), os); local
149 static void PrintValue(const T& value, ::std::ostream* os) { argument
154 *os << ("<" + pretty_str + ">");
168 static void PrintValue(const T& value, ::std::ostream* os) { argument
170 *os << kBigInt;
200 ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
204 kConvertibleToInteger : kOtherType)>::PrintValue(x, &os);
199 operator <<( ::std::basic_ostream<Char, CharTraits>& os, const T& x) argument
218 DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) argument
269 DefaultPrintTo(IsContainer , false_type , const C& container, ::std::ostream* os) argument
303 DefaultPrintTo(IsNotContainer , true_type , T* p, ::std::ostream* os) argument
335 DefaultPrintTo(IsNotContainer , false_type , const T& value, ::std::ostream* os) argument
353 PrintTo(const T& value, ::std::ostream* os) argument
386 PrintTo(char c, ::std::ostream* os) argument
390 PrintTo(static_cast<unsigned char>(c), os); local
394 PrintTo(bool x, ::std::ostream* os) argument
409 PrintTo(char* s, ::std::ostream* os) argument
410 PrintTo(ImplicitCast_<const char*>(s), os); local
415 PrintTo(const signed char* s, ::std::ostream* os) argument
416 PrintTo(ImplicitCast_<const void*>(s), os); local
418 PrintTo(signed char* s, ::std::ostream* os) argument
419 PrintTo(ImplicitCast_<const void*>(s), os); local
421 PrintTo(const unsigned char* s, ::std::ostream* os) argument
422 PrintTo(ImplicitCast_<const void*>(s), os); local
424 PrintTo(unsigned char* s, ::std::ostream* os) argument
425 PrintTo(ImplicitCast_<const void*>(s), os); local
436 PrintTo(wchar_t* s, ::std::ostream* os) argument
437 PrintTo(ImplicitCast_<const wchar_t*>(s), os); local
447 PrintRawArrayTo(const T a[], size_t count, ::std::ostream* os) argument
458 PrintTo(const ::string& s, ::std::ostream* os) argument
464 PrintTo(const ::std::string& s, ::std::ostream* os) argument
471 PrintTo(const ::wstring& s, ::std::ostream* os) argument
478 PrintTo(const ::std::wstring& s, ::std::ostream* os) argument
497 PrintTo(const ::std::tr1::tuple<& t, ::std::ostream* os) argument
502 PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os) argument
507 PrintTo(const ::std::tr1::tuple<T1, T2>& t, ::std::ostream* os) argument
512 PrintTo(const ::std::tr1::tuple<T1, T2, T3>& t, ::std::ostream* os) argument
517 PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4>& t, ::std::ostream* os) argument
522 PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5>& t, ::std::ostream* os) argument
529 PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6>& t, ::std::ostream* os) argument
536 PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7>& t, ::std::ostream* os) argument
543 PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8>& t, ::std::ostream* os) argument
550 PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9>& t, ::std::ostream* os) argument
557 PrintTo( const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>& t, ::std::ostream* os) argument
566 PrintTo(const ::std::pair<T1, T2>& value, ::std::ostream* os) argument
591 Print(const T& value, ::std::ostream* os) argument
611 UniversalPrintArray(const T* begin, size_t len, ::std::ostream* os) argument
659 Print(const T& value, ::std::ostream* os) argument
677 UniversalTersePrint(const T& value, ::std::ostream* os) argument
680 UniversalTersePrint(const char* str, ::std::ostream* os) argument
684 UniversalPrint(string(str), os); local
687 UniversalTersePrint(char* str, ::std::ostream* os) argument
688 UniversalTersePrint(static_cast<const char*>(str), os); local
696 UniversalPrint(const T& value, ::std::ostream* os) argument
715 PrintPrefixTo(const Tuple& t, ::std::ostream* os) argument
719 ::Print(::std::tr1::get<N - 1>(t), os); local
750 PrintPrefixTo(const Tuple& t, ::std::ostream* os) argument
752 Print(::std::tr1::get<0>(t), os); local
766 PrintTupleTo(const T& t, ::std::ostream* os) argument
[all...]
H A Dgtest-test-part.h117 std::ostream& operator<<(std::ostream& os, const TestPartResult& result);
/macosx-10.10/llvmCore-3425.0.34/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h108 convertible_fwd_ostream(std::ostream& os) argument
109 : std::ostream(os.rdbuf()), ros_(*this) {}
114 inline void GTestStreamToHelper(std::ostream* os, const T& val) { argument
115 llvm::convertible_fwd_ostream cos(*os);
H A Dgtest-string.h316 inline ::std::ostream& operator<<(::std::ostream& os, const String& str) { argument
318 os << "(null)";
323 os << "\\0";
325 os << c_str[i];
329 return os;
/macosx-10.10/llvmCore-3425.0.34/utils/FileUpdate/
H A DFileUpdate.cpp81 OutStream.os().write(In->getBufferStart(), In->getBufferSize());
/macosx-10.10/llvmCore-3425.0.34/utils/Misc/
H A Dzkill3 import os
8 import inspect, os, sys
15 location = '%s:%d' % (os.path.basename(file), line)
48 if os.path.exists(cmd):
240 os.path.basename(p.executable))]
269 os.kill(p.pid, signal)

Completed in 209 milliseconds

1234567891011>>