Home
last modified time | relevance | path

Searched refs:SLuchar_Type (Results 1 – 25 of 35) sorted by relevance

12

/dports/devel/libslang2/slang-2.3.2/src/
H A Dslsearch.c49 SLuchar_Type *key;
68SLuchar_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 Dslutf8.c139 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 Dslstrops.c94 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 Dslwclut.c177 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 Dslang.h361 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 Dslsmg.c82 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 Dslrline.c190 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.h1097 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 Dslstd.c111 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 Dslutf8.tm3 \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 Dslsearch.tm3 \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 Dstrutil.c151 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 Dutil.c59 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 Dmisc.h121 typedef unsigned char SLuchar_Type; typedef
H A Dcharset.c208 if (NULL != SLutf8_decode ((SLuchar_Type *)str, (SLuchar_Type *)strmax, &wch, &nconsumed)) in slrn_guess_charset()
H A Dmime.c1563 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 Dart.c810 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 Dmisc.c738 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 Dtext.c571 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 Dbuffer.c298 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 Dbuffer.h32 typedef unsigned char SLuchar_Type; typedef
H A Dintrin.c677 return (int) SLsmg_strwidth ((SLuchar_Type *)s, (SLuchar_Type *)smax); in intrin_strwidth()
/dports/devel/libslang2/slang-2.3.2/demo/
H A Dsmgtest.c791 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 Djson-module.c140 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 Dslsmg-module.c127 SLsmg_write_wrapped_string ((SLuchar_Type *)s, *r, *c, *dr, *dc, *fill); in smg_write_wrapped_string()

12