Lines Matching +full:si +full:- +full:en

1 /*-
6 * provided under BSD-style license terms by Nexenta Systems, Inc.
88 { "vertical-tab", '\v' },
90 { "form-feed", '\f' },
92 { "carriage-return", '\r' },
94 { "SI", '\x0f' },
117 { "exclamation-mark", '!' },
118 { "quotation-mark", '"' },
119 { "number-sign", '#' },
120 { "dollar-sign", '$' },
121 { "percent-sign", '%' },
124 { "left-parenthesis", '(' },
125 { "right-parenthesis", ')' },
127 { "plus-sign", '+' },
129 { "hyphen-minus", '-' },
130 { "hyphen", '-' },
131 { "full-stop", '.' },
147 { "less-than-sign", '<' },
148 { "equals-sign", '=' },
149 { "greater-than-sign", '>' },
150 { "question-mark", '?' },
151 { "commercial-at", '@' },
152 { "left-square-bracket", '[' },
154 { "reverse-solidus", '\\' },
155 { "right-square-bracket", ']' },
157 { "circumflex-accent", '^' },
158 { "low-line", '_' },
160 { "grave-accent", '`' },
161 { "left-brace", '{' },
162 { "left-curly-bracket", '{' },
163 { "vertical-line", '|' },
164 { "right-brace", '}' },
165 { "right-curly-bracket", '}' },
229 rv = strcmp(c1->name, c2->name); in cmap_compare_sym()
230 return ((rv < 0) ? -1 : (rv > 0) ? 1 : 0); in cmap_compare_sym()
239 return ((c1->wc < c2->wc) ? -1 : (c1->wc > c2->wc) ? 1 : 0); in cmap_compare_wc()
263 if ((wc != (wchar_t)-1) && ((RB_FIND(cmap_wc, &cmap_wc, &srch)) == NULL)) { in add_charmap_impl()
268 n->wc = wc; in add_charmap_impl()
283 n->wc = wc; in add_charmap_impl()
284 n->name = sym; in add_charmap_impl()
305 if ((undefok == 0) && ((cm == NULL) || (cm->wc == (wchar_t)-1))) { in add_charmap_undefined()
307 add_charmap_impl(sym, -1, 0); in add_charmap_undefined()
317 int si; in add_charmap_range() local
318 int sn, en; in add_charmap_range() local
326 if (((si = strcspn(s, digits)) == 0) || (si == ls) || in add_charmap_range()
327 (strncmp(s, e, si) != 0) || in add_charmap_range()
328 ((int)strspn(s + si, digits) != (ls - si)) || in add_charmap_range()
329 ((int)strspn(e + si, digits) != (le - si)) || in add_charmap_range()
330 ((sn = atoi(s + si)) > ((en = atoi(e + si))))) { in add_charmap_range()
335 s[si] = 0; in add_charmap_range()
337 for (i = sn; i <= en; i++) { in add_charmap_range()
339 (void) asprintf(&nn, "%s%0*u", s, ls - si, i); in add_charmap_range()
380 if (n && n->wc != (wchar_t)-1) { in lookup_charmap()
382 *wc = n->wc; in lookup_charmap()
385 return (-1); in lookup_charmap()
394 return (RB_FIND(cmap_wc, &cmap_wc, &srch) ? 0 : -1); in check_charmap()