/external/chromium/net/base/ |
escape_icu.cc | 17 // 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)));
|
pem_tokenizer.cc | 40 // 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(),
|
keygen_handler_mac.cc | 162 CSSM_DATA encoded; local 164 kPublicKeyAndChallengeTemplate, &encoded); 171 err = SignData(encoded, private_key, &signature); 182 kSignedPublicKeyAndChallengeTemplate, &encoded); 189 std::string input(reinterpret_cast<char*>(encoded.Data), encoded.Length);
|
ssl_cipher_suite_names.cc | 27 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/chromium/base/ |
base64_unittest.cc | 19 std::string encoded, decoded; local 22 ok = base::Base64Encode(kText, &encoded); 24 EXPECT_EQ(kBase64Text, encoded); 26 ok = base::Base64Decode(encoded, &decoded);
|
/external/dbus/dbus/ |
dbus-uuidgen.c | 51 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/ |
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));
|
/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; 69 * Returns encoded form 73 return encoded;
|
PublicKeyStub.java | 39 byte [] encoded = null; field in class:PublicKeyStub 44 public PublicKeyStub(String algorithm, String format, byte[] encoded) { 47 this.encoded = encoded; 66 * returns encoded 70 return encoded;
|
KeyStoreTestSupport.java | 66 private byte[] encoded; field in class:KeyStoreTestSupport.SKey 68 public SKey(String type, byte[] encoded) { 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) { 99 this.encoded = encoded; 111 return encoded; [all...] |
MyKeyPairGenerator1.java | 98 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;
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
LazyDERSequence.java | 9 private byte[] encoded; field in class:LazyDERSequence 14 byte[] encoded) 17 this.encoded = encoded; 22 Enumeration en = new LazyDERConstructionEnumeration(encoded); 49 return new LazyDERConstructionEnumeration(encoded); 56 Enumeration en = new LazyDERConstructionEnumeration(encoded); 73 out.writeEncoded(SEQUENCE | CONSTRUCTED, encoded);
|
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/ |
WebContextMenuClient.cpp | 75 String encoded = encodeWithURLEscapeSequences(searchString); local 76 encoded.replace("%20", "+"); 79 url.append(encoded);
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
X509PublicKey.java | 24 private final byte[] encoded; field in class:X509PublicKey 27 public X509PublicKey(String algorithm, byte[] encoded, byte[] keyBytes) { 29 this.encoded = encoded; 42 return encoded;
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
PrivateKeyStub.java | 37 byte [] encoded = null; field in class:PrivateKeyStub 45 * @param encoded 47 public PrivateKeyStub(String algorithm, String format, byte[] encoded) { 50 this.encoded = encoded; 70 * Returns encoded form 74 return encoded;
|
PublicKeyStub.java | 40 byte [] encoded = null; field in class:PublicKeyStub 45 public PublicKeyStub(String algorithm, String format, byte[] encoded) { 48 this.encoded = encoded; 67 * returns encoded 71 return encoded;
|
/external/chromium/base/i18n/ |
icu_string_conversions_unittest.cc | 109 const char* encoded; member in struct:base::__anon2188 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::__anon2189 [all...] |
/external/chromium/chrome/browser/metrics/ |
metrics_service_unittest.cc | 72 (*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);
|
metrics_log_unittest.cc | 56 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/qemu/proxy/ |
proxy_http.c | 131 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/ |
WebContextMenuClient.cpp | 115 String encoded = encodeWithURLEscapeSequences(searchString); local 116 encoded.replace("%20", "+"); 119 url.append(encoded);
|
/libcore/luni/src/main/java/java/security/ |
KeyRep.java | 44 private byte[] encoded; field in class:KeyRep 57 * @param encoded 58 * the encoded {@code byte[]} (obtained by 61 * if {@code type, algorithm, format or encoded} is {@code null} 64 public KeyRep(Type type, String algorithm, String format, byte[] encoded) { 68 this.encoded = encoded; 78 if(this.encoded == null) { 79 throw new NullPointerException("encoded == null"); 89 * is initialized with a {@link PKCS8EncodedKeySpec} using the encoded ke [all...] |
/libcore/luni/src/main/java/java/security/cert/ |
PolicyQualifierInfo.java | 31 private final byte[] encoded; field in class:PolicyQualifierInfo 36 // DER encoding of the policy qualifier - part of encoded 40 * Creates a new {@code PolicyQualifierInfo} from the specified encoded 43 * @param encoded 44 * the DER encoded policy qualifier. 48 public PolicyQualifierInfo(byte[] encoded) throws IOException { 49 if (encoded == null) { 50 throw new NullPointerException("encoded == null"); 52 if (encoded.length == 0) { 53 throw new IOException("encoded.length == 0") [all...] |
/external/bluetooth/bluez/sbc/ |
sbcenc.c | 53 ssize_t encoded; local 173 &encoded); 174 if (len != codesize || encoded <= 0) { 176 "sbc_encode fail, len=%zd, encoded=%lu\n", 177 len, (unsigned long) encoded); 182 outp += encoded;
|
/libcore/luni/src/main/java/org/apache/harmony/security/x501/ |
Name.java | 46 private volatile byte[] encoded; field in class:Name 211 * Gets encoded form of DN 216 if (encoded == null) { 217 encoded = ASN1.encode(this); 219 return encoded;
|