| /external/ltp/testcases/kernel/syscalls/open/ |
| D | open11.c | 10 * Basic tests for open(2) and make sure open(2) works and handles error 15 * 1. Open regular file O_RDONLY 16 * 2. Open regular file O_WRONLY 17 * 3. Open regular file O_RDWR 18 * 4. Open regular file O_RDWR | O_SYNC 19 * 5. Open regular file O_RDWR | O_TRUNC 20 * 6. Open directory O_RDONLY 21 * 7. Open directory O_RDWR, expect EISDIR 22 * 8. Open regular file O_DIRECTORY, expect ENOTDIR 23 * 9. Open hard link file O_RDONLY [all …]
|
| /external/python/pyfakefs/pyfakefs/tests/ |
| D | fake_open_test.py | 38 self.open = io.open 41 self.open = self.fake_io_module.open 59 self.assert_raises_os_error(errno.ENOENT, self.open, file_path, "w") 66 self.open = fake_filesystem.FakeFileOpen(self.filesystem, delete_on_close=True) 67 with self.open(file_path, "w"): 73 with self.open(file_path, "w"): 79 self.open = fake_filesystem.FakeFileOpen(self.filesystem, delete_on_close=True) 82 with self.open(file_path, "w"): 95 with self.open(file_path, "w") as f: 101 with self.open(file_path) as f: [all …]
|
| /external/oboe/samples/RhythmGame/third_party/glm/detail/ |
| D | _features.hpp | 11 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2118.html 15 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2439.htm 19 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1610.html 23 // http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2008/n2756.htm 27 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2242.pdf 31 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2555.pdf 35 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2672.htm 39 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1720.html 43 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1984.pdf 47 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1737.pdf [all …]
|
| /external/autotest/server/site_tests/firmware_Cr50Open/ |
| D | firmware_Cr50Open.py | 16 """Verify cr50 open.""" 25 raise error.TestNAError('No power button. Unable to test ccd open') 34 """Verify you can't open ccd unless dev mode is enabled. 36 Make sure the ability to open ccd corresponds with the device being in 37 dev mode. When the device is in dev mode, open should be accessible from 39 Open will never work from the console. 50 #Make sure open doesn't work from the console. 52 self.cr50.set_ccd_level('open') 54 self.cr50.check_for_console_errors('ccd open from console') 56 raise error.TestFail('Unable to open cr50 from console with ' [all …]
|
| /external/clang/www/ |
| D | cxx_dr_status.html | 16 .open * { color: #AAAAAA } 17 //.open { filter: opacity(0.2) } 45 <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1">1</a></td> 50 <tr class="open" id="2"> 51 <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#2">2</a></td> 57 <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#3">3</a></td> 63 <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#4">4</a></td> 69 <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#5">5</a></td> 74 <tr class="open" id="6"> 75 <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#6">6</a></td> [all …]
|
| /external/mesa3d/src/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/ |
| D | test_check_spec_links.py | 205 assert(ckr.check("[open,desc='',type='',xrefs='']").numErrors() == 1) 207 assert(ckr.check("[open,refpage='',type='',xrefs='']").numErrors() == 1) 209 assert(ckr.check("[open,refpage='',desc='',xrefs='']").numErrors() == 1) 212 assert(not ckr.check("[open,refpage='',desc='',type='']").messages) 215 assert(ckr.check("[open,desc='',type='',xrefs=’']").numDiagnostics() == 1) 222 "[open,refpage='%s',desc='',type='']" % PROTO).numDiagnostics() == 0) 226 ckr.check("[open,refpage='bogus',desc='',type='']").numDiagnostics() == 1) 233 "[open,refpage='',desc='non-empty description',type='']").numDiagnostics() == 0) 237 ckr.check("[open,refpage='',desc='',type='']").numDiagnostics() == 1) 244 "[open,refpage='%s',desc='',type='protos']" % PROTO).messages) [all …]
|
| /external/clang/tools/scan-view/share/ |
| D | startfile.py | 6 __all__ = ['open'] 18 '''Base class for open program controllers.''' 23 def open(self, filename): member in BaseController 28 '''Controller for a generic open program.''' 61 # It is assumed that this kind of tools (gnome-open, kfmclient, 62 # exo-open, xdg-open and open for OSX) immediately exit after lauching 69 def open(self, filename): member in Controller 87 def open(self, filename): member in Start 98 _open = _controllers['windows-default'].open 103 _controllers['open']= Controller('open') [all …]
|
| /external/stg/doc/ |
| D | SCC.md | 34 traversal and SCC state management are cleanly separated. The concept of "open" 38 * node visit starts; repeat visits to open nodes are detected 53 will try to open and close nodes at the beginning and end of each node visit. 63 ### Open subsection 68 1. never visited before - the node should immediately transition to open and 70 1. open - the link just followed would create a cycle and the SCC finder 79 #### Populate user visited state on open 83 1. unvisited + not open 84 1. visited + open 85 1. visited + not open [all …]
|
| /external/licenseclassifier/v2/assets/License/Open-Game-License-1.0a/ |
| D | pristine.txt | 3 OPEN GAME LICENSE Version 1.0a 7 …Open Game Content; (b)"Derivative Material" means copyrighted material including derivative works … 9 …Open Game Content that contains a notice indicating that the Open Game Content may only be Used un… 11 3.Offer and Acceptance: By Using the Open Game Content You indicate Your acceptance of the terms of… 13 …lty-free, non-exclusive license with the exact terms of this License to Use, the Open Game Content. 15 5.Representation of Authority to Contribute: If You are contributing original material as Open Game… 17 …Open Game Content You are copying, modifying or distributing, and You must add the title, the copy… 19 …Open Game Content except as expressly licensed in another, independent Agreement with the owner of… 21 …tion: If you distribute Open Game Content You must clearly indicate which portions of the work tha… 23 …any authorized version of this License to copy, modify and distribute any Open Game Content origin… [all …]
|
| /external/bcc/tools/ |
| D | funcslower_example.txt | 6 failed. For example, trace the open() function in libc when it is slower than 9 # ./funcslower c:open -u 1 12 less 27074 33.77 3 c:open 13 less 27074 9.96 ffffffffffffffff c:open 14 less 27074 5.92 ffffffffffffffff c:open 15 less 27074 15.88 ffffffffffffffff c:open 16 less 27074 8.89 3 c:open 17 less 27074 15.89 3 c:open 18 sh 27075 20.97 4 c:open 19 bash 27075 20.14 4 c:open [all …]
|
| /external/guava/android/guava-tests/test/com/google/common/collect/ |
| D | GeneralRangeTest.java | 18 import static com.google.common.collect.BoundType.OPEN; 54 GeneralRange.range(ORDERING, i, OPEN, i, OPEN); in testCreateEmptyRangeOpenOpenFails() 63 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, OPEN); in testCreateEmptyRangeClosedOpenSucceeds() 72 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, OPEN, i, CLOSED); in testCreateEmptyRangeOpenClosedSucceeds() 103 ORDERING.compare(i, 3) < 0 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN), in testLowerRange() 118 ORDERING.compare(i, 3) > 0 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN), 138 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN); 140 GeneralRange.range(ORDERING, 2, OPEN, 4, OPEN), 141 range.intersect(GeneralRange.range(ORDERING, 2, OPEN, 4, CLOSED))); 145 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN); [all …]
|
| /external/guava/guava-tests/test/com/google/common/collect/ |
| D | GeneralRangeTest.java | 18 import static com.google.common.collect.BoundType.OPEN; 54 GeneralRange.range(ORDERING, i, OPEN, i, OPEN); in testCreateEmptyRangeOpenOpenFails() 63 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, OPEN); in testCreateEmptyRangeClosedOpenSucceeds() 72 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, OPEN, i, CLOSED); in testCreateEmptyRangeOpenClosedSucceeds() 103 ORDERING.compare(i, 3) < 0 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN), in testLowerRange() 118 ORDERING.compare(i, 3) > 0 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN), 138 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN); 140 GeneralRange.range(ORDERING, 2, OPEN, 4, OPEN), 141 range.intersect(GeneralRange.range(ORDERING, 2, OPEN, 4, CLOSED))); 145 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN); [all …]
|
| /external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/ |
| D | MultisetNavigationTester.java | 18 import static com.google.common.collect.BoundType.OPEN; 146 assertNull(sortedMultiset.headMultiset(e0(), OPEN).lastEntry()); in testSingletonMultisetNearby() 147 assertNull(sortedMultiset.tailMultiset(e0(), OPEN).lastEntry()); in testSingletonMultisetNearby() 190 assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry()); in testLower() 191 assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry()); in testLower() 192 assertEquals(a, sortedMultiset.headMultiset(c.getElement(), OPEN).lastEntry()); in testLower() 215 assertEquals(c, sortedMultiset.tailMultiset(a.getElement(), OPEN).firstEntry()); in testHigher() 216 assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), OPEN).firstEntry()); in testHigher() 217 assertEquals(null, sortedMultiset.tailMultiset(c.getElement(), OPEN).firstEntry()); in testHigher() 294 expectAddFailure(sortedMultiset.tailMultiset(a.getElement(), OPEN), a); in testAddOutOfTailBoundsOne() local [all …]
|
| /external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
| D | MultisetNavigationTester.java | 18 import static com.google.common.collect.BoundType.OPEN; 146 assertNull(sortedMultiset.headMultiset(e0(), OPEN).lastEntry()); in testSingletonMultisetNearby() 147 assertNull(sortedMultiset.tailMultiset(e0(), OPEN).lastEntry()); in testSingletonMultisetNearby() 190 assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry()); in testLower() 191 assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry()); in testLower() 192 assertEquals(a, sortedMultiset.headMultiset(c.getElement(), OPEN).lastEntry()); in testLower() 215 assertEquals(c, sortedMultiset.tailMultiset(a.getElement(), OPEN).firstEntry()); in testHigher() 216 assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), OPEN).firstEntry()); in testHigher() 217 assertEquals(null, sortedMultiset.tailMultiset(c.getElement(), OPEN).firstEntry()); in testHigher() 294 expectAddFailure(sortedMultiset.tailMultiset(a.getElement(), OPEN), a); in testAddOutOfTailBoundsOne() local [all …]
|
| /external/python/cpython3/Lib/test/ |
| D | test_dbm_dumb.py | 38 with contextlib.closing(dumbdbm.open(_fname, 'c')) as f: 49 f = dumbdbm.open(_fname, 'c', 0o637) 67 f = dumbdbm.open(_fname) 75 with contextlib.closing(dumbdbm.open(_fname, 'w')) as f: 84 with contextlib.closing(dumbdbm.open(_fname, 'r')) as f: 101 with contextlib.closing(dumbdbm.open(_fname)) as f: 105 with contextlib.closing(dumbdbm.open(_fname)) as f: 111 with contextlib.closing(dumbdbm.open(_fname)) as f: 114 with contextlib.closing(dumbdbm.open(_fname)) as f: 119 with contextlib.closing(dumbdbm.open(_fname, 'r')) as f: [all …]
|
| D | test_dbm_gnu.py | 33 self.g = gdbm.open(filename, 'c') 37 self.g = gdbm.open(filename, 'c') 62 # Try to open a non-existent database. 64 self.assertRaises(gdbm.error, gdbm.open, filename, 'r') 66 self.g = gdbm.open(filename, 'c') 69 # try pass an invalid open flag 70 self.assertRaises(gdbm.error, lambda: gdbm.open(filename, 'rx').close()) 73 # Test the flag parameter open() by trying all supported flag modes. 78 self.g = gdbm.open(filename, mode) 85 self.g = gdbm.open(filename, mode + flag) [all …]
|
| D | audiotests.py | 56 f = self.fout = self.module.open(testfile, 'wb') 64 with self.module.open(testfile, 'rb') as f: 83 with self.module.open(TESTFN, 'wb'): 86 with open(TESTFN, 'wb') as testfile: 87 with self.module.open(testfile): 91 with open(TESTFN, 'wb') as testfile: 92 with self.module.open(testfile) as f: 98 with open(TESTFN, 'rb') as testfile: 99 with self.module.open(testfile) as f: 112 with self.module.open(TESTFN, 'wb') as f: [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/kotlinx.serialization/core/commonMain/src/kotlinx/serialization/internal/ |
| D | Tagged.kt | 30 protected open fun encodeTaggedValue(tag: Tag, value: Any): Unit = in SerialDescriptor() 33 protected open fun encodeTaggedNonNullMark(tag: Tag) {} in SerialDescriptor() 34 …protected open fun encodeTaggedNull(tag: Tag): Unit = throw SerializationException("null is not su… in encodeTaggedNull() 35 protected open fun encodeTaggedInt(tag: Tag, value: Int): Unit = encodeTaggedValue(tag, value) in encodeTaggedNull() 36 protected open fun encodeTaggedByte(tag: Tag, value: Byte): Unit = encodeTaggedValue(tag, value) in encodeTaggedNull() 37 … protected open fun encodeTaggedShort(tag: Tag, value: Short): Unit = encodeTaggedValue(tag, value) in encodeTaggedNull() 38 protected open fun encodeTaggedLong(tag: Tag, value: Long): Unit = encodeTaggedValue(tag, value) in encodeTaggedNull() 39 … protected open fun encodeTaggedFloat(tag: Tag, value: Float): Unit = encodeTaggedValue(tag, value) in encodeTaggedNull() 40 …protected open fun encodeTaggedDouble(tag: Tag, value: Double): Unit = encodeTaggedValue(tag, valu… in encodeTaggedNull() 41 …protected open fun encodeTaggedBoolean(tag: Tag, value: Boolean): Unit = encodeTaggedValue(tag, va… in encodeTaggedNull() [all …]
|
| /external/python/cpython2/Lib/test/ |
| D | test_tarfile.py | 46 self.tar = tarfile.open(self.tarname, mode=self.mode, encoding="iso8859-1") 64 fobj1 = open(os.path.join(TEMPDIR, "ustar/regtype"), "rU") 65 with open(os.path.join(TEMPDIR, "ustar/regtype"), "rU") as fobj1: 81 with open(os.path.join(TEMPDIR, "ustar/regtype"), "rU") as fobj1: 90 with open(os.path.join(TEMPDIR, "ustar/regtype"), "rb") as fobj: 166 self.tar = tarfile.open(self.tarname, mode=self.mode) 240 # This test checks if tarfile.open() is able to open an empty tar 243 with tarfile.open(tmpname, self.mode.replace("r", "w")): 246 tar = tarfile.open(tmpname, self.mode) 249 self.fail("tarfile.open() failed on empty archive") [all …]
|
| /external/python/cpython3/Lib/unittest/test/testmock/ |
| D | testwith.py | 146 with patch('%s.open' % __name__, mock, create=True) as patched: 148 open('foo') 156 with patch('%s.open' % __name__, mock, create=True): 157 with open('foo') as f: 167 with patch('%s.open' % __name__, mock, create=True): 168 with open('foo') as f: 170 with open('bar') as f: 184 with patch('%s.open' % __name__, mock, create=True) as patched: 186 open('foo') 193 with patch('%s.open' % __name__, mock, create=True): [all …]
|
| /external/swiftshader/ |
| D | .dir-locals.el | 24 (composition-open . 0) 25 (module-open . 0) 26 (namespace-open . 0) 27 (extern-lang-open . 0) 50 (brace-entry-open . 0) 55 (block-open . 0) 67 (class-open . 0) 70 (defun-open . 0) 74 (brace-list-open . 0) 75 (inline-open . 0) [all …]
|
| /external/ksp/test-utils/testData/api/ |
| D | declarationUtil.kt | 23 // Cls.b: public open 26 // Cls.prop: public open 27 // Cls.protectedProp: protected open 28 // Cls.abstractITFFun: public open 30 // ITF: public open 31 // ITF.prop: public open 32 // ITF.protectedProp: protected open 33 // ITF.b: public open 34 // ITF.abstractITFFun: public open 35 // ITF.nonAbstractITFFun: public open [all …]
|
| /external/pigweed/pw_blob_store/public/pw_blob_store/ |
| D | blob_store.h | 46 // 1) BlobWriter::Open(). 52 // 1) BlobReader::Open(). 61 // Only one writter (of either type) is allowed to be open at a time. 62 // Additionally, writers are unable to open if a reader is already open. 80 // Open writer for writing/erasing of a new/fresh blob. Open will invalidate 82 // file name. Can not open when any readers or writers are already open for 83 // this blob. Only one writer is allowed to be open at a time. Returns: 86 // This writer must not already be open. 91 // UNAVAILABLE - Unable to open, another writer or reader instance is 92 // already open. [all …]
|
| /external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
| D | UrlConnectionCacheTest.java | 2 * Copyright (C) 2011 The Android Open Source Project 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() 259 // OpenJDK 6 fails on this line, complaining that the connection isn't open yet 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() [all …]
|