| /xsrc/external/mit/libX11/dist/modules/lc/Utf8/ |
| H A D | lcUTF8Load.c | 45 XLCd lcd; local in function:_XlcUtf8Loader 47 lcd = _XlcCreateLC(name, _XlcGenericMethods); 48 if (lcd == (XLCd) NULL) 49 return lcd; 52 if (!XLC_PUBLIC_PART(lcd)->codeset) { 53 _XlcDestroyLC(lcd); 56 else if (!_XlcCompareISOLatin1(XLC_PUBLIC_PART(lcd)->codeset, "UTF-8")) { 57 _XlcAddUtf8LocaleConverters(lcd); 59 else if (!_XlcCompareISOLatin1(XLC_PUBLIC_PART(lcd)->codeset, "GB18030")) { 60 _XlcAddGB18030LocaleConverters(lcd); [all...] |
| /xsrc/external/mit/libX11/dist/src/xlibi18n/ |
| H A D | lcPubWrap.c | 33 _XGetLCValues(XLCd lcd, ...) argument 39 XLCdPublicMethodsPart *methods = XLC_PUBLIC_METHODS(lcd); 41 va_start(var, lcd); 45 va_start(var, lcd); 52 ret = (*methods->get_values)(lcd, args, num_args); 61 XLCd lcd) 63 XLCdPublicMethods methods = (XLCdPublicMethods) lcd->methods; 65 (*methods->pub.destroy)(lcd); 74 XLCd lcd; local in function:_XlcCreateLC 76 lcd 60 _XlcDestroyLC(XLCd lcd) argument [all...] |
| H A D | XlcSL.c | 74 _XInitDefaultIM(XLCd lcd) argument 76 if(lcd == (XLCd)NULL) 79 lcd->methods->open_im = _XDefaultOpenIM; 80 lcd->methods->register_callback = NULL; 81 lcd->methods->unregister_callback = NULL; 90 _XInitDefaultOM(XLCd lcd) argument 92 lcd->methods->open_om = _XDefaultOpenOM;
|
| H A D | lcPublic.c | 35 XLCd lcd) 37 return XLC_PUBLIC(lcd, default_string); 41 static Bool initialize (XLCd lcd); 42 static void destroy (XLCd lcd); 43 static char *get_values (XLCd lcd, XlcArgList args, int num_args); 80 XLCd lcd; local in function:create 83 lcd = Xcalloc(1, sizeof(XLCdRec)); 84 if (lcd == NULL) 87 lcd->core = Xcalloc(1, sizeof(XLCdPublicRec)); 88 if (lcd 34 default_string(XLCd lcd) argument 106 load_public(XLCd lcd) argument 141 initialize_core(XLCd lcd) argument 198 initialize(XLCd lcd) argument 255 destroy_core(XLCd lcd) argument 270 destroy(XLCd lcd) argument 301 get_values(XLCd lcd,XlcArgList args,int num_args) argument [all...] |
| H A D | IMWrap.c | 117 XLCd lcd = _XOpenLC( (char *)NULL ); local in function:XOpenIM 119 if( !lcd ) 121 return (*lcd->methods->open_im) (lcd, display, rdb, res_name, res_class); 132 XLCd lcd = im->core.lcd; local in function:XCloseIM 138 _XCloseLC (lcd); 157 return im->core.lcd->core->name; 173 XLCd lcd = _XOpenLC( (char *)NULL ); local in function:XRegisterIMInstantiateCallback 175 if( !lcd ) 194 XLCd lcd = _XlcCurrentLC(); local in function:XUnregisterIMInstantiateCallback [all...] |
| H A D | XlcPubI.h | 31 #define XLC_PUBLIC(lcd, x) (((XLCdPublic) lcd->core)->pub.x) 32 #define XLC_PUBLIC_PART(lcd) (&(((XLCdPublic) lcd->core)->pub)) 33 #define XLC_PUBLIC_METHODS(lcd) (&(((XLCdPublicMethods) lcd->methods)->pub)) 47 XLCd lcd 51 XLCd lcd 55 XLCd lcd, 61 XLCd lcd, [all...] |
| H A D | lcRM.c | 44 XLCd lcd; member in struct:_UbStateRec 79 return ((UbState) state)->lcd->core->name; 87 _XCloseLC(((UbState) state)->lcd); 103 XLCd lcd; member in struct:_MbStateRec 129 cur_max = XLC_PUBLIC(((MbState) state)->lcd, mb_cur_max); 170 return ((MbState) state)->lcd->core->name; 179 _XCloseLC(((MbState) state)->lcd); 195 XLCd lcd, 198 if (XLC_PUBLIC(lcd, mb_cur_max) == 1) { 204 state->lcd 194 _XrmDefaultInitParseInfo(XLCd lcd,XPointer * rm_state) argument [all...] |
| H A D | lcWrap.c | 79 XLCd lcd = _XlcCurrentLC(); local in function:XSetLocaleModifiers 83 if (!lcd) 86 return lcd->core->modifiers; 88 mapped_mods = (*lcd->methods->map_modifiers) (lcd, user_mods, modifiers); 90 Xfree(lcd->core->modifiers); 91 lcd->core->modifiers = mapped_mods; 133 XLCd lcd, 171 XLCd lcd; member in struct:_XLCdListRec 248 XLCd lcd; local in function:_XOpenLC 132 _XlcDefaultMapModifiers(XLCd lcd,const char * user_mods,const char * prog_mods) argument 320 _XCloseLC(XLCd lcd) argument 340 XLCd lcd = _XOpenLC((char *) NULL); local in function:_XrmInitParseInfo 355 XLCd lcd = _XlcCurrentLC(); local in function:XmbTextPropertyToTextList 371 XLCd lcd = _XlcCurrentLC(); local in function:XwcTextPropertyToTextList 387 XLCd lcd = _XlcCurrentLC(); local in function:Xutf8TextPropertyToTextList 404 XLCd lcd = _XlcCurrentLC(); local in function:XmbTextListToTextProperty 421 XLCd lcd = _XlcCurrentLC(); local in function:XwcTextListToTextProperty 438 XLCd lcd = _XlcCurrentLC(); local in function:Xutf8TextListToTextProperty 451 XLCd lcd = _XlcCurrentLC(); local in function:XwcFreeStringList 462 XLCd lcd = _XlcCurrentLC(); local in function:XDefaultString [all...] |
| H A D | lcStd.c | 34 XLCd lcd, 45 if (lcd == NULL) { 46 lcd = _XlcCurrentLC(); 47 if (lcd == NULL) 51 return XLC_PUBLIC(lcd, is_state_depend); 53 conv = _XlcOpenConverter(lcd, XlcNMultiByte, lcd, XlcNWideChar); 73 XLCd lcd, 82 if (lcd == NULL) { 83 lcd 33 _Xlcmbtowc(XLCd lcd,wchar_t * wstr,char * str,int len) argument 72 _Xlcwctomb(XLCd lcd,char * str,wchar_t wc) argument 109 _Xlcmbstowcs(XLCd lcd,wchar_t * wstr,char * str,int len) argument 148 _Xlcwcstombs(XLCd lcd,char * str,wchar_t * wstr,int len) argument 301 _Xlcmbstoutf8(XLCd lcd,char * ustr,const char * str,int len) argument [all...] |
| H A D | lcDynamic.c | 65 XLCd lcd; local in function:_XlcDynamicLoader 72 lcd = _XlcCreateLC(name,_XlcGenericMethods); 74 return lcd;
|
| H A D | XlcGeneric.h | 117 #define XLC_GENERIC(lcd, x) (((XLCdGeneric) lcd->core)->gen.x) 118 #define XLC_GENERIC_PART(lcd) (&(((XLCdGeneric) lcd->core)->gen)) 156 XLCd lcd,
|
| H A D | lcGeneric.c | 40 static Bool initialize (XLCd lcd); 41 static void destroy (XLCd lcd); 61 XLCd lcd; local in function:create 64 lcd = Xcalloc(1, sizeof(XLCdRec)); 65 if (lcd == NULL) 68 lcd->core = Xcalloc(1, sizeof(XLCdGenericRec)); 69 if (lcd->core == NULL) 76 lcd->methods = (XLCdMethods) new; 78 return lcd; 81 Xfree(lcd 271 free_charset(XLCd lcd) argument 422 read_charset_define(XLCd lcd,XLCdGenericPart * gen) argument 562 read_segmentconversion(XLCd lcd,XLCdGenericPart * gen) argument 698 load_generic(XLCd lcd) argument 992 initialize_core(XLCd lcd) argument 1004 initialize(XLCd lcd) argument 1154 destroy_gen(XLCd lcd) argument 1171 destroy(XLCd lcd) argument [all...] |
| H A D | XlcDL.c | 335 XLCd lcd = (XLCd)NULL; local in function:_XlcDynamicLoad 362 lcd = (*lc_loader)(lc_name); 363 if (lcd != (XLCd)NULL) { 369 return (XLCd)lcd; 376 _XDynamicOpenIM(XLCd lcd, Display *display, XrmDatabase rdb, argument 386 lc_name = lcd->core->name; 400 im = (*im_openIM)(lcd, display, rdb, res_name, res_class); 415 XLCd lcd, 430 lc_name = lcd->core->name; 444 ret_flag = (*im_registerIM)(lcd, displa 414 _XDynamicRegisterIMInstantiateCallback(XLCd lcd,Display * display,XrmDatabase rdb,char * res_name,char * res_class,XIDProc callback,XPointer client_data) argument 458 _XDynamicUnRegisterIMInstantiateCallback(XLCd lcd,Display * display,XrmDatabase rdb,char * res_name,char * res_class,XIDProc callback,XPointer client_data) argument 501 _XInitDynamicIM(XLCd lcd) argument 516 _XDynamicOpenOM(XLCd lcd,Display * display,XrmDatabase rdb,_Xconst char * res_name,_Xconst char * res_class) argument 549 _XInitDynamicOM(XLCd lcd) argument [all...] |
| H A D | lcUTF8.c | 84 XLCd lcd, 480 XLCd lcd, 492 codeset_list = XLC_GENERIC(lcd, codeset_list); 493 codeset_num = XLC_GENERIC(lcd, codeset_num); 947 XLCd lcd, 951 if (XLC_PUBLIC_PART(lcd)->codeset 952 && _XlcCompareISOLatin1(XLC_PUBLIC_PART(lcd)->codeset, "UTF-8") == 0) { 971 return create_tocs_conv(lcd, methods); 1128 XLCd lcd) 1130 _XlcSetConverter(lcd, XlcNCharSe 83 create_conv(XLCd lcd,XlcConvMethods methods) argument 479 create_tocs_conv(XLCd lcd,XlcConvMethods methods) argument 946 create_ucstocs_conv(XLCd lcd,XlcConvMethods methods) argument 1127 _XlcAddUtf8Converters(XLCd lcd) argument 1712 create_tofontcs_conv(XLCd lcd,XlcConvMethods methods) argument 2318 _XlcAddUtf8LocaleConverters(XLCd lcd) argument 2353 _XlcAddGB18030LocaleConverters(XLCd lcd) argument [all...] |
| H A D | lcPrTxt.c | 112 XLCd lcd, 147 else if (encoding == XInternAtom(dpy, XLC_PUBLIC(lcd, encoding_name), False)) 158 buf_len = text_prop->nitems * XLC_PUBLIC(lcd, mb_cur_max) + 1; 171 conv = _XlcOpenConverter(lcd, from_type, lcd, to_type); 247 XLCd lcd, 253 return _XTextPropertyToTextList(lcd, dpy, text_prop, XlcNMultiByte, 259 XLCd lcd, 265 return _XTextPropertyToTextList(lcd, dpy, text_prop, XlcNWideChar, 271 XLCd lcd, 111 _XTextPropertyToTextList(XLCd lcd,Display * dpy,const XTextProperty * text_prop,const char * to_type,XPointer ** list_ret,int * count_ret) argument 246 _XmbTextPropertyToTextList(XLCd lcd,Display * dpy,const XTextProperty * text_prop,char *** list_ret,int * count_ret) argument 258 _XwcTextPropertyToTextList(XLCd lcd,Display * dpy,const XTextProperty * text_prop,wchar_t *** list_ret,int * count_ret) argument 270 _Xutf8TextPropertyToTextList(XLCd lcd,Display * dpy,const XTextProperty * text_prop,char *** list_ret,int * count_ret) argument 282 _XwcFreeStringList(XLCd lcd,wchar_t ** list) argument [all...] |
| H A D | lcTxtPr.c | 70 XLCd lcd, 110 encoding = XInternAtom(dpy, XLC_PUBLIC(lcd, encoding_name), False); 141 conv = _XlcOpenConverter(lcd, from_type, lcd, to_type); 219 XLCd lcd, 226 return _XTextListToTextProperty(lcd, dpy, XlcNMultiByte, (XPointer) list, 232 XLCd lcd, 239 return _XTextListToTextProperty(lcd, dpy, XlcNWideChar, (XPointer) list, 245 XLCd lcd, 252 return _XTextListToTextProperty(lcd, dp 69 _XTextListToTextProperty(XLCd lcd,Display * dpy,const char * from_type,XPointer list,int count,XICCEncodingStyle style,XTextProperty * text_prop) argument 218 _XmbTextListToTextProperty(XLCd lcd,Display * dpy,char ** list,int count,XICCEncodingStyle style,XTextProperty * text_prop) argument 231 _XwcTextListToTextProperty(XLCd lcd,Display * dpy,wchar_t ** list,int count,XICCEncodingStyle style,XTextProperty * text_prop) argument 244 _Xutf8TextListToTextProperty(XLCd lcd,Display * dpy,char ** list,int count,XICCEncodingStyle style,XTextProperty * text_prop) argument [all...] |
| H A D | Xlcint.h | 220 XLCd /* lcd */ 224 XLCd /* lcd */, 230 XLCd /* lcd */, 238 XLCd /* lcd */, 246 XLCd /* lcd */, 256 XLCd /* lcd */, 266 XLCd /* lcd */, 271 XLCd lcd, 279 XLCd lcd, 287 XLCd lcd, 400 XLCd lcd; /* lcd */ member in struct:_XOMCoreRec 634 XLCd lcd; /* LC of this input method */ member in struct:__anon420bb5f60c08 [all...] |
| H A D | XDefaultIMIF.c | 165 XLCd lcd, 182 if ((im->private->ctom_conv = _XlcOpenConverter(lcd, XlcNCompoundText, 183 lcd, XlcNMultiByte)) 187 if ((im->private->ctow_conv = _XlcOpenConverter(lcd, XlcNCompoundText, 188 lcd, XlcNWideChar)) 194 if ((lcd->core->modifiers) && (*lcd->core->modifiers)) { 196 mod = strstr(lcd->core->modifiers, MODIFIER); 210 im->core.lcd = lcd; 164 _XDefaultOpenIM(XLCd lcd,Display * dpy,XrmDatabase rdb,char * res_name,char * res_class) argument [all...] |
| /xsrc/external/mit/libX11/dist/src/ |
| H A D | OMWrap.c | 36 XLCd lcd = _XOpenLC((char *) NULL); local in function:XOpenOM 38 if (lcd == NULL) 41 if (lcd->methods->open_om) 42 return (*lcd->methods->open_om)(lcd, dpy, rdb, res_name, res_class); 51 XLCd lcd = om->core.lcd; local in function:XCloseOM 62 _XCloseLC(lcd); 128 return om->core.lcd->core->name;
|
| /xsrc/external/mit/libX11/dist/modules/im/ximcp/ |
| H A D | imInsClbk.c | 43 XLCd lcd; member in struct:_XimInstCallback 60 MakeLocale( XLCd lcd, char locale[] ) argument 64 _XGetLCValues( lcd, XlcNLanguage, &language, XlcNTerritory, &territory, 115 xim = (*icb->lcd->methods->open_im)( icb->lcd, display, 155 XLCd lcd, 175 if (lcd->core->modifiers) { 176 modifiers = strdup(lcd->core->modifiers); 184 icb->lcd = lcd; 154 _XimRegisterIMInstantiateCallback(XLCd lcd,Display * display,XrmDatabase rdb,char * res_name,char * res_class,XIDProc callback,XPointer client_data) argument 228 _XimUnRegisterIMInstantiateCallback(XLCd lcd,Display * display,XrmDatabase rdb,char * res_name,char * res_class,XIDProc callback,XPointer client_data) argument 287 XLCd lcd = xim->core.lcd; local in function:_XimResetIMInstantiateCallback [all...] |
| H A D | imThaiIm.c | 66 _XGetLCValues(im->core.lcd, XlcNLanguage, &language, NULL); 82 XLCd lcd = im->core.lcd; local in function:_XimThaiOpenIM 106 if (!(conv = _XlcOpenConverter(lcd, XlcNCompoundText, lcd, XlcNMultiByte))) 110 if (!(conv = _XlcOpenConverter(lcd, XlcNCompoundText, lcd, XlcNWideChar))) 114 if (!(conv = _XlcOpenConverter(lcd, XlcNCompoundText, lcd, XlcNUtf8String))) 118 if (!(conv = _XlcOpenConverter(lcd, XlcNCharSe [all...] |
| H A D | imInt.c | 168 XLCd lcd) 175 if(lcd->core->modifiers != NULL && *lcd->core->modifiers != '\0') { 176 begin = _XimStrstr(lcd->core->modifiers, ximmodifier); 198 XLCd lcd, 210 im->core.lcd = lcd; 224 if(!(im->core.im_name = _XimMakeImName(lcd))) 252 _XInitIM(XLCd lcd) argument 254 if(lcd 167 _XimMakeImName(XLCd lcd) argument 197 _XimOpenIM(XLCd lcd,Display * dpy,XrmDatabase rdb,char * res_name,char * res_class) argument [all...] |
| /xsrc/external/mit/libX11/dist/modules/lc/def/ |
| H A D | lcDefConv.c | 589 XLCd lcd, 604 state->GL_codeset = XLC_GENERIC(lcd, initial_state_GL); 605 state->GR_codeset = XLC_GENERIC(lcd, initial_state_GR); 606 state->wc_mask = (1 << XLC_GENERIC(lcd, wc_shift_bits)) - 1; 607 state->wc_encode_mask = XLC_GENERIC(lcd, wc_encode_mask); 610 if (XLC_GENERIC(lcd, use_stdc_env) == True) 617 if (XLC_GENERIC(lcd, use_stdc_env) == True) 777 XLCd lcd; local in function:_XlcDefaultLoader 779 lcd = _XlcCreateLC(name, _XlcGenericMethods); 780 if (lcd 588 create_conv(XLCd lcd,XlcConvMethods methods) argument [all...] |
| /xsrc/external/mit/libX11/dist/modules/lc/gen/ |
| H A D | lcGenConv.c | 73 XLCd lcd; member in struct:_StateRec 235 XLCd lcd, 243 unsigned long wc_shift_bits = XLC_GENERIC(lcd, wc_shift_bits); 257 XLCd lcd, 265 unsigned long wc_encode_mask = XLC_GENERIC(lcd, wc_encode_mask); 266 unsigned long wc_shift_bits = XLC_GENERIC(lcd, wc_shift_bits); 267 int codeset_num = XLC_GENERIC(lcd, codeset_num); 268 CodeSet *codeset_list = XLC_GENERIC(lcd, codeset_list); 300 ParseInfo *mb_parse_list = XLC_GENERIC(state->lcd, mb_parse_list); 323 XLCd lcd, 234 gi_to_wc(XLCd lcd,unsigned long glyph_index,CodeSet codeset,wchar_t * wc) argument 256 wc_to_gi(XLCd lcd,wchar_t wc,unsigned long * glyph_index,CodeSet * codeset) argument 322 byteM_parse_codeset(XLCd lcd,const char * inbufptr) argument 493 ct_parse_charset(XLCd lcd,const char * inbufptr,XlcCharSet * charset,int * ctr_seq_len) argument 549 segment_conversion(XLCd lcd,XlcCharSet * charset,unsigned long * glyph_index) argument 584 _XlcGetCodeSetFromName(XLCd lcd,const char * name) argument 617 _XlcGetCodeSetFromCharSet(XLCd lcd,XlcCharSet charset,CodeSet * codeset,unsigned long * glyph_index) argument 744 XLCd lcd = state->lcd; local in function:mbstowcs_org 904 XLCd lcd = state->lcd; local in function:wcstombs_org 1060 XLCd lcd = state->lcd; local in function:wcstocts 1244 XLCd lcd = state->lcd; local in function:ctstowcs 1430 XLCd lcd = state->lcd; local in function:cstowcs 1636 XLCd lcd = state->lcd; local in function:mbstostr 1750 XLCd lcd = state->lcd; local in function:mbtocs 1931 XLCd lcd = state->lcd; local in function:wcstostr 2086 XLCd lcd = state->lcd; local in function:wctocs 2395 XLCd lcd = state->lcd; local in function:strtombs 2504 XLCd lcd = state->lcd; local in function:strtowcs 2610 create_conv(XLCd lcd,XlcConvMethods methods) argument 3056 XLCd lcd; local in function:_XlcGenericLoader [all...] |
| /xsrc/external/mit/libX11/dist/modules/om/generic/ |
| H A D | omXChar.c | 368 XLCd lcd; local in function:_XomInitConverter 393 lcd = oc->core.om->core.lcd; 395 conv = _XlcOpenConverter(lcd, conv_type, lcd, XlcNFontCharSet); 397 conv = _XlcOpenConverter(lcd, conv_type, lcd, XlcNCharSet);
|