Lines Matching refs:seq

672 	    struct charseq *seq  in ctype_finish()  local
675 if (seq == NULL) in ctype_finish()
677 else if (seq->ucs4 != UNINITIALIZED_CHAR_VALUE) in ctype_finish()
678 wch = seq->ucs4; in ctype_finish()
680 wch = repertoire_find_value (ctype->repertoire, seq->name, in ctype_finish()
681 strlen (seq->name)); in ctype_finish()
1390 struct charseq *seq; in charclass_symbolic_ellipsis() local
1398 if (get_character (now, charmap, repertoire, &seq, &wch)) in charclass_symbolic_ellipsis()
1401 if (seq != NULL && seq->nbytes == 1) in charclass_symbolic_ellipsis()
1403 ctype->class256_collection[seq->bytes[0]] |= class256_bit; in charclass_symbolic_ellipsis()
1426 ctype->mbdigits[ctype->mbdigits_act++] = seq; in charclass_symbolic_ellipsis()
1440 ctype->mboutdigits[ctype->outdigits_act] = seq; in charclass_symbolic_ellipsis()
1474 struct charseq *seq; in charclass_ucs4_ellipsis() local
1478 seq = charmap_find_value (charmap, utmp, 9); in charclass_ucs4_ellipsis()
1479 if (seq == NULL) in charclass_ucs4_ellipsis()
1482 seq = charmap_find_value (charmap, utmp, 5); in charclass_ucs4_ellipsis()
1485 if (seq == NULL) in charclass_ucs4_ellipsis()
1487 seq = repertoire_find_seq (repertoire, last_wch); in charclass_ucs4_ellipsis()
1491 if (seq == NULL) in charclass_ucs4_ellipsis()
1507 seq = charmap_find_value (charmap, symbol, strlen (symbol)); in charclass_ucs4_ellipsis()
1509 if (seq == NULL) in charclass_ucs4_ellipsis()
1511 seq = (struct charseq *) &negative; in charclass_ucs4_ellipsis()
1513 seq->ucs4 = last_wch; in charclass_ucs4_ellipsis()
1516 seq); in charclass_ucs4_ellipsis()
1520 seq = (struct charseq *) &negative; in charclass_ucs4_ellipsis()
1524 if (seq->ucs4 == last_wch && seq->nbytes == 1) in charclass_ucs4_ellipsis()
1526 ctype->class256_collection[(size_t) seq->bytes[0]] in charclass_ucs4_ellipsis()
1550 ctype->mbdigits[ctype->mbdigits_act++] = (seq->ucs4 == last_wch in charclass_ucs4_ellipsis()
1551 ? seq : NULL); in charclass_ucs4_ellipsis()
1565 ctype->mboutdigits[ctype->outdigits_act] = (seq->ucs4 == last_wch in charclass_ucs4_ellipsis()
1566 ? seq : NULL); in charclass_ucs4_ellipsis()
1606 struct charseq *seq; in charclass_charcode_ellipsis() local
1620 seq = charmap_find_symbol (charmap, last_charcode, in charclass_charcode_ellipsis()
1622 if (seq != NULL) in charclass_charcode_ellipsis()
1624 if (seq->ucs4 == UNINITIALIZED_CHAR_VALUE) in charclass_charcode_ellipsis()
1625 seq->ucs4 = repertoire_find_value (repertoire, seq->name, in charclass_charcode_ellipsis()
1626 strlen (seq->name)); in charclass_charcode_ellipsis()
1627 wch = seq == NULL ? ILLEGAL_CHAR_VALUE : seq->ucs4; in charclass_charcode_ellipsis()
1652 seq = xmalloc (sizeof (struct charseq) + last_charcode_len); in charclass_charcode_ellipsis()
1653 memcpy ((char *) (seq + 1), last_charcode, last_charcode_len); in charclass_charcode_ellipsis()
1654 seq->nbytes = last_charcode_len; in charclass_charcode_ellipsis()
1656 ctype->mbdigits[ctype->mbdigits_act++] = seq; in charclass_charcode_ellipsis()
1661 struct charseq *seq; in charclass_charcode_ellipsis() local
1671 seq = xmalloc (sizeof (struct charseq) + last_charcode_len); in charclass_charcode_ellipsis()
1672 memcpy ((char *) (seq + 1), last_charcode, last_charcode_len); in charclass_charcode_ellipsis()
1673 seq->nbytes = last_charcode_len; in charclass_charcode_ellipsis()
1675 ctype->mboutdigits[ctype->outdigits_act] = seq; in charclass_charcode_ellipsis()
1818 struct charseq *seq = charmap_find_symbol (charmap, in read_widestring() local
1821 if (seq == NULL) in read_widestring()
1825 if (seq->ucs4 == UNINITIALIZED_CHAR_VALUE) in read_widestring()
1826 seq->ucs4 = repertoire_find_value (repertoire, seq->name, in read_widestring()
1827 strlen (seq->name)); in read_widestring()
1828 if (seq->ucs4 == ILLEGAL_CHAR_VALUE) in read_widestring()
1833 wstr[0] = seq->ucs4; in read_widestring()
2286 struct charseq *seq; in ctype_read() local
2290 if (get_character (now, charmap, repertoire, &seq, &wch)) in ctype_read()
2293 if (!ignore_content && seq != NULL && seq->nbytes == 1) in ctype_read()
2296 ctype->class256_collection[seq->bytes[0]] |= class256_bit; in ctype_read()
2333 ctype->mbdigits[ctype->mbdigits_act++] = seq; in ctype_read()
2348 ctype->mboutdigits[ctype->outdigits_act] = seq; in ctype_read()
2865 struct charseq *seq; in set_one_default() local
2868 seq = charmap_find_value (charmap, tmp, 1); in set_one_default()
2869 if (seq == NULL) in set_one_default()
2873 seq = charmap_find_value (charmap, buf, 9); in set_one_default()
2875 if (seq == NULL) in set_one_default()
2881 else if (seq->nbytes != 1) in set_one_default()
2886 ctype->class256_collection[seq->bytes[0]] |= bit; in set_one_default()
2964 struct charseq *seq; in set_class_defaults() local
2966 seq = charmap_find_value (charmap, "space", 5); in set_class_defaults()
2967 if (seq == NULL) in set_class_defaults()
2968 seq = charmap_find_value (charmap, "SP", 2); in set_class_defaults()
2969 if (seq == NULL) in set_class_defaults()
2970 seq = charmap_find_value (charmap, "U00000020", 9); in set_class_defaults()
2971 if (seq == NULL) in set_class_defaults()
2977 else if (seq->nbytes != 1) in set_class_defaults()
2982 ctype->class256_collection[seq->bytes[0]] |= BIT (tok_space); in set_class_defaults()
2987 seq = charmap_find_value (charmap, "form-feed", 9); in set_class_defaults()
2988 if (seq == NULL) in set_class_defaults()
2989 seq = charmap_find_value (charmap, "U0000000C", 9); in set_class_defaults()
2990 if (seq == NULL) in set_class_defaults()
2996 else if (seq->nbytes != 1) in set_class_defaults()
3001 ctype->class256_collection[seq->bytes[0]] |= BIT (tok_space); in set_class_defaults()
3007 seq = charmap_find_value (charmap, "newline", 7); in set_class_defaults()
3008 if (seq == NULL) in set_class_defaults()
3009 seq = charmap_find_value (charmap, "U0000000A", 9); in set_class_defaults()
3010 if (seq == NULL) in set_class_defaults()
3016 else if (seq->nbytes != 1) in set_class_defaults()
3021 ctype->class256_collection[seq->bytes[0]] |= BIT (tok_space); in set_class_defaults()
3027 seq = charmap_find_value (charmap, "carriage-return", 15); in set_class_defaults()
3028 if (seq == NULL) in set_class_defaults()
3029 seq = charmap_find_value (charmap, "U0000000D", 9); in set_class_defaults()
3030 if (seq == NULL) in set_class_defaults()
3036 else if (seq->nbytes != 1) in set_class_defaults()
3041 ctype->class256_collection[seq->bytes[0]] |= BIT (tok_space); in set_class_defaults()
3047 seq = charmap_find_value (charmap, "tab", 3); in set_class_defaults()
3048 if (seq == NULL) in set_class_defaults()
3049 seq = charmap_find_value (charmap, "U00000009", 9); in set_class_defaults()
3050 if (seq == NULL) in set_class_defaults()
3056 else if (seq->nbytes != 1) in set_class_defaults()
3061 ctype->class256_collection[seq->bytes[0]] |= BIT (tok_space); in set_class_defaults()
3067 seq = charmap_find_value (charmap, "vertical-tab", 12); in set_class_defaults()
3068 if (seq == NULL) in set_class_defaults()
3069 seq = charmap_find_value (charmap, "U0000000B", 9); in set_class_defaults()
3070 if (seq == NULL) in set_class_defaults()
3076 else if (seq->nbytes != 1) in set_class_defaults()
3081 ctype->class256_collection[seq->bytes[0]] |= BIT (tok_space); in set_class_defaults()
3102 struct charseq *seq; in set_class_defaults() local
3104 seq = charmap_find_value (charmap, "space", 5); in set_class_defaults()
3105 if (seq == NULL) in set_class_defaults()
3106 seq = charmap_find_value (charmap, "SP", 2); in set_class_defaults()
3107 if (seq == NULL) in set_class_defaults()
3108 seq = charmap_find_value (charmap, "U00000020", 9); in set_class_defaults()
3109 if (seq == NULL) in set_class_defaults()
3115 else if (seq->nbytes != 1) in set_class_defaults()
3120 ctype->class256_collection[seq->bytes[0]] |= BIT (tok_blank); in set_class_defaults()
3126 seq = charmap_find_value (charmap, "tab", 3); in set_class_defaults()
3127 if (seq == NULL) in set_class_defaults()
3128 seq = charmap_find_value (charmap, "U00000009", 9); in set_class_defaults()
3129 if (seq == NULL) in set_class_defaults()
3135 else if (seq->nbytes != 1) in set_class_defaults()
3140 ctype->class256_collection[seq->bytes[0]] |= BIT (tok_blank); in set_class_defaults()
3179 struct charseq *seq; in set_class_defaults() local
3190 seq = charmap_find_value (charmap, "space", 5); in set_class_defaults()
3191 if (seq == NULL) in set_class_defaults()
3192 seq = charmap_find_value (charmap, "SP", 2); in set_class_defaults()
3193 if (seq == NULL) in set_class_defaults()
3194 seq = charmap_find_value (charmap, "U00000020", 9); in set_class_defaults()
3195 if (seq == NULL) in set_class_defaults()
3201 else if (seq->nbytes != 1) in set_class_defaults()
3206 ctype->class256_collection[seq->bytes[0]] |= BIT (tok_print); in set_class_defaults()
3782 struct charseq *seq = in allocate_arrays() local
3785 if (seq == NULL) in allocate_arrays()
3787 else if (seq->ucs4 != UNINITIALIZED_CHAR_VALUE) in allocate_arrays()
3788 wch = seq->ucs4; in allocate_arrays()
3790 wch = repertoire_find_value (ctype->repertoire, seq->name, in allocate_arrays()
3791 strlen (seq->name)); in allocate_arrays()