/external/annotation-tools/asmx/src/org/objectweb/asm/signature/ |
D | SignatureReader.java | 30 package org.objectweb.asm.signature; 44 private final String signature; field in SignatureReader 52 public SignatureReader(final String signature) { in SignatureReader() argument 53 this.signature = signature; in SignatureReader() 72 String signature = this.signature; in accept() local 73 int len = signature.length(); in accept() 77 if (signature.charAt(0) == '<') { in accept() 80 int end = signature.indexOf(':', pos); in accept() 81 v.visitFormalTypeParameter(signature.substring(pos - 1, end)); in accept() 84 c = signature.charAt(pos); in accept() [all …]
|
/external/ImageMagick/Magick++/tests/ |
D | readWriteBlob.cpp | 72 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 …]
|
/external/python/cpython2/Lib/idlelib/idle_test/ |
D | test_calltips.py | 38 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/ |
D | version.c | 509 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 …]
|
/external/libbrillo/brillo/dbus/ |
D | data_serialization.cc | 183 std::string signature = reader->GetDataSignature(); in PopArrayValueFromReader() local 184 if (signature == "ab") in PopArrayValueFromReader() 186 else if (signature == "ay") in PopArrayValueFromReader() 188 else if (signature == "an") in PopArrayValueFromReader() 190 else if (signature == "aq") in PopArrayValueFromReader() 192 else if (signature == "ai") in PopArrayValueFromReader() 194 else if (signature == "au") in PopArrayValueFromReader() 196 else if (signature == "ax") in PopArrayValueFromReader() 198 else if (signature == "at") in PopArrayValueFromReader() 200 else if (signature == "ad") in PopArrayValueFromReader() [all …]
|
/external/wayland/src/ |
D | connection.c | 400 for (i = 0, arrays = 0; message->signature[i]; i++) { in wl_message_count_arrays() 401 if (message->signature[i] == 'a') in wl_message_count_arrays() 427 get_next_argument(const char *signature, struct argument_details *details) in get_next_argument() argument 430 for(; *signature; ++signature) { in get_next_argument() 431 switch(*signature) { in get_next_argument() 440 details->type = *signature; in get_next_argument() 441 return signature + 1; in get_next_argument() 447 return signature; in get_next_argument() 451 arg_count_for_signature(const char *signature) in arg_count_for_signature() argument 454 for(; *signature; ++signature) { in arg_count_for_signature() [all …]
|
/external/turbine/javatests/com/google/turbine/bytecode/sig/ |
D | SigIntegrationTest.java | 60 String signature, in roundTrip() 63 if (signature != null) { in roundTrip() 64 assertThat(SigWriter.classSig(new SigParser(signature).parseClassSig())) in roundTrip() 65 .isEqualTo(signature); in roundTrip() 72 int access, String name, String desc, String signature, Object value) { in roundTrip() 73 if (signature != null) { in roundTrip() 74 assertThat(SigWriter.type(new SigParser(signature).parseFieldSig())) in roundTrip() 75 .isEqualTo(signature); in roundTrip() 78 return super.visitField(access, name, desc, signature, value); in roundTrip() 83 int access, String name, String desc, String signature, String[] exceptions) { in roundTrip() [all …]
|
/external/libchrome/crypto/ |
D | signature_verifier_unittest.cc | 121 const uint8_t signature[256] = { in TEST() local 195 ok = verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, signature, in TEST() 196 sizeof(signature), public_key_info, in TEST() 205 ok = verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, signature, in TEST() 206 sizeof(signature), public_key_info, in TEST() 219 ok = verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, signature, in TEST() 220 sizeof(signature), public_key_info, in TEST() 228 uint8_t bad_signature[sizeof(signature)]; in TEST() 229 memcpy(bad_signature, signature, sizeof(signature)); in TEST() 247 ok = verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, signature, in TEST() [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/signature/ |
D | StringSignature.java | 1 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/python/cpython3/Lib/test/ |
D | test_inspect.py | 1206 def makeCallable(self, signature): argument 1209 return eval(code % signature) 1372 def makeCallable(self, signature): argument 1373 assert 'self' not in signature 1375 self.cls.method = mk('self, ' + signature) 1380 def makeCallable(self, signature): argument 1381 super(TestGetcallargsUnboundMethods, self).makeCallable(signature) 1833 def signature(func, **kw): member in TestSignatureObject 1834 sig = inspect.signature(func, **kw) 1852 sig = inspect.signature(test) [all …]
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_calltips.py | 36 signature = ct.get_argspec # 2.7 and 3.x use different functions variable 53 self.assertEqual(signature(obj), out) 71 self.assertEqual(signature(textwrap.TextWrapper), '''\ 80 self.assertEqual(signature(f), '()\n' + 'a' * (ct._MAX_COLS-3) + '...') 84 self.assertEqual(signature(list), 89 self.assertEqual(signature(bytes), '''\ 99 self.assertEqual(signature(f), '()' + '\na' * ct._MAX_LINES) 115 self.assertEqual(signature(func), func.tip + doc) 120 self.assertEqual(signature(meth), meth.tip + doc) 121 self.assertEqual(signature(TC.cm), "(a)" + doc) [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/ |
D | MethodSignatureTest.java | 14 …final MethodSignature signature = MethodSignature.parse("java/lang/Long/foo(Ljava/lang/Integer;)Z"… in parse_shouldHandlePrimitiveReturnTypes() local 15 assertThat(signature.className).isEqualTo("java.lang.Long"); in parse_shouldHandlePrimitiveReturnTypes() 16 assertThat(signature.methodName).isEqualTo("foo"); in parse_shouldHandlePrimitiveReturnTypes() 17 assertThat(signature.paramTypes).contains("java.lang.Integer"); in parse_shouldHandlePrimitiveReturnTypes() 18 assertThat(signature.returnType).isEqualTo("boolean"); in parse_shouldHandlePrimitiveReturnTypes() 23 …final MethodSignature signature = MethodSignature.parse("java/lang/Long/foo(Ljava/lang/Integer;)Lj… in parse_shouldHandleObjectReturnTypes() local 24 assertThat(signature.className).isEqualTo("java.lang.Long"); in parse_shouldHandleObjectReturnTypes() 25 assertThat(signature.methodName).isEqualTo("foo"); in parse_shouldHandleObjectReturnTypes() 26 assertThat(signature.paramTypes).contains("java.lang.Integer"); in parse_shouldHandleObjectReturnTypes() 27 assertThat(signature.returnType).isEqualTo("java.lang.Long"); in parse_shouldHandleObjectReturnTypes()
|
/external/ImageMagick/MagickWand/ |
D | pixel-wand.c | 84 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/tensorflow/tensorflow/contrib/session_bundle/ |
D | signature_test.cc | 54 ClassificationSignature signature; in TEST() local 55 const Status status = GetClassificationSignature(meta_graph_def, &signature); in TEST() 57 EXPECT_EQ(signature.input().tensor_name(), "flow"); in TEST() 69 ClassificationSignature signature; in TEST() local 70 const Status status = GetClassificationSignature(meta_graph_def, &signature); in TEST() 86 ClassificationSignature signature; in TEST() local 87 const Status status = GetClassificationSignature(meta_graph_def, &signature); in TEST() 106 ClassificationSignature signature; in TEST() local 108 GetNamedClassificationSignature("foo", meta_graph_def, &signature); in TEST() 110 EXPECT_EQ(signature.input().tensor_name(), "flow"); in TEST() [all …]
|
D | signature.cc | 78 ClassificationSignature* signature) { in GetClassificationSignature() argument 91 *signature = signatures.default_signature().classification_signature(); in GetClassificationSignature() 97 ClassificationSignature* signature) { in GetNamedClassificationSignature() argument 111 *signature = it->second.classification_signature(); in GetNamedClassificationSignature() 115 Status RunClassification(const ClassificationSignature& signature, in RunClassification() argument 120 output_tensor_names.push_back(signature.classes().tensor_name()); in RunClassification() 123 output_tensor_names.push_back(signature.scores().tensor_name()); in RunClassification() 128 session->Run({{signature.input().tensor_name(), input}}, in RunClassification() 153 RegressionSignature* signature) { in GetRegressionSignature() argument 166 *signature = signatures.default_signature().regression_signature(); in GetRegressionSignature() [all …]
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
D | PLAINTEXT.java | 17 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/wycheproof/java/com/google/security/wycheproof/testcases/ |
D | EcdsaTest.java | 575 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 …]
|
D | DsaTest.java | 691 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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
D | AllClassesTest.java | 68 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 …]
|
D | AllClassesWithGenericTest.java | 69 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/conscrypt/common/src/main/java/org/conscrypt/ |
D | CryptoUpcalls.java | 81 Signature signature; in rawSignDigestWithPrivateKey() local 87 signature = Signature.getInstance(algorithm); in rawSignDigestWithPrivateKey() 88 signature.initSign(javaKey); in rawSignDigestWithPrivateKey() 91 if (isOurProvider(signature.getProvider())) { in rawSignDigestWithPrivateKey() 92 signature = null; in rawSignDigestWithPrivateKey() 100 signature = null; in rawSignDigestWithPrivateKey() 105 if (signature == null) { in rawSignDigestWithPrivateKey() 109 signature = Signature.getInstance(algorithm, p); in rawSignDigestWithPrivateKey() 110 signature.initSign(javaKey); in rawSignDigestWithPrivateKey() 113 signature = null; in rawSignDigestWithPrivateKey() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
D | Field.java | 41 private String signature; field in Field 63 public Field(long id, long classID, String name, String signature, String genericSignature, in Field() argument 70 setSignature(signature); in Field() 79 private void setSignature(String signature) { in setSignature() argument 80 switch (signature.charAt(0)) { in setSignature() 131 this.signature = signature; in setSignature() 167 return signature; in getSignature() 197 switch (signature.charAt(1)) { in getType() 229 type = signature in getType() 230 .substring(2, signature.length() - 1 /* in getType() [all …]
|
D | Frame.java | 209 private String signature; field in Frame.Variable 228 signature = "unknown"; in Variable() 279 return signature; in getSignature() 287 public void setSignature(String signature) { in setSignature() argument 288 switch (signature.charAt(0)) { in setSignature() 339 this.signature = signature; in setSignature() 415 switch (signature.charAt(1)) { in getType() 447 type = signature in getType() 448 .substring(2, signature.length() - 1 /* in getType() 459 type = signature in getType() [all …]
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/ |
D | JavassistUtils.java | 97 …private static List<ResolvedType> parseTypeParameters(String signature, TypeSolver typeSolver, Con… in parseTypeParameters() argument 98 String originalSignature = signature; in parseTypeParameters() 99 if (signature.contains("<")) { in parseTypeParameters() 100 signature = signature.substring(signature.indexOf('<') + 1); in parseTypeParameters() 101 if (!signature.endsWith(">")) { in parseTypeParameters() 104 signature = signature.substring(0, signature.length() - 1); in parseTypeParameters() 105 if (signature.contains(",")) { in parseTypeParameters() 108 if (signature.startsWith("?")) { in parseTypeParameters() 114 … List<ResolvedType> typeParameters = parseTypeParameters(signature, typeSolver, invokationContext); in parseTypeParameters() 115 if (signature.contains("<")) { in parseTypeParameters() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/ |
D | Signature.java | 17 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()
|