HomeSort by relevance Sort by last modified time
    Searched full:encoded (Results 76 - 100 of 3881) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
EDIPartyNameTest.java 62 byte[] encoded = ediPN.getEncoded();
74 if (!Arrays.equals(encoded, _encoded)) {
75 System.out.println("Got encoded form of EDIPartyName is:");
76 printAsHex(16, "", " ", encoded);
84 encoded = gName.getEncoded();
96 if (!Arrays.equals(encoded, _encoded)) {
97 System.out.println("Got encoded form of GeneralName is:");
98 printAsHex(16, "", " ", encoded);
107 encoded = gNames.getEncoded();
120 if (!Arrays.equals(encoded, _encoded))
    [all...]
  /external/apache-http/src/org/apache/commons/codec/
BinaryEncoder.java 28 * Encodes a byte array and return the encoded data
31 * @param pArray Data to be encoded
33 * @return A byte array containing the encoded data
  /external/chromium/base/i18n/
icu_string_conversions.cc 82 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,
187 size_t uchar_max_length = encoded.length() + 1
    [all...]
  /external/chromium/net/tools/dump_cache/
url_to_filename_encoder.cc 93 char encoded[3]; local
131 encoded[0] = ch;
134 encoded[0] = kEscapeChar;
135 encoded[1] = ch / 16;
136 encoded[1] += (encoded[1] >= 10) ? 'A' - 10 : '0';
137 encoded[2] = ch % 16;
138 encoded[2] += (encoded[2] >= 10) ? 'A' - 10 : '0';
141 segment.append(encoded, encoded_len)
273 char encoded[3]; local
    [all...]
  /external/chromium_org/base/i18n/
icu_string_conversions.cc 83 std::string* encoded) {
86 encoded->resize(encoded_max_length);
106 int actual_size = ucnv_fromUChars(converter, &(*encoded)[0],
108 encoded->resize(actual_size);
112 encoded->clear(); // Make sure the output is empty on error.
152 std::string* encoded) {
153 encoded->clear();
161 static_cast<int>(utf16.length()), on_error, encoded);
164 bool CodepageToUTF16(const std::string& encoded,
183 size_t uchar_max_length = encoded.length() + 1
    [all...]
  /external/chromium_org/net/tools/dump_cache/
url_to_filename_encoder.cc 93 char encoded[3]; local
131 encoded[0] = ch;
134 encoded[0] = kEscapeChar;
135 encoded[1] = ch / 16;
136 encoded[1] += (encoded[1] >= 10) ? 'A' - 10 : '0';
137 encoded[2] = ch % 16;
138 encoded[2] += (encoded[2] >= 10) ? 'A' - 10 : '0';
141 segment.append(encoded, encoded_len)
271 char encoded[3]; local
    [all...]
  /external/webrtc/src/modules/audio_coding/codecs/isac/fix/interface/
isacfix.h 124 * - encoded : the encoded data vector
134 WebRtc_Word16 *encoded);
154 * - encoded : the encoded data vector
166 WebRtc_Word16 *encoded);
194 * - encoded : encoded ISAC frame(s).
205 const WebRtc_UWord16 *encoded,
217 * - encoded : encoded ISAC frame(s)
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/
EncoderUtil.java 34 * Static methods for encoding header field values. This includes encoded-words
91 * Indicates the intended usage of an encoded word.
95 * Encoded word is used to replace a 'text' token in any Subject or
100 * Encoded word is used to replace a 'word' entity within a 'phrase',
118 * @return encoded display-name.
122 // phrase = 1*( encoded-word / word )
144 * @return the encoded local part.
167 * @return encoded result.
181 * Shortcut method that encodes the specified text into an encoded-word if
182 * the text has to be encoded
    [all...]
  /external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/
FinishedTest.java 44 byte[] encoded = out.getData(1000);
46 encoded.length);
49 in.append(encoded);
54 in.append(encoded);
61 in.append(encoded);
HelloRequestTest.java 41 byte[] encoded = out.getData(1000);
43 encoded.length);
46 in.append(encoded);
50 in.append(encoded);
57 in.append(encoded);
ServerHelloDoneTest.java 47 byte[] encoded = out.getData(1000);
49 encoded.length);
52 in.append(encoded);
56 in.append(encoded);
63 in.append(encoded);
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
CertificateVerifyTest.java 61 byte[] encoded = out.getData(1000);
63 encoded.length);
66 in.append(encoded);
71 in.append(encoded);
78 in.append(encoded);
ServerHelloTest.java 50 byte[] encoded = out.getData(1000);
52 encoded.length);
55 in.append(encoded);
67 in.append(encoded);
74 in.append(encoded);
  /external/chromium_org/net/android/
