HomeSort by relevance Sort by last modified time
    Searched refs:encoded (Results 126 - 150 of 414) sorted by null

1 2 3 4 56 7 8 91011>>

  /dalvik/dx/src/com/android/dx/dex/file/
DebugInfoItem.java 37 private byte[] encoded; field in class:DebugInfoItem
73 encoded = encode(addedTo.getFile(), null, null, null, false);
74 setWriteSize(encoded.length);
124 out.write(encoded);
137 * @return {@code non-null;} the encoded array
168 * @return {@code non-null;} the encoded array
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
OidTest.java 138 byte[] encoded = new DerOutputStream(ASN1Oid.getInstance(),
139 oid[i][1]).encoded;
143 encoded));
155 // wrong content: is not encoded in fewest number of bytes
185 new DerOutputStream(asn1, oid[i][0]).encoded));
  /external/chromium_org/net/android/
keystore.h 66 // Returns the encoded PKCS#8 representation of a private key.
70 // |encoded| will receive the encoded data on success.
73 std::vector<uint8>* encoded);
  /external/chromium_org/net/quic/
quic_data_writer_test.cc 56 uint16 encoded; member in struct:net::test::__anon9303::TestCase
90 EXPECT_EQ(test_cases[i].encoded, *reinterpret_cast<uint16*>(data.get()));
97 uint16 encoded; member in struct:net::test::__anon9303::TestCase
124 QuicDataReader reader(reinterpret_cast<char*>(&test_cases[i].encoded), 2);
132 // Just test all 16-bit encoded values. 0 and max already tested above.
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
DebugInfoItem.java 38 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/llvm/test/MC/MachO/ARM/
thumb-bl-jbits.s 17 # has it displacement encoded correctly with respect to the J1 and J2 bits when
  /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);
  /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;
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/x509/
SubjectPublicKeyInfoTest.java 92 byte[] encoded = pubKey.getEncoded();
95 Arrays.toString(Arrays.copyOfRange(encoded, encoded.length
96 - ENCODED_BROKEN.length, encoded.length)));
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
BerInputStream.java 31 * Decodes ASN.1 types encoded with BER (X.690)
75 public BerInputStream(byte[] encoded) throws IOException {
76 this(encoded, 0, encoded.length);
82 * @param encoded bytes array to be decoded
87 public BerInputStream(byte[] encoded, int offset, int expectedLength) throws IOException {
89 this.buffer = encoded;
138 * @param encoded a new bytes array to be decoded
141 public final void reset(byte[] encoded) throws IOException {
142 buffer = encoded;
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
Base64.java 24 byte[] encoded = encode(data, off, length);
25 return Strings.fromByteArray(encoded);
29 * encode the input data producing a base 64 encoded byte array.
31 * @return a byte array containing the base 64 encoded data.
40 * encode the input data producing a base 64 encoded byte array.
42 * @return a byte array containing the base 64 encoded data.
93 * decode the base 64 encoded input data. It is assumed the input data is valid.
116 * decode the base 64 encoded String data - whitespace will be ignored.
139 * decode the base 64 encoded String data writing it to the given output stream,
Hex.java 24 byte[] encoded = encode(data, off, length);
25 return Strings.fromByteArray(encoded);
29 * encode the input data producing a Hex encoded byte array.
31 * @return a byte array containing the Hex encoded data.
40 * encode the input data producing a Hex encoded byte array.
42 * @return a byte array containing the Hex encoded data.
92 * decode the Hex encoded input data. It is assumed the input data is valid.
114 * decode the Hex encoded String data - whitespace will be ignored.
136 * decode the Hex encoded String data writing it to the given output stream,
  /external/chromium/net/base/
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);
  /external/chromium_org/content/renderer/
text_input_client_observer.cc 80 scoped_ptr<const mac::AttributedStringCoder::EncodedString> encoded(
83 *encoded.get()));
  /external/chromium_org/net/cert/
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(),
  /external/okhttp/src/main/java/com/squareup/okhttp/
OkAuthenticator.java 100 String encoded = Base64.encode(bytes); local
101 return new Credential("Basic " + encoded);
  /external/chromium_org/chrome/browser/policy/cloud/
component_cloud_policy_browsertest.cc 89 bool Base64Encode(const std::string& value, std::string* encoded) {
92 base::Base64Encode(value, encoded);
93 base::ReplaceChars(*encoded, "+", "-", encoded);
94 base::ReplaceChars(*encoded, "/", "_", encoded);
  /external/chromium_org/net/base/
keygen_handler_mac.cc 163 CSSM_DATA encoded; local
165 kPublicKeyAndChallengeTemplate, &encoded);
172 err = SignData(encoded, private_key, &signature);
183 kSignedPublicKeyAndChallengeTemplate, &encoded);
190 std::string input(reinterpret_cast<char*>(encoded.Data), encoded.Length);
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLCipherRSA.java 312 byte[] encoded = key.getEncoded();
313 return engineDoFinal(encoded, 0, encoded.length);
325 byte[] encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length);
328 return keyFactory.generatePublic(new X509EncodedKeySpec(encoded));
331 return keyFactory.generatePrivate(new PKCS8EncodedKeySpec(encoded));
333 return new SecretKeySpec(encoded, wrappedKeyAlgorithm);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/
header.py 33 # Match encoded-word strings in the form =?charset?q?Hello_World?=
40 (?P<encoded>.*?) # non-greedy up to the next ?= is the encoded string
67 decoded parts of the header. Charset is None for non-encoded parts of the
69 set specified in the encoded string.
96 encoded = parts[2]
99 dec = email.quoprimime.header_decode(encoded)
101 paderr = len(encoded) % 4 # Postel's law: add missing padding
103 encoded += '==='[:4 - paderr]
105 dec = email.base64mime.decode(encoded)
    [all...]
