/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
D | UrlConnectionCacheTest.java | 182 HttpURLConnection conn = client.open(url); in assertCached() 223 HttpURLConnection urlConnection = client.open(server.getUrl("/")); in testResponseCaching() 233 urlConnection = client.open(server.getUrl("/")); // cached! in testResponseCaching() 254 HttpsURLConnection c1 = (HttpsURLConnection) client.open(server.getUrl("/")); in secureResponseCaching() 266 HttpsURLConnection c2 = (HttpsURLConnection) client.open(server.getUrl("/")); // cached! in secureResponseCaching() 292 HttpURLConnection connection = client.open(server.getUrl("/")); in responseCachingAndRedirects() 295 connection = client.open(server.getUrl("/")); // cached! in responseCachingAndRedirects() 309 assertEquals("ABC", readAscii(client.open(server.getUrl("/foo")))); in redirectToCachedResult() 314 assertEquals("ABC", readAscii(client.open(server.getUrl("/bar")))); in redirectToCachedResult() 320 assertEquals("DEF", readAscii(client.open(server.getUrl("/baz")))); in redirectToCachedResult() [all …]
|
D | OkUrlFactoryTest.java | 57 HttpURLConnection conn = factory.open(server.getUrl("/")); in originServerSends407() 68 HttpURLConnection connection = factory.open(server.getUrl("/")); in networkResponseSourceHeader() 76 HttpURLConnection connection = factory.open(server.getUrl("/")); in networkFailureResponseSourceHeader() 88 HttpURLConnection connection1 = factory.open(server.getUrl("/")); in conditionalCacheHitResponseSourceHeaders() 92 HttpURLConnection connection2 = factory.open(server.getUrl("/")); in conditionalCacheHitResponseSourceHeaders() 104 HttpURLConnection connection1 = factory.open(server.getUrl("/")); in conditionalCacheMissResponseSourceHeaders() 108 HttpURLConnection connection2 = factory.open(server.getUrl("/")); in conditionalCacheMissResponseSourceHeaders() 118 HttpURLConnection connection1 = factory.open(server.getUrl("/")); in cacheResponseSourceHeaders() 122 HttpURLConnection connection2 = factory.open(server.getUrl("/")); in cacheResponseSourceHeaders() 130 HttpURLConnection connection1 = factory.open(server.getUrl("/")); in noneResponseSourceHeaders() [all …]
|
/external/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_new_test.c | 50 result = open("/etc/fstab", O_RDONLY); in test_read_etc_fstab() 55 result = open("/dev/null", O_WRONLY); in test_write_dev_null() 141 int fd = open("/dev/null", O_RDWR); in test_ioctl_dev_null() 200 result = open("/tmp/testfile0", O_RDONLY, 0600); in test_file_open_0() 205 result = open("/tmp/testfile1", O_CREAT | O_RDONLY, 0600); in test_file_open_1() 210 result = open("/tmp/testfile2", O_TRUNC | O_RDONLY, 0600); in test_file_open_2() 215 result = open("/tmp/testfile3", O_TRUNC | O_CREAT | O_RDONLY, 0600); in test_file_open_3() 220 result = open("/tmp/testfile4", O_APPEND | O_RDONLY, 0600); in test_file_open_4() 225 result = open("/tmp/testfile5", O_APPEND | O_CREAT | O_RDONLY, 0600); in test_file_open_5() 230 result = open("/tmp/testfile6", O_APPEND | O_TRUNC | O_RDONLY, 0600); in test_file_open_6() [all …]
|
D | tomoyo_rewrite_test.c | 71 close(open(REWRITE_PATH, O_WRONLY | O_APPEND | O_CREAT, 0600)); in stage_rewrite_test() 77 fd = open(REWRITE_PATH, O_RDONLY); in stage_rewrite_test() 82 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND); in stage_rewrite_test() 88 fd = open(REWRITE_PATH, O_WRONLY); in stage_rewrite_test() 93 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC); in stage_rewrite_test() 98 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC | O_APPEND); in stage_rewrite_test() 105 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND); in stage_rewrite_test() 122 fd = open(REWRITE_PATH, O_RDONLY); in stage_rewrite_test() 127 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND); in stage_rewrite_test() 132 fd = open(REWRITE_PATH, O_WRONLY); in stage_rewrite_test() [all …]
|
D | tomoyo_new_file_test.c | 190 fd = open("/dev/null", O_RDONLY); in stage_file_test() 195 fd = open("/dev/null", O_RDONLY); in stage_file_test() 202 fd = open("/dev/null", O_RDONLY); in stage_file_test() 207 fd = open("/dev/null", O_RDONLY); in stage_file_test() 214 fd = open("/dev/null", O_RDONLY); in stage_file_test() 219 fd = open("/dev/null", O_RDONLY); in stage_file_test() 226 fd = open("/dev/null", O_RDONLY); in stage_file_test() 231 fd = open("/dev/null", O_RDONLY); in stage_file_test() 252 fd = open(filename, O_WRONLY); in stage_file_test() 257 fd = open(filename, O_WRONLY); in stage_file_test() [all …]
|
/external/clang/test/Analysis/ |
D | unix-api.c | 11 int open(const char *, int, ...); 16 fd = open(path, O_RDONLY); // no-warning in open_1() 24 …fd = open(path, O_RDONLY, mode, NULL); // expected-warning{{Call to 'open' with more than three ar… in open_2() 31 fd = open(path, O_RDONLY, NULL); // expected-warning{{Third argument to 'open' is not an integer}} in open_3() 38 fd = open(path, O_RDONLY, ""); // expected-warning{{Third argument to 'open' is not an integer}} in open_4() 48 fd = open(path, O_RDONLY, st); // expected-warning{{Third argument to 'open' is not an integer}} in open_5() 58 fd = open(path, O_RDONLY, st.val); // no-warning in open_6() 65 …fd = open(path, O_RDONLY, &open); // expected-warning{{Third argument to 'open' is not an integer}} in open_7() 72 fd = open(path, O_RDONLY, 0.0f); // expected-warning{{Third argument to 'open' is not an integer}} in open_8()
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
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_file, 'r') as f: [all …]
|
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/ |
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_Domains", "r") [all …]
|
D | tDomain_Elements.py | 87 f_DomainElements_Backup = open("f_DomainElements_Backup", "w") 91 f_DomainElements_Backup = open("f_DomainElements_Backup", "r") 121 f_DomainElements = open("f_DomainElements", "w") 125 f_DomainElements = open("f_DomainElements", "r") 134 f_DomainElements = open("f_DomainElements", "r") 135 f_DomainElements_Backup = open("f_DomainElements_Backup", "r") 180 f_DomainElements_Backup = open("f_DomainElements_Backup", "w") 184 f_DomainElements_Backup = open("f_DomainElements_Backup", "r") 208 f_DomainElements = open("f_DomainElements", "w") 212 f_DomainElements = open("f_DomainElements", "r") [all …]
|
D | tDomain_rename.py | 93 f_init_domains = open("f_init_domains", "w") 99 f_init_domains = open("f_init_domains", "r") 127 f_domains = open("f_domains", "w") 133 f_domains = open("f_domains", "r") 182 f_init_domains = open("f_init_domains", "w") 188 f_init_domains = open("f_init_domains", "r") 212 f_domains = open("f_domains", "w") 218 f_domains = open("f_domains", "r") 219 f_init_domains = open("f_init_domains", "r") 244 f_domains = open("f_domains", "w") [all …]
|
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Functions/ |
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 %… 160 …assert open(self.filesystem_02).read()[:-1] != init_filesystem_02, log.F("FILESYSTEM : parameter %… 162 …assert open(self.filesystem_03).read()[:-1] != init_filesystem_03, log.F("FILESYSTEM : parameter %… 176 …assert open(self.filesystem_01).read()[:-1] != init_filesystem_01, log.F("FILESYSTEM : parameter %… 178 …assert open(self.filesystem_02).read()[:-1] != init_filesystem_02, log.F("FILESYSTEM : parameter %… 180 …assert open(self.filesystem_03).read()[:-1] != init_filesystem_03, log.F("FILESYSTEM : parameter %… 211 init_filesystem_01 = open(self.filesystem_01).read()[:-1] [all …]
|
D | tFunction_Export_Import_Domains.py | 140 f_Config_Backup = open(self.temp_config, "w") 143 f_Config_Backup = open(self.temp_config, "r") 190 …assert open(self.filesystem_01).read()[:-1] == hex_value, log.F("FILESYSTEM : parameter %s update … 199 …assert open(self.filesystem_02).read()[:-1] == hex_value, log.F("FILESYSTEM : parameter %s update … 208 …assert open(self.filesystem_03).read()[:-1] == hex_value, log.F("FILESYSTEM : parameter %s update … 254 init_filesystem_01 = open(self.filesystem_01).read()[:-1] 255 init_filesystem_02 = open(self.filesystem_02).read()[:-1] 256 init_filesystem_03 = open(self.filesystem_03).read()[:-1] 293 …assert open(self.filesystem_01).read()[:-1] != init_filesystem_01, log.F("FILESYSTEM : parameter %… 301 …assert open(self.filesystem_02).read()[:-1] != init_filesystem_02, log.F("FILESYSTEM : parameter %… [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | URLConnectionTest.java | 135 connection = client.open(server.getUrl("/")); in requestHeaders() 194 connection = client.open(server.getUrl("/")); in getRequestPropertyReturnsLastValue() 207 connection = client.open(server.getUrl("/")); in responseHeaders() 237 connection = client.open(server.getUrl("/")); in serverSendsInvalidResponseHeaders() 248 connection = client.open(server.getUrl("/")); in serverSendsInvalidCodeTooLarge() 259 connection = client.open(server.getUrl("/")); in serverSendsInvalidCodeNotANumber() 270 connection = client.open(server.getUrl("/")); in serverSendsUnnecessaryWhitespace() 282 connection = client.open(url); in connectRetriesUntilConnectedOrFailed() 311 connection = client.open(server.getUrl("/def")); in testRequestBodySurvivesRetries() 322 connection = client.open(server.getUrl("/")); in getErrorStreamOnSuccessfulRequest() [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/testing/ |
D | sample_perf_report_output.txt | 1 Failed to open /data/app-lib/com.google.android.apps.chrome-2/libchrome.2016.0.so, continuing witho… 2 Failed to open /data/dalvik-cache/arm/data@app@com.google.android.apps.chrome-2.apk@classes.dex, co… 5 Failed to open /system/lib/libc.so, continuing without symbols 6 Failed to open /system/lib/libm.so, continuing without symbols 7 Failed to open /tmp/perf-18246.map, continuing without symbols 8 Failed to open /system/lib/libart.so, continuing without symbols 9 Failed to open /init, continuing without symbols 10 Failed to open [vectors], continuing without symbols
|
/external/openssh/openbsd-compat/ |
D | bsd-openpty.c | 87 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) { in openpty() 102 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) in openpty() 119 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) { in openpty() 142 if ((*amaster = open("/dev/ptc", O_RDWR | O_NOCTTY)) == -1) in openpty() 146 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) { in openpty() 166 if ((*amaster = open(ptbuf, O_RDWR|O_NOCTTY)) == -1) in openpty() 169 if ((*aslave = open(ttbuf, O_RDWR|O_NOCTTY)) == -1) { in openpty() 194 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty() 198 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) in openpty() 203 if ((*aslave = open(ttbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty()
|
/external/libxml2/test/relaxng/ |
D | tutorA.rng | 16 <ref name="open-name-class"/> 19 <ref name="open-patterns"/> 27 <ref name="open-name-class"/> 38 <ref name="open-patterns"/> 42 <ref name="open-patterns"/> 46 <ref name="open-patterns"/> 50 <ref name="open-patterns"/> 54 <ref name="open-patterns"/> 58 <ref name="open-patterns"/> 62 <ref name="open-patterns"/> [all …]
|
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/ |
D | atrace_agent_unittest.py | 84 with open(output_file_name, 'r') as f: 102 with open(ATRACE_EXTRACTED_THREADS, 'r') as expected_file: 105 with open(dump_file_name, 'r') as dump_file: 112 with contextlib.nested(open(ATRACE_DATA_RAW, 'r'), 113 open(ATRACE_DATA_STRIPPED, 'r')) as (f1, f2): 123 open(ATRACE_DATA_STRIPPED, 'r'), 124 open(ATRACE_THREAD_NAMES, 'r'), 125 open(ATRACE_DATA_THREAD_FIXED, 'r')) as (f1, f2, f3): 137 with contextlib.nested(open(ATRACE_PROCFS_DUMP, 'r'), 138 open(ATRACE_EXTRACTED_TGIDS, 'r')) as (f1, f2): [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HttpOverSpdyTest.java | 100 connection = client.open(server.getUrl("/foo")); in get() 114 connection = client.open(server.getUrl("/foo")); in emptyResponse() 123 connection = client.open(server.getUrl("/foo")); in noDefaultContentLengthOnStreamingPost() 138 connection = client.open(server.getUrl("/foo")); in userSuppliedContentLengthHeader() 153 connection = client.open(server.getUrl("/foo")); in closeAfterFlush() 170 connection = client.open(server.getUrl("/foo")); in setFixedLengthStreamingModeSetsContentLength() 186 HttpURLConnection connection1 = client.open(server.getUrl("/r1")); in spdyConnectionReuse() 187 HttpURLConnection connection2 = client.open(server.getUrl("/r2")); in spdyConnectionReuse() 212 assertContent("ABCABCABC", client.open(server.getUrl("/r1")), Integer.MAX_VALUE); in gzippedResponseBody() 222 connection = client.open(server.getUrl("/")); in authenticate() [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph_tests/ |
D | test_zipio.py | 28 fp = zipio.open(os.path.join(TESTDATA, 'test.txt'), 'r') 34 fp = zipio.open(os.path.join(TESTDATA, 'test.txt'), 'rb') 40 fp = zipio.open(os.path.join(TESTDATA, 'zipped.egg', 'test.txt'), 'r') 46 fp = zipio.open(os.path.join(TESTDATA, 'zipped.egg', 'test.txt'), 'rb') 52 self.assertRaises(IOError, zipio.open, os.path.join(TESTDATA, 'zipped.egg', 'subdir')) 53 self.assertRaises(IOError, zipio.open, os.path.join(TESTDATA, 'zipped.egg', 'subdir2')) 54 … self.assertRaises(IOError, zipio.open, os.path.join(TESTDATA, 'zipped.egg', 'subdir2/subdir')) 55 self.assertRaises(IOError, zipio.open, os.path.join(TESTDATA, 'zipped.egg', 'subdir3')) 57 self.assertRaises(IOError, zipio.open, os.path.join(TESTDATA, 'zipped.egg', 'subdir4')) 60 self.assertRaises(IOError, zipio.open, os.path.join(TESTDATA, 'zipped.egg', 'no-such-file')) [all …]
|
/external/clang/tools/scan-view/share/ |
D | startfile.py | 23 def open(self, filename): member in BaseController 69 def open(self, filename): member in Controller 87 def open(self, filename): member in Start 98 _open = _controllers['windows-default'].open 104 _open = _controllers['open'].open 186 return _controllers[controller_name].open 190 return _controllers['xdg-open'].open 192 return webbrowser.open 200 def open(filename): function
|
/external/apache-http/src/org/apache/http/impl/ |
D | SocketHttpServerConnection.java | 65 private volatile boolean open; field in SocketHttpServerConnection 73 if (this.open) { in assertNotOpen() 79 if (!this.open) { in assertOpen() 114 this.open = true; in bind() 122 return this.open; in isOpen() 183 this.open = false; in shutdown() 191 if (!this.open) { in close() 194 this.open = false; in close()
|
D | SocketHttpClientConnection.java | 65 private volatile boolean open; field in SocketHttpClientConnection 73 if (this.open) { in assertNotOpen() 79 if (!this.open) { in assertOpen() 116 this.open = true; in bind() 120 return this.open; in isOpen() 185 this.open = false; in shutdown() 193 if (!this.open) { in close() 196 this.open = false; in close()
|
/external/autotest/client/site_tests/kernel_CpufreqMinMax/ |
D | kernel_CpufreqMinMax.py | 41 f = open(self.sys_cpufreq_path + filename, 'w') 45 f = open(self.sys_cpufreq_path + filename, 'r') 64 f = open(self.sys_cpufreq_path + 'scaling_driver', 'r') 66 fmin = open(self.sys_cpufreq_path + 'cpuinfo_min_freq', 'r') 67 fmax = open(self.sys_cpufreq_path + 'cpuinfo_max_freq', 'r') 80 f = open(self.sys_cpufreq_path + 'scaling_available_frequencies', 'r') 89 f = open(self.sys_cpufreq_path + 'scaling_max_freq', 'r')
|
/external/bison/m4/ |
D | open.m4 | 1 # open.m4 serial 14 15 dnl open("foo/") should not create a file when the file name has a 18 AC_CACHE_CHECK([whether open recognizes a trailing slash], 35 if (open ("conftest.lnk/", O_RDONLY) != -1) 38 if (open ("conftest.sl/", O_CREAT, 0600) >= 0) 59 [Define to 1 if open() fails to recognize a trailing slash.]) 65 dnl Replace open() for supporting the gnulib-defined fchdir() function, 75 dnl Replace open() for supporting the gnulib-defined O_NONBLOCK flag. 86 # Prerequisites of lib/open.c.
|
/external/ltp/testcases/kernel/pty/ |
D | ptem01.c | 61 masterfd = open(MASTERCLONE, O_RDWR); in test1() 79 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test1() 143 masterfd = open(MASTERCLONE, O_RDWR); in test2() 161 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test2() 224 masterfd = open(MASTERCLONE, O_RDWR); in test3() 242 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test3() 275 masterfd = open(MASTERCLONE, O_RDWR); in test4() 293 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test4() 297 if ((slavefd2 = open(slavename, O_RDWR)) < 0) { in test4() 301 if ((slavefd3 = open(slavename, O_RDWR)) < 0) { in test4() [all …]
|