Home
last modified time | relevance | path

Searched refs:charsetName (Results 1 – 14 of 14) sorted by relevance

/external/webkit/LayoutTests/fast/encoding/resources/
Dchar-decoding-utils.js12 function decodeText(charsetName, characterSequence) argument
16 req.overrideMimeType('text/plain; charset="' + charsetName + '"');
21 function decode(charsetName, characterSequence) argument
23 var decodedText = decodeText(charsetName, characterSequence);
34 function testDecode(charsetName, characterSequence, unicode) argument
36 shouldBe("decode('" + charsetName + "', '" + characterSequence + "')", "'" + unicode + "'");
Dchar-encoding-utils.js64 function testEncode(charsetName, unicode, characterSequence) argument
66 charsets.push(charsetName);
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
DSCPClient.java24 String charsetName = null; field in SCPClient
39 charsetName = charset; in setCharset()
51 charsetName = charset; in setCharset()
62 return charsetName; in getCharset()
201 sess.execCommand(cmd, charsetName); in put()
228 sess.execCommand(cmd, charsetName); in get()
DSFTPv3Client.java80 private String charsetName = null; field in SFTPv3Client
161 charsetName = charset; in setCharset()
173 charsetName = charset; in setCharset()
184 return charsetName; in getCharset()
422 tw.writeString(path, charsetName); in statBoth()
498 tw.writeString(path, charsetName); in readLink()
525 return tr.readString(charsetName); in readLink()
584 tw.writeString(path, charsetName); in setstat()
635 tw.writeString(target, charsetName); in createSymlink()
636 tw.writeString(src, charsetName); in createSymlink()
[all …]
DSession.java239 public void execCommand(String cmd, String charsetName) throws IOException in execCommand() argument
256 cm.requestExecCommand(cn, cmd, charsetName); in execCommand()
/external/protobuf/java/src/main/java/com/google/protobuf/micro/
DByteStringMicro.java100 public static ByteStringMicro copyFrom(final String text, final String charsetName) in copyFrom() argument
102 return new ByteStringMicro(text.getBytes(charsetName)); in copyFrom()
158 public String toString(final String charsetName) in toString() argument
160 return new String(bytes, charsetName); in toString()
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/
DCharsetProviderTest.java373 public Charset charsetForName(String charsetName) { in charsetForName() argument
374 if ("MockCharset10".equalsIgnoreCase(charsetName) in charsetForName()
375 || "MockCharset11".equalsIgnoreCase(charsetName) in charsetForName()
376 || "MockCharset12".equalsIgnoreCase(charsetName)) { in charsetForName()
394 public Charset charsetForName(String charsetName) { in charsetForName() argument
395 if ("US-ASCII".equalsIgnoreCase(charsetName) in charsetForName()
396 || "ASCII".equalsIgnoreCase(charsetName)) { in charsetForName()
DCharsetTest.java823 public Charset charsetForName(String charsetName) { in charsetForName() argument
824 if ("MockCharset00".equalsIgnoreCase(charsetName) in charsetForName()
825 || "MockCharset01".equalsIgnoreCase(charsetName) in charsetForName()
826 || "MockCharset02".equalsIgnoreCase(charsetName)) { in charsetForName()
/external/protobuf/java/src/main/java/com/google/protobuf/
DByteString.java124 public static ByteString copyFrom(final String text, final String charsetName) in copyFrom() argument
126 return new ByteString(text.getBytes(charsetName)); in copyFrom()
219 public String toString(final String charsetName) in toString() argument
221 return new String(bytes, charsetName); in toString()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/
DPacketSessionExecCommand.java36 public byte[] getPayload(String charsetName) throws UnsupportedEncodingException in getPayload() argument
45 tw.writeString(command, charsetName); in getPayload()
DTypesWriter.java145 public void writeString(String v, String charsetName) throws UnsupportedEncodingException in writeString() argument
147 byte[] b = (charsetName == null) ? StringEncoder.GetBytes(v) : v.getBytes(charsetName); in writeString()
DTypesReader.java143 public String readString(String charsetName) throws IOException in readString() argument
150 …String res = (charsetName == null) ? new String(arr, pos, len) : new String(arr, pos, len, charset… in readString()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/channel/
DChannelManager.java718 public void requestExecCommand(Channel c, String cmd, String charsetName) throws IOException in requestExecCommand() argument
736 tm.sendMessage(sm.getPayload(charsetName)); in requestExecCommand()
/external/icu4c/i18n/
Ducol_imp.h938 uint8_t charsetName[32]; member