network_library.h 21 // |cert_chain| is DER encoded chain of certificates, with the server's own
29 // |cert| is DER encoded certificate, |len| is its length in bytes.
35 // Helper for the <keygen> handler. Passes the DER-encoded key pair via
37 // encoded SubjectPublicKeyInfo (X.509), as returned by i2d_PUBKEY()
49 // Helper used to pass the DER-encoded bytes of an X.509 certificate or
  /external/chromium_org/crypto/
signature_verifier.h 45 // The signature algorithm is specified as a DER encoded ASN.1
51 // The signature is encoded according to the signature algorithm, but it
52 // must not be further encoded in an ASN.1 BIT STRING.
56 // The public key is specified as a DER encoded ASN.1 SubjectPublicKeyInfo
75 // An RSA-PSS signature is a nonnegative integer encoded as a byte string
77 // must not be further encoded in an ASN.1 BIT STRING.
79 // The public key is specified as a DER encoded ASN.1 SubjectPublicKeyInfo
  /external/openssh/
uuencode.c 37 * 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);
  /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...]
  /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...]
SequenceTest.java 165 (byte[]) testcases[i][1], out.encoded));
213 byte[] encoded = s.encode(new Object[] { Boolean.TRUE });
214 assertTrue("Encoded boolean:", Arrays.equals(expectedArray, encoded));
229 encoded = s.encode(new Object[] { new byte[] { 0x01 } });
230 assertTrue("Encoded integer:", Arrays.equals(expectedArray, encoded));
270 byte[] encoded = s.encode(new Object[] { null });
271 assertTrue("Encoded boolean:", Arrays.equals(expectedArray, encoded));
    [all...]
  /frameworks/base/core/java/android/net/
Uri.java 210 * Gets the encoded authority part of this URI. For
230 * Gets the encoded user information from the authority.
239 * Gets the encoded host from the authority for this URI. For example,
264 * Gets the encoded path.
266 * @return the encoded path, or null if this is not a hierarchical URI
282 * Gets the encoded query component from this URI. The query comes after
287 * @return the encoded query or null if there isn't one
299 * Gets the encoded fragment part of this URI, everything after the '#'.
301 * @return the encoded fragment or null if there isn't one
321 * encoded string representations of this Uri and the given Uri ar
1828 StringBuilder encoded = null; local
1947 volatile String encoded; field in class:Uri.AbstractPart
2191 String encoded = encode(decoded); local
    [all...]
  /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/robolectric/src/main/java/android/net/
Uri__FromAndroid.java 201 * Gets the encoded authority part of this URI. For
221 * Gets the encoded user information from the authority.
230 * Gets the encoded host from the authority for this URI. For example,
255 * Gets the encoded path.
257 * @return the encoded path, or null if this is not a hierarchical URI
273 * Gets the encoded query component from this URI. The query comes after
278 * @return the encoded query or null if there isn't one
290 * Gets the encoded fragment part of this URI, everything after the '#'.
292 * @return the encoded fragment or null if there isn't one
312 * encoded string representations of this Uri and the given Uri ar
1688 StringBuilder encoded = null; local
1904 volatile String encoded; field in class:Uri__FromAndroid.AbstractPart
2147 String encoded = encode(decoded); local
    [all...]
  /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/webrtc/src/modules/audio_coding/codecs/isac/main/source/
entropy_coding.h 32 * - streamdata : pointer to a stucture containg the encoded
68 * - streamdata : pointer to a stucture containg the encoded
111 * - streamdata : pointer to a structure containing the encoded
122 * are encoded and inserted after this function is
144 * - streamdata : pointer to a stucture containg the encoded
155 * are encoded and inserted after this function is
211 * LP gains to be encoded. The input values are
213 * - streamdata : pointer to a stucture containg the encoded
231 * LP gains to be encoded.
233 * - streamdata : pointer to a stucture containg the encoded
    [all...]
  /external/chromium_org/chrome/common/safe_browsing/
safebrowsing_messages.h 37 std::string /* encoded ClientPhishingRequest proto */)
47 // The string is an encoded safe_browsing::ClientSideModel protocol buffer, or
50 std::string /* encoded ClientSideModel proto */)

Completed in 1214 milliseconds

1 2 34 5 6 7 8 91011>>