/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | TestUtil.java | 1435 Assert.assertTrue(message.getExtension(optionalGroupExtension).hasA()); in assertAllExtensionsSet() 1436 Assert.assertTrue(message.getExtension(optionalNestedMessageExtension).hasBb()); in assertAllExtensionsSet() 1437 Assert.assertTrue(message.getExtension(optionalForeignMessageExtension).hasC()); in assertAllExtensionsSet() 1438 Assert.assertTrue(message.getExtension(optionalImportMessageExtension).hasD()); in assertAllExtensionsSet() 1447 assertEqualsExactType(101, message.getExtension(optionalInt32Extension)); in assertAllExtensionsSet() 1448 assertEqualsExactType(102L, message.getExtension(optionalInt64Extension)); in assertAllExtensionsSet() 1449 assertEqualsExactType(103, message.getExtension(optionalUint32Extension)); in assertAllExtensionsSet() 1450 assertEqualsExactType(104L, message.getExtension(optionalUint64Extension)); in assertAllExtensionsSet() 1451 assertEqualsExactType(105, message.getExtension(optionalSint32Extension)); in assertAllExtensionsSet() 1452 assertEqualsExactType(106L, message.getExtension(optionalSint64Extension)); in assertAllExtensionsSet() [all …]
|
D | Proto2ExtensionLookupSchemaTest.java | 157 .that(parsed.getExtension(Proto2Testing.fieldEnumList30).size()) in testUnknownEnum() 159 assertThat(parsed.getExtension(Proto2Testing.fieldEnumList30, 0)).isEqualTo(TestEnum.ONE); in testUnknownEnum() 160 assertThat(parsed.getExtension(Proto2Testing.fieldEnumList30, 1)).isEqualTo(TestEnum.TWO); in testUnknownEnum() 162 .that(parsed.getExtension(Proto2Testing.fieldEnumListPacked44).size()) in testUnknownEnum() 164 assertThat(parsed.getExtension(Proto2Testing.fieldEnumListPacked44, 0)).isEqualTo(TestEnum.ONE); in testUnknownEnum() 165 assertThat(parsed.getExtension(Proto2Testing.fieldEnumListPacked44, 1)).isEqualTo(TestEnum.TWO); in testUnknownEnum()
|
D | Proto2UnknownEnumValueTest.java | 98 assertThat(message.getExtension(UnittestProto.optionalNestedEnumExtension)) in testExtensionUnknownEnumValues() 100 assertThat(message.getExtension(UnittestProto.repeatedNestedEnumExtension).size()).isEqualTo(2); in testExtensionUnknownEnumValues() 101 assertThat(message.getExtension(UnittestProto.repeatedNestedEnumExtension, 0)) in testExtensionUnknownEnumValues() 103 assertThat(message.getExtension(UnittestProto.repeatedNestedEnumExtension, 1)) in testExtensionUnknownEnumValues()
|
/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | TestUtil.java | 1428 Assert.assertTrue(message.getExtension(optionalGroupExtension).hasA()); in assertAllExtensionsSet() 1429 Assert.assertTrue(message.getExtension(optionalNestedMessageExtension).hasBb()); in assertAllExtensionsSet() 1430 Assert.assertTrue(message.getExtension(optionalForeignMessageExtension).hasC()); in assertAllExtensionsSet() 1431 Assert.assertTrue(message.getExtension(optionalImportMessageExtension).hasD()); in assertAllExtensionsSet() 1440 assertEqualsExactType(101, message.getExtension(optionalInt32Extension)); in assertAllExtensionsSet() 1441 assertEqualsExactType(102L, message.getExtension(optionalInt64Extension)); in assertAllExtensionsSet() 1442 assertEqualsExactType(103, message.getExtension(optionalUint32Extension)); in assertAllExtensionsSet() 1443 assertEqualsExactType(104L, message.getExtension(optionalUint64Extension)); in assertAllExtensionsSet() 1444 assertEqualsExactType(105, message.getExtension(optionalSint32Extension)); in assertAllExtensionsSet() 1445 assertEqualsExactType(106L, message.getExtension(optionalSint64Extension)); in assertAllExtensionsSet() [all …]
|
D | Proto2ExtensionLookupSchemaTest.java | 157 .that(parsed.getExtension(Proto2Testing.fieldEnumList30).size()) in testUnknownEnum() 159 assertThat(parsed.getExtension(Proto2Testing.fieldEnumList30, 0)).isEqualTo(TestEnum.ONE); in testUnknownEnum() 160 assertThat(parsed.getExtension(Proto2Testing.fieldEnumList30, 1)).isEqualTo(TestEnum.TWO); in testUnknownEnum() 162 .that(parsed.getExtension(Proto2Testing.fieldEnumListPacked44).size()) in testUnknownEnum() 164 assertThat(parsed.getExtension(Proto2Testing.fieldEnumListPacked44, 0)).isEqualTo(TestEnum.ONE); in testUnknownEnum() 165 assertThat(parsed.getExtension(Proto2Testing.fieldEnumListPacked44, 1)).isEqualTo(TestEnum.TWO); in testUnknownEnum()
|
D | Proto2UnknownEnumValueTest.java | 98 assertThat(message.getExtension(UnittestProto.optionalNestedEnumExtension)) in testExtensionUnknownEnumValues() 100 assertThat(message.getExtension(UnittestProto.repeatedNestedEnumExtension).size()).isEqualTo(2); in testExtensionUnknownEnumValues() 101 assertThat(message.getExtension(UnittestProto.repeatedNestedEnumExtension, 0)) in testExtensionUnknownEnumValues() 103 assertThat(message.getExtension(UnittestProto.repeatedNestedEnumExtension, 1)) in testExtensionUnknownEnumValues()
|
/external/cronet/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/ |
D | proto_test.js | 282 msg.getExtension(proto.jspb.test.extendOptionalInt32)); 284 msg.getExtension(proto.jspb.test.extendOptionalInt64)); 286 msg.getExtension(proto.jspb.test.extendOptionalUint32)); 288 msg.getExtension(proto.jspb.test.extendOptionalUint64)); 290 msg.getExtension(proto.jspb.test.extendOptionalSint32)); 292 msg.getExtension(proto.jspb.test.extendOptionalSint64)); 294 msg.getExtension(proto.jspb.test.extendOptionalFixed32)); 296 msg.getExtension(proto.jspb.test.extendOptionalFixed64)); 298 msg.getExtension(proto.jspb.test.extendOptionalSfixed32)); 300 msg.getExtension(proto.jspb.test.extendOptionalSfixed64)); [all …]
|
/external/cronet/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/ |
D | proto_test.js | 282 msg.getExtension(proto.jspb.test.extendOptionalInt32)); 284 msg.getExtension(proto.jspb.test.extendOptionalInt64)); 286 msg.getExtension(proto.jspb.test.extendOptionalUint32)); 288 msg.getExtension(proto.jspb.test.extendOptionalUint64)); 290 msg.getExtension(proto.jspb.test.extendOptionalSint32)); 292 msg.getExtension(proto.jspb.test.extendOptionalSint64)); 294 msg.getExtension(proto.jspb.test.extendOptionalFixed32)); 296 msg.getExtension(proto.jspb.test.extendOptionalFixed64)); 298 msg.getExtension(proto.jspb.test.extendOptionalSfixed32)); 300 msg.getExtension(proto.jspb.test.extendOptionalSfixed64)); [all …]
|
/external/protobuf/objectivec/Tests/ |
D | GPBTestUtilities.m | 205 XCTAssertTrue([[message getExtension:[UnittestRoot optionalGroupExtension]] hasA]); 206 XCTAssertTrue([[message getExtension:[UnittestRoot optionalNestedMessageExtension]] hasBb]); 207 XCTAssertTrue([[message getExtension:[UnittestRoot optionalForeignMessageExtension]] hasC]); 208 XCTAssertTrue([[message getExtension:[UnittestRoot optionalImportMessageExtension]] hasD]); 240 XCTAssertEqual(101, [[message getExtension:[UnittestRoot optionalInt32Extension]] intValue]); 241 …XCTAssertEqual(102LL, [[message getExtension:[UnittestRoot optionalInt64Extension]] longLongValue]… 242 …XCTAssertEqual(103U, [[message getExtension:[UnittestRoot optionalUint32Extension]] unsignedIntVal… 243 …XCTAssertEqual(104ULL, [[message getExtension:[UnittestRoot optionalUint64Extension]] unsignedLong… 244 XCTAssertEqual(105, [[message getExtension:[UnittestRoot optionalSint32Extension]] intValue]); 245 …XCTAssertEqual(106LL, [[message getExtension:[UnittestRoot optionalSint64Extension]] longLongValue… [all …]
|
D | GPBMessageTests.m | 716 [[message2 getExtension:[UnittestRoot repeatedInt32Extension]] count], 720 [[message2 getExtension:[UnittestRoot repeatedInt32Extension]] count], 727 [message3 getExtension:[UnittestObjcRoot recursiveExtension]]; 1581 [message getExtension:[UnittestRoot optionalGroupExtension]]; 1583 [message getExtension:[UnittestRoot optionalNestedMessageExtension]]; 1585 [message getExtension:[UnittestRoot optionalForeignMessageExtension]]; 1587 [message getExtension:[UnittestRoot optionalImportMessageExtension]]; 1589 getExtension:[UnittestRoot optionalPublicImportMessageExtension]]; 1591 [message getExtension:[UnittestRoot optionalLazyMessageExtension]]; 1614 XCTAssertEqual([message getExtension:[UnittestRoot optionalGroupExtension]], [all …]
|
/external/cronet/third_party/protobuf/objectivec/Tests/ |
D | GPBTestUtilities.m | 205 XCTAssertTrue([[message getExtension:[UnittestRoot optionalGroupExtension]] hasA]); 206 XCTAssertTrue([[message getExtension:[UnittestRoot optionalNestedMessageExtension]] hasBb]); 207 XCTAssertTrue([[message getExtension:[UnittestRoot optionalForeignMessageExtension]] hasC]); 208 XCTAssertTrue([[message getExtension:[UnittestRoot optionalImportMessageExtension]] hasD]); 240 XCTAssertEqual(101, [[message getExtension:[UnittestRoot optionalInt32Extension]] intValue]); 241 …XCTAssertEqual(102LL, [[message getExtension:[UnittestRoot optionalInt64Extension]] longLongValue]… 242 …XCTAssertEqual(103U, [[message getExtension:[UnittestRoot optionalUint32Extension]] unsignedIntVal… 243 …XCTAssertEqual(104ULL, [[message getExtension:[UnittestRoot optionalUint64Extension]] unsignedLong… 244 XCTAssertEqual(105, [[message getExtension:[UnittestRoot optionalSint32Extension]] intValue]); 245 …XCTAssertEqual(106LL, [[message getExtension:[UnittestRoot optionalSint64Extension]] longLongValue… [all …]
|
D | GPBMessageTests.m | 716 [[message2 getExtension:[UnittestRoot repeatedInt32Extension]] count], 720 [[message2 getExtension:[UnittestRoot repeatedInt32Extension]] count], 727 [message3 getExtension:[UnittestObjcRoot recursiveExtension]]; 1581 [message getExtension:[UnittestRoot optionalGroupExtension]]; 1583 [message getExtension:[UnittestRoot optionalNestedMessageExtension]]; 1585 [message getExtension:[UnittestRoot optionalForeignMessageExtension]]; 1587 [message getExtension:[UnittestRoot optionalImportMessageExtension]]; 1589 getExtension:[UnittestRoot optionalPublicImportMessageExtension]]; 1591 [message getExtension:[UnittestRoot optionalLazyMessageExtension]]; 1614 XCTAssertEqual([message getExtension:[UnittestRoot optionalGroupExtension]], [all …]
|
/external/cronet/third_party/protobuf/js/binary/ |
D | proto_test.js | 286 assertEquals(0, msg.getExtension(proto.jspb.test.extendOptionalInt32)); 288 msg.getExtension(proto.jspb.test.extendOptionalInt64)); 290 msg.getExtension(proto.jspb.test.extendOptionalUint32)); 292 msg.getExtension(proto.jspb.test.extendOptionalUint64)); 294 msg.getExtension(proto.jspb.test.extendOptionalSint32)); 296 msg.getExtension(proto.jspb.test.extendOptionalSint64)); 298 msg.getExtension(proto.jspb.test.extendOptionalFixed32)); 300 msg.getExtension(proto.jspb.test.extendOptionalFixed64)); 302 msg.getExtension(proto.jspb.test.extendOptionalSfixed32)); 304 msg.getExtension(proto.jspb.test.extendOptionalSfixed64)); [all …]
|
/external/cronet/base/android/junit/src/org/chromium/base/ |
D | FileUtilsTest.java | 423 assertEquals("txt", FileUtils.getExtension("foo.txt")); in testGetExtension() 424 assertEquals("txt", FileUtils.getExtension("fOo.TxT")); in testGetExtension() 425 assertEquals("", FileUtils.getExtension("")); in testGetExtension() 426 assertEquals("", FileUtils.getExtension("No_extension")); in testGetExtension() 427 assertEquals("foo_config", FileUtils.getExtension(".foo_conFIG")); in testGetExtension() 428 assertEquals("6", FileUtils.getExtension("a.1.2.3.4.5.6")); in testGetExtension() 429 assertEquals("a1z2_a8z9", FileUtils.getExtension("a....a1z2_A8Z9")); in testGetExtension() 430 assertEquals("", FileUtils.getExtension("dotAtEnd.")); in testGetExtension() 431 assertEquals("ext", FileUtils.getExtension("/Full/PATH/To/File.Ext")); in testGetExtension() 432 assertEquals("", FileUtils.getExtension("/Full.PATH/To.File/Extra")); in testGetExtension() [all …]
|
/external/cronet/third_party/protobuf/js/ |
D | message_test.js | 539 dest.getExtension(proto.jspb.test.CloneExtension.extField).getExt()); 552 dest.getExtension(proto.jspb.test.CloneExtension.extField) 555 dest.getExtension(proto.jspb.test.CloneExtension.extField).getExt(), 556 original.getExtension(proto.jspb.test.CloneExtension.extField) 586 extendable.getExtension(proto.jspb.test.IsExtension.extField)); 589 extendable.getExtension(proto.jspb.test.IndirectExtension.simple)); 592 extendable.getExtension(proto.jspb.test.IndirectExtension.str)); 595 extendable.getExtension( 599 extendable.getExtension( 604 extendable.getExtension(proto.jspb.test.IndirectExtension.simple)); [all …]
|
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/ |
D | NanoTest.java | 2923 assertEquals(int32s[1], (int) message.getExtension(SingularExtensions.someInt32)); in testExtensions() 2924 assertEquals(uint32s[1], (int) message.getExtension(SingularExtensions.someUint32)); in testExtensions() 2925 assertEquals(sint32s[1], (int) message.getExtension(SingularExtensions.someSint32)); in testExtensions() 2926 assertEquals(int64s[1], (long) message.getExtension(SingularExtensions.someInt64)); in testExtensions() 2927 assertEquals(uint64s[1], (long) message.getExtension(SingularExtensions.someUint64)); in testExtensions() 2928 assertEquals(sint64s[1], (long) message.getExtension(SingularExtensions.someSint64)); in testExtensions() 2929 assertEquals(fixed32s[1], (int) message.getExtension(SingularExtensions.someFixed32)); in testExtensions() 2930 assertEquals(sfixed32s[1], (int) message.getExtension(SingularExtensions.someSfixed32)); in testExtensions() 2931 assertEquals(fixed64s[1], (long) message.getExtension(SingularExtensions.someFixed64)); in testExtensions() 2932 assertEquals(sfixed64s[1], (long) message.getExtension(SingularExtensions.someSfixed64)); in testExtensions() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/ |
D | X509CRLEntryObject.java | 95 Extension ext = getExtension(Extension.certificateIssuer); in loadCertificateIssuer() 147 Extension ext = extensions.getExtension(oid); in getExtensionOIDs() 171 private Extension getExtension(ASN1ObjectIdentifier oid) in getExtension() method in X509CRLEntryObject 177 return exts.getExtension(oid); in getExtension() 185 Extension ext = getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue() 283 Extension ext = extensions.getExtension(oid); in toString()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | X509CRLEntryObject.java | 93 Extension ext = getExtension(Extension.certificateIssuer); in loadCertificateIssuer() 145 Extension ext = extensions.getExtension(oid); in getExtensionOIDs() 169 private Extension getExtension(ASN1ObjectIdentifier oid) in getExtension() method in X509CRLEntryObject 175 return exts.getExtension(oid); in getExtension() 183 Extension ext = getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue() 289 Extension ext = extensions.getExtension(oid); in toString()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | X509CRLEntryObject.java | 94 Extension ext = getExtension(Extension.certificateIssuer); in loadCertificateIssuer() 146 Extension ext = extensions.getExtension(oid); in getExtensionOIDs() 170 private Extension getExtension(ASN1ObjectIdentifier oid) in getExtension() method in X509CRLEntryObject 176 return exts.getExtension(oid); in getExtension() 184 Extension ext = getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue() 290 Extension ext = extensions.getExtension(oid); in toString()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | X509CRLEntryObject.java | 93 Extension ext = getExtension(Extension.certificateIssuer); in loadCertificateIssuer() 145 Extension ext = extensions.getExtension(oid); in getExtensionOIDs() 169 private Extension getExtension(ASN1ObjectIdentifier oid) in getExtension() method in X509CRLEntryObject 175 return exts.getExtension(oid); in getExtension() 183 Extension ext = getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue() 281 Extension ext = extensions.getExtension(oid); in toString()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/ |
D | X509CRLEntryObject.java | 95 Extension ext = getExtension(Extension.certificateIssuer); in loadCertificateIssuer() 147 Extension ext = extensions.getExtension(oid); in getExtensionOIDs() 171 private Extension getExtension(ASN1ObjectIdentifier oid) in getExtension() method in X509CRLEntryObject 177 return exts.getExtension(oid); in getExtension() 185 Extension ext = getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue() 283 Extension ext = extensions.getExtension(oid); in toString()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | X509CRLEntryObject.java | 94 Extension ext = getExtension(Extension.certificateIssuer); in loadCertificateIssuer() 146 Extension ext = extensions.getExtension(oid); in getExtensionOIDs() 170 private Extension getExtension(ASN1ObjectIdentifier oid) in getExtension() method in X509CRLEntryObject 176 return exts.getExtension(oid); in getExtension() 184 Extension ext = getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue() 290 Extension ext = extensions.getExtension(oid); in toString()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ |
D | X509CRLEntryHolder.java | 29 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in X509CRLEntryHolder() 90 public Extension getExtension(ASN1ObjectIdentifier oid) in getExtension() method in X509CRLEntryHolder 96 return extensions.getExtension(oid); in getExtension()
|
/external/bouncycastle/repackaged_platform/bcpkix/src/main/java/com/android/internal/org/bouncycastle/cert/ |
D | X509CRLEntryHolder.java | 31 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in X509CRLEntryHolder() 92 public Extension getExtension(ASN1ObjectIdentifier oid) in getExtension() method in X509CRLEntryHolder 98 return extensions.getExtension(oid); in getExtension()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
D | Extensions.java | 32 public static Extension getExtension(Extensions extensions, ASN1ObjectIdentifier oid) in getExtension() method in Extensions 34 return null == extensions ? null : extensions.getExtension(oid); in getExtension() 132 public Extension getExtension( in getExtension() method in Extensions 146 Extension ext = this.getExtension(oid); in getExtensionParsedValue()
|