HomeSort by relevance Sort by last modified time
    Searched refs:encode (Results 251 - 275 of 1408) sorted by null

<<11121314151617181920>>

  /external/nist-sip/java/gov/nist/javax/sip/header/
AlertInfo.java 73 encoding.append(LESS_THAN).append(uri.encode()).append(GREATER_THAN);
78 encoding.append(SEMICOLON).append(parameters.encode());
CallInfo.java 69 info.encode(buffer);
74 parameters.encode(buffer);
Credentials.java 101 public String encode() { method in class:Credentials
104 retval += SP + parameters.encode();
  /external/nist-sip/java/gov/nist/javax/sip/header/ims/
PAssertedIdentity.java 72 /** Encode into canonical form.
80 retval.append(address.encode());
87 retval.append(COMMA + this.parameters.encode());
PCalledPartyID.java 67 /** Encode into canonical form.
75 retval.append(address.encode());
81 retval.append(SEMICOLON + this.parameters.encode());
PProfileKey.java 60 retval.append(address.encode());
65 retval.append(SEMICOLON + this.parameters.encode());
Path.java 66 /** Encode into canonical form.
74 retval.append(address.encode());
80 retval.append(SEMICOLON + this.parameters.encode());
  /libcore/luni/src/test/java/libcore/java/nio/charset/
CharsetEncoderTest.java 36 String output = ascii.decode(e.encode(CharBuffer.wrap(input))).toString();
70 CoderResult cr = e.encode(CharBuffer.wrap(new char[] { '\ud842', '\udf9f' }), bb, false);
84 CoderResult cr = e.encode(CharBuffer.wrap(new char[] { '\udf9f' }), bb, false);
121 CoderResult cr = e.encode(CharBuffer.wrap(new char[] { '\ud842' }), bb, false);
124 cr = e.encode(CharBuffer.wrap(new char[] { '\udf9f' }), bb, false);
133 cr = e.encode(CharBuffer.wrap(new char[] { }), bb, true);
145 CoderResult cr = e.encode(CharBuffer.wrap(new char[] { 'x' }), bb, false);
152 // You must call encode with endOfInput true before you can flush.
155 // We had a bug where we wouldn't reset inEnd before calling encode in implFlush.
157 cr = e.encode(CharBuffer.wrap(new char[] { 'x' }), bb, true)
    [all...]
CharsetDecoderTest.java 42 byte[] arr = encode("UTF-16", "Android");
56 byte[] arr = encode("UTF-16", "Android");
72 byte[] arr = encode("UTF-16", "Android");
86 private static byte[] encode(String charsetName, String s) throws Exception { method in class:CharsetDecoderTest
88 return encoder.encode(CharBuffer.wrap(s)).array();
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/
idna.py 65 label = label.encode("ascii")
81 label = label.encode("ascii")
94 # Step 6: Encode with PUNYCODE
95 label = label.encode("punycode")
111 label = label.encode("ascii")
120 label = label.encode("ascii")
147 def encode(self,input,errors='strict'): member in class:Codec
282 encode=Codec().encode,
utf_16.py 13 encode = codecs.utf_16_encode variable
23 def encode(self, input, final=False): member in class:IncrementalEncoder
84 def encode(self, input, errors='strict'): member in class:StreamWriter
120 encode=encode,
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/
idna.py 65 label = label.encode("ascii")
81 label = label.encode("ascii")
94 # Step 6: Encode with PUNYCODE
95 label = label.encode("punycode")
111 label = label.encode("ascii")
120 label = label.encode("ascii")
147 def encode(self,input,errors='strict'): member in class:Codec
282 encode=Codec().encode,
utf_16.py 13 encode = codecs.utf_16_encode variable
23 def encode(self, input, final=False): member in class:IncrementalEncoder
84 def encode(self, input, errors='strict'): member in class:StreamWriter
120 encode=encode,
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
DebugInfoItem.java 73 // Encode the data and note the size.
76 encoded = encode(addedTo.getFile(), null, null, null, false);
101 encode(file, prefix, null, out, false); method
111 encode(null, prefix, out, null, false); method
120 * but write the bits from the original encode
124 encode(file, null, null, out, true); method
142 private byte[] encode(DexFile file, String prefix, PrintWriter debugPrint, method in class:DebugInfoItem
162 * Helper for {@link #encode} to do most of the work.
  /dalvik/dx/src/com/android/dx/dex/file/
DebugInfoItem.java 70 // Encode the data and note the size.
73 encoded = encode(addedTo.getFile(), null, null, null, false);
98 encode(file, prefix, null, out, false); method
108 encode(null, prefix, out, null, false); method
117 * but write the bits from the original encode
121 encode(file, null, null, out, true); method
139 private byte[] encode(DexFile file, String prefix, PrintWriter debugPrint, method in class:DebugInfoItem
159 * Helper for {@link #encode} to do most of the work.
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/
TimeStampRespTest.java 89 ASN1OctetString.getInstance().encode(
90 TSTInfo.ASN1.encode(tSTInfo)));
99 byte [] encoding = TimeStampResp.ASN1.encode(response);
105 PKIStatusInfo.ASN1.encode(status), PKIStatusInfo.ASN1
106 .encode(decoded.getStatus())));
  /external/chromium_org/third_party/WebKit/Source/wtf/text/
TextEncoding.cpp 67 CString TextEncoding::encode(const String& string, UnencodableHandling handling) const function in class:WTF::TextEncoding
78 encodedString = textCodec->encode(string.characters8(), string.length(), handling);
80 encodedString = textCodec->encode(string.characters16(), string.length(), handling);
97 return newTextCodec(*this)->encode(string.characters8(), string.length(), handling);
120 return newTextCodec(*this)->encode(source, length, handling);
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
DebugInfoItem.java 71 // Encode the data and note the size.
74 encoded = encode(addedTo.getFile(), null, null, null, false);
99 encode(file, prefix, null, out, false); method
109 encode(null, prefix, out, null, false); method
118 * but write the bits from the original encode
122 encode(file, null, null, out, true); method
140 private byte[] encode(DexFile file, String prefix, PrintWriter debugPrint, method in class:DebugInfoItem
160 * Helper for {@link #encode} to do most of the work.
  /external/nist-sip/java/gov/nist/javax/sip/address/
AddressImpl.java 88 return that.getMatcher().match(this.encode());
160 * Encode the address as a string and return it.
163 public String encode() { method in class:AddressImpl
164 return encode(new StringBuffer()).toString();
167 public StringBuffer encode(StringBuffer buffer) { method in class:AddressImpl
181 address.encode(buffer);
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
Base64.java 75 * Encode the given byte[].
80 public static final byte[] encode(byte[] src) method in class:Base64
82 return encode(src, 0);
87 * Encode the given byte[].
94 public static final byte[] encode(byte[] src, int lineFeed) method in class:Base64
166 * Encode the given string.
170 public static final String encode(String src) method in class:Base64
172 return new String(encode(src.getBytes()));
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/
test_unicode.py 9 s = u.encode('utf-8')
10 ju = encoder.encode(u)
11 js = encoder.encode(s)
16 s = u.encode('utf-8')
73 self.assertEqual(self.loads(u'{"a": "\xe9"}'.encode('utf-8')),
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_multibytecodec_support.py 30 self.encode = self.codec.encode
43 self.assertEqual(native, self.encode(u)[0])
50 func = self.encode
62 '%r.encode(%r, %r)=%r != %r'
74 self.encode(s, "xmlcharrefreplace")[0],
102 self.assertEqual(self.encode(sin,
111 self.assertRaises(TypeError, self.encode, self.unmappedunicode,
118 self.assertEqual(self.encode(u'abcd' + self.unmappedunicode + u'efgh',
124 self.assertRaises(IndexError, self.encode, self.unmappedunicode
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/
test_unicode.py 9 s = u.encode('utf-8')
10 ju = encoder.encode(u)
11 js = encoder.encode(s)
16 s = u.encode('utf-8')
73 self.assertEqual(self.loads(u'{"a": "\xe9"}'.encode('utf-8')),
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_multibytecodec_support.py 30 self.encode = self.codec.encode
43 self.assertEqual(native, self.encode(u)[0])
50 func = self.encode
62 '%r.encode(%r, %r)=%r != %r'
74 self.encode(s, "xmlcharrefreplace")[0],
102 self.assertEqual(self.encode(sin,
111 self.assertRaises(TypeError, self.encode, self.unmappedunicode,
118 self.assertEqual(self.encode(u'abcd' + self.unmappedunicode + u'efgh',
124 self.assertRaises(IndexError, self.encode, self.unmappedunicode
    [all...]
  /external/markdown/markdown/
html4.py 76 return text.encode(encoding, "xmlcharrefreplace")
92 return text.encode(encoding, "xmlcharrefreplace")
110 return text.encode(encoding, "xmlcharrefreplace")
123 return text.encode(encoding, "xmlcharrefreplace")
163 k.encode(encoding),
211 def encode(text): function in function:_namespaces
212 return text.encode(encoding)
227 qnames[qname] = encode("%s:%s" % (prefix, tag))
229 qnames[qname] = encode(tag) # default element
237 qnames[qname] = encode(qname
    [all...]

Completed in 1470 milliseconds

<<11121314151617181920>>