Searched refs:ucs4 (Results 1 - 24 of 24) sorted by relevance

/xsrc/external/mit/fontconfig/dist/fc-case/
H A Dfc-case.py51 def ucs4_to_utf8(ucs4):
54 if ucs4 < 0x80:
55 utf8_rep.append(ucs4)
57 elif ucs4 < 0x800:
58 utf8_rep.append(((ucs4 >> 6) & 0x1F) | 0xC0)
60 elif ucs4 < 0x10000:
61 utf8_rep.append(((ucs4 >> 12) & 0x0F) | 0xE0)
63 elif ucs4 < 0x200000:
64 utf8_rep.append(((ucs4 >> 18) & 0x07) | 0xF0)
66 elif ucs4 <
[all...]
/xsrc/external/mit/libX11/dist/src/
H A DimConv.c116 ucs4_t ucs4; local in function:_XimGetCharCode
122 ucs4 = KeySymToUcs4(keysym);
123 if (ucs4)
124 count = (*cvt)((XPointer)NULL, buf, ucs4, nbytes);
172 ucs4_t ucs4; local in function:_XimLookupMBText
192 XPointer from = (XPointer) &ucs4;
199 ucs4 = (ucs4_t) KeySymToUcs4(symbol);
200 if (!ucs4)
245 ucs4_t ucs4; local in function:_XimLookupWCText
261 XPointer from = (XPointer) &ucs4;
317 ucs4_t ucs4; local in function:_XimLookupUTF8Text
[all...]
/xsrc/external/mit/fontconfig/dist/src/
H A Dfccharset.c131 FcCharSetFindLeafPos (const FcCharSet *fcs, FcChar32 ucs4) argument
133 return FcCharSetFindLeafForward (fcs, 0, ucs4 >> 8);
137 FcCharSetFindLeaf (const FcCharSet *fcs, FcChar32 ucs4) argument
139 int pos = FcCharSetFindLeafPos (fcs, ucs4);
149 FcChar32 ucs4,
156 ucs4 >>= 8;
157 if (ucs4 >= 0x10000)
217 numbers[pos] = (FcChar16) ucs4;
229 FcCharSetFindLeafCreate (FcCharSet *fcs, FcChar32 ucs4) argument
234 pos = FcCharSetFindLeafPos (fcs, ucs4);
148 FcCharSetPutLeaf(FcCharSet * fcs,FcChar32 ucs4,FcCharLeaf * leaf,int pos) argument
252 FcCharSetInsertLeaf(FcCharSet * fcs,FcChar32 ucs4,FcCharLeaf * leaf) argument
269 FcCharSetAddChar(FcCharSet * fcs,FcChar32 ucs4) argument
285 FcCharSetDelChar(FcCharSet * fcs,FcChar32 ucs4) argument
307 FcChar32 ucs4; member in struct:_fcCharSetIter
398 FcCharSetAddLeaf(FcCharSet * fcs,FcChar32 ucs4,FcCharLeaf * leaf) argument
591 FcCharSetHasChar(const FcCharSet * fcs,FcChar32 ucs4) argument
[all...]
H A Dfcftint.h46 FcFreeTypeUcs4ToPrivate (FcChar32 ucs4, const FcCharMap *map);
H A Dfcstr.c108 FcChar32 ucs4; local in function:FcStrCaseWalkerLong
112 slen = FcUtf8ToUcs4 (w->src - 1, &ucs4, len + 1);
115 if (FC_MIN_FOLD_CHAR <= ucs4 && ucs4 <= FC_MAX_FOLD_CHAR)
126 if (high <= ucs4)
128 else if (ucs4 < low)
137 if ((ucs4 & 1) != (fold->upper & 1))
141 dlen = FcUcs4ToUtf8 (ucs4 + fold->offset, w->utf8);
732 FcUcs4ToUtf8 (FcChar32 ucs4, argument
738 if (ucs4 <
[all...]
H A Dfcfreetype.c757 FcChar32 ucs4; local in function:FcSfntNameTranscode
775 while ((ilen = FcUtf16ToUcs4 (src, FcEndianBig, &ucs4, src_len)) > 0)
779 olen = FcUcs4ToUtf8 (ucs4, u8);
791 FcChar32 ucs4; local in function:FcSfntNameTranscode
803 ucs4 = *src++;
805 olen = FcUcs4ToUtf8 (ucs4, u8);
817 FcChar32 ucs4; local in function:FcSfntNameTranscode
829 ucs4 = *src++;
830 if (ucs4 >= 128)
831 ucs4
2467 FcFreeTypeCharIndex(FT_Face face,FcChar32 ucs4) argument
2560 FcChar32 ucs4; local in function:FcFreeTypeSpacing
2611 FcChar32 page, off, ucs4; local in function:FcFreeTypeCharSet
[all...]
H A Dfclang.c145 FcChar32 ucs4; local in function:FcFreeTypeLangSet
151 for (ucs4 = FcCharSetFirstPage (missed, map, &next);
152 ucs4 != FC_CHARSET_DONE;
153 ucs4 = FcCharSetNextPage (missed, map, &next))
161 printf (" %04x", ucs4 + i * 32 + j);
H A Dfccfg.c829 FcBlanksAdd (FcBlanks *b FC_UNUSED, FcChar32 ucs4 FC_UNUSED)
836 FcBlanksIsMember (FcBlanks *b FC_UNUSED, FcChar32 ucs4 FC_UNUSED)
H A Dfcint.h830 FcCharSetFindLeafCreate (FcCharSet *fcs, FcChar32 ucs4);
/xsrc/external/mit/fontconfig/dist/fc-lang/
H A Dfc-lang.py44 def add_char(self, ucs4):
45 assert ucs4 < 0x01000000
46 leaf_num = ucs4 >> 8
52 leaf[(ucs4 & 0xff) >> 5] |= (1 << (ucs4 & 0x1f))
53 #print('{:08x} [{:04x}] --> {}'.format(ucs4, ucs4>>8, leaf))
55 def del_char(self, ucs4):
56 assert ucs4 < 0x01000000
57 leaf_num = ucs4 >>
[all...]
/xsrc/external/mit/fontconfig/dist/fc-validate/
H A Dfc-validate.c201 FcChar32 ucs4, pos, map[FC_CHARSET_MAP_SIZE]; local in function:main
209 for (ucs4 = FcCharSetFirstPage (fcs_sub, map, &pos);
210 ucs4 != FC_CHARSET_DONE;
211 ucs4 = FcCharSetNextPage (fcs_sub, map, &pos))
218 FcChar32 base = ucs4 + j * 32;
/xsrc/external/mit/fontconfig/dist/fontconfig/
H A Dfcfreetype.h37 FcFreeTypeCharIndex (FT_Face face, FcChar32 ucs4);
H A Dfontconfig.h350 FcBlanksAdd (FcBlanks *b, FcChar32 ucs4);
353 FcBlanksIsMember (FcBlanks *b, FcChar32 ucs4);
512 FcCharSetAddChar (FcCharSet *fcs, FcChar32 ucs4);
515 FcCharSetDelChar (FcCharSet *fcs, FcChar32 ucs4);
536 FcCharSetHasChar (const FcCharSet *fcs, FcChar32 ucs4);
1075 FcUcs4ToUtf8 (FcChar32 ucs4,
/xsrc/external/mit/fontconfig/include/
H A Dfcftint.h52 FcFreeTypeUcs4ToPrivate (FcChar32 ucs4, const FcCharMap *map);
H A Dfcint.h847 FcCharSetFindLeafCreate (FcCharSet *fcs, FcChar32 ucs4);
/xsrc/external/mit/libXft/dist/src/
H A Dxftextent.c217 FcChar32 ucs4; local in function:XftTextExtentsUtf8
228 while (len && (l = FcUtf8ToUcs4 (string, &ucs4, len)) > 0)
246 glyphs[i++] = XftCharIndex (dpy, pub, ucs4);
264 FcChar32 ucs4; local in function:XftTextExtentsUtf16
275 while (len && (l = FcUtf16ToUcs4 (string, endian, &ucs4, len)) > 0)
293 glyphs[i++] = XftCharIndex (dpy, pub, ucs4);
H A Dxftglyphs.c1290 FcChar32 ucs4)
1293 return FcCharSetHasChar (pub->charset, ucs4);
1302 FcChar32 ucs4)
1311 ent = ucs4 % (FcChar32)font->hash_value;
1313 while (font->hash_table[ent].ucs4 != ucs4)
1315 if (font->hash_table[ent].ucs4 == (FcChar32) ~0)
1317 if (!XftCharExists (dpy, pub, ucs4))
1322 font->hash_table[ent].ucs4 = ucs4;
1288 XftCharExists(Display * dpy _X_UNUSED,XftFont * pub,FcChar32 ucs4) argument
1300 XftCharIndex(Display * dpy,XftFont * pub,FcChar32 ucs4) argument
[all...]
H A Dxftdraw.c611 FcChar32 ucs4; local in function:XftDrawStringUtf8
622 while (len && (l = FcUtf8ToUcs4 (string, &ucs4, len)) > 0)
639 glyphs[i++] = XftCharIndex (draw->dpy, pub, ucs4);
659 FcChar32 ucs4; local in function:XftDrawStringUtf16
670 while (len && (l = FcUtf16ToUcs4 (string, endian, &ucs4, len)) > 0)
687 glyphs[i++] = XftCharIndex (draw->dpy, pub, ucs4);
783 glyphs[i].glyph = XftCharIndex(draw->dpy, pub, chars[i].ucs4);
816 glyphs[i].glyph = XftCharIndex(draw->dpy, glyphs[i].font, chars[i].ucs4);
H A Dxftrender.c472 glyphs[i].glyph = XftCharIndex(dpy, pub, chars[i].ucs4);
762 glyphs[i].glyph = XftCharIndex(dpy, glyphs[i].font, chars[i].ucs4);
1041 FcChar32 ucs4; local in function:XftTextRenderUtf8
1052 while (len && (l = FcUtf8ToUcs4 (string, &ucs4, len)) > 0)
1069 glyphs[i++] = XftCharIndex (dpy, pub, ucs4);
1094 FcChar32 ucs4; local in function:XftTextRenderUtf16
1105 while (len && (l = FcUtf16ToUcs4 (string, endian, &ucs4, len)) > 0)
1122 glyphs[i++] = XftCharIndex (dpy, pub, ucs4);
H A Dxftint.h88 FcChar32 ucs4; member in struct:_XftUcsHash
H A Dxftfreetype.c1027 font->hash_table[i].ucs4 = ((FcChar32) ~0);
/xsrc/external/mit/libXft/dist/include/X11/Xft/
H A DXft.h79 FcChar32 ucs4; member in struct:_XftCharSpec
86 FcChar32 ucs4; member in struct:_XftCharFontSpec
411 FcChar32 ucs4);
416 FcChar32 ucs4);
H A DXft.h.in78 FcChar32 ucs4; member in struct:_XftCharSpec
85 FcChar32 ucs4; member in struct:_XftCharFontSpec
410 FcChar32 ucs4);
415 FcChar32 ucs4);
/xsrc/external/mit/xterm/dist/
H A Dutil.c3162 sbuf[dst].ucs4 = wc;
3183 sbuf[dst].ucs4 = ' ';

Completed in 36 milliseconds