Home
last modified time | relevance | path

Searched refs:baseString (Results 1 – 8 of 8) sorted by relevance

/external/oauth/core/src/main/java/net/oauth/signature/
DHMAC_SHA1.java37 protected String getSignature(String baseString) throws OAuthException { in getSignature() argument
39 String signature = base64Encode(computeSignature(baseString)); in getSignature()
49 protected boolean isValid(String signature, String baseString) in isValid() argument
52 byte[] expected = computeSignature(baseString); in isValid()
62 private byte[] computeSignature(String baseString) in computeSignature() argument
76 byte[] text = baseString.getBytes(ENCODING); in computeSignature()
DOAuthSignatureMethod.java67 String baseString = getBaseString(message); in validate() local
68 if (!isValid(signature, baseString)) { in validate()
72 problem.setParameter("oauth_signature_base_string", baseString); in validate()
81 String baseString = getBaseString(message); in getSignature() local
82 String signature = getSignature(baseString); in getSignature()
114 protected abstract String getSignature(String baseString) throws OAuthException; in getSignature() argument
117 protected abstract boolean isValid(String signature, String baseString) in isValid() argument
DRSA_SHA1.java191 protected String getSignature(String baseString) throws OAuthException { in getSignature() argument
193 byte[] signature = sign(baseString.getBytes(OAuth.ENCODING)); in getSignature()
203 protected boolean isValid(String signature, String baseString) in isValid() argument
207 baseString.getBytes(OAuth.ENCODING)); in isValid()
DPLAINTEXT.java29 public String getSignature(String baseString) { in getSignature() argument
34 protected boolean isValid(String signature, String baseString) in isValid() argument
/external/cldr/tools/java/com/ibm/icu/text/
DFixedDecimal.java495 … String baseString = String.format(Locale.ROOT, "%." + fixedV + "f",n/Math.pow(10,exponent)); in toSampleString() local
504 if (baseString.endsWith("0")) { in toSampleString()
505 baseString = baseString.substring(0,baseString.length()-1); in toSampleString()
510 if (baseString.endsWith(".")) { in toSampleString()
511 baseString = baseString.substring(0,baseString.length()-1); in toSampleString()
514 return baseString + "e" + exponent; in toSampleString()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_modifiers.cpp61 const char16_t *baseString; in testSimpleModifier() member
91 output.append(outputs[j].baseString, kUndefinedField, status); in testSimpleModifier()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRules.java1018 … String baseString = String.format(Locale.ROOT, "%." + visibleDecimalDigitCount + "f", source); in toString() local
1020 return baseString; in toString()
1022 return baseString + "e" + exponent; in toString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralRules.java972 … String baseString = String.format(Locale.ROOT, "%." + visibleDecimalDigitCount + "f", source); in toString() local
974 return baseString; in toString()
976 return baseString + "e" + exponent; in toString()