/external/libchrome/sandbox/linux/services/ |
H A D | proc_util_unittest.cc | 17 base::ScopedFD proc_fd(open("/proc/", O_RDONLY | O_DIRECTORY)); 20 int fd = open("/dev/null", O_RDONLY); 28 // No open directory should exist at startup. 32 int proc_fd = open("/proc/", O_RDONLY | O_DIRECTORY); 40 int proc_fd = open("/proc/", O_RDONLY | O_DIRECTORY); 44 // Don't pass |proc_fd|, an open directory (proc_fd) should 47 // Pass |proc_fd| and no open directory should be detected. 52 int open_directory_fd = open("/proc/self/", O_RDONLY | O_DIRECTORY); 58 // only directory file descriptor open.
|
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/ |
H A D | tDomain_creation_deletion.py | 94 f_Domains_Backup = open("f_Domains_Backup", "w") 97 f_Domains_Backup = open("f_Domains_Backup", "r") 120 f_Domains = open("f_Domains", "w") 124 f_Domains = open("f_Domains", "r") 133 f_Domains = open("f_Domains", "r") 134 f_Domains_Backup = open("f_Domains_Backup", "r") 172 f_Domains_Backup = open("f_Domains_Backup", "w") 175 f_Domains_Backup = open("f_Domains_Backup", "r") 198 f_Domains = open("f_Domains", "w") 202 f_Domains = open("f_Domain [all...] |
/external/llvm/utils/llvm-build/llvmbuild/ |
H A D | configutil.py | 27 f = open(input_path, "rb") 47 f = open(output_path, "rb") 60 f = open(output_path, "wb")
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/serializer/ |
H A D | SerializerTest.java | 41 serializer.open(); 43 serializer.open(); 51 serializer.open(); 54 serializer.open(); 62 serializer.open(); 73 serializer.open();
|
/external/apache-http/src/org/apache/http/impl/ |
H A D | 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 [all...] |
H A D | 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 [all...] |
/external/autotest/client/profilers/readprofile/ |
H A D | avgprofile | 5 open (FILE, "profile.$i") || die;
|
/external/autotest/client/site_tests/security_Minijail_seccomp/src/ |
H A D | Makefile | 10 SRC_OPEN = open.c 14 TARGET_OPEN = ../open
|
/external/compiler-rt/test/tsan/ |
H A D | fd_close_norace.cc | 8 int f = open("/dev/random", O_RDONLY); 16 int f = open("/dev/random", O_RDONLY);
|
H A D | 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"));
|
H A D | 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/google-breakpad/src/testing/gtest/xcode/Scripts/ |
H A D | versiongenerate.py | 64 config_file = open("%s/configure.ac" % input_dir, 'r') 98 version_file = open("%s/Version.h" % output_dir, 'w')
|
/external/jsoncpp/devtools/ |
H A D | fixeol.py | 9 f = open(path, 'rb') 21 f = open(path, "wb")
|
/external/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/ |
H A D | open_pointer.pass.cpp | 15 // void open(const char* s, ios_base::openmode mode = ios_base::in); 29 fs.open("test.dat"); 41 fs.open("test.dat");
|
H A D | open_string.pass.cpp | 15 // void open(const string& s, ios_base::openmode mode = ios_base::in); 29 fs.open(std::string("test.dat")); 41 fs.open(std::string("test.dat"));
|
/external/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/ |
H A D | close.pass.cpp | 27 fs.open(temp.c_str()); 36 fs.open(temp.c_str());
|
/external/opencv3/samples/python2/ |
H A D | _coverage.py | 17 code = open(fn).read() 22 with open('unused_api.txt', 'w') as f:
|
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Functions/ |
H A D | 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(sel [all...] |
/external/pdfium/testing/tools/ |
H A D | text_diff.py | 16 with open(filename1, "r") as f1: 18 with open(filename2, "r") as f2:
|
/external/protobuf/gtest/xcode/Scripts/ |
H A D | versiongenerate.py | 64 config_file = open("%s/configure.ac" % input_dir, 'r') 98 version_file = open("%s/Version.h" % output_dir, 'w')
|
/external/strace/tests/ |
H A D | uio.c | 45 assert(open("/dev/zero", O_RDONLY) == 0); 50 assert(open("/dev/null", O_WRONLY) == 0);
|
/external/v8/test/simdjs/ |
H A D | generate.py | 23 run_js = open( 59 with open(os.path.join(SCRIPT_DIR, 'SimdJs.json'), 'w') as fh:
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/xcode/Scripts/ |
H A D | versiongenerate.py | 64 config_file = open("%s/configure.ac" % input_dir, 'r') 98 version_file = open("%s/Version.h" % output_dir, 'w')
|
/external/chromium-trace/catapult/catapult_base/catapult_base/ |
H A D | lock_unittest.py | 16 with open(file_name, 'a') as f: 28 with open(read_file, 'r') as f: 31 with open(write_file, 'a') as f2: 37 with open(target_file, 'r') as f: 40 with open(status_file, 'w') as f2: 43 with open(status_file, 'w') as f2: 70 with open(self.temp_file_path, 'r') as f: 80 with open(self.temp_file_path, 'w') as f: 82 with open(self.temp_file_path, 'r') as f: 99 with open(temp_write_fil [all...] |
/external/autotest/client/bin/ |
H A D | autotestd | 19 # open up log files to use for std* 20 stdout = open(os.path.join(logdir, 'stdout'), 'a', 0) 21 stderr = open(os.path.join(logdir, 'stderr'), 'a', 0) 38 # open up a log file for saving off the exit code 39 exit_file = open(os.path.join(logdir, 'exit_code'), 'w', 0) 43 open(os.path.join(logdir, 'started'), 'w').close()
|