/libcore/luni/src/test/java/libcore/sqlite/ |
OldExceptionTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 33 db.open(dbFile.getName(), 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.members/ |
open_pointer.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 12 // basic_filebuf<charT,traits>* open(const char* s, ios_base::openmode mode); 23 assert(f.open(temp.c_str(), std::ios_base::out) != 0); 29 assert(f.open(temp.c_str(), std::ios_base::in) != 0); 38 assert(f.open(temp.c_str(), std::ios_base::out) != 0); 44 assert(f.open(temp.c_str(), std::ios_base::in) != 0);
|
/packages/inputmethods/PinyinIME/jni/include/ |
utf16reader.h | 2 * Copyright (C) 2009 The Android Open Source Project 39 // filename is the name of the file to open. 42 bool open(const char* filename, size_t buffer_len);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
dbhash.py | 13 __all__ = ["error","open"] 17 def open(file, flag = 'r', mode=0666): function
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
dbhash.py | 13 __all__ = ["error","open"] 17 def open(file, flag = 'r', mode=0666): function
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_gdbm.py | 20 self.g = gdbm.open(filename, 'c') 35 # Try to open a non-existent database. 37 self.assertRaises(gdbm.error, gdbm.open, filename, 'r') 39 self.g = gdbm.open(filename, 'c') 42 # try pass an invalid open flag 43 self.assertRaises(gdbm.error, lambda: gdbm.open(filename, 'rx').close()) 46 # Test the flag parameter open() by trying all supported flag modes. 51 self.g = gdbm.open(filename, mode) 58 self.g = gdbm.open(filename, mode + flag) 62 self.g = gdbm.open(filename, 'c' [all...] |
test_univnewlines.py | 50 with self.open(support.TESTFN, self.WRITEMODE) as fp: 60 with self.open(support.TESTFN, self.READMODE) as fp: 66 with self.open(support.TESTFN, self.READMODE) as fp: 72 with self.open(support.TESTFN, self.READMODE) as fp: 82 with self.open(support.TESTFN, self.READMODE) as fp: 105 with self.open(support.TESTFN, self.READMODE) as fp: 125 open = io.open variable in class:test_main.CTest 128 open = staticmethod(pyio.open) variable in class:test_main.PyTest [all...] |
test_dumbdbm.py | 34 f = dumbdbm.open(_fname, 'c') 48 f = dumbdbm.open(_fname, 'c', 0637) 66 f = dumbdbm.open(_fname) 74 f = dumbdbm.open(_fname, 'w') 81 f = dumbdbm.open(_fname, 'r') 87 f = dumbdbm.open(_fname) 93 f = dumbdbm.open(_fname) 97 f = dumbdbm.open(_fname) 104 f = dumbdbm.open(_fname) 110 data = open(_fname + '.dir').read( [all...] |
test_aifc.py | 31 self.f = aifc.open(self.sndfilepath) 34 f = self.f = aifc.open(self.sndfilepath) 44 f = self.f = aifc.open(self.sndfilepath) 60 f = self.f = aifc.open(self.sndfilepath) 61 fout = self.fout = aifc.open(TESTFN, 'wb') 67 fout = self.fout = aifc.open(TESTFN, 'rb') 73 f = self.f = aifc.open(self.sndfilepath) 74 fout = self.fout = aifc.open(TESTFN, 'wb') 87 fout = self.fout = aifc.open(TESTFN, 'rb') 98 self.file = open(file, 'rb' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_gdbm.py | 20 self.g = gdbm.open(filename, 'c') 35 # Try to open a non-existent database. 37 self.assertRaises(gdbm.error, gdbm.open, filename, 'r') 39 self.g = gdbm.open(filename, 'c') 42 # try pass an invalid open flag 43 self.assertRaises(gdbm.error, lambda: gdbm.open(filename, 'rx').close()) 46 # Test the flag parameter open() by trying all supported flag modes. 51 self.g = gdbm.open(filename, mode) 58 self.g = gdbm.open(filename, mode + flag) 62 self.g = gdbm.open(filename, 'c' [all...] |
test_univnewlines.py | 50 with self.open(support.TESTFN, self.WRITEMODE) as fp: 60 with self.open(support.TESTFN, self.READMODE) as fp: 66 with self.open(support.TESTFN, self.READMODE) as fp: 72 with self.open(support.TESTFN, self.READMODE) as fp: 82 with self.open(support.TESTFN, self.READMODE) as fp: 105 with self.open(support.TESTFN, self.READMODE) as fp: 125 open = io.open variable in class:test_main.CTest 128 open = staticmethod(pyio.open) variable in class:test_main.PyTest [all...] |
test_dumbdbm.py | 34 f = dumbdbm.open(_fname, 'c') 48 f = dumbdbm.open(_fname, 'c', 0637) 66 f = dumbdbm.open(_fname) 74 f = dumbdbm.open(_fname, 'w') 81 f = dumbdbm.open(_fname, 'r') 87 f = dumbdbm.open(_fname) 93 f = dumbdbm.open(_fname) 97 f = dumbdbm.open(_fname) 104 f = dumbdbm.open(_fname) 110 data = open(_fname + '.dir').read( [all...] |
test_aifc.py | 31 self.f = aifc.open(self.sndfilepath) 34 f = self.f = aifc.open(self.sndfilepath) 44 f = self.f = aifc.open(self.sndfilepath) 60 f = self.f = aifc.open(self.sndfilepath) 61 fout = self.fout = aifc.open(TESTFN, 'wb') 67 fout = self.fout = aifc.open(TESTFN, 'rb') 73 f = self.f = aifc.open(self.sndfilepath) 74 fout = self.fout = aifc.open(TESTFN, 'wb') 87 fout = self.fout = aifc.open(TESTFN, 'rb') 98 self.file = open(file, 'rb' [all...] |
/external/chromium_org/content/test/data/indexeddb/ |
callback_accounting.js | 9 var request1 = indexedDB.open(dbbase + 1); 12 debug("request1 open onupgradeneeded"); 17 debug("request1 open onsuccess"); 33 var request2 = indexedDB.open(dbbase + 2); 36 debug("request2 open onsuccess");
|
/external/openssh/openbsd-compat/ |
bsd-openpty.c | 86 /* Open the slave side. */ 87 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) { 102 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) 118 /* Open the slave side. */ 119 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) { 142 if ((*amaster = open("/dev/ptc", O_RDWR | O_NOCTTY)) == -1) 146 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) { 166 if ((*amaster = open(ptbuf, O_RDWR|O_NOCTTY)) == -1) 168 /* Open the slave side. */ 169 if ((*aslave = open(ttbuf, O_RDWR|O_NOCTTY)) == -1) [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
check-for-exit-time-destructors | 29 # "check-for-exit-time-destructors" script for WebKit Open Source Project 60 if (!open LIST, $list) { 61 print "ERROR: Could not open $list\n"; 76 if (!open NM, "(nm '$file' | sed 's/^/STDOUT:/') 2>&1 |") { 77 print "ERROR: Could not open $file\n"; 111 open(TOUCH, ">", $path) or die "$!"; 118 if (!open FILT, "c++filt $symbol |") { 119 print "ERROR: Could not open c++filt\n"; 131 if (!open OTOOL, "otool -tV '$path' |") { 132 print "WARNING: Could not open $path\n" [all...] |
/external/dropbear/libtommath/ |
dep.pl | 9 #open class file and write preamble 10 open(CLASS, ">tommath_class.h") or die "Couldn't open tommath_class.h for writing\n"; 25 open(SRC, "<$filename"); 26 open(OUT, ">tmp"); 55 open(SRC, "<$filename") or die "Can't open source file!\n"; 93 open(OUT,">callgraph.txt");
|
/external/clang/tools/scan-view/ |
startfile.py | 6 __all__ = ['open'] 18 '''Base class for open program controllers.''' 23 def open(self, filename): member in class:BaseController 28 '''Controller for a generic open program.''' 61 # It is assumed that this kind of tools (gnome-open, kfmclient, 62 # exo-open, xdg-open and open for OSX) immediately exit after lauching 69 def open(self, filename): member in class:Controller 87 def open(self, filename) member in class:Controller.Start 200 def open(filename): function [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
UnixSelectorTest.java | 31 ServerSocketChannel serverChannel = ServerSocketChannel.open(); 62 Selector sel0 = Selector.open(); 63 Selector sel1 = Selector.open(); 76 SocketChannel socketChannel = SocketChannel.open(); 78 Selector sel2 = Selector.open(); 93 SocketChannel socketChannel2 = SocketChannel.open(); 95 Selector sel3 = Selector.open(); 104 Selector sel4 = Selector.open(); 110 Selector sel5 = Selector.open();
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_early_close.py | 34 dbenv.open(self.homeDir, 40 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 42 self.assertRaises(db.DBNoSuchFileError, d2.open, 52 dbenv.open(self.homeDir, 57 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 71 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 83 d.open(path, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 98 dbenv.open(self.homeDir, 105 i.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 134 dbenv.open(self.homeDir [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_early_close.py | 34 dbenv.open(self.homeDir, 40 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 42 self.assertRaises(db.DBNoSuchFileError, d2.open, 52 dbenv.open(self.homeDir, 57 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 71 d.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 83 d.open(path, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 98 dbenv.open(self.homeDir, 105 i.open(self.filename, db.DB_BTREE, db.DB_CREATE | db.DB_THREAD, 0666) 134 dbenv.open(self.homeDir [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
make-css-file-arrays.pl | 37 open HEADER, ">", $header or die; 38 open OUT, ">", $out or die; 52 open IN, "<", $in or die;
|
/bionic/libc/bionic/ |
cpuacct.c | 2 * Copyright (C) 2010 The Android Open Source Project 44 fd = open(buf, O_RDWR | O_CREAT, 0666); 53 fd = open(buf, O_RDWR | O_CREAT, 0666);
|
/external/antlr/antlr-3.4/runtime/Perl5/t/lib/ANTLR/Runtime/ |
Test.pm | 21 open my $in, '<', $filename or die "Can't open $filename: $!"; 31 open my $out, '>', $filename or die "Can't open $filename: $!"; 115 open my $old_out, '>&STDOUT' or die "Can't capture stdout: $!"; 117 open STDOUT, '>', 'out.tmp' or die "Can't redirect stdout: $!"; 119 open my $old_err, '>&STDERR' or die "Can't capture stderr: $!"; 121 open STDERR, '>', 'err.tmp' or die "Can't redirect stderr: $!"; 129 open STDERR, '>&', $old_err or die "Can't restore stderr: $!"; 135 open STDOUT, '>&', $old_out or die "Can't restore stdout: $!" [all...] |
/external/ceres-solver/scripts/ |
make_docs.py | 75 fptr = open(name) 79 fptr = open(name, "w")
|