Lines Matching refs:rl
299 _FileRuneLocale rl;
306 (void) memset(&rl, 0, sizeof (rl));
314 (void) memcpy(rl.magic, _FILE_RUNE_MAGIC_1, 8);
315 (void) strlcpy(rl.encoding, get_wide_encoding(), sizeof (rl.encoding));
321 rl.maplower[wc] = wc;
322 rl.mapupper[wc] = wc;
414 rl.runetype[wc] = ctn->ctype;
416 rl.maplower[wc] = ctn->tolower;
418 rl.mapupper[wc] = ctn->toupper;
424 ct[rl.runetype_ext_nranges-1].max = wc;
426 rl.runetype_ext_nranges++;
428 sizeof (*ct) * rl.runetype_ext_nranges);
429 ct[rl.runetype_ext_nranges - 1].min = wc;
430 ct[rl.runetype_ext_nranges - 1].max = wc;
431 ct[rl.runetype_ext_nranges - 1].map = ctn->ctype;
438 lo[rl.maplower_ext_nranges-1].max = wc;
441 rl.maplower_ext_nranges++;
443 sizeof (*lo) * rl.maplower_ext_nranges);
444 lo[rl.maplower_ext_nranges - 1].min = wc;
445 lo[rl.maplower_ext_nranges - 1].max = wc;
446 lo[rl.maplower_ext_nranges - 1].map = ctn->tolower;
454 up[rl.mapupper_ext_nranges-1].max = wc;
457 rl.mapupper_ext_nranges++;
459 sizeof (*up) * rl.mapupper_ext_nranges);
460 up[rl.mapupper_ext_nranges - 1].min = wc;
461 up[rl.mapupper_ext_nranges - 1].max = wc;
462 up[rl.mapupper_ext_nranges - 1].map = ctn->toupper;
467 if ((wr_category(&rl, sizeof (rl), f) < 0) ||
468 (wr_category(ct, sizeof (*ct) * rl.runetype_ext_nranges, f) < 0) ||
469 (wr_category(lo, sizeof (*lo) * rl.maplower_ext_nranges, f) < 0) ||
470 (wr_category(up, sizeof (*up) * rl.mapupper_ext_nranges, f) < 0)) {