Lines Matching refs:ecswp
516 ldterm_cs_data_user_t ecswp;
563 ecswp.version = (uchar_t)strtol(t, (char **)NULL, 16);
564 if (ecswp.version > LDTERM_DATA_VERSION ||
565 ecswp.version == 0) {
574 ecswp.codeset_type = (uchar_t)strtol(t, (char **)NULL, 16);
575 if (ecswp.codeset_type < LDTERM_CS_TYPE_MIN ||
576 ecswp.codeset_type > LDTERM_CS_TYPE_MAX) {
585 ecswp.csinfo_num = (uchar_t)strtol(t, (char **)NULL, 16);
586 if ((ecswp.codeset_type == LDTERM_CS_TYPE_EUC &&
587 ecswp.csinfo_num > 3) ||
588 (ecswp.codeset_type == LDTERM_CS_TYPE_PCCS &&
589 (ecswp.csinfo_num < 1 || ecswp.csinfo_num > 10))) {
606 ecswp.locale_name[i] = (char)strtol(s, (char **)NULL,
613 ecswp.locale_name[i] = '\0';
615 g = (uchar_t *)ecswp.eucpc_data;
629 /* We got the 'ecswp' all filled up now; let's copy. */
630 (void) memcpy((void *)kcswp, (const void *)&ecswp,