| /external/sdv/vsomeip/third_party/boost/exception/test/ |
| D | cloning_test.cpp | 1 //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc. 61 --count; in ~derives_nothing() 99 try in test_std_exception() 106 boost::exception_ptr p = boost::current_exception(); in test_std_exception() local 107 BOOST_TEST(!(p==boost::exception_ptr())); in test_std_exception() 108 BOOST_TEST(p!=boost::exception_ptr()); in test_std_exception() 109 BOOST_TEST(p); in test_std_exception() 110 try in test_std_exception() 112 rethrow_exception(p); in test_std_exception() 118 boost::exception_ptr p = boost::current_exception(); in test_std_exception() local [all …]
|
| /external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/ |
| D | EmptyContentAsTreeTest.java | 28 try (JsonParser p = MAPPER.createParser(EMPTY0)) { in testNullFromEOFWithParserAndMapper() argument 29 _assertNullTree(MAPPER.readTree(p)); in testNullFromEOFWithParserAndMapper() 31 try (JsonParser p = MAPPER.createParser(EMPTY1)) { in testNullFromEOFWithParserAndMapper() argument 32 _assertNullTree(MAPPER.readTree(p)); in testNullFromEOFWithParserAndMapper() 34 try (JsonParser p = MAPPER.createParser(new StringReader(EMPTY0))) { in testNullFromEOFWithParserAndMapper() argument 35 _assertNullTree(MAPPER.readTree(p)); in testNullFromEOFWithParserAndMapper() 37 try (JsonParser p = MAPPER.createParser(new StringReader(EMPTY1))) { in testNullFromEOFWithParserAndMapper() argument 38 _assertNullTree(MAPPER.readTree(p)); in testNullFromEOFWithParserAndMapper() 41 try (JsonParser p = MAPPER.createParser(EMPTY0_BYTES)) { in testNullFromEOFWithParserAndMapper() argument 42 _assertNullTree(MAPPER.readTree(p)); in testNullFromEOFWithParserAndMapper() [all …]
|
| D | TestTreeTraversingParser.java | 49 JsonParser p = tree.traverse(); in testSimple() local 51 assertNull(p.currentToken()); in testSimple() 52 assertNull(p.currentName()); in testSimple() 54 assertToken(JsonToken.START_OBJECT, p.nextToken()); in testSimple() 55 assertNull(p.currentName()); in testSimple() 56 assertEquals("Expected START_OBJECT", JsonToken.START_OBJECT.asString(), p.getText()); in testSimple() 58 assertToken(JsonToken.FIELD_NAME, p.nextToken()); in testSimple() 59 assertEquals("a", p.currentName()); in testSimple() 60 assertEquals("a", p.getText()); in testSimple() 62 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testSimple() [all …]
|
| /external/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/ |
| D | optional_scalars_generated.swift | 23 case .none_: try container.encode("None") in encode() 24 case .one: try container.encode("One") in encode() 25 case .two: try container.encode("Two") in encode() 38 …public static func getRootAsScalarStuff(bb: ByteBuffer) -> optional_scalars_ScalarStuff { return o… in getRootAsScalarStuff() 81 var p: VOffset { self.rawValue } variable 120 …public static func startScalarStuff(_ fbb: inout FlatBufferBuilder) -> UOffset { fbb.startTable(wi… in startScalarStuff() 121 …: Int8, _ fbb: inout FlatBufferBuilder) { fbb.add(element: justI8, def: 0, at: VTOFFSET.justI8.p) } in add() 122 …ybeI8: Int8?, _ fbb: inout FlatBufferBuilder) { fbb.add(element: maybeI8, at: VTOFFSET.maybeI8.p) } in add() 123 … _ fbb: inout FlatBufferBuilder) { fbb.add(element: defaultI8, def: 42, at: VTOFFSET.defaultI8.p) } in add() 124 … UInt8, _ fbb: inout FlatBufferBuilder) { fbb.add(element: justU8, def: 0, at: VTOFFSET.justU8.p) } in add() [all …]
|
| D | monster_test_generated.swift | 27 case .red: try container.encode("Red") in encode() 28 case .green: try container.encode("Green") in encode() 29 case .blue: try container.encode("Blue") in encode() 38 case none_ = -1 51 case .none_: try container.encode("None") in encode() 52 case .human: try container.encode("Human") in encode() 53 case .dwarf: try container.encode("Dwarf") in encode() 54 case .elf: try container.encode("Elf") in encode() 75 case .longone: try container.encode("LongOne") in encode() 76 case .longtwo: try container.encode("LongTwo") in encode() [all …]
|
| /external/cronet/third_party/libc++/src/test/std/language.support/support.exception/propagation/ |
| D | current_exception.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 // UNSUPPORTED: no-exceptions 28 ~A() {--constructed;} in ~A() 37 std::exception_ptr p = std::current_exception(); in main() local 38 assert(p == nullptr); in main() 41 try in main() 56 try in main() 64 std::exception_ptr p = std::current_exception(); in main() local [all …]
|
| /external/libcxx/test/std/language.support/support.exception/propagation/ |
| D | current_exception.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 12 // XFAIL: LIBCXX-WINDOWS-FIXME 14 // UNSUPPORTED: libcpp-no-exceptions 27 ~A() {--constructed;} in ~A() 36 std::exception_ptr p = std::current_exception(); in main() local 37 assert(p == nullptr); in main() 40 try in main() 55 try in main() 63 std::exception_ptr p = std::current_exception(); in main() local [all …]
|
| /external/google-cloud-java/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ |
| D | package-info.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 20 * <p>======================= AcceleratorTypesClient ======================= 22 * <p>Service Description: Services 24 * <p>The AcceleratorTypes API. 26 * <p>Sample for AcceleratorTypesClient: 31 * // - It may require correct/in-range values for request initialization. 32 * // - It may require specifying regional endpoints when creating the service client as shown in 34 * try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) { 35 * String project = "project-309310695"; 37 * String acceleratorType = "acceleratorType-82462651"; [all …]
|
| /external/libcxxabi/test/ |
| D | catch_ptr_02.pass.cpp | 1 //===------------------------- catch_ptr_02.cpp ---------------------------===// 8 //===----------------------------------------------------------------------===// 10 // UNSUPPORTED: libcxxabi-no-exceptions 18 #pragma clang diagnostic ignored "-Wexceptions" 31 try in test1() 47 try in test2() 63 try in test3() 79 try in test4() 99 try in test5() 104 catch (base2 *p) { in test5() local [all …]
|
| D | catch_const_pointer_nullptr.pass.cpp | 1 //===--------------------- catch_const_pointer_nullptr.cpp ----------------===// 8 //===----------------------------------------------------------------------===// 10 // UNSUPPORTED: libcxxabi-no-exceptions 18 #pragma clang diagnostic ignored "-Wexceptions" 27 try in test1() 32 catch (A* p) in test1() local 34 assert(!p); in test1() 45 try in test2() 50 catch (const A* p) in test2() local 52 assert(!p); in test2() [all …]
|
| D | incomplete_type.sh.cpp | 1 //===------------------------- incomplete_type.cpp --------------------------===// 8 //===----------------------------------------------------------------------===// 9 // http://mentorembedded.github.io/cxx-abi/abi.html#rtti-layout 17 // UNSUPPORTED: libcxxabi-no-exceptions 19 // NOTE: Pass -lc++abi explicitly and before -lc++ so that -lc++ doesn't drag 23 // RUN: %cxx %flags %compile_flags -c %s -o %t.one.o 24 // RUN: %cxx %flags %compile_flags -c %s -o %t.two.o -DTU_ONE 25 // RUN: %cxx %flags %t.one.o %t.two.o -lc++abi %link_flags -o %t.exe 88 try { in main() 95 } catch (int NeverDefined::*p) { in main() local [all …]
|
| /external/cronet/third_party/libc++abi/src/test/ |
| D | catch_ptr_02.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // UNSUPPORTED: no-exceptions 14 // ADDITIONAL_COMPILE_FLAGS: -Wno-exceptions 17 // XFAIL: stdlib=apple-libc++ && target={{.+}}-apple-macosx10.9 32 try in test1() 48 try in test2() 64 try in test3() 80 try in test4() [all …]
|
| D | incomplete_type.sh.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 8 // https://itanium-cxx-abi.github.io/cxx-abi/abi.html#rtti-layout 16 // UNSUPPORTED: no-exceptions 17 // UNSUPPORTED: no-rtti 20 // XFAIL: stdlib=apple-libc++ && target={{.+}}-apple-macosx10.{{9|10|11|12}} 22 // RUN: %{cxx} %{flags} %{compile_flags} -Wno-unreachable-code -c %s -o %t.one.o 23 // RUN: %{cxx} %{flags} %{compile_flags} -Wno-unreachable-code -c %s -o %t.two.o -DTU_ONE 24 // RUN: %{cxx} %{flags} %t.one.o %t.two.o %{link_flags} -o %t.exe [all …]
|
| /external/flatbuffers/tests/FlatBuffers.Test.Swift.Wasm/Tests/FlatBuffers.Test.Swift.WasmTests/ |
| D | monster_test_generated.swift | 27 case .red: try container.encode("Red") in encode() 28 case .green: try container.encode("Green") in encode() 29 case .blue: try container.encode("Blue") in encode() 38 case none_ = -1 51 case .none_: try container.encode("None") in encode() 52 case .human: try container.encode("Human") in encode() 53 case .dwarf: try container.encode("Dwarf") in encode() 54 case .elf: try container.encode("Elf") in encode() 75 case .longone: try container.encode("LongOne") in encode() 76 case .longtwo: try container.encode("LongTwo") in encode() [all …]
|
| /external/sdv/vsomeip/third_party/boost/throw_exception/test/ |
| D | throw_exception_test3.cpp | 13 # pragma clang diagnostic ignored "-Wunknown-pragmas" 14 # pragma clang diagnostic ignored "-Wunknown-warning-option" 15 # pragma clang diagnostic ignored "-Wpotentially-evaluated-expression" 16 # pragma clang diagnostic ignored "-Wdelete-non-abstract-non-virtual-dtor" 17 # pragma clang diagnostic ignored "-Wunused-parameter" 38 try in main() 44 boost::exception_ptr p = boost::current_exception(); in main() local 46 BOOST_TEST_THROWS( boost::rethrow_exception( p ), my_exception ); in main() 47 BOOST_TEST_THROWS( boost::rethrow_exception( p ), boost::exception ); in main() 50 try in main() [all …]
|
| /external/python/cpython3/Lib/ |
| D | ntpath.py | 1 # Module 'ntpath' -- common operations on WinNT/Win95 pathnames 8 # strings representing various path-related bits and pieces 45 try: 84 # volume), or if a pathname after the volume-letter-and-colon or UNC-resource 117 try: 119 path[:0] + sep #23780: Ensure compatible data type even if p is null. 121 for p in map(os.fspath, paths): 122 p_drive, p_path = splitdrive(p) 138 if result_path and result_path[-1] not in seps: 141 ## add separator between UNC and non-absolute path [all …]
|
| /external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
| D | JimfsFileSystemCloseTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 81 try { in testIsNotAvailableFromProvider() 90 Path p = fs.getPath("/foo"); in testOpenStreamsClosed() local 91 OutputStream out = Files.newOutputStream(p); in testOpenStreamsClosed() 92 InputStream in = Files.newInputStream(p); in testOpenStreamsClosed() 99 try { in testOpenStreamsClosed() 106 try { in testOpenStreamsClosed() 116 Path p = fs.getPath("/foo"); in testOpenChannelsClosed() local 117 FileChannel fc = FileChannel.open(p, READ, WRITE, CREATE); in testOpenChannelsClosed() 118 SeekableByteChannel sbc = Files.newByteChannel(p, READ); in testOpenChannelsClosed() [all …]
|
| /external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/ |
| D | ParserScopeMatchingTest.java | 24 JsonParser p = createParser(mode, "[ 1, 2 "); in _testUnclosedArray() local 25 assertToken(JsonToken.START_ARRAY, p.nextToken()); in _testUnclosedArray() 26 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testUnclosedArray() 27 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in _testUnclosedArray() 28 assertEquals(2, p.getIntValue()); in _testUnclosedArray() 30 try { in _testUnclosedArray() 31 p.nextToken(); in _testUnclosedArray() 47 JsonParser p = createParser(mode, "{ \"key\" : 3 "); in _testUnclosedObject() local 48 assertToken(JsonToken.START_OBJECT, p.nextToken()); in _testUnclosedObject() 49 assertToken(JsonToken.FIELD_NAME, p.nextToken()); in _testUnclosedObject() [all …]
|
| /external/tink/testing/python/ |
| D | services.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 10 # distributed under the License is distributed on an "AS-IS" BASIS, 232 context: grpc.ServicerContext) -> testing_api_pb2.ServerInfoResponse: 242 context: grpc.ServicerContext) -> testing_api_pb2.KeysetTemplateResponse: 252 context: grpc.ServicerContext) -> testing_api_pb2.KeysetGenerateResponse: 254 try: 267 context: grpc.ServicerContext) -> testing_api_pb2.KeysetPublicResponse: 268 """Generates a public-key keyset from a private-key keyset.""" 269 try: 283 context: grpc.ServicerContext) -> testing_api_pb2.KeysetToJsonResponse: [all …]
|
| /external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/ |
| D | AsyncScopeMatchingTest.java | 19 AsyncReaderWrapper p = asyncForBytes(JSON_F, 3, _jsonDoc("[ 1, 2 "), 0); in testUnclosedArray() local 20 assertToken(JsonToken.START_ARRAY, p.nextToken()); in testUnclosedArray() 21 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testUnclosedArray() 22 assertToken(JsonToken.VALUE_NUMBER_INT, p.nextToken()); in testUnclosedArray() 23 assertEquals(2, p.getIntValue()); in testUnclosedArray() 25 try { in testUnclosedArray() 26 p.nextToken(); in testUnclosedArray() 35 AsyncReaderWrapper p = asyncForBytes(JSON_F, 3, _jsonDoc("{ \"key\" : 3 "), 0); in testUnclosedObject() local 36 assertToken(JsonToken.START_OBJECT, p.nextToken()); in testUnclosedObject() 37 assertToken(JsonToken.FIELD_NAME, p.nextToken()); in testUnclosedObject() [all …]
|
| /external/google-cloud-java/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ |
| D | package-info.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 20 * <p>The interfaces provided are listed below, along with usage samples. 22 * <p>======================= DatasetServiceClient ======================= 24 * <p>Service Description: The service that handles the CRUD of Vertex AI Dataset and its child 27 * <p>Sample for DatasetServiceClient: 32 * // - It may require correct/in-range values for request initialization. 33 * // - It may require specifying regional endpoints when creating the service client as shown in 35 * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) { 41 * <p>======================= DeploymentResourcePoolServiceClient ======================= 43 * <p>Service Description: A service that manages the DeploymentResourcePool resource. [all …]
|
| /external/webrtc/infra/config/ |
| D | luci-milo.cfg | 1 # Auto-generated by lucicfg. 5 # https://luci-config.appspot.com/schemas/projects:luci-milo.cfg 229 url: "/p/webrtc/g/ci" 234 url: "/p/webrtc/g/cron" 239 url: "/p/webrtc/g/perf" 244 url: "/p/chromium/g/chromium.webrtc" 249 url: "/p/chromium/g/chromium.webrtc.fyi" 253 text: "Try WebRTC" 254 url: "/p/webrtc/g/try" 255 alt: "WebRTC Try Builders" [all …]
|
| /external/google-cloud-java/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ |
| D | package-info.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 20 * <p>The interfaces provided are listed below, along with usage samples. 22 * <p>======================= AgentsClient ======================= 24 * <p>Service Description: Service for managing [Agents][google.cloud.dialogflow.v2.Agent]. 26 * <p>Sample for AgentsClient: 31 * // - It may require correct/in-range values for request initialization. 32 * // - It may require specifying regional endpoints when creating the service client as shown in 34 * try (AgentsClient agentsClient = AgentsClient.create()) { 40 * <p>======================= AnswerRecordsClient ======================= 42 * <p>Service Description: Service for managing [all …]
|
| /external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/ |
| D | BeanDeserializer.java | 27 * - New method in JsonDeserializer (deserializeNext()) to allow use of more 54 /* Life-cycle, construction, initialization 88 * Copy-constructor that can be used by sub-classes to allow 89 * copy-on-write style copying of settings of an existing instance. 129 // bit kludgy but we don't want to accidentally change type; sub-classes in unwrappingDeserializer() 134 // 25-Mar-2017, tatu: Not clean at all, but for [databind#383] we do need in unwrappingDeserializer() 140 try { in unwrappingDeserializer() 179 * Main deserialization method for bean-based objects (POJOs). 182 public Object deserialize(JsonParser p, DeserializationContext ctxt) throws IOException in deserialize() argument 185 if (p.isExpectedStartObjectToken()) { in deserialize() [all …]
|
| /external/jackson-core/src/test/java/com/fasterxml/jackson/failing/async/ |
| D | AsyncTokenErrorTest.java | 36 AsyncReaderWrapper p = _createParser(doc); in _doTestInvalidKeyword() local 37 assertToken(JsonToken.START_OBJECT, p.nextToken()); in _doTestInvalidKeyword() 40 try { in _doTestInvalidKeyword() 41 assertToken(JsonToken.FIELD_NAME, p.nextToken()); in _doTestInvalidKeyword() 42 p.nextToken(); in _doTestInvalidKeyword() 48 p.close(); in _doTestInvalidKeyword() 51 // Try as root-level value as well: in _doTestInvalidKeyword() 53 p = _createParser(doc); in _doTestInvalidKeyword() 54 try { in _doTestInvalidKeyword() 55 p.nextToken(); in _doTestInvalidKeyword() [all …]
|