HomeSort by relevance Sort by last modified time
    Searched refs:encoded (Results 26 - 50 of 203) sorted by null

12 3 4 5 6 7 8 9

  /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/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);
CertificateMessageTest.java 68 byte[] encoded = out.getData(1000);
69 assertEquals("incorrect out data length", message.length(), encoded.length);
72 in.append(encoded);
98 byte[] encoded = out.getData(1000);
99 assertEquals("incorrect out data length", message.length(), encoded.length);
102 in.append(encoded);
108 in.append(encoded);
115 in.append(encoded);
CertificateRequestTest.java 78 byte[] encoded = out.getData(1000);
79 assertEquals("incorrect out data length", message.length(), encoded.length);
82 in.append(encoded);
89 in.append(encoded);
96 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);
ServerKeyExchangeTest.java 52 byte[] encoded = out.getData(1000);
54 encoded.length);
57 in.append(encoded);
69 in.append(encoded);
77 in.append(encoded);
106 byte[] encoded = out.getData(1000);
108 encoded.length);
111 in.append(encoded);
121 in.append(encoded);
129 in.append(encoded);
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
DerInputStream.java 29 * Decodes ASN.1 types encoded with DER (X.690)
39 public DerInputStream(byte[] encoded) throws IOException {
40 super(encoded, 0, encoded.length);
43 public DerInputStream(byte[] encoded, int offset, int encodingLen) throws IOException {
44 super(encoded, offset, encodingLen);
83 // check encoded content
128 // It is a string type and it can be encoded as primitive or constructed.
144 // It is a string type and it can be encoded as primitive or constructed.
  /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/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
PrivateKeyUsagePeriodTest.java 40 byte[] encoded = pkup.getEncoded();
43 .decode(encoded);
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/bouncycastle/src/main/java/org/bouncycastle/asn1/
LazyDERConstructionEnumeration.java 12 public LazyDERConstructionEnumeration(byte[] encoded)
14 aIn = new ASN1InputStream(encoded, true);
  /external/chromium/third_party/libjingle/source/talk/base/
urlencode.h 33 // Decode all encoded characters. Also decode + as space.
36 // Decode all encoded characters.
51 std::string UrlDecodeString(const std::string & encoded);
53 const std::string & encoded);
  /external/qemu/distrib/sdl-1.2.12/src/audio/
SDL_wave.c 120 Uint8 *freeable, *encoded, *decoded; local
128 encoded = *audio_buf;
146 state[0]->hPredictor = *encoded++;
148 state[1]->hPredictor = *encoded++;
150 state[0]->iDelta = ((encoded[1]<<8)|encoded[0]);
151 encoded += sizeof(Sint16);
153 state[1]->iDelta = ((encoded[1]<<8)|encoded[0]);
154 encoded += sizeof(Sint16)
330 Uint8 *freeable, *encoded, *decoded; local
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/x501/
AttributeValue.java 42 public byte[] encoded; field in class:AttributeValue
44 public byte[] bytes; //FIXME remove??? bytes to be encoded
59 public AttributeValue(String hexString, byte[] encoded) {
63 this.encoded = encoded;
66 DerInputStream in = new DerInputStream(encoded);
85 public AttributeValue(String rawString, byte[] encoded, int tag) {
88 this.encoded = encoded;
132 encoded = isPrintableString(rawString
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
ECCurve.java 19 public abstract ECPoint decodePoint(byte[] encoded);
75 public ECPoint decodePoint(byte[] encoded)
79 switch (encoded[0])
83 if (encoded.length > 1)
92 int ytilde = encoded[0] & 1;
93 byte[] i = new byte[encoded.length - 1];
95 System.arraycopy(encoded, 1, i, 0, i.length);
127 byte[] xEnc = new byte[(encoded.length - 1) / 2];
128 byte[] yEnc = new byte[(encoded.length - 1) / 2];
130 System.arraycopy(encoded, 1, xEnc, 0, xEnc.length)
    [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/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));
  /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/webkit/Source/WebKit2/WebProcess/WebCoreSupport/
WebContextMenuClient.cpp 75 String encoded = encodeWithURLEscapeSequences(searchString); local
76 encoded.replace("%20", "+");
79 url.append(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

Completed in 529 milliseconds

12 3 4 5 6 7 8 9