Lines Matching refs:cp
515 set_collate(Lc_category_t* cp)
517 if (locales[cp->internal]->flags & LC_debug)
522 else if (locales[cp->internal]->flags & LC_default)
2265 set_ctype(Lc_category_t* cp)
2271 sfprintf(sfstderr, "locale setf %17s %16s\n", cp->name, locales[cp->internal]->name);
2273 if (locales[cp->internal]->flags & LC_debug)
2282 else if ((locales[cp->internal]->flags & LC_utf8) && !(ast.locale.set & AST_LC_test))
2287 if ((locales[cp->internal]->flags & LC_local) || !(ast.mb_width = wcwidth))
2292 else if ((locales[cp->internal]->flags & LC_default) || (ast.mb_cur_max = MB_CUR_MAX) <= 1 || !(ast.mb_len = mblen) || !(ast.mb_towc = mbtowc))
2333 set_numeric(Lc_category_t* cp)
2335 register int category = cp->internal;
2345 sfprintf(sfstderr, "locale setf %17s %16s\n", cp->name, locales[cp->internal]->name);
2349 if (locales[cp->internal]->flags & LC_local)
2350 dp = locales[cp->internal]->territory == &lc_territories[0] ? &default_numeric : *locales[cp->internal]->territory->code == 'e' ? &eu_numeric : &us_numeric;