Home
last modified time | relevance | path

Searched refs:signature (Results 1 – 25 of 1279) sorted by relevance

12345678910>>...52

/external/ImageMagick/Magick++/tests/
DreadWriteBlob.cpp72 string signature(""); in main() local
75 signature = image.signature(); in main()
109 if ( image.signature() != signature ) in main()
114 << image.signature() in main()
116 << signature << endl; in main()
123 if ( image.signature() != signature ) in main()
128 << image.signature() in main()
130 << signature << endl; in main()
138 if ( image.signature() != signature ) in main()
143 << image.signature() in main()
[all …]
DappendImages.cpp44 …if (( appended.signature() != "3a90bb0bb8f69f6788ab99e9e25598a0d6c5cdbbb797f77ad68011e0a8b1689d" )… in main()
45 … ( appended.signature() != "493106ee32cdeab9e386fe50aafede73c23c1150af564a4ad71ca1deccc1fa10" ) && in main()
46 … ( appended.signature() != "b98c42c55fc4e661cb3684154256809c03c0c6b53da2738b6ce8066e1b6ddef0" )) in main()
51 << appended.signature() << endl; in main()
58 …if (( appended.signature() != "a22fbe9ca8e3dc3b34f137d175d51841daf56d231bedd8b18ad55415af558265" )… in main()
59 … ( appended.signature() != "11b97ba6ac1664aa1c2faed4c86195472ae9cce2ed75402d975bb4ffcf1de751" ) && in main()
60 … ( appended.signature() != "cae4815eeb3cb689e73b94d897a9957d3414d1d4f513e8b5e52579b05d164bfe" )) in main()
65 << appended.signature() << endl; in main()
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_calltips.py38 signature = ct.get_arg_text # 2.7 and 3.x use different functions variable
56 self.assertEqual(signature(obj), out)
75 self.assertEqual(signature(textwrap.TextWrapper), '''\
83 self.assertEqual(signature(f), '()\n' + 'a' * (ct._MAX_COLS-3) + '...')
87 self.assertEqual(signature(list),
96 self.assertEqual(signature(f),
113 self.assertEqual(signature(func), func.tip + doc)
118 self.assertEqual(signature(meth), meth.tip + doc)
119 self.assertEqual(signature(TC.cm), "(a)" + doc)
120 self.assertEqual(signature(TC.sm), "(b)" + doc)
[all …]
/external/ImageMagick/MagickCore/
Dversion.c509 signature; in GetMagickSignature() local
513 signature=MAGICKCORE_QUANTUM_DEPTH; in GetMagickSignature()
514 (void) memcpy(p,&signature,sizeof(signature)); in GetMagickSignature()
515 p+=sizeof(signature); in GetMagickSignature()
516 signature=MAGICKCORE_HDRI_ENABLE; in GetMagickSignature()
517 (void) memcpy(p,&signature,sizeof(signature)); in GetMagickSignature()
518 p+=sizeof(signature); in GetMagickSignature()
519 signature=MagickLibInterface; in GetMagickSignature()
520 (void) memcpy(p,&signature,sizeof(signature)); in GetMagickSignature()
521 p+=sizeof(signature); in GetMagickSignature()
[all …]
Dquantum.c121 quantum_info->signature=MagickCoreSignature; in AcquireQuantumInfo()
164 assert(quantum_info->signature == MagickCoreSignature); in AcquireQuantumPixels()
217 assert(quantum_info->signature == MagickCoreSignature); in DestroyQuantumInfo()
222 quantum_info->signature=(~MagickCoreSignature); in DestroyQuantumInfo()
258 assert(quantum_info->signature == MagickCoreSignature); in DestroyQuantumPixels()
310 assert(quantum_info->signature == MagickCoreSignature); in GetQuantumExtent()
358 assert(quantum_info->signature == MagickCoreSignature); in GetQuantumEndian()
387 assert(quantum_info->signature == MagickCoreSignature); in GetQuantumFormat()
428 quantum_info->signature=MagickCoreSignature; in GetQuantumInfo()
492 assert(quantum_info->signature == MagickCoreSignature); in GetQuantumPixels()
[all …]
/external/libbrillo/brillo/dbus/
Ddata_serialization.cc185 std::string signature = reader->GetDataSignature(); in PopArrayValueFromReader() local
186 if (signature == "ab") in PopArrayValueFromReader()
188 else if (signature == "ay") in PopArrayValueFromReader()
190 else if (signature == "an") in PopArrayValueFromReader()
192 else if (signature == "aq") in PopArrayValueFromReader()
194 else if (signature == "ai") in PopArrayValueFromReader()
196 else if (signature == "au") in PopArrayValueFromReader()
198 else if (signature == "ax") in PopArrayValueFromReader()
200 else if (signature == "at") in PopArrayValueFromReader()
202 else if (signature == "ad") in PopArrayValueFromReader()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/signature/
DStringSignature.java1 package com.bumptech.glide.signature;
12 private final String signature; field in StringSignature
14 public StringSignature(String signature) { in StringSignature() argument
15 if (signature == null) { in StringSignature()
18 this.signature = signature; in StringSignature()
32 return signature.equals(that.signature); in equals()
37 return signature.hashCode(); in hashCode()
42 messageDigest.update(signature.getBytes(STRING_CHARSET_NAME)); in updateDiskCacheKey()
/external/r8/src/main/java/com/android/tools/r8/graph/
DDebugLocalInfo.java9 public final DexString signature; field in DebugLocalInfo
11 public DebugLocalInfo(DexString name, DexType type, DexString signature) { in DebugLocalInfo() argument
14 this.signature = signature; in DebugLocalInfo()
26 return name == o.name && type == o.type && signature == o.signature; in equals()
32 if (signature != null) { in hashCode()
33 hash += 31 * signature.hashCode(); in hashCode()
40 return name + ":" + type + (signature == null ? "" : signature); in toString()
/external/libchrome/crypto/
Dsignature_verifier_unittest.cc120 const uint8_t signature[256] = { in TEST() local
194 ok = verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, signature, in TEST()
195 sizeof(signature), public_key_info, in TEST()
204 ok = verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, signature, in TEST()
205 sizeof(signature), public_key_info, in TEST()
218 ok = verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, signature, in TEST()
219 sizeof(signature), public_key_info, in TEST()
227 uint8_t bad_signature[sizeof(signature)]; in TEST()
228 memcpy(bad_signature, signature, sizeof(signature)); in TEST()
246 ok = verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, signature, in TEST()
[all …]
/external/oauth/core/src/main/java/net/oauth/signature/
DPLAINTEXT.java17 package net.oauth.signature;
34 protected boolean isValid(String signature, String baseString) in isValid() argument
36 return signature.equals(getSignature()); in isValid()
40 if (signature == null) { in getSignature()
41 signature = OAuth.percentEncode(getConsumerSecret()) + '&' in getSignature()
44 return signature; in getSignature()
47 private String signature = null; field in PLAINTEXT
52 signature = null; in setConsumerSecret()
60 signature = null; in setTokenSecret()
/external/ImageMagick/MagickWand/
Dpixel-wand.c84 signature; member
112 assert(wand->signature == MagickWandSignature); in ClearPixelWand()
148 assert(wand->signature == MagickWandSignature); in ClonePixelWand()
166 clone_wand->signature=MagickWandSignature; in ClonePixelWand()
239 assert(wand->signature == MagickWandSignature); in DestroyPixelWand()
243 wand->signature=(~MagickWandSignature); in DestroyPixelWand()
283 assert((*wand)->signature == MagickWandSignature); in DestroyPixelWands()
325 assert(p->signature == MagickWandSignature); in IsPixelWandSimilar()
329 assert(q->signature == MagickWandSignature); in IsPixelWandSimilar()
363 if (wand->signature != MagickWandSignature) in IsPixelWand()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DField.java41 private String signature; field in Field
54 signature = "unknown"; in Field()
72 public Field(long id, long classID, String name, String signature, in Field() argument
78 setSignature(signature); in Field()
87 private void setSignature(String signature) { in setSignature() argument
88 switch (signature.charAt(0)) { in setSignature()
139 this.signature = signature; in setSignature()
175 return signature; in getSignature()
196 switch (signature.charAt(1)) { in getType()
228 type = signature in getType()
[all …]
DFrame.java209 private String signature; field in Frame.Variable
226 signature = "unknown"; in Variable()
276 return signature; in getSignature()
284 public void setSignature(String signature) { in setSignature() argument
285 switch (signature.charAt(0)) { in setSignature()
336 this.signature = signature; in setSignature()
394 switch (signature.charAt(1)) { in getType()
426 type = signature in getType()
427 .substring(2, signature.length() - 1 /* in getType()
438 type = signature in getType()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DAllClassesTest.java68 String signature; in testAllClasses002() local
79 signature = reply.getNextValueAsString(); in testAllClasses002()
85 logWriter.println("## Class signature: " + signature); in testAllClasses002()
98 logWriter.println("## Class signature: " + signature); in testAllClasses002()
142 String signature; in testAllClasses001() local
168 signature = reply.getNextValueAsString(); in testAllClasses001()
169 msgLine = msgLine + ": " + signature; in testAllClasses001()
177 logWriter.println("\tsignature = " + signature); in testAllClasses001()
189 assertTrue(signature.length() > 0); in testAllClasses001()
190 assertTrue(signature.toCharArray()[0] == 'L' in testAllClasses001()
[all …]
DAllClassesWithGenericTest.java69 String signature, genericSignature; in testAllClassesWithGeneric002() local
80 signature = reply.getNextValueAsString(); in testAllClassesWithGeneric002()
87 logWriter.println("## Class signature: " + signature); in testAllClassesWithGeneric002()
101 logWriter.println("## Class signature: " + signature); in testAllClassesWithGeneric002()
147 String signature, genericSignature; in testAllClassesWithGeneric001() local
174 signature = reply.getNextValueAsString(); in testAllClassesWithGeneric001()
175 msgLine = msgLine + ": " + signature; in testAllClassesWithGeneric001()
184 logWriter.println("\tsignature = " + signature); in testAllClassesWithGeneric001()
197 assertTrue(signature.length() > 0); in testAllClassesWithGeneric001()
198 assertTrue(signature.toCharArray()[0] == 'L' in testAllClassesWithGeneric001()
[all …]
/external/wycheproof/java/com/google/security/wycheproof/testcases/
DEcdsaTest.java575 BigInteger extractR(byte[] signature) throws Exception { in extractR() argument
576 int startR = (signature[1] & 0x80) != 0 ? 3 : 2; in extractR()
577 int lengthR = signature[startR + 1]; in extractR()
578 return new BigInteger(Arrays.copyOfRange(signature, startR + 2, startR + 2 + lengthR)); in extractR()
581 BigInteger extractS(byte[] signature) throws Exception { in extractS() argument
582 int startR = (signature[1] & 0x80) != 0 ? 3 : 2; in extractS()
583 int lengthR = signature[startR + 1]; in extractS()
585 int lengthS = signature[startS + 1]; in extractS()
586 return new BigInteger(Arrays.copyOfRange(signature, startS + 2, startS + 2 + lengthS)); in extractS()
590 BigInteger extractK(byte[] signature, BigInteger h, ECPrivateKey priv) throws Exception { in extractK() argument
[all …]
DDsaTest.java691 for (String signature : signatures) { in testVectors()
692 byte[] signatureBytes = TestUtil.hexToBytes(signature); in testVectors()
705 System.out.println(signatureType + ":" + signature + " throws:" + ex.toString()); in testVectors()
710 System.out.println(signatureType + " was not verified:" + signature); in testVectors()
713 System.out.println(signatureType + " was verified:" + signature); in testVectors()
739 BigInteger extractR(byte[] signature) throws Exception { in extractR() argument
740 int lengthR = signature[3]; in extractR()
741 return new BigInteger(Arrays.copyOfRange(signature, 4, 4 + lengthR)); in extractR()
744 BigInteger extractS(byte[] signature) throws Exception { in extractS() argument
745 int lengthR = signature[3]; in extractS()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/
DSignature.java17 DERBitString signature; field in Signature
22 DERBitString signature) in Signature() argument
25 this.signature = signature; in Signature()
30 DERBitString signature, in Signature() argument
34 this.signature = signature; in Signature()
42 signature = (DERBitString)seq.getObjectAt(1); in Signature()
80 return signature; in getSignature()
102 v.add(signature); in toASN1Primitive()
/external/conscrypt/common/src/main/java/org/conscrypt/
DCryptoUpcalls.java79 Signature signature; in rawSignDigestWithPrivateKey() local
85 signature = Signature.getInstance(algorithm); in rawSignDigestWithPrivateKey()
86 signature.initSign(javaKey); in rawSignDigestWithPrivateKey()
89 if (isOurProvider(signature.getProvider())) { in rawSignDigestWithPrivateKey()
90 signature = null; in rawSignDigestWithPrivateKey()
98 signature = null; in rawSignDigestWithPrivateKey()
103 if (signature == null) { in rawSignDigestWithPrivateKey()
107 signature = Signature.getInstance(algorithm, p); in rawSignDigestWithPrivateKey()
108 signature.initSign(javaKey); in rawSignDigestWithPrivateKey()
111 signature = null; in rawSignDigestWithPrivateKey()
[all …]
/external/vboot_reference/utility/
Dverify_data.c29 uint8_t* signature = NULL; in read_signature() local
36 signature = (uint8_t*) malloc(len); in read_signature()
37 if (!signature) in read_signature()
40 if( (i = read(sigfd, signature, len)) != len ) { in read_signature()
48 return signature; in read_signature()
55 uint8_t* signature = NULL; in main() local
76 (signature = read_signature(argv[3], sig_len)) && in main()
78 if (RSAVerify(key, signature, sig_len, algorithm, digest)) { in main()
91 free(signature); in main()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DOriginalKey.java14 private final Key signature; field in OriginalKey
16 public OriginalKey(String id, Key signature) { in OriginalKey() argument
18 this.signature = signature; in OriginalKey()
35 if (!signature.equals(that.signature)) { in equals()
45 result = 31 * result + signature.hashCode(); in hashCode()
52 signature.updateDiskCacheKey(messageDigest); in updateDiskCacheKey()
/external/boringssl/src/crypto/x509/
Da_sign.c68 X509_ALGOR *algor2, ASN1_BIT_STRING *signature, void *asn, in ASN1_item_sign() argument
77 return ASN1_item_sign_ctx(it, algor1, algor2, signature, asn, &ctx); in ASN1_item_sign()
82 ASN1_BIT_STRING *signature, void *asn, EVP_MD_CTX *ctx) in ASN1_item_sign_ctx() argument
112 if (signature->data != NULL) in ASN1_item_sign_ctx()
113 OPENSSL_free(signature->data); in ASN1_item_sign_ctx()
114 signature->data = buf_out; in ASN1_item_sign_ctx()
116 signature->length = outl; in ASN1_item_sign_ctx()
121 signature->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT | 0x07); in ASN1_item_sign_ctx()
122 signature->flags |= ASN1_STRING_FLAG_BITS_LEFT; in ASN1_item_sign_ctx()
/external/syslinux/com32/gpllib/acpi/
Dacpi.c89 cp_str_struct(adh->signature); in get_acpi_description_header()
98 …DEBUG_PRINT(("acpi_header at %p = %s | %s | %s\n", q, adh->signature,adh->oem_id, adh->creator_id … in get_acpi_description_header()
109 if (memcmp(adh.signature, FACP, sizeof(FACP) - 1) == 0) { in parse_header()
138 if (memcmp(new_adh.signature, DSDT, sizeof(DSDT) - 1) == 0) { in parse_header()
148 if (memcmp(new_adh.signature, DSDT, sizeof(DSDT) - 1) == in parse_header()
159 else if (memcmp(adh.signature, APIC, sizeof(APIC) - 1) == 0) { in parse_header()
167 } else if (memcmp(adh.signature, DSDT, sizeof(DSDT) - 1) == 0) { in parse_header()
176 } else if ((memcmp(adh.signature, SSDT, sizeof(SSDT) - 1) == 0) in parse_header()
177 || (memcmp(adh.signature, PSDT, sizeof(PSDT) - 1) == 0)) { in parse_header()
179 DEBUG_PRINT(("SSDT table found with %s \n",adh.signature)); in parse_header()
[all …]
/external/mesa3d/src/compiler/glsl/
Dlower_jumps.cpp163 ir_function_signature* signature; member
177 this->signature = p_signature; in loop_record()
190 exec_list& list = this->loop ? this->loop->body_instructions : signature->body; in get_execute_flag()
191 …this->execute_flag = new(this->signature) ir_variable(glsl_type::bool_type, "execute_flag", ir_var… in get_execute_flag()
192 …ist.push_head(new(this->signature) ir_assignment(new(this->signature) ir_dereference_variable(exec… in get_execute_flag()
202 …this->break_flag = new(this->signature) ir_variable(glsl_type::bool_type, "break_flag", ir_var_tem… in get_break_flag()
204 …>insert_before(new(this->signature) ir_assignment(new(this->signature) ir_dereference_variable(bre… in get_break_flag()
212 ir_function_signature* signature; member
221 this->signature = p_signature; in function_record()
231 …this->return_flag = new(this->signature) ir_variable(glsl_type::bool_type, "return_flag", ir_var_t… in get_return_flag()
[all …]
/external/r8/src/main/java/com/android/tools/r8/naming/
DMemberNaming.java37 return signature.equals(that.signature) in equals()
45 int result = signature.hashCode(); in hashCode()
55 final Signature signature; field in MemberNaming
66 MemberNaming(Signature signature, String renamedName, Range inlinedLineRange) { in MemberNaming() argument
67 this.signature = signature; in MemberNaming()
68 this.renamedSignature = signature.asRenamed(renamedName); in MemberNaming()
72 public void addInliningRange(Range inlinedRange, Signature signature, Range originalRange) { in addInliningRange() argument
73 inlineInformation.add(new InlineInformation(inlinedRange, originalRange, signature)); in addInliningRange()
87 return signature; in getOriginalSignature()
100 return signature.kind() == SignatureKind.METHOD; in isMethodNaming()
[all …]

12345678910>>...52