Home
last modified time | relevance | path

Searched refs:getExtension (Results 1 – 25 of 118) sorted by relevance

12345

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTestUtil.java1424 Assert.assertTrue(message.getExtension(optionalGroupExtension ).hasA()); in assertAllExtensionsSet()
1425 Assert.assertTrue(message.getExtension(optionalNestedMessageExtension ).hasBb()); in assertAllExtensionsSet()
1426 Assert.assertTrue(message.getExtension(optionalForeignMessageExtension).hasC()); in assertAllExtensionsSet()
1427 Assert.assertTrue(message.getExtension(optionalImportMessageExtension ).hasD()); in assertAllExtensionsSet()
1436 assertEqualsExactType(101 , message.getExtension(optionalInt32Extension )); in assertAllExtensionsSet()
1437 assertEqualsExactType(102L , message.getExtension(optionalInt64Extension )); in assertAllExtensionsSet()
1438 assertEqualsExactType(103 , message.getExtension(optionalUint32Extension )); in assertAllExtensionsSet()
1439 assertEqualsExactType(104L , message.getExtension(optionalUint64Extension )); in assertAllExtensionsSet()
1440 assertEqualsExactType(105 , message.getExtension(optionalSint32Extension )); in assertAllExtensionsSet()
1441 assertEqualsExactType(106L , message.getExtension(optionalSint64Extension )); in assertAllExtensionsSet()
[all …]
DTestBadIdentifiers.java90 assertEquals(0L, message.getExtension( in testConflictingFieldNames()
92 assertEquals(0L, message.getExtension( in testConflictingFieldNames()
DWireFormatTest.java435 assertEquals(123, messageSet.getExtension( in testParseMessageSetWithFlag()
437 assertEquals("foo", messageSet.getExtension( in testParseMessageSetWithFlag()
486 assertEquals(123, messageSet.getExtension( in testParseMessageSetExtensionWithFlag()
528 assertEquals(123, messageSet.getExtension( in testMergeLazyMessageSetExtensionWithFlag()
579 assertEquals(123, messageSet.getExtension( in testMergeMessageSetExtensionWithFlag()
/external/protobuf/js/binary/
Dproto_test.js282 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/
DGPBTestUtilities.m205 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 …]
DGPBMessageTests.m591 [[message2 getExtension:[UnittestRoot repeatedInt32Extension]] count],
595 [[message2 getExtension:[UnittestRoot repeatedInt32Extension]] count],
602 [message3 getExtension:[UnittestObjcRoot recursiveExtension]];
1423 [message getExtension:[UnittestRoot optionalGroupExtension]];
1425 [message getExtension:[UnittestRoot optionalNestedMessageExtension]];
1427 [message getExtension:[UnittestRoot optionalForeignMessageExtension]];
1429 [message getExtension:[UnittestRoot optionalImportMessageExtension]];
1431 getExtension:[UnittestRoot optionalPublicImportMessageExtension]];
1433 [message getExtension:[UnittestRoot optionalLazyMessageExtension]];
1456 XCTAssertEqual([message getExtension:[UnittestRoot optionalGroupExtension]],
[all …]
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java2924 assertEquals(int32s[1], (int) message.getExtension(SingularExtensions.someInt32)); in testExtensions()
2925 assertEquals(uint32s[1], (int) message.getExtension(SingularExtensions.someUint32)); in testExtensions()
2926 assertEquals(sint32s[1], (int) message.getExtension(SingularExtensions.someSint32)); in testExtensions()
2927 assertEquals(int64s[1], (long) message.getExtension(SingularExtensions.someInt64)); in testExtensions()
2928 assertEquals(uint64s[1], (long) message.getExtension(SingularExtensions.someUint64)); in testExtensions()
2929 assertEquals(sint64s[1], (long) message.getExtension(SingularExtensions.someSint64)); in testExtensions()
2930 assertEquals(fixed32s[1], (int) message.getExtension(SingularExtensions.someFixed32)); in testExtensions()
2931 assertEquals(sfixed32s[1], (int) message.getExtension(SingularExtensions.someSfixed32)); in testExtensions()
2932 assertEquals(fixed64s[1], (long) message.getExtension(SingularExtensions.someFixed64)); in testExtensions()
2933 assertEquals(sfixed64s[1], (long) message.getExtension(SingularExtensions.someSfixed64)); in testExtensions()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CRLEntryObject.java92 Extension ext = getExtension(Extension.certificateIssuer); in loadCertificateIssuer()
144 Extension ext = extensions.getExtension(oid); in getExtensionOIDs()
168 private Extension getExtension(ASN1ObjectIdentifier oid) in getExtension() method in X509CRLEntryObject
174 return exts.getExtension(oid); in getExtension()
182 Extension ext = getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue()
280 Extension ext = extensions.getExtension(oid); in toString()
DX509CRLObject.java148 Extension ext = extensions.getExtension(oid); in getExtensionOIDs()
179 Extension ext = exts.getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue()
345 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in loadCRLEntries()
373 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in getRevokedCertificate()
492 Extension ext = extensions.getExtension(oid); in toString()
595 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in isRevoked()
DX509CertificateObject.java407 Extension ext = extensions.getExtension(oid); in getCriticalExtensionOIDs()
428 Extension ext = exts.getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionBytes()
444 Extension ext = exts.getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue()
476 Extension ext = extensions.getExtension(oid); in getNonCriticalExtensionOIDs()
520 Extension ext = extensions.getExtension(oid); in hasUnsupportedCriticalExtension()
686 Extension ext = extensions.getExtension(oid); in toString()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509CRLEntryObject.java93 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()
DX509CRLObject.java144 Extension ext = extensions.getExtension(oid); in getExtensionOIDs()
175 Extension ext = exts.getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue()
328 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in loadCRLEntries()
356 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in getRevokedCertificate()
475 Extension ext = extensions.getExtension(oid); in toString()
578 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in isRevoked()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CRLEntryObject.java93 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()
DX509CRLObject.java149 Extension ext = extensions.getExtension(oid); in getExtensionOIDs()
180 Extension ext = exts.getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue()
346 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in loadCRLEntries()
374 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in getRevokedCertificate()
493 Extension ext = extensions.getExtension(oid); in toString()
596 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in isRevoked()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DX509CRLEntryObject.java95 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()
DX509CRLObject.java146 Extension ext = extensions.getExtension(oid); in getExtensionOIDs()
177 Extension ext = exts.getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue()
330 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in loadCRLEntries()
358 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in getRevokedCertificate()
477 Extension ext = extensions.getExtension(oid); in toString()
580 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in isRevoked()
/external/protobuf/js/
Dmessage_test.js495 dest.getExtension(proto.jspb.test.CloneExtension.extField).getExt());
499 dest.getExtension(proto.jspb.test.CloneExtension.extField).
502 dest.getExtension(proto.jspb.test.CloneExtension.extField).getExt(),
503 original.getExtension(
533 extendable.getExtension(proto.jspb.test.IsExtension.extField));
535 extendable.getExtension(proto.jspb.test.IndirectExtension.simple));
537 extendable.getExtension(proto.jspb.test.IndirectExtension.str));
538 assertObjectEquals(['a', 'b'], extendable.getExtension(
540 assertObjectEquals([s1, s2], extendable.getExtension(
545 extendable.getExtension(proto.jspb.test.IndirectExtension.simple));
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DX509CRLEntryHolder.java29 … 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()
DX509CRLHolder.java75 Extension ext = extensions.getExtension(Extension.issuingDistributionPoint); in isIndirectCRL()
158 … Extension currentCaName = entry.getExtensions().getExtension(Extension.certificateIssuer); in getRevokedCertificate()
212 public Extension getExtension(ASN1ObjectIdentifier oid) in getExtension() method in X509CRLHolder
216 return extensions.getExtension(oid); in getExtension()
/external/sl4a/Common/src/com/googlecode/android_scripting/
DFeaturedInterpreters.java76 String extension = getExtension(fileName); in getInterpreterNameForScript()
84 String extension = getExtension(fileName); in isSupported()
99 private static String getExtension(String fileName) { in getExtension() method in FeaturedInterpreters
/external/clang/include/clang/Serialization/
DModuleFileExtension.h117 ModuleFileExtension *getExtension() const { return Extension; } in getExtension() function
142 ModuleFileExtension *getExtension() const { return Extension; } in getExtension() function
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/
DSingleResp.java78 public Extension getExtension(ASN1ObjectIdentifier oid) in getExtension() method in SingleResp
82 return extensions.getExtension(oid); in getExtension()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhonenumber.java79 public String getExtension() { return extension_; } in getExtension() method in Phonenumber.PhoneNumber
203 setExtension(other.getExtension()); in mergeFrom()
252 hash = (53 * hash) + getExtension().hashCode(); in hashCode()
/external/sl4a/Common/src/com/googlecode/android_scripting/language/
DSupportedLanguages.java42 private String getExtension() { in getExtension() method in SupportedLanguages.KnownLanguage
56 sSupportedLanguages.put(language.getExtension(), language.getLanguageClass()); in language.getExtension()
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DPhonenumber.java100 public String getExtension() { return extension_; } in getExtension() method in Phonenumber.PhoneNumber
225 setExtension(other.getExtension()); in mergeFrom()
274 hash = (53 * hash) + getExtension().hashCode(); in hashCode()

12345