HomeSort by relevance Sort by last modified time
    Searched defs:encoded (Results 1 - 25 of 47) sorted by null

1 2

  /external/dbus/dbus/
dbus-uuidgen.c 50 DBusString encoded; local
51 _dbus_string_init (&encoded);
52 if (!_dbus_uuid_encode (uuid, &encoded) ||
53 !_dbus_string_steal_data (&encoded, uuid_p))
56 _dbus_string_free (&encoded);
59 _dbus_string_free (&encoded);
dbus-string-util.c 145 DBusString encoded; local
155 if (!_dbus_string_init (&encoded))
164 if (!_dbus_string_hex_encode (&orig, 0, &encoded, 0))
167 if (!_dbus_string_hex_decode (&encoded, 0, &end, &decoded, 0))
170 _dbus_assert (_dbus_string_get_length (&encoded) == end);
176 printf ("Original string %d bytes encoded %d bytes decoded %d bytes\n",
178 _dbus_string_get_length (&encoded),
187 _dbus_string_free (&encoded);
dbus-internals.c 544 * @param encoded string to append hex uuid to
549 DBusString *encoded)
553 return _dbus_string_hex_encode (&binary, 0, encoded, _dbus_string_get_length (encoded));
600 "UUID file '%s' contains %d bytes of hex-encoded data instead of %d",
628 DBusString encoded; local
630 _dbus_string_init (&encoded);
634 if (!_dbus_uuid_encode (uuid, &encoded))
651 if (!_dbus_string_append_byte (&encoded, '\n'))
657 if (!_dbus_string_save_to_file (&encoded, filename, error)
    [all...]
dbus-transport.c 791 const DBusString *encoded; local
799 &encoded);
802 encoded, &plaintext))
    [all...]
  /dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/
X509PublicKey.java 26 private final byte[] encoded; field in class:X509PublicKey
30 public X509PublicKey(String algorithm, byte[] encoded, byte[] keyBytes) {
32 this.encoded = encoded;
45 return encoded;
DNParser.java 64 protected byte[] encoded; field in class:DNParser
179 // encoded byte array must be not less then 4 c
212 // encoded byte array must be not less then 4 and must be even number
220 encoded = new byte[hexLen / 2];
221 for (int i = 0, p = beg + 1; i < encoded.length; p += 2, i++) {
222 encoded[i] = (byte) getByte(p);
435 attValue, encoded)));
  /dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
