HomeSort by relevance Sort by last modified time
    Searched refs:encoded (Results 1 - 25 of 301) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
DerGeneralizedTimeEDTest.java 55 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...]
AnyTest.java 42 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));
DerUTCTimeEDTest.java 58 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/
LazyEncodedSequence.java 7 * 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);
    [all...]
  /external/chromium_org/base/
base64_unittest.cc 15 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/
PrivateKeyStub.java 36 byte[] encoded = null; field in class:PrivateKeyStub
44 * @param encoded
46 public PrivateKeyStub(String algorithm, String format, byte[] encoded) {
49 this.encoded = encoded;
71 * Returns encoded form
76 return encoded;
PublicKeyStub.java 38 byte[] encoded = null; field in class:PublicKeyStub
43 public PublicKeyStub(String algorithm, String format, byte[] encoded) {
46 this.encoded = encoded;
66 * returns encoded
71 return encoded;
MyKeyPairGenerator1.java 97 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;
KeyStoreTestSupport.java 65 private byte[] encoded; field in class:KeyStoreTestSupport.SKey
67 public SKey(String type, byte[] encoded) {
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) {
98 this.encoded = encoded;
110 return encoded;
    [all...]
  /external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
crc.h 29 * - encoded : payload bit stream
40 const int16_t* encoded,
  /external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g711/
g711_interface.c 18 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[n >> 1] = ((uint16_t) tempVal)
    [all...]
  /external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/
UrlUtils.java 40 // URLEncoder encodes into application/x-www-form-encoded, so
43 String encoded = local
46 encoded = encoded.replace("+", "%20");
47 return encoded;
  /external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g711/include/
g711_interface.h 37 * - 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,
    [all...]
  /external/conscrypt/src/main/java/org/conscrypt/
X509PublicKey.java 31 private final byte[] encoded; field in class:X509PublicKey
33 public X509PublicKey(String algorithm, byte[] encoded) {
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...]
OpenSSLSecretKey.java 33 private final byte[] encoded; field in class:OpenSSLSecretKey
37 public OpenSSLSecretKey(String algorithm, byte[] encoded) {
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/
device_settings_cache.cc 30 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/
icu_string_conversions_unittest.cc 109 const char* encoded; member in struct:base::__anon6903
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::__anon6904
    [all...]
icu_string_conversions.h 44 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,
icu_string_conversions.cc 83 std::string* encoded) {
86 encoded->resize(encoded_max_length);
106 int actual_size = ucnv_fromUChars(converter, &(*encoded)[0],
108 encoded->resize(actual_size);
112 encoded->clear(); // Make sure the output is empty on error.
152 std::string* encoded) {
153 encoded->clear();
161 static_cast<int>(utf16.length()), on_error, encoded);
164 bool CodepageToUTF16(const std::string& encoded,
183 size_t uchar_max_length = encoded.length() + 1
    [all...]
  /external/chromium_org/net/cert/
ct_serialization_unittest.cc 44 // 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/
base64_test.c 25 const char *encoded; member in struct:__anon16235
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/sync/android/java/src/org/chromium/sync/notifier/
RandomizedInvalidationClientNameGenerator.java 35 String encoded = Base64.encodeToString(randomBytes, 0, randomBytes.length, Base64.NO_WRAP); local
36 String idString = "BadID" + encoded;
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
ClientHelloTest.java 50 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);
ClientKeyExchangeTest.java 51 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...]
  /external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
audio_decoder_impl.h 30 virtual int Decode(const uint8_t* encoded, size_t encoded_len,
33 virtual int PacketDuration(const uint8_t* encoded, size_t encoded_len);
42 virtual int Decode(const uint8_t* encoded, size_t encoded_len,
45 virtual int PacketDuration(const uint8_t* encoded, size_t encoded_len);
79 virtual int Decode(const uint8_t* encoded, size_t encoded_len,
82 virtual int PacketDuration(const uint8_t* encoded, size_t encoded_len);
105 virtual int Decode(const uint8_t* encoded, size_t encoded_len,
121 virtual int Decode(const uint8_t* encoded, size_t encoded_len,
123 virtual int DecodeRedundant(const uint8_t* encoded, size_t encoded_len,
161 virtual int Decode(const uint8_t* encoded, size_t encoded_len
    [all...]

Completed in 835 milliseconds

1 2 3 4 5 6 7 8 91011>>