Searched refs:unicode (Results 1 - 25 of 62) sorted by relevance

123

/openjdk10/jdk/src/java.desktop/share/classes/sun/font/
H A DCharToGlyphMapper.java64 public int charToGlyph(char unicode) { argument
67 chars[0] = unicode;
72 public int charToGlyph(int unicode) { argument
75 chars[0] = unicode;
H A DCompositeGlyphMapper.java86 private int getCachedGlyphCode(int unicode) { argument
87 if (unicode >= MAXUNICODE) {
91 if ((gmap = glyphMaps[unicode >> 8]) == null) {
94 return gmap[unicode & 0xff];
97 private void setCachedGlyphCode(int unicode, int glyphCode) { argument
98 if (unicode >= MAXUNICODE) {
101 int index0 = unicode >> 8;
108 glyphMaps[index0][unicode & 0xff] = glyphCode;
120 private int convertToGlyph(int unicode) { argument
123 if (!hasExcludes || !font.isExcludedChar(slot, unicode)) {
158 charToGlyph(int unicode) argument
167 charToGlyph(int unicode, int prefSlot) argument
178 charToGlyph(char unicode) argument
[all...]
H A DTrueTypeGlyphMapper.java109 private final char remapJAChar(char unicode) { argument
110 return (unicode == REVERSE_SOLIDUS) ? JA_YEN : unicode;
113 private final int remapJAIntChar(int unicode) { argument
114 return (unicode == REVERSE_SOLIDUS) ? JA_YEN : unicode;
117 public int charToGlyph(char unicode) { argument
119 unicode = remapJAChar(unicode);
121 int glyph = getGlyphFromCMAP(unicode);
128 charToGlyph(int unicode) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/native/libfontmanager/harfbuzz/
H A Dhb-utf-private.hh40 hb_codepoint_t *unicode,
98 *unicode = c;
102 *unicode = replacement;
109 hb_codepoint_t *unicode,
116 if (likely (next (text, end, unicode, replacement) == end))
119 *unicode = replacement;
138 hb_codepoint_t *unicode,
145 *unicode = c;
156 *unicode = (c << 10) + l - ((0xD800u << 10) - 0x10000u + 0xDC00u);
163 *unicode
38 next(const uint8_t *text, const uint8_t *end, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
107 prev(const uint8_t *text, const uint8_t *start, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
136 next(const uint16_t *text, const uint16_t *end, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
168 prev(const uint16_t *text, const uint16_t *start, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
216 next(const uint32_t *text, const uint32_t *end HB_UNUSED, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
228 prev(const uint32_t *text, const uint32_t *start HB_UNUSED, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
254 next(const uint8_t *text, const uint8_t *end HB_UNUSED, hb_codepoint_t *unicode, hb_codepoint_t replacement HB_UNUSED) argument
264 prev(const uint8_t *text, const uint8_t *start HB_UNUSED, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
[all...]
H A Dhb-ucdn.cc19 #include "hb-unicode-private.hh"
166 hb_ucdn_combining_class(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, argument
169 return (hb_unicode_combining_class_t) ucdn_get_combining_class(unicode);
173 hb_ucdn_eastasian_width(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, argument
176 int w = ucdn_get_east_asian_width(unicode);
181 hb_ucdn_general_category(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, argument
184 return (hb_unicode_general_category_t)ucdn_get_general_category(unicode);
188 hb_ucdn_mirroring(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, argument
191 return ucdn_mirror(unicode);
195 hb_ucdn_script(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, argument
[all...]
H A Dhb-deprecated.h35 #include "hb-unicode.h"
48 hb_codepoint_t unicode, hb_codepoint_t variation_selector,
H A Dhb-unicode-private.hh73 inline return_type name (hb_codepoint_t unicode) { return func.name (this, unicode, user_data.name); }
106 modified_combining_class (hb_codepoint_t unicode) argument
109 if (unlikely (unicode == 0x1037u)) unicode = 0x103Au;
113 if (unlikely (unicode == 0x1A60u)) return 254;
117 if (unlikely (unicode == 0x0FC6u)) return 254;
119 if (unlikely (unicode == 0x0F39u)) return 127;
121 return _hb_modified_combining_class[combining_class (unicode)];
125 is_variation_selector (hb_codepoint_t unicode) argument
[all...]
H A Dhb-unicode.h223 hb_codepoint_t unicode,
226 hb_codepoint_t unicode,
229 hb_codepoint_t unicode,
232 hb_codepoint_t unicode,
235 hb_codepoint_t unicode,
414 hb_codepoint_t unicode);
423 hb_codepoint_t unicode);
432 hb_codepoint_t unicode);
441 hb_codepoint_t unicode);
450 hb_codepoint_t unicode);
[all...]
H A Dhb-fallback-shape.cc116 hb_unicode_funcs_t *unicode = buffer->unicode; local
122 if (has_space && unicode->is_default_ignorable (info[i].codepoint)) {
H A Dhb-ot-shape-normalize-private.hh57 hb_unicode_funcs_t *unicode; member in struct:hb_ot_shape_normalize_context_t
H A Dhb-unicode.cc33 #include "hb-unicode-private.hh"
43 hb_codepoint_t unicode HB_UNUSED,
51 hb_codepoint_t unicode HB_UNUSED,
59 hb_codepoint_t unicode HB_UNUSED,
67 hb_codepoint_t unicode HB_UNUSED,
70 return unicode;
75 hb_codepoint_t unicode HB_UNUSED,
380 hb_codepoint_t unicode) \
382 return ufuncs->name (unicode); \
452 /* See hb-unicode
[all...]
H A Dhb-ot-shape-normalize.cc79 return (bool) c->unicode->decompose (ab, a, b);
88 return (bool) c->unicode->compose (a, b, ab);
190 hb_unicode_funcs_t::space_t space_type = buffer->unicode->space_fallback_type (u);
222 if (unlikely (buffer->unicode->is_variation_selector (buffer->cur(+1).codepoint))) {
237 while (buffer->idx < end && unlikely (buffer->unicode->is_variation_selector (buffer->cur().codepoint)))
258 if (unlikely (buffer->unicode->is_variation_selector (buffer->info[i].codepoint))) {
301 buffer->unicode,
H A Dhb-font.cc96 hb_codepoint_t unicode,
106 hb_codepoint_t unicode,
110 return font->parent->get_nominal_glyph (unicode, glyph);
116 hb_codepoint_t unicode,
127 hb_codepoint_t unicode,
132 return font->parent->get_variation_glyph (unicode, variation_selector, glyph);
630 * @unicode:
642 hb_codepoint_t unicode, hb_codepoint_t variation_selector,
646 return font->get_variation_glyph (unicode, variation_selector, glyph);
647 return font->get_nominal_glyph (unicode, glyp
94 hb_font_get_nominal_glyph_nil(hb_font_t *font HB_UNUSED, void *font_data HB_UNUSED, hb_codepoint_t unicode, hb_codepoint_t *glyph, void *user_data HB_UNUSED) argument
104 hb_font_get_nominal_glyph_parent(hb_font_t *font, void *font_data HB_UNUSED, hb_codepoint_t unicode, hb_codepoint_t *glyph, void *user_data HB_UNUSED) argument
114 hb_font_get_variation_glyph_nil(hb_font_t *font HB_UNUSED, void *font_data HB_UNUSED, hb_codepoint_t unicode, hb_codepoint_t variation_selector, hb_codepoint_t *glyph, void *user_data HB_UNUSED) argument
125 hb_font_get_variation_glyph_parent(hb_font_t *font, void *font_data HB_UNUSED, hb_codepoint_t unicode, hb_codepoint_t variation_selector, hb_codepoint_t *glyph, void *user_data HB_UNUSED) argument
641 hb_font_get_glyph(hb_font_t *font, hb_codepoint_t unicode, hb_codepoint_t variation_selector, hb_codepoint_t *glyph) argument
663 hb_font_get_nominal_glyph(hb_font_t *font, hb_codepoint_t unicode, hb_codepoint_t *glyph) argument
684 hb_font_get_variation_glyph(hb_font_t *font, hb_codepoint_t unicode, hb_codepoint_t variation_selector, hb_codepoint_t *glyph) argument
1636 hb_font_get_nominal_glyph_trampoline(hb_font_t *font, void *font_data, hb_codepoint_t unicode, hb_codepoint_t *glyph, void *user_data) argument
1647 hb_font_get_variation_glyph_trampoline(hb_font_t *font, void *font_data, hb_codepoint_t unicode, hb_codepoint_t variation_selector, hb_codepoint_t *glyph, void *user_data) argument
[all...]
H A Dhb-ot-layout-private.hh248 hb_unicode_funcs_t *unicode = buffer->unicode; local
250 unsigned int gen_cat = (unsigned int) unicode->general_category (u);
256 if (unlikely (unicode->is_default_ignorable (u)))
278 * http://www.unicode.org/policies/stability_policy.html#Property_Value
290 props |= unicode->modified_combining_class (info->codepoint)<<8;
/openjdk10/jdk/src/java.desktop/unix/classes/sun/font/
H A DNativeGlyphMapper.java36 * This needs work to distinguish between XMap's translation from unicode
62 public int charToGlyph(char unicode) { argument
63 if (unicode >= xmapper.convertedGlyphs.length) {
66 return xmapper.convertedGlyphs[unicode];
70 public int charToGlyph(int unicode) { argument
71 if (unicode >= xmapper.convertedGlyphs.length) {
74 return xmapper.convertedGlyphs[unicode];
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/
H A DSingleIndexWriter.java109 for (Character unicode : elements) {
110 if (configuration.tagSearchIndexMap.get(unicode) == null) {
111 addContents(unicode, indexbuilder.getMemberList(unicode), divTree);
112 } else if (indexbuilder.getMemberList(unicode) == null) {
113 addSearchContents(unicode, configuration.tagSearchIndexMap.get(unicode), divTree);
115 addContents(unicode, indexbuilder.getMemberList(unicode),
116 configuration.tagSearchIndexMap.get(unicode), divTre
[all...]
H A DSplitIndexWriter.java49 * destination directory and will generate separate file for each unicode index.
63 * Previous unicode character index in the built index.
68 * Next unicode character in the built index.
98 * the members starting with the particular unicode character.
131 * @param unicode Unicode character referring to the character for the
135 protected void generateIndexFile(Character unicode) throws DocFileIOException { argument
137 unicode.toString());
150 if (configuration.tagSearchIndexMap.get(unicode) == null) {
151 addContents(unicode, indexbuilder.getMemberList(unicode), divTre
[all...]
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/font/
H A DCCompositeGlyphMapper.java54 private int convertToGlyph(int unicode) { argument
57 int glyphCode = mapper.charToGlyph(unicode);
83 public int charToGlyph(int unicode) { argument
84 return convertToGlyph(unicode);
87 public int charToGlyph(char unicode) { argument
88 return convertToGlyph(unicode);
H A DCCharToGlyphMapper.java91 public synchronized int charToGlyph(char unicode) { argument
92 final int glyph = cache.get(unicode);
95 final char[] unicodeArray = new char[] { unicode };
99 cache.put(unicode, glyphArray[0]);
104 public synchronized int charToGlyph(int unicode) { argument
105 if (unicode >= 0x10000) {
108 int base = unicode - 0x10000;
114 return charToGlyph((char)unicode);
129 // replaced on-the-fly using CoreText substitution; the negative unicode
/openjdk10/jdk/src/java.base/share/native/libverify/
H A Dcheck_format.c33 typedef unsigned short unicode; typedef
56 static int isJvmIdentifier(unicode ch) {
71 static unicode
77 unicode result = 0x80; /* default bad result; */
132 unicode ch;
133 unicode last_ch = 0;
/openjdk10/test/fmw/gtest/src/
H A Dgtest-filepath.cc206 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); local
207 const DWORD attributes = GetFileAttributes(unicode);
208 delete [] unicode;
230 LPCWSTR unicode = String::AnsiToUtf16(path.c_str()); local
231 const DWORD attributes = GetFileAttributes(unicode);
232 delete [] unicode;
323 LPCWSTR unicode = String::AnsiToUtf16(removed_sep.c_str()); local
324 int result = CreateDirectory(unicode, NULL) ? 0 : -1;
325 delete [] unicode;
/openjdk10/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/
H A DLauncher.c50 jchar unicode = str[i]; local
51 if (unicode <= 0x00ff)
52 result[i] = unicode;
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/
H A DEncodingInfo.java43 * range of unicode values (<code>m_first</code> to
46 * If the unicode point is before that explicit range, that is it
169 // The unicode value is before the range
182 // The unicode value is after the range
195 // The unicode value is in the range we explitly handle
216 // The unicode value is before the range
229 // The unicode value is after the range
242 // The unicode value is in the range we explitly handle
264 * m_first through m_last is the range of unicode
272 * m_explFirst through m_explLast is the range of unicode
[all...]
/openjdk10/jdk/src/java.base/share/classes/com/sun/security/ntlm/
H A DClient.java99 // Request Target, Negotiate OEM, Negotiate unicode
129 boolean unicode = (inputFlags & 1) == 1;
133 //String domainFromServer = r.readSecurityBuffer(12, unicode);
139 p.writeSecurityBuffer(28, domain, unicode);
140 p.writeSecurityBuffer(36, username, unicode);
141 p.writeSecurityBuffer(44, hostname, unicode);
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/
H A DIndexBuilder.java176 * for that particular unicode character.
189 Character unicode = ch;
190 SortedSet<Element> list = indexmap.computeIfAbsent(unicode,
206 Character unicode = ch;
207 SortedSet<Element> list = indexmap.computeIfAbsent(unicode,

Completed in 126 milliseconds

123