Lines Matching defs:locale
120 int could_open(const char *locale, char *comments) {
124 rb = ures_open(NULL, locale, &status);
136 int col_could_open(const char *locale, char *comments) {
140 rb = ucol_open(locale, &status);
259 const char *locale, char *comments,
272 fmt = udat_open(style, style, locale, tz, -1,NULL,0, status);
309 fprintf(stderr, "<!-- %s: err: data %s:%d:%d is missing: %X... -->\n", locale, UDateFormatSymbolType_name(scanArray[i]), i, j, outbuf[0]);
326 static void writeOkComments(XMLFile &xf, int ok, const char *comments, const char *locale) {
331 strcpy(tmp,locale);
334 sprintf(tmp, "%s <!-- %s -->", locale, comments);
337 sprintf(tmp, "<!-- !! %s: %s -->", locale, comments);
345 int could_fmt_dow(const char *locale, char *comments) {
353 locale, comments,
368 void probeCapability(XMLFile& xf, const char *locale) {
373 //fprintf(stderr, "PROBE: %s\n", locale);
377 if(!could_open(locale, comments)) {
382 if(!could_fmt_dow(locale, comments)) {
387 writeOkComments(xf,ok, comments,locale);
390 void probeColCapability(XMLFile& xf, const char *locale) {
396 //fprintf(stderr, "PROBE: %s\n", locale);
400 if(!col_could_open(locale, comments)) {
405 if(!col_could_fmt_dow(locale, comments)) {
409 writeOkComments(xf,ok, comments,locale);