/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
icopen.py | 13 This patch causes files created by Python's open(filename, 'w') command (and 45 _builtin_open = globals().get('_builtin_open', __builtin__.open) 61 __builtin__.open = _open_with_typer 64 open('test.py')
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_bufio.py | 16 # Write s + "\n" + s to file, then open it and ensure that successive 19 # Ensure we can open TESTFN for writing. 24 f = self.open(support.TESTFN, "wb") 31 f = open(support.TESTFN, "rb") 66 open = io.open variable in class:CBufferSizeTest 69 open = staticmethod(pyio.open) variable in class:PyBufferSizeTest 72 open = open variable in class:BuiltinBufferSizeTest [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_bufio.py | 16 # Write s + "\n" + s to file, then open it and ensure that successive 19 # Ensure we can open TESTFN for writing. 24 f = self.open(support.TESTFN, "wb") 31 f = open(support.TESTFN, "rb") 66 open = io.open variable in class:CBufferSizeTest 69 open = staticmethod(pyio.open) variable in class:PyBufferSizeTest 72 open = open variable in class:BuiltinBufferSizeTest [all...] |
/external/chromium_org/third_party/simplejson/ |
tool.py | 21 infile = open(sys.argv[1], 'rb') 24 infile = open(sys.argv[1], 'rb') 25 outfile = open(sys.argv[2], 'wb')
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
InputPort.java | 2 * Copyright (C) 2011 The Android Open Source Project 42 public void open() { method in class:InputPort 43 super.open(); 45 mSourcePort.open();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
PipeTest.java | 34 * @tests java.nio.channels.Pipe#open() 37 Pipe pipe = Pipe.open(); 45 Pipe pipe = Pipe.open(); 54 Pipe pipe = Pipe.open();
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
SelectorTest.java | 2 * Copyright (C) 2010 The Android Open Source Project 37 Selector selector = Selector.open(); 38 ServerSocketChannel ssc = ServerSocketChannel.open(); 43 SocketChannel sc = SocketChannel.open(); 58 Selector selector = Selector.open(); 61 SocketChannel sc = SocketChannel.open(); 79 Selector selector = Selector.open(); 95 Selector selector = Selector.open(); 106 final Selector selector = Selector.open(); 139 Selector selector = Selector.open(); [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
tool.py | 21 infile = open(sys.argv[1], 'rb') 24 infile = open(sys.argv[1], 'rb') 25 outfile = open(sys.argv[2], 'wb')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/ |
tool.py | 21 infile = open(sys.argv[1], 'rb') 24 infile = open(sys.argv[1], 'rb') 25 outfile = open(sys.argv[2], 'wb')
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
combine-javascript-resources.pl | 54 open HTML, $htmlFile or die; 63 open SCRIPT_OUT, ">", "$outputDirectory/$scriptName" or die "Can't open $outputDirectory/$scriptName: $!"; 67 open SCRIPT_IN, "$generatedScriptsDirectory/$1" or open SCRIPT_IN, "$htmlDirectory/$1" or die "Can't open $htmlDirectory/$1: $!"; 79 open HTML, ">", "$outputDirectory/" . basename($htmlFile) or die "Can't open $outputDirectory/" . basename($htmlFile) . ": $!";
|
/external/jmonkeyengine/engine/src/core/com/jme3/audio/ |
AudioStream.java | 55 protected boolean open = false; field in class:AudioStream 76 open = true; 90 if (!open) 170 * @return Whether the stream is open or not. Reading from a closed 174 return open; 183 if (in != null && open){ 188 open = false;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
whichdb.py | 2 """Guess which db package to use to open a db file.""" 18 """Guess which db package to use to open a db file. 32 f = open(filename + os.extsep + "pag", "rb") 36 f = open(filename + os.extsep + "dir", "rb") 43 f = open(filename + os.extsep + "db", "rb") 45 # guarantee we can actually open the file using dbm 49 d = dbm.open(filename) 63 f = open(filename + os.extsep + "dir", "rb") 74 f = open(filename, "rb")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
whichdb.py | 2 """Guess which db package to use to open a db file.""" 18 """Guess which db package to use to open a db file. 32 f = open(filename + os.extsep + "pag", "rb") 36 f = open(filename + os.extsep + "dir", "rb") 43 f = open(filename + os.extsep + "db", "rb") 45 # guarantee we can actually open the file using dbm 49 d = dbm.open(filename) 63 f = open(filename + os.extsep + "dir", "rb") 74 f = open(filename, "rb")
|
/external/apache-http/src/org/apache/http/impl/ |
SocketHttpClientConnection.java | 60 private volatile boolean open; field in class:SocketHttpClientConnection 68 if (this.open) { 69 throw new IllegalStateException("Connection is already open"); 74 if (!this.open) { 75 throw new IllegalStateException("Connection is not open"); 111 this.open = true; 115 return this.open; 180 this.open = false; 188 if (!this.open) { 191 this.open = false [all...] |
SocketHttpServerConnection.java | 60 private volatile boolean open; field in class:SocketHttpServerConnection 68 if (this.open) { 69 throw new IllegalStateException("Connection is already open"); 74 if (!this.open) { 75 throw new IllegalStateException("Connection is not open"); 109 this.open = true; 117 return this.open; 178 this.open = false; 186 if (!this.open) { 189 this.open = false [all...] |
/external/chromium_org/build/toolchain/mac/ |
setup_toolchain.py | 12 with open(source_path) as source_file: 18 with open(out_path, 'w') as tool_file:
|
/external/chromium_org/build/win/ |
install-build-deps.py | 28 source = open(source_path).read() 37 open(source_path, "w").write(result)
|
/external/chromium_org/components/breakpad/tools/ |
dmp2minidump.py | 24 dump = open(dump_file, 'rb') 35 f = open(minidump_file, 'w')
|
/external/chromium_org/content/test/data/indexeddb/ |
migration_test.js | 6 request = webkitIndexedDB.open('open-close-version-test1'); 18 request = webkitIndexedDB.open('open-close-version-test2');
|
/external/chromium_org/tools/gyp/test/intermediate_dir/src/ |
script.py | 20 with open(sys.argv[2], 'w') as f: 23 with open(sys.argv[3], 'w') as f:
|
/external/chromium_org/tools/gyp/test/make/ |
gyptest-noload.py | 39 with open('relocate/noload/main.c', 'a') as src_file: 47 with open('relocate/noload/lib/shared.c', 'w') as shared_file:
|
/external/chromium_org/tools/site_compare/operators/ |
equals.py | 25 im1 = Image.open(file1) 26 im2 = Image.open(file2)
|
/external/compiler-rt/lib/tsan/lit_tests/ |
fd_close_norace.cc | 10 int f = open("/dev/random", O_RDONLY); 17 int f = open("/dev/random", O_RDONLY);
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/ |
CKMod.cpp | 67 mcResult_t CKMod::open(const char *deviceName) function in class:CKMod 70 LOG_W("already open"); 76 // open return -1 on error, "errno" is set with details 77 int openRet = ::open(deviceName, O_RDWR); 79 LOG_ERRNO("open"); 100 LOG_W(" Kernel module device not open");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ifstream.members/ |
open_pointer.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 15 // void open(const char* s, ios_base::openmode mode = ios_base::in); 29 fs.open("test.dat"); 41 fs.open("test.dat");
|