quoprimime.py 20 `encoded-word' in a header. This method is commonly used for 8-bit real names
75 """Return the length of str when it is encoded with header quopri."""
86 """Return the length of str when it is encoded with body quopri."""
134 to 76 characters). If maxlinelen is None, the entire string is encoded in
152 # Quopri encode each line, in encoded chunks no greater than maxlinelen in
172 # Now add the RFC chrome to each encoded chunk and glue the chunks
188 Each line of encoded text will end with eol, which defaults to "\\n". Set
223 # quopri encoded. BAW: again, string concatenation is inefficient.
272 def decode(encoded, eol=NL):
277 if not encoded
    [all...]
utils.py 255 charset is given but not language, the string is encoded using the empty
279 # specifying whether a particular segment is %-encoded.
286 encoded = True
288 encoded = False
295 rfc2231_params.setdefault(name, []).append((num, value, encoded))
305 # %-encodings for the encoded segments. If any of the
309 for num, s, encoded in continuations:
310 if encoded:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/
header.py 33 # Match encoded-word strings in the form =?charset?q?Hello_World?=
40 (?P<encoded>.*?) # non-greedy up to the next ?= is the encoded string
67 decoded parts of the header. Charset is None for non-encoded parts of the
69 set specified in the encoded string.
96 encoded = parts[2]
99 dec = email.quoprimime.header_decode(encoded)
101 paderr = len(encoded) % 4 # Postel's law: add missing padding
103 encoded += '==='[:4 - paderr]
105 dec = email.base64mime.decode(encoded)
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/
DNParser.java 57 private byte[] encoded; field in class:DNParser
168 // encoded byte array must be not less then 4 c
199 // encoded byte array must be not less then 4 and must be even number
206 encoded = new byte[hexLen / 2];
207 for (int i = 0, p = beg + 1; i < encoded.length; p += 2, i++) {
208 encoded[i] = (byte) getByte(p);
409 atav.add(new AttributeTypeAndValue(oid, new AttributeValue(hexAV(), encoded)));

Completed in 1489 milliseconds

1 2 3 4 56 7 8 91011>>