PrivateKeyStub.java 37 byte [] encoded = null; field in class:PrivateKeyStub
45 * @param encoded
47 public PrivateKeyStub(String algorithm, String format, byte[] encoded) {
50 this.encoded = encoded;
70 * Returns encoded form
74 return encoded;
PublicKeyStub.java 40 byte [] encoded = null; field in class:PublicKeyStub
45 public PublicKeyStub(String algorithm, String format, byte[] encoded) {
48 this.encoded = encoded;
67 * returns encoded
71 return encoded;
KeyStoreTestSupport.java 66 private byte[] encoded; field in class:KeyStoreTestSupport.SKey
68 public SKey(String type, byte[] encoded) {
70 this.encoded = encoded;
78 return encoded;
94 private byte[] encoded; field in class:KeyStoreTestSupport.MyPrivateKey
96 public MyPrivateKey(String algorithm, String format, byte[] encoded) {
99 this.encoded = encoded;
111 return encoded;
    [all...]
MyKeyPairGenerator1.java 99 private byte[] encoded; field in class:MyKeyPairGenerator1.PubKey
104 this.encoded = new byte[10];
116 return encoded;
125 private byte[] encoded; field in class:MyKeyPairGenerator1.PrivKey
130 this.encoded = new byte[10];
142 return encoded;
  /dalvik/libcore/security/src/main/java/java/security/
KeyRep.java 47 private byte[] encoded; field in class:KeyRep
60 * @param encoded
61 * the encoded {@code byte[]} (obtained by
64 * if {@code type, algorithm, format or encoded} is {@code null}
68 String algorithm, String format, byte[] encoded) {
72 this.encoded = encoded;
82 if(this.encoded == null) {
93 * is initialized with a {@link PKCS8EncodedKeySpec} using the encoded key
96 * instance, created with the encoded key bytes and the algorithm
    [all...]
  /dalvik/libcore/security/src/main/java/java/security/cert/
PolicyQualifierInfo.java 33 private final byte[] encoded; field in class:PolicyQualifierInfo
38 // DER encoding of the policy qualifier - part of encoded
42 * Creates a new {@code PolicyQualifierInfo} from the specified encoded
45 * @param encoded
46 * the DER encoded policy qualifier.
50 public PolicyQualifierInfo(byte[] encoded) throws IOException {
51 if (encoded == null) {
54 if (encoded.length == 0) {
57 this.encoded = new byte[encoded.length]
    [all...]
  /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);
  /external/webkit/WebKit/win/WebCoreSupport/
WebContextMenuClient.cpp 136 String encoded = encodeWithURLEscapeSequences(searchString); local
137 encoded.replace("%20", "+");
140 url.append(encoded);
  /dalvik/libcore/security/src/main/java/org/apache/harmony/security/x501/
Name.java 49 private volatile byte[] encoded; field in class:Name
227 * Gets encoded form of DN
232 if (encoded == null) {
233 encoded = ASN1.encode(this);
235 return encoded;
AttributeValue.java 45 public byte[] encoded; field in class:AttributeValue
47 public byte[] bytes; //FIXME remove??? bytes to be encoded
61 public AttributeValue(String hexString, byte[] encoded) {
66 this.encoded = encoded;
69 DerInputStream in = new DerInputStream(encoded);
90 public AttributeValue(String rawString, byte[] encoded, int tag) {
94 this.encoded = encoded;
123 encoded = ASN1StringType.PRINTABLESTRING.encode(rawString)
    [all...]
  /external/bluetooth/bluez/sbc/
sbcenc.c 52 size_t encoded; local
172 &encoded);
173 if (len != codesize || encoded <= 0) {
175 "sbc_encode fail, len=%zd, encoded=%lu\n",
176 len, (unsigned long) encoded);
181 outp += encoded;
  /dalvik/dx/src/com/android/dx/dex/file/
DebugInfoItem.java 40 private byte[] encoded; field in class:DebugInfoItem
76 encoded = encode(addedTo.getFile(), null, null, null, false);
77 setWriteSize(encoded.length);
127 out.write(encoded);
140 * @return {@code non-null;} the encoded array
171 * @return {@code non-null;} the encoded array
  /dalvik/libcore/crypto/src/main/java/javax/crypto/
EncryptedPrivateKeyInfo.java 70 private volatile byte[] encoded; field in class:EncryptedPrivateKeyInfo
73 * Creates an {@code EncryptedPrivateKeyInfo} instance from its encoded
76 * @param encoded
77 * the encoded representation of this object
79 * if parsing the encoded representation fails.
81 * if {@code encoded} is {@code null}.
83 public EncryptedPrivateKeyInfo(byte[] encoded)
85 if (encoded == null) {
88 this.encoded = new byte[encoded.length]
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
IndexedPKIXParameters.java 58 Bytes encoded = new Bytes(cert.getEncoded()); local
59 encodings.put(encoded, anchor);
107 Bytes encoded = new Bytes(cert.getEncoded()); local
108 anchor = encodings.get(encoded);
133 Bytes encoded = new Bytes(cert.getEncoded()); local
134 return encodings.containsKey(encoded);
  /dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/
BerOutputStream.java 35 * Encoded byte array
37 public byte[] encoded; field in class:BerOutputStream
45 * Current encoded length
50 * Current encoded content
59 encoded[offset++] = (byte) tag; //FIXME long form?
68 encoded[offset] = (byte) (numOctets | 0x80);
74 encoded[numOffset - i] = (byte) eLen; //FIXME long value?
78 encoded[offset++] = (byte) length;
83 System.arraycopy(content, 0, encoded, offset, length);
90 encoded[offset] = (byte) bStr.unusedBits
    [all...]
  /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...]
  /external/webkit/WebKitTools/DumpRenderTree/qt/
LayoutTestControllerQt.cpp 276 QString encoded = QString::fromLatin1(QUrl::toAce(host + QLatin1String(".no"))); local
277 encoded.truncate(encoded.length() - 3); // strip .no
278 return encoded;
  /external/wpa_supplicant/
config_file.c 194 unsigned char *encoded = NULL, *nencoded; local
208 nencoded = os_realloc(encoded, encoded_len + len);
212 os_free(encoded);
215 encoded = nencoded;
216 os_memcpy(encoded + encoded_len, pos, len);
223 os_free(encoded);
229 os_free(encoded);
233 blob->data = base64_decode(encoded, encoded_len, &blob->len);
234 os_free(encoded);
647 unsigned char *encoded; local
    [all...]
  /packages/apps/Email/src/com/android/email/mail/internet/
MimeUtility.java 101 String encoded = EncoderUtil.encodeIfNecessary(s, EncoderUtil.Usage.TEXT_TOKEN, local
104 return fold(encoded, usedCharacters);
113 * encoded words; see <a href='http://www.faqs.org/rfcs/rfc2047.html'>RFC

Completed in 2760 milliseconds

1 2