/dports/devel/libslang2/slang-2.3.2/src/ |
H A D | slsearch.c | 49 SLuchar_Type *key; 68 … SLuchar_Type *(*search_fun)(SLsearch_Type *, SLuchar_Type *, SLuchar_Type *, SLuchar_Type *, int); 81 static SLuchar_Type * 87 SLuchar_Type *key; in bm_search_forward() 110 SLuchar_Type ch; in bm_search_forward() 148 SLuchar_Type *beg, SLuchar_Type *start, SLuchar_Type *end) in bm_search_backward() 213 SLuchar_Type *pmin, SLuchar_Type *p, SLuchar_Type *pmax, in bm_search() 224 looking_at_bf (SLuchar_Type *pmin, SLuchar_Type *pmax, in looking_at_bf() 278 SLuchar_Type *pmin, SLuchar_Type *pmax) in bf_search_forward() 342 SLuchar_Type *pmin, SLuchar_Type *start, SLuchar_Type *pmax) in bf_search_backward() [all …]
|
H A D | slutf8.c | 139 SLuchar_Type *SLutf8_skip_chars (SLuchar_Type *s, SLuchar_Type *smax, in SLutf8_skip_chars() 205 SLuchar_Type *SLutf8_bskip_chars (SLuchar_Type *smin, SLuchar_Type *s, in SLutf8_bskip_chars() 275 SLuchar_Type *SLutf8_bskip_char (SLuchar_Type *smin, SLuchar_Type *s) in SLutf8_bskip_char() 466 int SLutf8_decode_bytes (SLuchar_Type *u, SLuchar_Type *umax, 542 static SLuchar_Type *xform_utf8 (SLuchar_Type *u, SLuchar_Type *umax, in xform_utf8() 615 SLuchar_Type *SLutf8_strup (SLuchar_Type *u, SLuchar_Type *umax) in SLutf8_strup() 624 SLuchar_Type *SLutf8_strlo (SLuchar_Type *u, SLuchar_Type *umax) in SLutf8_strlo() 629 int SLutf8_compare (SLuchar_Type *a, SLuchar_Type *amax, in SLutf8_compare() 630 SLuchar_Type *b, SLuchar_Type *bmax, in SLutf8_compare() 747 SLuchar_Type *SLutf8_extract_utf8_char (SLuchar_Type *u, in SLutf8_extract_utf8_char() [all …]
|
H A D | slstrops.c | 94 SLuchar_Type *a, *b; in do_trim() 391 SLuchar_Type *s0; in strtok_cmd() 579 SLuchar_Type *s1; in str_quote_string_cmd() 599 SLuchar_Type *s1; in str_quote_string_cmd() 1645 SLuchar_Type *s1; in func_str_delete_chars() 1648 SLuchar_Type *s; in func_str_delete_chars() 1669 SLuchar_Type *t1; in func_str_delete_chars() 1727 SLuchar_Type *u; in func_strtrans() 1793 SLuchar_Type *s1; in func_strcompress() 1815 SLuchar_Type *beg1; in func_strcompress() [all …]
|
H A D | slwclut.c | 177 SLuchar_Type *SLwchar_skip_range (SLwchar_Lut_Type *r, SLuchar_Type *p, in SLwchar_skip_range() 231 SLuchar_Type *SLwchar_bskip_range (SLwchar_Lut_Type *r, SLuchar_Type *pmin, in SLwchar_bskip_range() 232 SLuchar_Type *p, in SLwchar_bskip_range() 237 SLuchar_Type *pmax; in SLwchar_bskip_range() 251 SLuchar_Type *p0; in SLwchar_bskip_range() 340 SLuchar_Type *u, *u1; in is_posix_charclass() 375 static int get_lex_char (SLuchar_Type **up, SLuchar_Type *umax, in get_lex_char() 379 SLuchar_Type *u; in get_lex_char() 455 static SLuchar_Type *get_lexical_element (SLuchar_Type *u, SLuchar_Type *umax, in get_lexical_element() 569 SLuchar_Type *umax; in SLwchar_strtolut() [all …]
|
H A D | slang.h | 361 SL_EXTERN SLuchar_Type *SLutf8_skip_char (SLuchar_Type *u, SLuchar_Type *umax); 362 SL_EXTERN SLuchar_Type *SLutf8_bskip_char (SLuchar_Type *umin, SLuchar_Type *u); 363 SL_EXTERN SLuchar_Type *SLutf8_skip_chars (SLuchar_Type *u, SLuchar_Type *umax, 366 SL_EXTERN SLuchar_Type *SLutf8_bskip_chars (SLuchar_Type *umin, SLuchar_Type *u, 371 SL_EXTERN SLuchar_Type *SLutf8_strup (SLuchar_Type *u, SLuchar_Type *umax); 372 SL_EXTERN SLuchar_Type *SLutf8_strlo (SLuchar_Type *u, SLuchar_Type *umax); 379 SL_EXTERN SLuchar_Type *SLutf8_decode (SLuchar_Type *u, SLuchar_Type *umax, 383 SL_EXTERN int SLutf8_compare (SLuchar_Type *a, SLuchar_Type *amax, 384 SLuchar_Type *b, SLuchar_Type *bmax, 390 SL_EXTERN SLuchar_Type *SLutf8_extract_utf8_char (SLuchar_Type *u, SLuchar_Type *umax, SLuchar_Type… [all …]
|
H A D | slsmg.c | 82 static int parse_embedded_escape (SLuchar_Type *u, SLuchar_Type *umax, in parse_embedded_escape() 87 SLuchar_Type ch; in parse_embedded_escape() 119 static void parse_embedded_set_color (SLuchar_Type *u, SLuchar_Type *umax, in parse_embedded_set_color() 597 if ((ch >= (SLuchar_Type)0x20) && (ch < (SLuchar_Type)0x7F)) in SLsmg_write_chars() 832 SLuchar_Type *usave = u; in SLsmg_write_chars() 1704 SLsmg_write_chars ((SLuchar_Type *)fmt, (SLuchar_Type *)f); in SLsmg_printf() 2056 unsigned int SLsmg_strwidth (SLuchar_Type *u, SLuchar_Type *umax) in SLsmg_strwidth() 2073 SLuchar_Type ch; in SLsmg_strwidth() 2152 SLuchar_Type *ustart; in SLsmg_strbytes() 2170 SLuchar_Type ch; in SLsmg_strbytes() [all …]
|
H A D | slrline.c | 190 SLuchar_Type *s, *smax; in rl_right() 211 SLuchar_Type *s, *smin; in rl_left() 531 static SLuchar_Type *compute_char_width (SLuchar_Type *b, SLuchar_Type *bmax, int utf8_mode, unsign… in compute_char_width() 615 SLuchar_Type *p1; in position_cursor() 637 SLuchar_Type *p1; in position_cursor() 662 static void spit_out(SLrline_Type *rli, SLuchar_Type *p, SLuchar_Type *pmax, int col) in spit_out() 668 SLuchar_Type *p1; in spit_out() 694 SLuchar_Type *p1, *b1; in really_update() 729 static SLuchar_Type * 730 compute_tabbed_char_width (SLuchar_Type *b, SLuchar_Type *bmax, in compute_tabbed_char_width() [all …]
|
H A D | _slang.h | 1097 extern SLuchar_Type *_pSLinterp_decode_wchar (SLuchar_Type *u, 1098 SLuchar_Type *umax, 1101 extern SLuchar_Type *_pSLinterp_encode_wchar (SLwchar_Type wch, 1102 SLuchar_Type *buf,
|
H A D | slstd.c | 111 SLuchar_Type buf[SLUTF8_MAX_MBLEN + 1]; in char_cmd() 117 buf[0] = (SLuchar_Type) (-(signed)*x); in char_cmd() 123 buf[0] = (SLuchar_Type) *x; in char_cmd() 128 SLuchar_Type *p; in char_cmd()
|
/dports/devel/libslang2/slang-2.3.2/doc/tm/crtl/ |
H A D | slutf8.tm | 3 \usage{SLuchar_Type *SLutf8_skip_char (SLuchar_Type *u, SLuchar_Type *umax)} 22 SLuchar_Type *u, *umax; 41 \usage{SLuchar_Type *SLutf8_bskip_char (SLuchar_Type *umin, SLuchar_Type *u)} 55 SLuchar_Type *umin, *u; 76 SLuchar_Type *u, *umax; 99 SLuchar_Type *u; 166 SLuchar_Type *buf; 178 \usage{SLuchar_Type *SLutf8_strup (SLuchar_Type *u, SLuchar_Type *umax)} 191 \usage{SLuchar_Type *SLutf8_strlo (SLuchar_Type *u, SLuchar_Type *umax)} 206 SLuchar_Type *u, *umax; [all …]
|
H A D | slsearch.tm | 3 \usage{SLsearch_Type *SLsearch_new (SLuchar_Type *key, int search_flags)} 42 \usage{SLuchar_Type SLsearch_forward (st, pmin, pmax)} 45 SLuchar_Type *pmin, *pmax; 67 \usage{SLuchar_Type SLsearch_forward (st, pmin, pstart, pmax)} 70 SLuchar_Type *pmin, *pstart, *pmax;
|
/dports/news/slrn/slrn-1.0.3/src/ |
H A D | strutil.c | 151 return SLutf8_compare((SLuchar_Type *)a, (SLuchar_Type *)a+strlen(a), in slrn_case_strncmp() 152 (SLuchar_Type *)b, (SLuchar_Type *)b+strlen(b), in slrn_case_strncmp() 193 return SLutf8_compare((SLuchar_Type *)a, (SLuchar_Type *)a+len_a, in slrn_case_strcmp() 194 (SLuchar_Type *)b, (SLuchar_Type *)b+len_b, in slrn_case_strcmp()
|
H A D | util.c | 59 return SLutf8_strlen ((SLuchar_Type *)str, 1); in slrn_charset_strlen() 75 return SLsmg_strwidth ((SLuchar_Type *) s, (SLuchar_Type *) smax); in slrn_screen_strlen()
|
H A D | misc.h | 121 typedef unsigned char SLuchar_Type; typedef
|
H A D | charset.c | 208 if (NULL != SLutf8_decode ((SLuchar_Type *)str, (SLuchar_Type *)strmax, &wch, &nconsumed)) in slrn_guess_charset()
|
H A D | mime.c | 1563 SLuchar_Type *ustr, *u, *ustrmax; in rfc1522_encode_word() 1567 …if ((NULL == (ustr = (SLuchar_Type *) slrn_convert_string (from_charset, str, strmax, charset, 1))… in rfc1522_encode_word() 1603 SLuchar_Type ch, *u1; in rfc1522_encode_word()
|
H A D | art.c | 810 st = SLsearch_new ((SLuchar_Type *) string, flags); in slrn_search_article() 837 …else ptr = (char *)SLsearch_forward (st, (SLuchar_Type *) l->buf, (SLuchar_Type *) l->buf + strlen… in slrn_search_article() 4129 if (NULL == (st = SLsearch_new ((SLuchar_Type *)same_subject, flags))) in next_header_same_subject() 4147 && (NULL != SLsearch_forward (st, (SLuchar_Type *)l->subject, in next_header_same_subject() 4148 (SLuchar_Type *)l->subject + strlen (l->subject))) in next_header_same_subject() 5111 st = SLsearch_new ((SLuchar_Type *)search_str, flags); in header_generic_search() 5129 && (NULL != SLsearch_forward (st, (SLuchar_Type *) l->subject, in header_generic_search() 5130 (SLuchar_Type *) l->subject + strlen (l->subject))) in header_generic_search() 5141 && (NULL != SLsearch_forward (st, (SLuchar_Type *) l->from, in header_generic_search() 5142 (SLuchar_Type *) l->from + strlen (l->from))) in header_generic_search()
|
/dports/editors/jed/jed-0.99-19/src/ |
H A D | misc.c | 738 SLuchar_Type buf[SLUTF8_MAX_MBLEN+1]; in jed_getkey_wchar() 749 buf[0] = (SLuchar_Type) ch; in jed_getkey_wchar() 763 buf[i] = (SLuchar_Type) ch; in jed_getkey_wchar() 773 SLuchar_Type *b, buf[JED_MAX_MULTIBYTE_SIZE]; in jed_ungetkey_wchar()
|
H A D | text.c | 571 if (NULL == (lut = SLwchar_strtolut ((SLuchar_Type *)range, 1, 1))) in skip_chars_backward() 617 if (NULL == (lut = SLwchar_strtolut ((SLuchar_Type *)range, 1, 1))) in skip_chars_forward()
|
H A D | buffer.c | 298 SLuchar_Type *a, *b; in jed_multibyte_charcasecmp() 376 SLuchar_Type *p, *pmax; in jed_what_char() 440 SLuchar_Type *p, *p1, *pmax; in jed_count_chars() 446 p = (SLuchar_Type *) "^@"; in jed_count_chars() 455 p1 = (SLuchar_Type *) (buf + 1 + (pmax - p)); in jed_count_chars()
|
H A D | buffer.h | 32 typedef unsigned char SLuchar_Type; typedef
|
H A D | intrin.c | 677 return (int) SLsmg_strwidth ((SLuchar_Type *)s, (SLuchar_Type *)smax); in intrin_strwidth()
|
/dports/devel/libslang2/slang-2.3.2/demo/ |
H A D | smgtest.c | 791 SLsmg_write_wrapped_string ((SLuchar_Type *)str, row, col, dr, dc, 1); in wrapped_string_test() 823 SLsmg_write_wrapped_string ((SLuchar_Type *)str, row, col, dr, dc, 1); in wrapped_string_test() 831 len = SLsmg_strwidth ((SLuchar_Type*)str, (SLuchar_Type*)str + strlen (str)); in wrapped_string_test()
|
/dports/devel/libslang2/slang-2.3.2/modules/ |
H A D | json-module.c | 140 SLuchar_Type buf[BUFLEN], *u; in parse_4_hex_digits() 155 u = new_string ? (SLuchar_Type*)new_string : buf; in parse_4_hex_digits() 899 static int is_invalid_or_overlong_utf8 (SLuchar_Type *u, unsigned int len) in is_invalid_or_overlong_utf8() 947 if (is_invalid_or_overlong_utf8 ((SLuchar_Type *)p, len)) in compute_multibyte_char_len()
|
H A D | slsmg-module.c | 127 SLsmg_write_wrapped_string ((SLuchar_Type *)s, *r, *c, *dr, *dc, *fill); in smg_write_wrapped_string()
|