Searched defs:encoded (Results 1 - 25 of 147) sorted by relevance

123456

/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DLazyConstructionEnumeration.java12 public LazyConstructionEnumeration(byte[] encoded) argument
14 aIn = new ASN1InputStream(encoded, true);
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/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/google_apis/gaia/
H A Doauth_request_signer_unittest.cc67 std::string encoded = OAuthRequestSigner::Encode(text); local
69 ASSERT_TRUE(OAuthRequestSigner::Decode(encoded, &decoded));
/external/chromium_org/net/quic/
H A Dquic_data_writer_test.cc52 uint16 encoded; member in struct:net::test::__anon9463::TestCase
86 EXPECT_EQ(test_cases[i].encoded, *reinterpret_cast<uint16*>(data.get()));
93 uint16 encoded; member in struct:net::test::__anon9463::TestCase
120 QuicDataReader reader(reinterpret_cast<char*>(&test_cases[i].encoded), 2);
128 // Just test all 16-bit encoded values. 0 and max already tested above.
/external/chromium_org/tools/relocation_packer/src/
H A Dpacker.cc18 // Pack relative relocations into a run-length encoded packed
49 // Unpack relative relocations from a run-length encoded packed
68 // Pack relative relocations with addends into a delta encoded packed
86 std::vector<uint8_t> encoded; local
87 encoder.GetEncoding(&encoded);
93 packed->insert(packed->end(), encoded.begin(), encoded.end());
102 // Unpack relative relocations with addends from a delta encoded
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
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));
/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;
/external/chromium_org/extensions/browser/
H A Dverified_contents_unittest.cc22 std::string DecodeBase64Url(const std::string& encoded) { argument
23 std::string fixed_up_base64 = 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...]
H A Dpem_tokenizer.cc40 // Scan for the beginning of the next PEM encoded block.
64 StringPiece encoded = str_.substr(data_begin, local
66 if (!base::Base64Decode(base::CollapseWhitespaceASCII(encoded.as_string(),
/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/third_party/leveldatabase/src/db/
H A Dversion_edit_test.cc11 std::string encoded, encoded2; local
12 edit.EncodeTo(&encoded);
14 Status s = parsed.DecodeFrom(encoded);
17 ASSERT_EQ(encoded, encoded2);
H A Ddbformat_test.cc14 std::string encoded; local
15 AppendInternalKey(&encoded, ParsedInternalKey(user_key, seq, vt));
16 return encoded;
34 std::string encoded = IKey(key, seq, vt); local
36 Slice in(encoded);
/external/chromium_org/third_party/libjingle/source/talk/xmpp/
H A Dsaslmechanism.cc61 SaslMechanism::Base64Decode(const std::string & encoded) { argument
62 return Base64::Decode(encoded, Base64::DO_LAX);
/external/chromium_org/third_party/sfntly/cpp/src/test/
H A Dtest_utils_test.cc41 int32_t encoded = TestUtils::EncodeOneChar(conv, (int16_t)from[i]); local
42 for (; encoded; encoded <<= 8) {
43 byte_t b = (encoded & 0xff000000) >> 24;
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/mock/
H A Dmock_external_decoder_pcm16b.h34 virtual int Decode(const uint8_t* encoded, size_t encoded_len, argument
38 state_, reinterpret_cast<int16_t*>(const_cast<uint8_t*>(encoded)),
77 int(const uint8_t* encoded, size_t encoded_len, int16_t* decoded,
/external/chromium_org/ui/gfx/image/
H A Dimage_util_unittest.cc19 std::vector<unsigned char> encoded; local
20 ASSERT_TRUE(gfx::JPEG1xEncodedDataFromImage(original, 80, &encoded));
23 gfx::ImageFrom1xJPEGEncodedData(&encoded.front(), encoded.size());
/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...]
/external/sfntly/cpp/src/test/
H A Dtest_utils_test.cc41 int32_t encoded = TestUtils::EncodeOneChar(conv, (int16_t)from[i]); local
42 for (; encoded; encoded <<= 8) {
43 byte_t b = (encoded & 0xff000000) >> 24;
/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...]
/external/chromium_org/courgette/
H A Dpatcher_x86_32.h65 EncodedProgram* encoded = NULL; local
66 status = Encode(program, &encoded);
71 status = WriteEncodedProgram(encoded, transformed_element);
72 DeleteEncodedProgram(encoded);
/external/chromium_org/extensions/browser/api/
H A Dcapture_web_contents_function.cc90 bool encoded = false; local
94 encoded = gfx::JPEGCodec::Encode(
105 encoded =
115 if (!encoded) {

Completed in 630 milliseconds

123456