/libcore/luni/src/main/java/org/apache/harmony/security/x501/ |
AttributeTypeAndValue.java | 363 if (av.encoded != null) { 364 out.content = av.encoded; 376 if (av.encoded != null) { 377 out.length = av.encoded.length; 398 if (av.encoded != null) {
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLCipher.java | 486 byte[] encoded = key.getEncoded(); 487 return engineDoFinal(encoded, 0, encoded.length); 499 byte[] encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length); 502 return keyFactory.generatePublic(new X509EncodedKeySpec(encoded)); 505 return keyFactory.generatePrivate(new PKCS8EncodedKeySpec(encoded)); 507 return new SecretKeySpec(encoded, wrappedKeyAlgorithm);
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/ |
image_encoder.js | 48 * @return {ImageEncoder.MetadataEncoder} Encoder with encoded metadata. 59 * Return a blob with the encoded image with metadata inserted. 60 * @param {HTMLCanvasElement} canvas The canvas with the image to be encoded. 63 * @return {Blob} encoded data. 112 * Decode a dataURL into a binary string containing the encoded image.
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_audioop.py | 222 encoded = b'\x00\x03\x24\x2a\x51\x54\x55\x58\x6b\x71\x7f'\ 227 self.assertEqual(audioop.alaw2lin(encoded, w), 230 encoded = ''.join(chr(x) for x in xrange(256)) 232 decoded = audioop.alaw2lin(encoded, w) 233 self.assertEqual(audioop.lin2alaw(decoded, w), encoded) 244 encoded = b'\x00\x0e\x28\x3f\x57\x6a\x76\x7c\x7e\x7f'\ 249 self.assertEqual(audioop.ulaw2lin(encoded, w), 253 encoded = ''.join(chr(x) for x in range(127) + range(128, 256)) 255 decoded = audioop.ulaw2lin(encoded, w) 256 self.assertEqual(audioop.lin2ulaw(decoded, w), encoded) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_audioop.py | 222 encoded = b'\x00\x03\x24\x2a\x51\x54\x55\x58\x6b\x71\x7f'\ 227 self.assertEqual(audioop.alaw2lin(encoded, w), 230 encoded = ''.join(chr(x) for x in xrange(256)) 232 decoded = audioop.alaw2lin(encoded, w) 233 self.assertEqual(audioop.lin2alaw(decoded, w), encoded) 244 encoded = b'\x00\x0e\x28\x3f\x57\x6a\x76\x7c\x7e\x7f'\ 249 self.assertEqual(audioop.ulaw2lin(encoded, w), 253 encoded = ''.join(chr(x) for x in range(127) + range(128, 256)) 255 decoded = audioop.ulaw2lin(encoded, w) 256 self.assertEqual(audioop.lin2ulaw(decoded, w), encoded) [all...] |
/external/chromium_org/cc/resources/ |
picture.cc | 97 std::string encoded; local 98 if (!value->GetAsString(&encoded)) 102 base::Base64Decode(encoded, &decoded); 122 std::string encoded; 123 if (!value->GetString("skp64", &encoded)) 127 base::Base64Decode(encoded, &decoded);
|
/external/chromium_org/chrome/browser/resources/chromeos/ |
salsa.js | 16 * @return {string} The ASCII values of those hex encoded characters 30 * Extract the experiment information out of the encoded URL string. 33 * Experiments are encoded as:
|
/external/chromium_org/remoting/webapp/ |
host_plugin_proto.js | 36 * encoded with Base64. 53 * @param {string} config The new config parameters, JSON encoded dictionary. 88 * JSON-encoded list of paired clients.
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
encoder.py | 51 * Every field's tag is encoded to bytes at startup, since it can't change at 211 # a parameter and returns its encoded size. 662 encoded = element.encode('utf-8') 664 local_EncodeVarint(write, local_len(encoded)) 665 write(encoded) 669 encoded = value.encode('utf-8') 671 local_EncodeVarint(write, local_len(encoded)) 672 return write(encoded)
|
/external/protobuf/python/google/protobuf/internal/ |
encoder.py | 51 * Every field's tag is encoded to bytes at startup, since it can't change at 205 # a parameter and returns its encoded size. 579 encoded = element.encode('utf-8') 581 local_EncodeVarint(write, local_len(encoded)) 582 write(encoded) 586 encoded = value.encode('utf-8') 588 local_EncodeVarint(write, local_len(encoded)) 589 return write(encoded)
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
SequenceOfTest.java | 100 (byte[]) testcases[i][1], out.encoded));
|
UTCTimeTest.java | 120 out.encoded)); //encoded
|
BitStringTest.java | 97 (byte[]) validBitstring[i][1], out.encoded)); 243 (byte[]) testcaseBoolean[i][1], out.encoded));
|
/external/chromium_org/net/android/ |
keystore_openssl.cc | 239 // Copy the contents of an encoded big integer into an existing BIGNUM. 254 // Decode the contents of an encoded big integer and either create a new 329 std::vector<uint8> encoded; local 330 if (!GetPrivateKeyEncodedBytes(private_key, &encoded)) { 335 reinterpret_cast<const unsigned char*>(&encoded[0]); 336 int len = static_cast<int>(encoded.size());
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
stringencode_unittest.cc | 37 const char* encoded; member in struct:talk_base::Utf8Test 54 for (size_t i = 0; kTests[i].encoded; ++i) { 56 ASSERT_EQ(kTests[i].enclen, utf8_decode(kTests[i].encoded, 72 ASSERT_TRUE(memcmp(buffer, kTests[i].encoded, kTests[i].enclen) == 0);
|
/external/javasqlite/src/main/java/SQLite/ |
StringEncoder.java | 33 * @param a the byte array to be encoded. A null reference is handled as 35 * @return the encoded bytes as a string. When an empty array is 70 // construct encoded output 101 * a valid encoded string for this encoder. 223 * @param a the byte array to be encoded. A null reference is handled as 225 * @return the encoded bytes as a string.
|
/external/openssh/ |
hostfile.c | 91 debug2("extract_salt: bad encoded salt length %u", b64len); 119 static char encoded[1024]; local 144 snprintf(encoded, sizeof(encoded), "%s%s%c%s", HASH_MAGIC, uu_salt, 147 return (encoded);
|
/external/chromium_org/content/browser/indexed_db/ |
indexed_db_leveldb_coding_unittest.cc | 190 std::string encoded; local 191 encoded.push_back(1); 192 StringPiece slice(encoded); 199 std::string encoded; local 200 encoded.push_back(0); 201 StringPiece slice(encoded); 691 std::string encoded = encoded_paths[i]; local 694 EXPECT_EQ(encoded, v); 696 StringPiece slice(encoded); 727 std::string encoded = encoded_paths[i] local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
PKIXCertPath.java | 183 throw new CertificateException("input stream does not contain a ASN1 SEQUENCE while reading PkiPath encoded data to load CertPath"); 191 byte[] encoded = element.toASN1Primitive().getEncoded(ASN1Encoding.DER); 193 new ByteArrayInputStream(encoded))); 238 * Returns the encoded form of this certification path, using 241 * @return the encoded bytes 260 * Returns the encoded form of this certification path, using 264 * @return the encoded bytes 322 // throw new CertificateEncodingException("can't encode certificate for PEM encoded path"); 346 * Return a DERObject containing the encoded certificate. 348 * @param cert the X509Certificate object to be encoded [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
X509V2AttributeCertificate.java | 71 byte[] encoded) 74 this(new ByteArrayInputStream(encoded));
|
/external/chromium/chrome/browser/sync/util/ |
user_settings_unittest.cc | 243 const std::string encoded = browser_sync::APEncode(test); local 244 const std::string decoded = browser_sync::APDecode(encoded);
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/gdocs/ |
chrome_ex_oauth.js | 305 * Decodes a URL-encoded string into key/value pairs. 306 * @param {String} encoded An URL-encoded string. 308 * in the encoded string. 310 ChromeExOAuth.formDecode = function(encoded) { 311 var params = encoded.split("&"); 368 * Decodes a string that has been encoded according to RFC3986. 386 * @return {String} The URL with URL-encoded versions of the key and value
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/oauth_contacts/ |
chrome_ex_oauth.js | 305 * Decodes a URL-encoded string into key/value pairs. 306 * @param {String} encoded An URL-encoded string. 308 * in the encoded string. 310 ChromeExOAuth.formDecode = function(encoded) { 311 var params = encoded.split("&"); 368 * Decodes a string that has been encoded according to RFC3986. 386 * @return {String} The URL with URL-encoded versions of the key and value
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/wave/ |
chrome_ex_oauth.js | 305 * Decodes a URL-encoded string into key/value pairs. 306 * @param {String} encoded An URL-encoded string. 308 * in the encoded string. 310 ChromeExOAuth.formDecode = function(encoded) { 311 var params = encoded.split("&"); 368 * Decodes a string that has been encoded according to RFC3986. 386 * @return {String} The URL with URL-encoded versions of the key and value
|
/external/chromium_org/chrome/tools/convert_dict/ |
aff_reader.cc | 145 bool AffReader::EncodingToUTF8(const std::string& encoded, 148 if (!base::CodepageToWide(encoded, encoding(), 202 // We want to ensure the two last groups on the last line are encoded in 204 // encoded, since that's basically an 8-bit identifier. 206 // Count to the third space. Everything after that will be re-encoded. This
|