/external/chromium_org/chrome/browser/signin/ |
local_auth.cc | 64 std::string encoded; local 65 const bool success = Encryptor::EncryptString(record, &encoded); 70 base::Base64Encode(encoded, &encoded64); 78 bool DecodePasswordHashRecord(const std::string& encoded, 82 if (encoded.length() < 1) 84 *encoding = encoded[0]; 90 if (!base::Base64Decode(encoded.substr(1), &unbase64)) 129 std::string encoded = EncodePasswordHashRecord(record, kHash1Encoding); local 132 info.SetLocalAuthCredentialsOfProfileAtIndex(info_index, encoded);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
BaseWrapCipher.java | 283 byte[] encoded = key.getEncoded(); 284 if (encoded == null) 293 return engineDoFinal(encoded, 0, encoded.length); 297 return wrapEngine.wrap(encoded, 0, encoded.length); 312 byte[] encoded; 317 encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length); 321 encoded = wrapEngine.unwrap(wrappedKey, 0, wrappedKey.length); 339 return new SecretKeySpec(encoded, wrappedKeyAlgorithm) [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
IntegerTest.java | 72 byte[] encoded = new byte[array.length + 2]; 73 encoded[0] = 0x02; 74 encoded[1] = (byte) (encoded.length - 2); 75 System.arraycopy(array, 0, encoded, 2, encoded[1]); 79 validTestcase[i][2] = encoded; 113 out.encoded));//returned 126 // wrong content: is not encoded in minimum number of octets 128 // wrong content: is not encoded in minimum number of octet [all...] |
/external/chromium/third_party/libjingle/source/talk/xmpp/ |
saslmechanism.cc | 61 SaslMechanism::Base64Decode(const std::string & encoded) { 62 return Base64::Decode(encoded, Base64::DO_LAX);
|
saslmechanism.h | 68 static std::string Base64Decode(const std::string & encoded);
|
/external/chromium_org/mojo/apps/js/bindings/gl/ |
context.h | 31 static gin::Handle<Context> Create(v8::Isolate* isolate, uint64_t encoded, 43 Context(uint64_t encoded, int width, int height);
|
module.cc | 27 gin::Handle<Context> CreateContext(const gin::Arguments& args, uint64_t encoded, 29 return Context::Create(args.isolate(), encoded, width, height);
|
context.cc | 20 gin::Handle<Context> Context::Create(v8::Isolate* isolate, uint64_t encoded, 22 return gin::CreateHandle(isolate, new Context(encoded, width, height)); 71 Context::Context(uint64_t encoded, int width, int height) 72 : encoded_(encoded) {
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
saslmechanism.cc | 61 SaslMechanism::Base64Decode(const std::string & encoded) { 62 return Base64::Decode(encoded, Base64::DO_LAX);
|
saslmechanism.h | 68 static std::string Base64Decode(const std::string & encoded);
|
/external/chromium_org/content/common/ |
page_state_serialization_unittest.cc | 213 std::string encoded; local 214 EXPECT_TRUE(base::Base64Decode(trimmed_contents, &encoded)); 223 encoded, 227 EXPECT_TRUE(DecodePageState(encoded, &output)); 240 std::string encoded; local 241 EXPECT_TRUE(EncodePageState(input, &encoded)); 244 EXPECT_TRUE(DecodePageState(encoded, &output)); 253 std::string encoded; local 254 EXPECT_TRUE(EncodePageState(input, &encoded)); 257 EXPECT_TRUE(DecodePageState(encoded, &output)) 267 std::string encoded; local 287 std::string encoded; local 312 std::string encoded; local 372 std::string encoded; local [all...] |
page_state_serialization.h | 70 CONTENT_EXPORT bool DecodePageState(const std::string& encoded, 73 std::string* encoded); 77 const std::string& encoded,
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
EncodedKeySpec2Test.java | 48 byte[] encoded = keys.getPublic().getEncoded(); 49 Key key = fact.generatePublic(new X509EncodedKeySpec(encoded)); 55 encoded = keys.getPrivate().getEncoded(); 56 key = fact.generatePrivate(new PKCS8EncodedKeySpec(encoded));
|
/external/llvm/test/MC/ARM/ |
arm-it-block.s | 9 @ 'it' is parsed but not encoded.
|
/libcore/luni/src/test/java/tests/security/spec/ |
EncodedKeySpec2Test.java | 49 byte[] encoded = keys.getPublic().getEncoded(); 50 Key key = fact.generatePublic(new X509EncodedKeySpec(encoded)); 56 encoded = keys.getPrivate().getEncoded(); 57 key = fact.generatePrivate(new PKCS8EncodedKeySpec(encoded));
|
/external/chromium_org/components/policy/core/common/cloud/ |
policy_header_service.cc | 53 // Generate a Base64-encoded header of the form: 68 std::string encoded; local 69 base::Base64Encode(json, &encoded); 70 return encoded;
|
/external/chromium_org/courgette/ |
courgette.h | 116 // Converts |program| into encoded form, returning it as |*output|. 121 // Serializes |encoded| into the stream set. 123 Status WriteEncodedProgram(EncodedProgram* encoded, SinkStreamSet* sink); 125 // Assembles |encoded|, emitting the bytes into |buffer|. 128 Status Assemble(EncodedProgram* encoded, SinkStream* buffer); 139 void DeleteEncodedProgram(EncodedProgram* encoded);
|
/external/llvm/lib/Target/NVPTX/ |
NVPTXutil.cpp | 72 char encoded[16]; local 75 int retval = encode_leb128(temp64.x, &nbytes, encoded, 16); 85 temp64.a[i] = encoded[i];
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
dbformat_test.cc | 14 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);
|
/frameworks/base/core/java/android/content/pm/ |
VerifierDeviceIdentity.java | 28 * implementation, the identity is represented as a 64-bit integer encoded to a 37 * Encoded size of a long (64-bit) into Base32. This format will end up 110 final char encoded[] = new char[LONG_SIZE + (LONG_SIZE / GROUP_SIZE)]; local 112 int index = encoded.length; 121 encoded[--index] = SEPARATOR; 130 encoded[--index] = alphabet[group]; 133 return String.valueOf(encoded); 146 * This essentially does the reverse of the ENCODED alphabet above
|
/external/chromium/third_party/libjingle/source/talk/base/ |
urlencode.cc | 154 InternalUrlDecodeString(const std::string & encoded, 156 size_t needed_length = encoded.length() + 1; 158 InternalUrlDecode(encoded.c_str(), buf, encode_space_as_plus); 163 UrlDecodeString(const std::string & encoded) { 164 return InternalUrlDecodeString(encoded, true); 168 UrlDecodeStringWithoutEncodingSpaceAsPlus(const std::string & encoded) { 169 return InternalUrlDecodeString(encoded, false);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
urlencode.cc | 154 InternalUrlDecodeString(const std::string & encoded, 156 size_t needed_length = encoded.length() + 1; 158 InternalUrlDecode(encoded.c_str(), buf, encode_space_as_plus); 163 UrlDecodeString(const std::string & encoded) { 164 return InternalUrlDecodeString(encoded, true); 168 UrlDecodeStringWithoutEncodingSpaceAsPlus(const std::string & encoded) { 169 return InternalUrlDecodeString(encoded, false);
|
/libcore/luni/src/test/java/libcore/java/net/ |
UrlEncodingTest.java | 250 * Asserts that {@code original} encodes to {@code encoded} using both URI 253 private void assertEncoded(String encoded, String original) throws Exception { 254 assertEquals(encoded, URLEncoder.encode(original, "UTF-8")); 255 assertEquals(encoded, URLEncoder.encode(original)); 256 assertEquals(encoded, new URI("http", "foo", "/", original).getRawFragment()); 259 private void assertRoundTrip(String original, String encoded) throws Exception { 260 assertEquals(encoded, URLEncoder.encode(original, "UTF-8")); 261 assertEquals(original, URLDecoder.decode(encoded, "UTF-8"));
|
/libcore/luni/src/main/java/javax/crypto/ |
EncryptedPrivateKeyInfo.java | 68 private volatile byte[] encoded; field in class:EncryptedPrivateKeyInfo 71 * Creates an {@code EncryptedPrivateKeyInfo} instance from its encoded 74 * @param encoded 75 * the encoded representation of this object 77 * if parsing the encoded representation fails. 79 * if {@code encoded} is {@code null}. 81 public EncryptedPrivateKeyInfo(byte[] encoded) throws IOException { 82 if (encoded == null) { 83 throw new NullPointerException("encoded == null"); 85 this.encoded = new byte[encoded.length] [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyFactoryTest.java | 193 assertTrue(Arrays.equals(key.encoded, publicKey.getEncoded())); 435 return new TestPrivateKey(((TestPrivateKeySpec)keySpec).encoded); 445 return new TestPublicKey(((TestPublicKeySpec)keySpec).encoded); 508 private final byte[] encoded; field in class:KeyFactoryTest.TestPrivateKeySpec 511 this.encoded = key.getEncoded(); 517 private final byte[] encoded; field in class:KeyFactoryTest.TestPublicKeySpec 520 this.encoded = key.getEncoded(); 526 private final byte[] encoded; field in class:KeyFactoryTest.TestPrivateKey 529 encoded = new byte[] {3, 4, 5}; 532 public TestPrivateKey(byte[] encoded) { 551 private final byte[] encoded; field in class:KeyFactoryTest.TestPublicKey [all...] |