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

123

/external/chromium/base/
H A Dbase64_unittest.cc19 std::string encoded, decoded; local
22 ok = base::Base64Encode(kText, &encoded);
24 EXPECT_EQ(kBase64Text, encoded);
26 ok = base::Base64Decode(encoded, &decoded);
/external/chromium/net/base/
H A Descape_icu.cc17 // behavior is wrong when the character can't be encoded properly.
18 std::string encoded; local
20 base::OnStringConversionError::SKIP, &encoded))
23 escaped->assign(UTF8ToUTF16(EscapeQueryParamValue(encoded, use_plus)));
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(CollapseWhitespaceASCII(encoded.as_string(),
H A Dssl_cipher_suite_names.cc27 uint16 cipher_suite, encoded; member in struct:CipherSuite
330 const int key_exchange = cs->encoded >> 7;
331 const int cipher = (cs->encoded >> 3) & 0xf;
332 const int mac = cs->encoded & 0x7;
/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/dbus/dbus/
H A Ddbus-uuidgen.c51 DBusString encoded; local
53 if (!_dbus_string_init (&encoded))
59 if (!_dbus_uuid_encode (uuid, &encoded) ||
60 !_dbus_string_steal_data (&encoded, uuid_p))
63 _dbus_string_free (&encoded);
66 _dbus_string_free (&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;
69 * Returns encoded form
73 return encoded;
H A DPublicKeyStub.java39 byte [] encoded = null; field in class:PublicKeyStub
44 public PublicKeyStub(String algorithm, String format, byte[] encoded) { argument
47 this.encoded = encoded;
66 * returns encoded
70 return encoded;
H A DMyKeyPairGenerator1.java98 private byte[] encoded; field in class:MyKeyPairGenerator1.PubKey
103 this.encoded = new byte[10];
115 return encoded;
124 private byte[] encoded; field in class:MyKeyPairGenerator1.PrivKey
129 this.encoded = new byte[10];
141 return encoded;
H A DKeyStoreTestSupport.java66 private byte[] encoded; field in class:KeyStoreTestSupport.SKey
68 public SKey(String type, byte[] encoded) { argument
70 this.encoded = encoded;
78 return encoded;
94 private byte[] encoded; field in class:KeyStoreTestSupport.MyPrivateKey
96 public MyPrivateKey(String algorithm, String format, byte[] encoded) { argument
99 this.encoded = encoded;
111 return encoded;
[all...]
/external/chromium/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/openssh/
H A Duuencode.c37 * Encode binary 'src' of length 'srclength', writing base64-encoded text
50 * Decode base64-encoded 'src' into buffer 'target' of 'targsize' bytes.
58 char *encoded, *p; local
61 encoded = xstrdup(src);
63 for (p = encoded; *p == ' ' || *p == '\t'; p++)
69 len = __b64_pton(encoded, target, targsize);
70 xfree(encoded);
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/
H A DWebContextMenuClient.cpp75 String encoded = encodeWithURLEscapeSequences(searchString); local
76 encoded.replace("%20", "+");
79 url.append(encoded);
/external/chromium/base/i18n/
H A Dicu_string_conversions_unittest.cc109 const char* encoded; member in struct:base::__anon1516
246 "Test[%" PRIuS "]: <encoded: %s> <codepage: %s>", i,
247 kConvertCodepageCases[i].encoded,
251 bool success = CodepageToWide(kConvertCodepageCases[i].encoded,
265 std::string encoded; local
267 kConvertCodepageCases[i].on_error, &encoded);
269 EXPECT_EQ(kConvertCodepageCases[i].encoded, encoded);
275 std::string encoded("Temp data"); // Make sure the string gets cleared.
279 OnStringConversionError::FAIL, &encoded));
335 std::string encoded; local
345 const char* encoded; member in struct:base::__anon1517
[all...]
H A Dicu_string_conversions.cc82 std::string* encoded) {
85 encoded->resize(encoded_max_length);
105 int actual_size = ucnv_fromUChars(converter, &(*encoded)[0],
107 encoded->resize(actual_size);
111 encoded->clear(); // Make sure the output is empty on error.
156 std::string* encoded) {
157 encoded->clear();
165 static_cast<int>(utf16.length()), on_error, encoded);
168 bool CodepageToUTF16(const std::string& encoded, argument
187 size_t uchar_max_length = encoded
80 ConvertFromUTF16(UConverter* converter, const UChar* uchar_src, int uchar_len, OnStringConversionError::Type on_error, std::string* encoded) argument
153 UTF16ToCodepage(const string16& utf16, const char* codepage_name, OnStringConversionError::Type on_error, std::string* encoded) argument
203 WideToCodepage(const std::wstring& wide, const char* codepage_name, OnStringConversionError::Type on_error, std::string* encoded) argument
233 CodepageToWide(const std::string& encoded, const char* codepage_name, OnStringConversionError::Type on_error, std::wstring* wide) argument
[all...]
/external/chromium/chrome/browser/metrics/
H A Dmetrics_service_unittest.cc72 (*it)->GetAsString(&str); // Base64 encoded "Hello world!" string.
73 std::string encoded; local
74 base::Base64Encode("Hello world!", &encoded);
75 EXPECT_TRUE(encoded == str);
78 (*it)->GetAsString(&str); // MD5 for encoded "Hello world!" string.
79 EXPECT_TRUE(MD5String(encoded) == str);
H A Dmetrics_log_unittest.cc56 std::string encoded; local
58 ASSERT_TRUE(log.GetEncodedLog(WriteInto(&encoded, size + 1), size));
59 TrimWhitespaceASCII(encoded, TRIM_ALL, &encoded);
60 NormalizeBuildtime(&encoded);
63 ASSERT_EQ(expected_output, encoded);
80 std::string encoded; local
82 ASSERT_TRUE(log.GetEncodedLog(WriteInto(&encoded, size + 1), size));
83 TrimWhitespaceASCII(encoded, TRIM_ALL, &encoded);
131 std::string encoded; local
160 std::string encoded; local
190 std::string encoded; local
226 std::string encoded; local
[all...]
/external/llvm/lib/Target/NVPTX/
H A DNVPTXutil.cpp73 char encoded[16]; local
76 int retval = encode_leb128(temp64.x, &nbytes, encoded, 16);
87 temp64.a[i] = encoded[i];
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DDebugInfoItem.java38 private byte[] encoded; field in class:DebugInfoItem
74 encoded = encode(addedTo.getFile(), null, null, null, false);
75 setWriteSize(encoded.length);
125 out.write(encoded);
138 * @return {@code non-null;} the encoded array
169 * @return {@code non-null;} the encoded array
/external/qemu/proxy/
H A Dproxy_http.c131 char encoded[512]; local
140 wlen = proxy_base64_encode(user_pass, uplen, encoded, (int)sizeof(encoded));
146 p += snprintf(p, end-p, "Proxy-authorization: Basic %.*s\r\n", wlen, encoded);
/external/webkit/Source/WebKit/win/WebCoreSupport/
H A DWebContextMenuClient.cpp115 String encoded = encodeWithURLEscapeSequences(searchString); local
116 encoded.replace("%20", "+");
119 url.append(encoded);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
H A DX509V2AttributeCertificate.java71 byte[] encoded)
74 this(new ByteArrayInputStream(encoded));
70 X509V2AttributeCertificate( byte[] encoded) argument
/external/chromium/chrome/browser/sync/util/
H A Duser_settings_unittest.cc243 const std::string encoded = browser_sync::APEncode(test); local
244 const std::string decoded = browser_sync::APDecode(encoded);

Completed in 418 milliseconds

123