Searched defs:chars (Results 1 - 25 of 100) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/sun/text/
H A DComposedCharIter.java41 private static int chars[]; field in class:ComposedCharIter
47 chars = new int[maxNum];
49 decompNum = NormalizerImpl.getDecompose(chars, decomps);
70 return chars[++curChar];
/openjdk7/jdk/src/solaris/native/sun/nio/fs/
H A DMacOSXNativeDispatcher.c47 char *chars = (char*)(*env)->GetPrimitiveArrayCritical(env, path, 0); local
49 CFStringAppendCharacters(csref, (const UniChar*)chars, len);
50 (*env)->ReleasePrimitiveArrayCritical(env, path, chars, 0);
60 chars = malloc(ulen);
61 if (chars == NULL) {
66 if (CFStringGetCString(csref, chars, ulen, kCFStringEncodingUTF16)) {
68 (*env)->SetCharArrayRegion(env, result, 0, len, (jchar*)chars);
70 free(chars);
/openjdk7/jdk/test/java/net/URLEncoder/
H A DURLEncodeDecode.java37 static char chars[] = {'H', 'e', 'l', 'l', 'o', field in class:URLEncodeDecode
44 static String str = new String(chars);
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DGXLayoutEngine.cpp57 le_int32 GXLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
63 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
68 mapCharsToGlyphs(chars, offset, count, FALSE, rightToLeft, glyphStorage, success);
80 void GXLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, argument
87 if (chars == NULL || offset < 0 || count < 0) {
H A DGXLayoutEngine2.cpp54 le_int32 GXLayoutEngine2::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
60 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
65 mapCharsToGlyphs(chars, offset, count, rightToLeft, rightToLeft, glyphStorage, success);
76 void GXLayoutEngine2::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, argument
83 if (chars == NULL || offset < 0 || count < 0) {
H A DKhmerLayoutEngine.cpp69 le_int32 KhmerOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument
76 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
100 le_int32 outCharCount = KhmerReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage);
H A DThaiLayoutEngine.cpp84 le_int32 ThaiLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool /*rightToLeft*/, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
90 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
115 glyphCount = ThaiShaping::compose(chars, offset, count, fGlyphSet, fErrorChar, outChars, glyphStorage);
125 void ThaiLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, argument
132 if (chars == NULL || offset < 0 || count < 0) {
H A DTibetanLayoutEngine.cpp75 le_int32 TibetanOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument
82 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
106 le_int32 outCharCount = TibetanReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage);
H A DHanLayoutEngine.cpp79 le_int32 HanOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool /*rightToLeft*/, argument
86 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
H A DIndicLayoutEngine.cpp81 le_int32 IndicOpenTypeLayoutEngine::glyphProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument
88 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
93 le_int32 retCount = OpenTypeLayoutEngine::glyphProcessing(chars, offset, count, max, rightToLeft, glyphStorage, success);
112 le_int32 IndicOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument
119 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
146 outCharCount = IndicReordering::v2process(&chars[offset], count, fScriptCode, outChars, glyphStorage);
148 outCharCount = IndicReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage, &fMPreFixups, success);
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/
H A DWriterChain.java36 * write(char[] chars)
37 * write(char[] chars, int start, int count)
38 * write(String chars)
39 * write(String chars, int start, int count)
58 public void write(char[] chars) throws IOException; argument
60 public void write(char[] chars, int start, int count) throws IOException; argument
62 public void write(String chars) throws IOException; argument
64 public void write(String chars, int start, int count) throws IOException; argument
H A DWriterToASCI.java61 * @param chars Array of characters
69 public void write(char chars[], int start, int length) argument
77 m_os.write(chars[i]);
H A DSerializerTraceWriter.java120 char[] chars = new char[count];
122 chars[i] = (char) buf[i];
127 chars,
129 chars.length);
209 * @param chars Array of characters
217 public void write(final char chars[], final int start, final int length) argument
222 m_writer.write(chars, start, length);
247 final char c = chars[i];
H A DWriterToUTF8Buffered.java91 // Big enough to hold the input chars that will be transformed
173 * @param chars Array of characters
181 public void write(final char chars[], final int start, final int length) argument
220 final char c = chars[end_chunk - 1];
221 int ic = chars[end_chunk - 1];
230 // char in the current chunk of chars.
247 this.write(chars,start_chunk, len_chunk);
266 for(; i < n && (c = chars[i])< 0x80 ; i++ )
272 final char c = chars[i];
293 low = chars[
[all...]
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DCharArrayIterator.java32 private char[] chars; field in class:CharArrayIterator
36 CharArrayIterator(char[] chars) { argument
38 reset(chars, 0);
41 CharArrayIterator(char[] chars, int begin) { argument
43 reset(chars, begin);
66 if (chars.length > 0) {
67 pos = chars.length-1;
83 if (pos >= 0 && pos < chars.length) {
84 return chars[pos];
101 if (pos < chars
183 reset(char[] chars) argument
187 reset(char[] chars, int begin) argument
[all...]
/openjdk7/jdk/src/solaris/native/java/io/
H A Dio_util_md.c49 char* chars = malloc(ulen); local
50 if (chars == NULL) {
54 if (CFStringGetCString(csref, chars, ulen, kCFStringEncodingUTF16)) {
55 rv = (*env)->NewString(env, (jchar*)chars, clen);
57 free(chars);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/
H A DBMPattern.java120 * @return -1 if <var>chars</char> does not contain this pattern.
122 public int matches(char[] chars, int start, int limit) { argument
123 if (this.ignoreCase) return this.matchesIgnoreCase(chars, start, limit);
133 if ((ch = chars[--index]) != this.pattern[--pindex])
195 int matchesIgnoreCase(char[] chars, int start, int limit) { argument
204 char ch1 = ch = chars[--index];
H A DMatch.java105 protected void setSource(char[] chars) { argument
108 this.charSource = chars;
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serialize/
H A DTextSerializer.java186 public void comment( char[] chars, int start, int length ) argument
191 public void characters( char[] chars, int start, int length ) argument
199 printText( chars, start, length, true, true );
H A DHTMLSerializer.java461 public void characters( char[] chars, int start, int length ) argument
470 super.characters( chars, start, length );
H A DIndentPrinter.java158 public void printText( char[] chars, int start, int length ) argument
160 _text.append( chars, start, length );
/openjdk7/jdk/src/share/classes/javax/naming/ldap/
H A DRfc2253Parser.java39 private final char[] chars; // characters in LDAP name being parsed field in class:Rfc2253Parser
40 private final int len; // length of "chars"
41 private int cur = 0; // index of first unconsumed char in "chars"
49 chars = name.toCharArray();
72 if (chars[cur] == ',' || chars[cur] == ';') {
110 if (cur >= len || chars[cur] != '=') {
119 if (cur >= len || chars[cur] != '+') {
139 char c = chars[cur];
150 while ((cur > beg) && (chars[cu
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/xml/sax/
H A DAbstractLexicalHandler.java70 public void comment(char[] chars, int start, int length) throws SAXException { argument
/openjdk7/jdk/src/windows/native/common/
H A Djni_util_md.c86 jcharArray chars = 0; local
100 chars = (*env)->NewCharArray(env, len);
101 if (chars == NULL)
103 (*env)->SetCharArrayRegion(env, chars, 0, len, utf16);
108 String_char_constructor, chars);
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/
H A DDes3.java42 public static byte[] stringToKey(char[] chars) argument
44 return CRYPTO.stringToKey(chars);

Completed in 51 milliseconds

1234