/prebuilts/gdb/linux-x86/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/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")
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/ |
FileProfile.py | 22 from Common.LongFilePathSupport import OpenLongFilePath as open
49 fsock = open(FileName, "rb", 0)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
FileProfile.py | 22 from Common.LongFilePathSupport import OpenLongFilePath as open
52 fsock = open(FileName, "rb", 0)
|
/external/apache-http/src/org/apache/http/impl/ |
SocketHttpClientConnection.java | 65 private volatile boolean open; field in class:SocketHttpClientConnection 73 if (this.open) { 74 throw new IllegalStateException("Connection is already open"); 79 if (!this.open) { 80 throw new IllegalStateException("Connection is not open"); 116 this.open = true; 120 return this.open; 185 this.open = false; 193 if (!this.open) { 196 this.open = false [all...] |
SocketHttpServerConnection.java | 65 private volatile boolean open; field in class:SocketHttpServerConnection 73 if (this.open) { 74 throw new IllegalStateException("Connection is already open"); 79 if (!this.open) { 80 throw new IllegalStateException("Connection is not open"); 114 this.open = true; 122 return this.open; 183 this.open = false; 191 if (!this.open) { 194 this.open = false [all...] |
/external/autotest/client/profilers/readprofile/ |
avgprofile | 5 open (FILE, "profile.$i") || die;
|
/external/autotest/client/site_tests/security_Minijail_seccomp/src/ |
Makefile | 10 SRC_OPEN = open.c 14 TARGET_OPEN = ../open
|
/external/brotli/python/tests/ |
compressor_test.py | 25 with open(temp_uncompressed, 'wb') as out_file: 26 with open(temp_compressed, 'rb') as in_file: 33 with open(temp_compressed, 'wb') as out_file: 34 with open(test_data, 'rb') as in_file: 42 with open(temp_compressed, 'wb') as out_file: 43 with open(test_data, 'rb') as in_file: 53 with open(temp_compressed, 'wb') as out_file: 54 with open(test_data, 'rb') as in_file:
|
/external/capstone/suite/ |
patch_major_os_version.py | 16 with open(pe_file_path, "rb") as f: 28 with open(pe_file_path, "wb") as f:
|
/external/chromium-trace/catapult/devil/devil/utils/ |
file_utils.py | 19 with open(dest_file, 'w') as dest_f: 21 with open(source_file, 'r') as source_f:
|
/external/compiler-rt/test/tsan/ |
fd_close_norace.cc | 8 int f = open("/dev/random", O_RDONLY); 16 int f = open("/dev/random", O_RDONLY);
|
fd_dup_norace2.cc | 25 // [pid 122196] open("/dev/urandom", O_RDONLY) = 3 26 // [pid 122196] open("/dev/urandom", O_RDONLY) = 4 43 fd = open("/dev/urandom", O_RDONLY); 44 int fd2 = open("/dev/urandom", O_RDONLY); 46 exit(printf("open failed\n"));
|
fd_dup_race.cc | 20 fd = open("/dev/random", O_RDONLY); 21 int fd2 = open("/dev/random", O_RDONLY); 23 exit(printf("open failed\n"));
|
/external/hyphenation-patterns/de/ |
create_chr.py | 3 # Copyright (C) 2015 The Android Open Source Project 23 with codecs.open('hyph-%s.pat.txt' % locale, 'r', 'UTF-8') as pat_file: 30 with codecs.open('hyph-%s.chr.txt' % locale, 'w', 'UTF-8') as chr_file:
|
/external/libcxx/test/libcxx/input.output/file.streams/fstreams/ifstream.members/ |
open_wchar_pointer.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 15 // void open(const wchar_t* s, ios_base::openmode mode = ios_base::in); 30 fs.open(L"test.dat"); 42 fs.open(L"test.dat");
|
/external/libcxx/test/std/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");
|
/external/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/ |
close.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 27 fs.open(temp.c_str()); 36 fs.open(temp.c_str());
|
/external/libmojo/third_party/catapult/devil/devil/utils/ |
file_utils.py | 19 with open(dest_file, 'w') as dest_f: 21 with open(source_file, 'r') as source_f:
|
/external/libnl/doc/ |
resolve-asciidoc-refs.py | 10 for line in open(sys.argv[1], 'r'): 24 for line in open(sys.argv[1], 'r'):
|
/external/lisa/tools/scripts/ |
py2ipynb.py | 28 with open(args.input) as fpin: 35 with open(args.output, "w") as fpout:
|
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Functions/ |
tFunction_Sync.py | 136 init_filesystem_01 = open(self.filesystem_01).read()[:-1] 137 init_filesystem_02 = open(self.filesystem_02).read()[:-1] 138 init_filesystem_03 = open(self.filesystem_03).read()[:-1] 158 assert open(self.filesystem_01).read()[:-1] != init_filesystem_01, log.F("FILESYSTEM : parameter %s update error"%self.param_name_01) 160 assert open(self.filesystem_02).read()[:-1] != init_filesystem_02, log.F("FILESYSTEM : parameter %s update error"%self.param_name_02) 162 assert open(self.filesystem_03).read()[:-1] != init_filesystem_03, log.F("FILESYSTEM : parameter %s update error"%self.param_name_03) 176 assert open(self.filesystem_01).read()[:-1] != init_filesystem_01, log.F("FILESYSTEM : parameter %s is updated, autosync is still enabled"%self.param_name_01) 178 assert open(self.filesystem_02).read()[:-1] != init_filesystem_02, log.F("FILESYSTEM : parameter %s is updated, autosync is still enabled"%self.param_name_02) 180 assert open(self.filesystem_03).read()[:-1] != init_filesystem_03, log.F("FILESYSTEM : parameter %s is updated, autosync is still enabled"%self.param_name_03) 211 init_filesystem_01 = open(self.filesystem_01).read()[:-1 [all...] |
/external/python/cpython3/Lib/dbm/ |
__init__.py | 6 d = dbm.open(file, 'w', 0o666) 30 __all__ = ['open', 'whichdb', 'error'] 53 def open(file, flag='r', mode=0o666): function 54 """Open or create database at path given by *file*. 68 mod = __import__(name, fromlist=['open']) 85 raise error[0]("need 'c' or 'n' flag to open new db") 94 return mod.open(file, flag, mode) 98 """Guess which db package to use to open a db file. 112 f = io.open(filename + ".pag", "rb") 114 f = io.open(filename + ".dir", "rb" [all...] |
/external/python/cpython3/Tools/scripts/ |
crlf.py | 11 with open(filename, "rb") as f: 19 with open(filename, "wb") as f:
|