/external/chromium_org/courgette/ |
encoded_program.cc | 774 Status WriteEncodedProgram(EncodedProgram* encoded, SinkStreamSet* sink) { 775 if (!encoded->WriteTo(sink)) 781 EncodedProgram* encoded = new EncodedProgram(); local 782 if (encoded->ReadFrom(streams)) { 783 *output = encoded; 786 delete encoded; 790 Status Assemble(EncodedProgram* encoded, SinkStream* buffer) { 791 bool assembled = encoded->AssembleTo(buffer); 797 void DeleteEncodedProgram(EncodedProgram* encoded) { 798 delete encoded; [all...] |
/libcore/luni/src/test/java/libcore/java/security/cert/ |
CertificateFactoryTest.java | 457 final byte[] encoded; 459 encoded = pathFromList.getEncoded(); 464 Arrays.toString(encoded)); 466 encoded = pathFromList.getEncoded(encoding); 471 Arrays.toString(encoded)); 473 assertFalse(providerName, Arrays.toString(encoded).equals(Arrays.toString(encodedCopy))); 476 assertEquals(providerName, Arrays.toString(encoded), Arrays.toString(encodedCopy)); 480 actualPath = cf.generateCertPath(new ByteArrayInputStream(encoded)); 482 actualPath = cf.generateCertPath(new ByteArrayInputStream(encoded), encoding);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
config_file.c | 272 unsigned char *encoded = NULL, *nencoded; local 286 nencoded = os_realloc(encoded, encoded_len + len); 290 os_free(encoded); 293 encoded = nencoded; 294 os_memcpy(encoded + encoded_len, pos, len); 301 os_free(encoded); 307 os_free(encoded); 311 blob->data = base64_decode(encoded, encoded_len, &blob->len); 312 os_free(encoded); 788 unsigned char *encoded; local [all...] |
/external/chromium_org/third_party/simplejson/ |
_speedups.c | 110 maybe_quote_bigint(PyObject *encoded, PyObject *obj); 175 maybe_quote_bigint(PyObject *encoded, PyObject *obj) 182 Py_DECREF(encoded); 189 Py_DECREF(encoded); 196 PyString_AsString(encoded)); 197 Py_DECREF(encoded); 198 encoded = quoted; 200 return encoded; 2236 PyObject *encoded = encoder_encode_string(s, obj); local 2241 PyObject *encoded = PyObject_Str(obj); local 2252 PyObject *encoded = encoder_encode_float(s, obj); local 2270 PyObject *encoded = PyObject_Str(obj); local 2331 PyObject *encoded = NULL; local 2425 PyObject *encoded, *key, *value; local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
DebugInfoDecoder.java | 44 /** encoded debug info */ 45 private final byte[] encoded; field in class:DebugInfoDecoder 86 * @param encoded encoded debug info 94 DebugInfoDecoder(byte[] encoded, int codesize, int regSize, 96 if (encoded == null) { 97 throw new NullPointerException("encoded == null"); 100 this.encoded = encoded; 240 ByteArrayInputStream bs = new ByteArrayInputStream(encoded); [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
DebugInfoDecoder.java | 55 /** encoded debug info */ 56 private final byte[] encoded; field in class:DebugInfoDecoder 97 * @param encoded encoded debug info 105 DebugInfoDecoder(byte[] encoded, int codesize, int regSize, 107 if (encoded == null) { 108 throw new NullPointerException("encoded == null"); 111 this.encoded = encoded; 250 ByteInput bs = new ByteArrayByteInput(encoded); [all...] |
/external/chromium_org/net/cert/ |
x509_certificate_win.cc | 124 // formatted as a vector of strings holding DER-encoded X.509 236 std::string* encoded) { 239 encoded->assign(reinterpret_cast<char*>(cert_handle->pbCertEncoded), 367 std::string encoded; local 368 bool ok = GetDEREncoded(cert_handle, &encoded); 373 cert_handle = CreateOSCertHandleFromBytes(encoded.data(), encoded.size());
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
DebugInfoDecoder.java | 45 /** encoded debug info */ 46 private final byte[] encoded; field in class:DebugInfoDecoder 87 * @param encoded encoded debug info 95 DebugInfoDecoder(byte[] encoded, int codesize, int regSize, 97 if (encoded == null) { 98 throw new NullPointerException("encoded == null"); 101 this.encoded = encoded; 240 ByteInput bs = new ByteArrayByteInput(encoded); [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/jgss/ |
GSSManagerImplTest.java | 108 byte[] encoded = new byte[] { 4, 1, 0, 11, 6, 9, 42, -122, 72, -122, 111 gssName = gssManager.createName(encoded, GSSName.NT_EXPORT_NAME);
|
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_tag_model.cc | 39 // This is awful BTW. Metainfo is itself an encoded JSON, and here we decode 42 // Retrieve the encodedData from the bookmark. If there is no encoded data 44 std::string encoded; local 45 if (!bookmark->GetMetaInfo(TAG_KEY, &encoded)) { 57 // Decode into a base::Value. If the data is not encoded properly as a list 59 JSONStringValueSerializer serializer(&encoded); 331 std::string encoded; local 332 if (!bookmark->GetMetaInfo(TAG_KEY, &encoded)) { 484 std::string encoded; local 485 JSONStringValueSerializer serializer(&encoded); [all...] |
/external/chromium_org/content/common/ |
page_state_serialization.cc | 680 bool DecodePageState(const std::string& encoded, ExplodedPageState* exploded) { 683 if (encoded.empty()) 686 SerializeObject obj(encoded.data(), static_cast<int>(encoded.size())); 691 bool EncodePageState(const ExplodedPageState& exploded, std::string* encoded) { 695 *encoded = obj.GetAsString(); 701 const std::string& encoded, 705 bool rv = DecodePageState(encoded, exploded);
|
/external/chromium_org/google_apis/gaia/ |
oauth_request_signer_unittest.cc | 67 std::string encoded = OAuthRequestSigner::Encode(text); local 69 ASSERT_TRUE(OAuthRequestSigner::Decode(encoded, &decoded));
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLECPrivateKey.java | 84 * encoded format. 98 * encoded format. 172 byte[] encoded = (byte[]) stream.readObject(); 174 key = new OpenSSLKey(NativeCrypto.d2i_PKCS8_PRIV_KEY_INFO(encoded));
|
OpenSSLECPublicKey.java | 157 byte[] encoded = (byte[]) stream.readObject(); 159 key = new OpenSSLKey(NativeCrypto.d2i_PUBKEY(encoded));
|
OpenSSLX509Certificate.java | 77 public static OpenSSLX509Certificate fromX509Der(byte[] encoded) { 78 final long certCtx = NativeCrypto.d2i_X509(encoded); 404 byte[] encoded = NativeCrypto.i2d_X509_PUBKEY(mContext); 407 return kf.generatePublic(new X509EncodedKeySpec(encoded)); 414 * X.509-encoded key. 416 return new X509PublicKey(oid, encoded);
|
/libcore/crypto/src/test/java/org/conscrypt/ |
CertPinManagerTest.java | 50 byte[] encoded = cert.getPublicKey().getEncoded(); 51 byte[] fingerprint = dgst.digest(encoded);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyRepTest.java | 162 public KeyRepChild(KeyRep.Type type, String algorithm, String format, byte[] encoded) { 163 super(type, algorithm, format, encoded);
|
/external/chromium/net/base/ |
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_org/chrome/browser/metrics/ |
metrics_log_serializer_unittest.cc | 62 (*it)->GetAsString(&str); // Base64 encoded "Hello world!" string. 63 std::string encoded; local 64 base::Base64Encode("Hello world!", &encoded); 65 EXPECT_TRUE(encoded == str); 68 (*it)->GetAsString(&str); // MD5 for encoded "Hello world!" string. 69 EXPECT_TRUE(base::MD5String(encoded) == str);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
base64_unittest.cc | 401 // Is it the expected encoded value? 464 // here's a weird case: a giant base64 encoded stream which broke our base64 [all...] |
/external/chromium/crypto/ |
rsa_private_key_win.cc | 32 // The size is encoded as the upper 16 bits of the flags. :: sigh ::. 214 scoped_array<BYTE> encoded(new BYTE[encoded_length]); 217 reinterpret_cast<CERT_PUBLIC_KEY_INFO*>(key_info.get()), encoded.get(), 224 output->push_back(encoded[i]);
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
test_mux.py | 275 encoded = mux._encode_channel_id(0) 276 self.assertEqual('\x00', encoded) 277 encoded = mux._encode_channel_id(2 ** 14 - 1) 278 self.assertEqual('\xbf\xff', encoded) 279 encoded = mux._encode_channel_id(2 ** 14) 280 self.assertEqual('\xc0@\x00', encoded) 281 encoded = mux._encode_channel_id(2 ** 21 - 1) 282 self.assertEqual('\xdf\xff\xff', encoded) 283 encoded = mux._encode_channel_id(2 ** 21) 284 self.assertEqual('\xe0 \x00\x00', encoded) [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/tls/ |
DistinguishedNameParser.java | 139 // encoded byte array must be not less then 4 c 171 // encoded byte array must be not less then 4 and must be even number 178 byte[] encoded = new byte[hexLen / 2]; 179 for (int i = 0, p = beg + 1; i < encoded.length; p += 2, i++) { 180 encoded[i] = (byte) getByte(p);
|
/libcore/luni/src/main/java/javax/net/ssl/ |
DistinguishedNameParser.java | 141 // encoded byte array must be not less then 4 c 173 // encoded byte array must be not less then 4 and must be even number 180 byte[] encoded = new byte[hexLen / 2]; 181 for (int i = 0, p = beg + 1; i < encoded.length; p += 2, i++) { 182 encoded[i] = (byte) getByte(p);
|
/external/libvorbis/doc/ |
08-residue.tex | 35 encoded and simply trusting that it is, is as follows: 58 \item The values in a residue vector may be encoded monolithically in a 60 codebook design dictates that each vector is encoded as the additive 89 As an example, assume a partition vector of size eight, to be encoded 96 codebook dimensions = 8 encoded as: [ 0 1 2 3 4 5 6 7 ] 98 codebook dimensions = 4 encoded as: [ 0 2 4 6 ], [ 1 3 5 7 ] 100 codebook dimensions = 2 encoded as: [ 0 4 ], [ 1 5 ], [ 2 6 ], [ 3 7 ] 102 codebook dimensions = 1 encoded as: [ 0 ], [ 1 ], [ 2 ], [ 3 ], [ 4 ], [ 5 ], [ 6 ], [ 7 ] 118 As an example, assume a partition vector of size eight, to be encoded 125 codebook dimensions = 8 encoded as: [ 0 1 2 3 4 5 6 7 [all...] |