/external/zlib/src/contrib/iostream/ |
H A D | test.cpp | 8 gzofstream os( 1, ios::out ); 12 os << "Hello, Mommy" << endl; 14 os << setcompressionlevel( Z_NO_COMPRESSION ); 15 os << "hello, hello, hi, ho!" << endl; 17 setcompressionlevel( os, Z_DEFAULT_COMPRESSION ) 20 os.close();
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/ |
H A D | runant.py | 24 the python os library) 34 import os, os.path, string, sys namespace 42 if os.environ.has_key('ANT_HOME'): 43 ANT_HOME = os.environ['ANT_HOME'] 45 ANT_HOME = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))) 48 ANT_LIB = os.path.join(ANT_HOME, 'lib') 52 if not os [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
H A D | set_sys_path.py | 37 import os namespace 42 sys.path.insert(0, os.path.join(os.path.split(__file__)[0], '..'))
|
/external/webkit/Tools/wx/packaging/ |
H A D | build-debian-installer.py | 3 import os namespace 7 sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "build"))) 11 script_dir = os.path.abspath(os.path.dirname(__file__)) 12 wxwebkit_dir = os.path.abspath(os.path.join(script_dir, "..", "..", "..", "WebKitBuild", "Debug" + build_utils.git_branch_name())) 13 wxwk_root = os.path.abspath(os [all...] |
H A D | build-mac-installer.py | 33 import os namespace 39 script_dir = os.path.abspath(os.path.dirname(__file__)) 40 sys.path.append(os.path.abspath(os.path.join(script_dir, "..", "build"))) 46 wxwk_root = os.path.abspath(os.path.join(script_dir, "..", "..", "..")) 47 wxwebkit_dir = os.path.abspath(os.path.join(wxwk_root, "WebKitBuild", get_config(wxwk_root) + git_branch_name())) 60 if os [all...] |
/external/llvm/utils/llvm-lit/ |
H A D | llvm-lit.in | 3 import os namespace 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')
|
/external/webkit/Tools/BuildSlaveSupport/chromium/ |
H A D | remove-crash-logs | 30 import os namespace 35 os.system('rm -rf /tmp/.org.chromium.*') 38 os.system('rm -rf %s' % os.path.join(Foundation.NSTemporaryDirectory(), 41 os.system('for /d %d in (%TEMP%\scoped_dir*) do rd /s /q "%d"')
|
/external/sonivox/jet_tools/JetCreator/ |
H A D | JetSystemInfo.py | 6 Displays the system info regarding os version, wxPython version, and Python version
24 import os
namespace 38 for dir in string.split(os.environ['PYTHONPATH'], os.pathsep):
|
/external/v8/test/mjsunit/ |
H A D | d8-os.js | 29 // only does non-trivial work on Unix since os.system() is not currently 33 var TEST_DIR = "/tmp/d8-os-test-directory-" + ((Math.random() * (1<<30)) | 0); 56 if (this.os && os.system) { 58 os.chdir("/tmp"); 61 os.system("ls", [TEST_DIR]); 62 os.system("rm", ["-r", TEST_DIR]); 65 os.mkdirp(TEST_DIR); 68 os.system('ls', [TEST_DIR]); 70 os [all...] |
/external/webkit/Tools/Scripts/ |
H A D | rebaseline-chromium-webkit-tests | 31 import os namespace 34 scripts_directory = os.path.dirname(os.path.abspath(sys.argv[0])) 35 webkitpy_directory = os.path.join(scripts_directory, "webkitpy") 36 sys.path.append(os.path.join(webkitpy_directory, "layout_tests")) 39 sys.path.append(os.path.join(webkitpy_directory, "thirdparty"))
|
/external/chromium/build/ |
H A D | dir_exists.py | 6 import os.path namespace 9 sys.stdout.write(str(os.path.isdir(sys.argv[1])))
|
/external/stlport/test/unit/ |
H A D | ostmit_test.cpp | 38 ostringstream os; local 40 ostream_iterator<char> iter(os); 42 CPPUNIT_ASSERT(os.good()); 43 os << ' '; 44 CPPUNIT_ASSERT(os.good()); 46 ostream_iterator<int> iter2(os); 48 CPPUNIT_ASSERT(os.good()); 49 CPPUNIT_ASSERT(os.str() == "hello 1524");
|
/external/webkit/Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/ |
H A D | react-to-vsprops-changes.py | 4 import os namespace 12 top_level_directory = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))) 14 vsprops_directory = os.path.join(top_level_directory, 'WebKitLibraries', 'win', 'tools', 'vsprops') 15 vsprops_files = glob.glob(os.path.join(vsprops_directory, '*.vsprops')) 17 newest_vsprops_time = max(map(os [all...] |
/external/openssl/crypto/hmac/ |
H A D | hm_ameth.c | 77 ASN1_OCTET_STRING *os = (ASN1_OCTET_STRING *)pkey->pkey.ptr; local 78 if (os) 80 if (os->data) 81 OPENSSL_cleanse(os->data, os->length); 82 ASN1_OCTET_STRING_free(os); 109 ASN1_OCTET_STRING *os; local 110 os = ASN1_OCTET_STRING_new(); 111 if (!os || !ASN1_OCTET_STRING_set(os, *pde 120 ASN1_OCTET_STRING *os = (ASN1_OCTET_STRING *)pkey->pkey.ptr; local [all...] |
/external/clang/bindings/python/tests/cindex/ |
H A D | test_index.py | 2 import os namespace 4 kInputsDir = os.path.join(os.path.dirname(__file__), 'INPUTS') 14 tu = index.parse(os.path.join(kInputsDir, 'hello.cpp'))
|
/external/stressapptest/src/ |
H A D | os_factory.cc | 26 #include "os.h" 31 OsLayer *os = 0; local 32 os = new OsLayer(); 35 if (!os) { 39 return os;
|
/external/chromium/testing/gtest/src/ |
H A D | gtest-printers.cc | 68 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 304 PrintTo(const char* s, ostream* os) argument 321 PrintTo(const wchar_t* s, ostream* os) argument 333 PrintStringTo(const ::string& s, ostream* os) argument 338 PrintStringTo(const ::std::string& s, ostream* os) argument 344 PrintWideStringTo(const ::wstring& s, ostream* os) argument 350 PrintWideStringTo(const ::std::wstring& s, ostream* os) argument [all...] |
/external/gtest/src/ |
H A D | gtest-printers.cc | 68 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...] |
/external/llvm/utils/unittest/googletest/ |
H A D | gtest-printers.cc | 68 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...] |
/external/clang/utils/ |
H A D | CaptureCmd | 20 import os namespace 27 path = os.path.join(dir, 29 if not os.path.exists(path): 36 program = os.getenv('CAPTURE_CMD_PROGRAM') 37 dir = os.getenv('CAPTURE_CMD_DIR') 38 fallback = os.getenv('CAPTURE_CMD_FALLBACK') 45 if not os.path.exists(dir): 46 os.mkdir(dir, 0700) 49 env = os.environ.items() 52 cwdKey = saveCaptureData('cwd-', dir, os [all...] |
/external/valgrind/main/include/ |
H A D | pub_tool_oset.h | 104 extern void VG_(OSetWord_Destroy) ( OSet* os ); 146 extern Word VG_(OSetWord_Size) ( OSet* os ); 147 extern void VG_(OSetWord_Insert) ( OSet* os, UWord val ); 148 extern Bool VG_(OSetWord_Contains) ( OSet* os, UWord val ); 149 extern Bool VG_(OSetWord_Remove) ( OSet* os, UWord val ); 150 extern void VG_(OSetWord_ResetIter) ( OSet* os ); 151 extern Bool VG_(OSetWord_Next) ( OSet* os, /*OUT*/UWord* val ); 191 extern void VG_(OSetGen_Destroy) ( OSet* os ); 192 extern void* VG_(OSetGen_AllocNode) ( OSet* os, SizeT elemSize ); 193 extern void VG_(OSetGen_FreeNode) ( OSet* os, voi [all...] |
/external/e2fsprogs/lib/e2p/ |
H A D | ostype.c | 29 const char *os; local 33 os = os_tab[os_type]; 35 os = "(unknown os)"; 37 ret = malloc(strlen(os)+1); 39 strcpy(ret, os); 62 int i, os; local 66 os = e2p_string2os(s); 67 printf("%d: %s (%d)\n", i, s, os); 68 if (i != os) { [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
H A D | DataOutputStreamTest.java | 28 private DataOutputStream os; field in class:DataOutputStreamTest 49 os.writeInt(9087589); 50 os.flush(); 61 os.write(fileString.getBytes(), 0, 150); 62 os.close(); 67 assertEquals("Incorrect size returned", 150, os.size()); 74 os.write(fileString.getBytes(), 0, 150); 75 os.close(); 88 os.write((int) 't'); 89 os [all...] |
/external/openfst/ |
H A D | config.sub | 127 os=-$maybe_os 133 then os=`echo $1 | sed 's/.*-/-/'` 134 else os=; fi 142 case $os in 143 -sun*os*) 153 os= 157 os=-cnk 160 os= 166 os=-vxworks 170 os [all...] |
/external/qemu/distrib/sdl-1.2.15/build-scripts/ |
H A D | config.sub | 130 os=-$maybe_os 136 then os=`echo $1 | sed 's/.*-/-/'` 137 else os=; fi 145 case $os in 146 -sun*os*) 156 os= 160 os=-cnk 163 os= 169 os=-vxworks 173 os [all...] |