Searched refs:encoded (Results 1 - 25 of 280) sorted by relevance

1234567891011>>

/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
H A DDerGeneralizedTimeEDTest.java55 byte[] encoded =
56 new DerOutputStream(gTime, myDate).encoded;
57 String rep = new String(encoded, 2, encoded[1] & 0xff, "UTF-8");
62 encoded =
63 new DerOutputStream(gTime, myDate).encoded;
64 rep = new String(encoded, 2, encoded[1] & 0xff, "UTF-8");
69 encoded =
70 new DerOutputStream(gTime, myDate).encoded;
[all...]
H A DAnyTest.java42 private static byte[] encoded = new byte[] { 0x01, 0x03, 0x11, 0x13, 0x15 }; field in class:AnyTest
45 DerInputStream in = new DerInputStream(encoded);
46 assertTrue(Arrays.equals(encoded, (byte[]) ASN1Any.getInstance()
52 encoded);
53 assertTrue("False", Arrays.equals(encoded, out.encoded));
H A DDerUTCTimeEDTest.java58 byte[] encoded =
59 new DerOutputStream(uTime, myDate).encoded;
60 String rep = new String(encoded, 2, encoded[1] & 0xff, "UTF-8");
68 encoded =
69 new DerOutputStream(uTime, myDate).encoded;
70 rep = new String(encoded, 2, encoded[1] & 0xff, "UTF-8");
103 byte[] encoded =
104 new DerOutputStream(uTime, myDate).encoded;
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DLazyEncodedSequence.java7 * Note: this class is for processing DER/DL encoded sequences only.
12 private byte[] encoded; field in class:LazyEncodedSequence
15 byte[] encoded)
18 this.encoded = encoded;
23 Enumeration en = new LazyConstructionEnumeration(encoded);
30 encoded = null;
35 if (encoded != null)
45 if (encoded == null)
50 return new LazyConstructionEnumeration(encoded);
14 LazyEncodedSequence( byte[] encoded) argument
[all...]
/external/chromium_org/base/
H A Dbase64_unittest.cc15 std::string encoded; local
19 Base64Encode(kText, &encoded);
20 EXPECT_EQ(kBase64Text, encoded);
22 ok = Base64Decode(encoded, &decoded);
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DPrivateKeyStub.java36 byte[] encoded = null; field in class:PrivateKeyStub
44 * @param encoded
46 public PrivateKeyStub(String algorithm, String format, byte[] encoded) { argument
49 this.encoded = encoded;
71 * Returns encoded form
76 return encoded;
H A DPublicKeyStub.java38 byte[] encoded = null; field in class:PublicKeyStub
43 public PublicKeyStub(String algorithm, String format, byte[] encoded) { argument
46 this.encoded = encoded;
66 * returns encoded
71 return encoded;
H A DMyKeyPairGenerator1.java97 private byte[] encoded; field in class:MyKeyPairGenerator1.PubKey
102 this.encoded = new byte[10];
114 return encoded;
123 private byte[] encoded; field in class:MyKeyPairGenerator1.PrivKey
128 this.encoded = new byte[10];
140 return encoded;
H A DKeyStoreTestSupport.java65 private byte[] encoded; field in class:KeyStoreTestSupport.SKey
67 public SKey(String type, byte[] encoded) { argument
69 this.encoded = encoded;
77 return encoded;
93 private byte[] encoded; field in class:KeyStoreTestSupport.MyPrivateKey
95 public MyPrivateKey(String algorithm, String format, byte[] encoded) { argument
98 this.encoded = encoded;
110 return encoded;
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dcrc.h29 * - encoded : payload bit stream
40 const int16_t* encoded,
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A Dcrc.h29 * - encoded : payload bit stream
40 const WebRtc_Word16* encoded,
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g711/
H A Dg711_interface.c18 int16_t* encoded) {
36 encoded[n >> 1] |= ((uint16_t) tempVal);
38 encoded[n >> 1] = ((uint16_t) tempVal) << 8;
43 encoded[n >> 1] |= ((uint16_t) tempVal) << 8;
46 encoded[n >> 1] = ((uint16_t) tempVal);
56 int16_t* encoded) {
74 encoded[n >> 1] |= ((uint16_t) tempVal);
76 encoded[n >> 1] = ((uint16_t) tempVal) << 8;
80 encoded[n >> 1] |= ((uint16_t) tempVal) << 8;
82 encoded[
15 WebRtcG711_EncodeA(void* state, int16_t* speechIn, int16_t len, int16_t* encoded) argument
53 WebRtcG711_EncodeU(void* state, int16_t* speechIn, int16_t len, int16_t* encoded) argument
89 WebRtcG711_DecodeA(void* state, int16_t* encoded, int16_t len, int16_t* decoded, int16_t* speechType) argument
126 WebRtcG711_DecodeU(void* state, int16_t* encoded, int16_t len, int16_t* decoded, int16_t* speechType) argument
[all...]
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/
H A DUrlUtils.java40 // URLEncoder encodes into application/x-www-form-encoded, so
43 String encoded =
46 encoded = encoded.replace("+", "%20");
47 return encoded;
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g711/include/
H A Dg711_interface.h37 * - encoded : The encoded data vector
46 int16_t* encoded);
61 * - encoded : The encoded data vector
70 int16_t* encoded);
80 * - encoded : Encoded data
81 * - len : Bytes in encoded vector
94 int16_t* encoded,
107 * - encoded
[all...]
/external/conscrypt/src/main/java/org/conscrypt/
H A DX509PublicKey.java31 private final byte[] encoded; field in class:X509PublicKey
33 public X509PublicKey(String algorithm, byte[] encoded) { argument
35 this.encoded = encoded;
50 return encoded;
55 return "X509PublicKey [algorithm=" + algorithm + ", encoded=" + Arrays.toString(encoded)
64 result = prime * result + Arrays.hashCode(encoded);
82 if (!Arrays.equals(encoded, other.encoded))
[all...]
H A DOpenSSLSecretKey.java33 private final byte[] encoded; field in class:OpenSSLSecretKey
37 public OpenSSLSecretKey(String algorithm, byte[] encoded) { argument
39 this.encoded = encoded;
42 key = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_mac_key(type, encoded));
50 encoded = null;
82 return encoded;
116 return Arrays.equals(encoded, other.getEncoded());
127 key = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_mac_key(type, encoded));
/external/chromium_org/chrome/browser/chromeos/settings/
H A Ddevice_settings_cache.cc30 std::string encoded; local
31 base::Base64Encode(policy_string, &encoded);
32 local_state->SetString(prefs::kDeviceSettingsCache, encoded);
40 std::string encoded = local
43 if (!base::Base64Decode(encoded, &policy_string)) {
/external/chromium_org/base/i18n/
H A Dicu_string_conversions_unittest.cc109 const char* encoded; member in struct:base::__anon2278
239 "Test[%" PRIuS "]: <encoded: %s> <codepage: %s>", i,
240 kConvertCodepageCases[i].encoded,
244 bool success = CodepageToWide(kConvertCodepageCases[i].encoded,
258 std::string encoded; local
260 kConvertCodepageCases[i].on_error, &encoded);
262 EXPECT_EQ(kConvertCodepageCases[i].encoded, encoded);
268 std::string encoded("Temp data"); // Make sure the string gets cleared.
272 OnStringConversionError::FAIL, &encoded));
328 std::string encoded; local
338 const char* encoded; member in struct:base::__anon2279
[all...]
H A Dicu_string_conversions.h44 std::string* encoded);
45 BASE_I18N_EXPORT bool CodepageToUTF16(const std::string& encoded,
56 std::string* encoded);
57 BASE_I18N_EXPORT bool CodepageToWide(const std::string& encoded,
/external/chromium_org/net/cert/
H A Dct_serialization_unittest.cc44 // The encoded data contains the signature itself from the 4th byte.
71 std::string encoded; local
73 ASSERT_TRUE(ct::EncodeDigitallySigned(digitally_signed, &encoded));
74 EXPECT_EQ(test_digitally_signed_, encoded);
82 std::string encoded; local
83 ASSERT_TRUE(ct::EncodeLogEntry(entry, &encoded));
84 EXPECT_EQ((718U + 5U), encoded.size());
90 EXPECT_EQ(expected_prefix, encoded.substr(0, 5));
99 std::string encoded; local
104 &encoded));
169 std::string encoded; local
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/base64/
H A Dbase64_test.c25 const char *encoded; member in struct:__anon11610
49 if (len != strlen(t->encoded) ||
50 memcmp(out, t->encoded, len) != 0) {
52 t->decoded, (int)len, (const char*)out, t->encoded);
69 (const uint8_t*)t->encoded, strlen(t->encoded))) {
70 fprintf(stderr, "decode(\"%s\") failed\n", t->encoded);
76 t->encoded, (int)len, (const char*)out, t->decoded);
82 ret = EVP_DecodeBlock(out, (const uint8_t*)t->encoded, strlen(t->encoded));
[all...]
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-244.js51 var encoded = kLegalPairs[i][1];
52 assertEquals(decodeURI(encoded), decoded);
53 assertEquals(encodeURI(decoded), encoded);
/external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/
H A DRandomizedInvalidationClientNameGenerator.java35 String encoded = Base64.encodeToString(randomBytes, 0, randomBytes.length, Base64.NO_WRAP);
36 String idString = "BadID" + encoded;
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
H A DClientHelloTest.java50 byte[] encoded = out.getData(1000);
51 assertEquals("incorrect out data length", message.length(), encoded.length);
54 in.append(encoded);
62 in.append(encoded);
69 in.append(encoded);
76 in.append(encoded);
H A DClientKeyExchangeTest.java51 byte[] encoded = out.getData(1000);
53 encoded.length);
56 in.append(encoded);
65 in.append(encoded);
78 in.append(encoded);
110 byte[] encoded = out.getData(1000);
112 encoded.length);
115 in.append(encoded);
124 in.append(encoded);
132 in.append(encoded);
[all...]

Completed in 4230 milliseconds

1234567891011>>