/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 | 48 HttpURLConnection conn = factory.open(server.getUrl("/")); in originServerSends407() 59 HttpURLConnection connection = factory.open(server.getUrl("/")); in networkResponseSourceHeader() 67 HttpURLConnection connection = factory.open(server.getUrl("/")); in networkFailureResponseSourceHeader() 78 HttpURLConnection connection1 = factory.open(server.getUrl("/")); in conditionalCacheHitResponseSourceHeaders() 82 HttpURLConnection connection2 = factory.open(server.getUrl("/")); in conditionalCacheHitResponseSourceHeaders() 94 HttpURLConnection connection1 = factory.open(server.getUrl("/")); in conditionalCacheMissResponseSourceHeaders() 98 HttpURLConnection connection2 = factory.open(server.getUrl("/")); in conditionalCacheMissResponseSourceHeaders() 108 HttpURLConnection connection1 = factory.open(server.getUrl("/")); in cacheResponseSourceHeaders() 112 HttpURLConnection connection2 = factory.open(server.getUrl("/")); in cacheResponseSourceHeaders() 120 HttpURLConnection connection1 = factory.open(server.getUrl("/")); in noneResponseSourceHeaders() [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/catapult_base/catapult_base/ |
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 | 133 connection = client.open(server.getUrl("/")); in requestHeaders() 192 connection = client.open(server.getUrl("/")); in getRequestPropertyReturnsLastValue() 205 connection = client.open(server.getUrl("/")); in responseHeaders() 234 connection = client.open(server.getUrl("/")); in serverSendsInvalidResponseHeaders() 245 connection = client.open(server.getUrl("/")); in serverSendsInvalidCodeTooLarge() 256 connection = client.open(server.getUrl("/")); in serverSendsInvalidCodeNotANumber() 267 connection = client.open(server.getUrl("/")); in serverSendsUnnecessaryWhitespace() 279 connection = client.open(url); in connectRetriesUntilConnectedOrFailed() 308 connection = client.open(server.getUrl("/def")); in testRequestBodySurvivesRetries() 319 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/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
D | test_daisy_chain_wrapper.py | 88 with open(file_path, 'wb') as upload_stream: 98 with open(self.test_data_file, 'rb') as stream: 115 with open(upload_file, 'rb') as upload_stream: 116 with open(self.test_data_file, 'rb') as download_stream: 123 with open(self.test_data_file, 'rb') as stream: 140 with open(upload_file, 'rb') as upload_stream: 141 with open(self.test_data_file, 'rb') as download_stream: 147 with open(self.test_data_file, 'rb') as stream: 162 with open(upload_file, 'rb') as upload_stream: 163 with open(self.test_data_file, 'rb') as download_stream: [all …]
|
/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/agents/ |
D | atrace_agent_unittest.py | 66 with contextlib.nested(open(ATRACE_EXTRACTED_THREADS, 'r'), 67 open(ATRACE_THREAD_LIST)) as (f1, f2): 76 with contextlib.nested(open(ATRACE_DATA_RAW, 'r'), 77 open(ATRACE_DATA_STRIPPED, 'r')) as (f1, f2): 86 open(ATRACE_DATA_STRIPPED, 'r'), 87 open(ATRACE_THREAD_NAMES, 'r'), 88 open(ATRACE_DATA_THREAD_FIXED, 'r')) as (f1, f2, f3): 99 with contextlib.nested(open(ATRACE_DATA_STRIPPED, 'r'), 100 open(ATRACE_DATA_RAW, 'r')) as (f1, f2): 127 with contextlib.nested(open(ATRACE_PROCFS_DUMP, 'r'), [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
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 | 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()
|
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()
|
/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/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/ |
D | overflow.pass.cpp | 42 assert(f.open("overflow.dat", std::ios_base::out) != 0); in main() 54 assert(f.open("overflow.dat", std::ios_base::in) != 0); in main() 62 assert(f.open("overflow.dat", std::ios_base::out) != 0); in main() 74 assert(f.open("overflow.dat", std::ios_base::in) != 0); in main() 81 assert(f.open("overflow.dat", std::ios_base::out) != 0); in main() 93 assert(f.open("overflow.dat", std::ios_base::in) != 0); in main() 101 assert(f.open("overflow.dat", std::ios_base::out) != 0); in main() 113 assert(f.open("overflow.dat", std::ios_base::in) != 0); in main() 121 assert(f.open("overflow.dat", std::ios_base::out) != 0); in main() 128 assert(f.open("overflow.dat", std::ios_base::in) != 0); in main()
|
/external/selinux/secilc/test/ |
D | integration.cil | 28 (permissionset file_perms (execute_no_trans entrypoint execmod open 30 (class file (execute_no_trans entrypoint execmod open audit_access)) 31 (class process (open)) 46 (file (open read getattr)) 98 (allow getty_t console_device_t (file (getattr open read write append))) 101 (dontaudit getty_t console_device_t (file (getattr open read write append))) 128 (auditallow device_t auditadm_t (file (open))) 189 (constrain (file (open)) (dom r1 r2)) 190 (constrain (file (open)) (domby r1 r2)) 191 (constrain (file (open)) (incomp r1 r2)) [all …]
|
/external/libxml2/result/catalogs/ |
D | whitex | 2 > http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod 3 > http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod 4 > http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod 5 > http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd 6 > http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd
|
/external/bison/lib/ |
D | fcntl.in.h | 111 # undef open 112 # define open rpl_open 114 _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...) 116 _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...)); 118 _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...)); 123 _GL_CXXALIASWARN (open); 126 # undef open 128 _GL_WARN_ON_USE (open, "open is not always POSIX compliant - "
|