/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_mmap.py | 26 f = open(TESTFN, 'w+') 105 f = open(TESTFN) 122 open(TESTFN, "wb").write("a"*mapsize) 123 f = open(TESTFN, "rb") 172 self.assertEqual(open(TESTFN, "rb").read(), 'a'*mapsize, 177 f = open(TESTFN, "r+b") 195 f = open(TESTFN, 'r+b') 200 f = open(TESTFN, "r+b") 209 f = open(TESTFN, 'rb') 216 f = open(TESTFN, "r+b" [all...] |
test_univnewlines2k.py | 40 with open(test_support.TESTFN, self.WRITEMODE) as fp: 50 with open(test_support.TESTFN, self.READMODE) as fp: 56 with open(test_support.TESTFN, self.READMODE) as fp: 62 with open(test_support.TESTFN, self.READMODE) as fp: 72 with open(test_support.TESTFN, self.READMODE) as fp: 109 with open(test_support.TESTFN, self.READMODE) as fp:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_mmap.py | 26 f = open(TESTFN, 'w+') 105 f = open(TESTFN) 122 open(TESTFN, "wb").write("a"*mapsize) 123 f = open(TESTFN, "rb") 172 self.assertEqual(open(TESTFN, "rb").read(), 'a'*mapsize, 177 f = open(TESTFN, "r+b") 195 f = open(TESTFN, 'r+b') 200 f = open(TESTFN, "r+b") 209 f = open(TESTFN, 'rb') 216 f = open(TESTFN, "r+b" [all...] |
test_univnewlines2k.py | 40 with open(test_support.TESTFN, self.WRITEMODE) as fp: 50 with open(test_support.TESTFN, self.READMODE) as fp: 56 with open(test_support.TESTFN, self.READMODE) as fp: 62 with open(test_support.TESTFN, self.READMODE) as fp: 72 with open(test_support.TESTFN, self.READMODE) as fp: 109 with open(test_support.TESTFN, self.READMODE) as fp:
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
URLConnectionTest.java | 2 * Copyright (C) 2009 The Android Open Source Project 138 connection = client.open(server.getUrl("/")); 199 connection = client.open(server.getUrl("/")); 213 connection = client.open(server.getUrl("/")); 243 connection = client.open(server.getUrl("/")); 255 connection = client.open(server.getUrl("/")); 267 connection = client.open(server.getUrl("/")); 279 connection = client.open(server.getUrl("/")); 292 connection = client.open(url); 323 connection = client.open(server.getUrl("/def")) [all...] |
/external/chromium_org/native_client_sdk/src/build_tools/ |
easy_template.py | 74 with open(srcpath) as srcfile: 75 with open(dstpath, 'w') as dstfile: 81 with open(srcpath) as srcfile: 85 with open(dstpath) as dstfile: 89 with open(dstpath, 'w') as dstfile: 106 with open(args[0]) as f:
|
/external/chromium_org/third_party/lcov/bin/ |
mcov | 65 # open file for output 66 open(INFO_HANDLE, ">$output_filename"); 142 open(OLD_STDOUT, ">>&STDOUT"); 143 open(STDOUT, ">/dev/null"); 151 open(STDOUT, ">>&OLD_STDOUT"); 237 if (!open(INPUT, $filename)) { 269 if (!open(INPUT, $filename)) {
|
/external/chromium_org/v8/test/benchmarks/ |
testcfg.py | 131 with open(filename) as f: 139 with open(revision_file) as f: 149 with tarfile.open(archive_file, "r:gz") as tar: 151 with open(revision_file, "w") as f: 160 with tarfile.open(archive_file, "w:gz") as tar: 162 with open(revision_file, "w") as f:
|
/external/chromium_org/v8/test/mozilla/ |
testcfg.py | 108 with open(filename) as f: 127 with open(versionfile) as f: 142 with tarfile.open(archive_file, "r:gz") as tar: 144 with open(versionfile, "w") as f: 158 with tarfile.open(archive_file, "w:gz") as tar: 160 with open(versionfile, "w") as f:
|
/external/llvm/test/Bindings/Ocaml/ |
vectorize_opts.ml | 13 open Llvm 14 open Llvm_vectorize 15 open Llvm_target
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
DatagramChannelTest.java | 2 * Copyright (C) 2010 The Android Open Source Project 37 DatagramChannel dc = DatagramChannel.open(); 58 DatagramChannel dc = DatagramChannel.open(); 70 DatagramChannel dc = DatagramChannel.open(); 92 DatagramChannel dc = DatagramChannel.open(); 114 DatagramChannel dc = DatagramChannel.open(); 146 DatagramChannel dc = DatagramChannel.open();
|
ServerSocketChannelTest.java | 2 * Copyright (C) 2011 The Android Open Source Project 35 ServerSocketChannel ssc = ServerSocketChannel.open(); 46 /** Checks the state of the ServerSocketChannel and associated ServerSocket after open() */ 48 ServerSocketChannel ssc = ServerSocketChannel.open(); 67 ServerSocketChannel ssc = ServerSocketChannel.open(); 81 ServerSocketChannel ssc = ServerSocketChannel.open(); 107 ServerSocketChannel ssc = ServerSocketChannel.open(); 141 SocketChannel socketChannel = SocketChannel.open(address);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
uu.py | 45 # If in_file is a pathname open it and change defaults 59 in_file = open(in_file, 'rb') 62 # Open out_file if it is a pathname 67 out_file = open(out_file, 'wb') 93 # Open the input file, if needed. 99 in_file = open(in_file) 125 # Open the output file 130 fp = open(out_file, 'wb') 181 output = open(output, 'w') 189 input = open(input, 'r' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
uu.py | 45 # If in_file is a pathname open it and change defaults 59 in_file = open(in_file, 'rb') 62 # Open out_file if it is a pathname 67 out_file = open(out_file, 'wb') 93 # Open the input file, if needed. 99 in_file = open(in_file) 125 # Open the output file 130 fp = open(out_file, 'wb') 181 output = open(output, 'w') 189 input = open(input, 'r' [all...] |
/bionic/libc/include/ |
fcntl.h | 2 * Copyright (C) 2008 The Android Open Source Project 73 extern int open(const char*, int, ...); 85 extern int __open_real(const char*, int, ...) __RENAME(open); variable 96 int open(const char* pathname, int flags, ...) { function
|
/build/tools/ |
check_radio_versions.py | 3 # Copyright (C) 2012 The Android Open Source Project 29 f = open(sys.argv[1]) 47 f = open(fn, "rb") 53 f = open(fn + ".sha1")
|
/cts/tests/tests/os/src/android/os/cts/ |
ConditionVariableTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 43 // test open then block(long) 44 mConditionVariable.open(); 55 // test block then open 65 mConditionVariable.open(); 84 mConditionVariable.open();
|
/external/bison/lib/ |
open.c | 0 /* Open a descriptor to a file. 25 /* Get the original definition of open. It might be defined as a macro. */ 33 return open (filename, flags, mode); 53 open (const char *filename, int flags, ...) function 74 file types that require non-blocking handling in open(). 97 - if O_CREAT is specified, open() must fail because of the semantics 99 - if O_WRONLY or O_RDWR is specified, open() must fail because POSIX 100 <http://www.opengroup.org/susv3/functions/open.html> says that it 103 - if O_CREAT is specified, open() must fail since open() cannot creat [all...] |
/external/blktrace/btt/ |
bno_plot.py | 99 fo = open(t, 'w') 100 for line in open(f, 'r'): 109 fo = open('%s/plot.cmds' % tmpdir, 'w')
|
/external/chromium_org/build/linux/ |
install-arm-sysroot.py | 48 with open(filename, 'rb') as f: 75 with open(stamp) as s: 99 with open(stamp, 'w') as s:
|
install-chromeos-fonts.py | 44 with open(stamp) as s: 62 with open(readme, 'w') as s: 67 with open(stamp, 'w') as s:
|
/external/chromium_org/chrome/test/ispy/server/ |
gs_bucket.py | 30 gs_file = cloudstorage.open( 38 gs_file = cloudstorage.open(self._full_path(path), 'r') 49 gs_file = cloudstorage.open(self._full_path(path), 'w')
|
/external/chromium_org/third_party/webrtc/base/ |
linuxfdwalk_unittest.cc | 34 // Checks that the set of open fds is exactly the given list. 49 // I have observed that the open set when starting a test is [0, 6]. Leaked 52 str << "File descriptors open in test executable:"; 57 // Open some files. 58 int fd1 = open("/dev/null", O_RDONLY); 60 int fd2 = open("/dev/null", O_WRONLY); 62 int fd3 = open("/dev/null", O_RDWR);
|
/external/chromium_org/tools/telemetry/telemetry/util/ |
find_dependencies_unittest.py | 41 with open(os.devnull, 'w') as dev_null: 46 open(os.path.join(third_party_path, '__init__.py'), 'a').close() 51 with open(os.devnull, 'w') as dev_null:
|
/external/chromium_org/ui/base/ime/win/ |
imm32_manager_unittest.cc | 75 BOOL open; local 80 &open, 83 EXPECT_EQ(test_case.expected_open, open);
|