| /xsrc/external/mit/libX11/dist/src/ |
| WMProps.c | 89 char *locale; local 133 locale = setlocale(LC_CTYPE, (char *)NULL); 134 if (locale) 137 (unsigned char *)locale, (int) strlen(locale));
|
| /xsrc/external/mit/libX11/dist/modules/im/ximcp/ |
| imInsClbk.c | 60 MakeLocale( XLCd lcd, char locale[] ) 67 strcpy( locale, language ); 69 strcat( locale, "_" ); 70 strcat( locale, territory ); 73 strcat( locale, "." ); 74 strcat( locale, codeset ); 237 char locale[XIM_MAXLCNAMELEN]; local 243 MakeLocale( lcd, locale ); 246 if( !strcmp( locale, icb->name ) && 285 char locale[XIM_MAXLCNAMELEN] local [all...] |
| imDefIm.c | 288 char *locale_name[4], *locale; local 313 /* locale name check */ 346 if((locale = _XimCheckLocaleName(im, address, strlen(address), locale_name, 351 im->private.proto.locale_name = locale; 353 if( locale_name[i] != NULL && locale_name[i] != locale ) { 831 buf_b[0] = (BYTE)locale_len; /* length of locale name */ 832 memcpy(&buf_b[1], locale_name, locale_len); /* locale name */
|
| /xsrc/external/mit/libX11/dist/src/xkb/ |
| XKBCvt.c | 204 * be used for is to determine the encoding-name for the locale. ??? 234 char *locale; local 239 locale = setlocale(LC_CTYPE, NULL); 241 if (locale == NULL) 244 if (strlen(locale) >= sizeof(lang)) 247 for (tmp = lang; *tmp = *locale++; tmp++) {
|
| /xsrc/external/mit/libXfont/dist/src/util/ |
| fontxlfd.c | 47 #include <locale.h> 71 static struct lconv *locale = 0; variable in typeref:struct:lconv 81 /* Figure out what symbols apply in this locale */ 83 if (!locale) 85 locale = localeconv(); 86 if (locale->decimal_point && *locale->decimal_point) 87 radix = locale->decimal_point; 88 if (locale->positive_sign && *locale->positive_sign [all...] |
| /xsrc/external/mit/libXfont2/dist/src/util/ |
| fontxlfd.c | 45 #include <locale.h> 68 static struct lconv *locale = 0; variable in typeref:struct:lconv 76 /* Figure out what symbols apply in this locale */ 78 if (!locale) 80 locale = localeconv(); 81 if (locale->decimal_point && *locale->decimal_point) 82 radix = locale->decimal_point; 83 if (locale->positive_sign && *locale->positive_sign [all...] |
| /xsrc/external/mit/setxkbmap/dist/ |
| setxkbmap.c | 32 #include <locale.h> 104 setting_t locale; /* Machine's locale */ member in struct:settings 122 { "locale", NULL, UNDEFINED }, 192 static XkbRF_RulesPtr tryLoadRules(char *name, char *locale, Bool wantDesc, Bool wantRules); 821 tryLoadRules(char *name, char *locale, Bool wantDesc, Bool wantRules) 825 rules = XkbRF_Load(name, locale, wantDesc, wantRules); 869 rules = tryLoadRules(rfName, settings.locale.value, True, True); 884 rules = tryLoadRules(buf, settings.locale.value, True, True); 1135 settings.locale.value = setlocale(LC_ALL, settings.locale.value) [all...] |
| /xsrc/external/mit/libXt/dist/src/ |
| Converters.c | 972 "String to FontSet conversion needs display and locale arguments", 1075 "FreeFontSet needs display and locale arguments", 1089 static XrmString locale; local 1091 locale = XrmQuarkToString(XrmStringToQuark 1094 value->addr = (XPointer) &locale;
|
| Shell.c | 1552 char *locale = setlocale(LC_CTYPE, (char *) NULL); local 1554 if (locale) 1559 (unsigned char *) locale, (int) strlen(locale));
|
| /xsrc/external/mit/xterm/dist/ |
| misc.c | 6151 * locale. So we convert it to UTF-8, allowing the X library to 7159 * Report the character-type locale that xterm was started in. 7186 const char *locale = xtermEnvLocale(); 7187 if (!strcmp(locale, "C") || !strcmp(locale, "POSIX")) { 7200 * Tell whether xterm was started in a locale that uses UTF-8 encoding for 7216 char *locale = x_strdup(xtermEnvLocale()); local 7218 for (n = 0; locale[n] != 0; ++n) { 7219 locale[n] = x_toupper(locale[n]) [all...] |