Mercurial > vim
annotate src/proto/mbyte.pro @ 2454:91fec91a522c vim73
Fix: uninitialized memory access. (Dominique Pelle)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 01 Aug 2010 15:11:43 +0200 |
parents | da6ec32d8d8f |
children | 0bef86c5c985 |
rev | line source |
---|---|
7 | 1 /* mbyte.c */ |
1125 | 2 int enc_canon_props __ARGS((char_u *name)); |
3 char_u *mb_init __ARGS((void)); | |
4 int bomb_size __ARGS((void)); | |
5 int mb_get_class __ARGS((char_u *p)); | |
6 int dbcs_class __ARGS((unsigned lead, unsigned trail)); | |
7 int latin_char2len __ARGS((int c)); | |
8 int latin_char2bytes __ARGS((int c, char_u *buf)); | |
9 int latin_ptr2len __ARGS((char_u *p)); | |
1903 | 10 int latin_ptr2len_len __ARGS((char_u *p, int size)); |
1125 | 11 int utf_char2cells __ARGS((int c)); |
12 int latin_ptr2cells __ARGS((char_u *p)); | |
13 int utf_ptr2cells __ARGS((char_u *p)); | |
14 int dbcs_ptr2cells __ARGS((char_u *p)); | |
1903 | 15 int latin_ptr2cells_len __ARGS((char_u *p, int size)); |
1125 | 16 int latin_char2cells __ARGS((int c)); |
2338
da6ec32d8d8f
Added strwidth() and strchars() functions.
Bram Moolenaar <bram@vim.org>
parents:
2278
diff
changeset
|
17 int mb_string2cells __ARGS((char_u *p, int len)); |
1378 | 18 int latin_off2cells __ARGS((unsigned off, unsigned max_off)); |
19 int dbcs_off2cells __ARGS((unsigned off, unsigned max_off)); | |
20 int utf_off2cells __ARGS((unsigned off, unsigned max_off)); | |
1125 | 21 int latin_ptr2char __ARGS((char_u *p)); |
22 int utf_ptr2char __ARGS((char_u *p)); | |
23 int mb_ptr2char_adv __ARGS((char_u **pp)); | |
24 int mb_cptr2char_adv __ARGS((char_u **pp)); | |
25 int arabic_combine __ARGS((int one, int two)); | |
26 int arabic_maycombine __ARGS((int two)); | |
27 int utf_composinglike __ARGS((char_u *p1, char_u *p2)); | |
28 int utfc_ptr2char __ARGS((char_u *p, int *pcc)); | |
29 int utfc_ptr2char_len __ARGS((char_u *p, int *pcc, int maxlen)); | |
30 int utfc_char2bytes __ARGS((int off, char_u *buf)); | |
31 int utf_ptr2len __ARGS((char_u *p)); | |
32 int utf_byte2len __ARGS((int b)); | |
33 int utf_ptr2len_len __ARGS((char_u *p, int size)); | |
34 int utfc_ptr2len __ARGS((char_u *p)); | |
35 int utfc_ptr2len_len __ARGS((char_u *p, int size)); | |
36 int utf_char2len __ARGS((int c)); | |
37 int utf_char2bytes __ARGS((int c, char_u *buf)); | |
38 int utf_iscomposing __ARGS((int c)); | |
39 int utf_printable __ARGS((int c)); | |
40 int utf_class __ARGS((int c)); | |
41 int utf_fold __ARGS((int a)); | |
42 int utf_toupper __ARGS((int a)); | |
43 int utf_islower __ARGS((int a)); | |
44 int utf_tolower __ARGS((int a)); | |
45 int utf_isupper __ARGS((int a)); | |
46 int mb_strnicmp __ARGS((char_u *s1, char_u *s2, size_t nn)); | |
47 void show_utf8 __ARGS((void)); | |
48 int latin_head_off __ARGS((char_u *base, char_u *p)); | |
49 int dbcs_head_off __ARGS((char_u *base, char_u *p)); | |
50 int dbcs_screen_head_off __ARGS((char_u *base, char_u *p)); | |
51 int utf_head_off __ARGS((char_u *base, char_u *p)); | |
52 void mb_copy_char __ARGS((char_u **fp, char_u **tp)); | |
53 int mb_off_next __ARGS((char_u *base, char_u *p)); | |
54 int mb_tail_off __ARGS((char_u *base, char_u *p)); | |
55 void utf_find_illegal __ARGS((void)); | |
56 int utf_valid_string __ARGS((char_u *s, char_u *end)); | |
57 int dbcs_screen_tail_off __ARGS((char_u *base, char_u *p)); | |
58 void mb_adjust_cursor __ARGS((void)); | |
59 void mb_adjustpos __ARGS((pos_T *lp)); | |
60 char_u *mb_prevptr __ARGS((char_u *line, char_u *p)); | |
61 int mb_charlen __ARGS((char_u *str)); | |
62 int mb_charlen_len __ARGS((char_u *str, int len)); | |
63 char_u *mb_unescape __ARGS((char_u **pp)); | |
64 int mb_lefthalve __ARGS((int row, int col)); | |
65 int mb_fix_col __ARGS((int col, int row)); | |
66 char_u *enc_skip __ARGS((char_u *p)); | |
67 char_u *enc_canonize __ARGS((char_u *enc)); | |
68 char_u *enc_locale __ARGS((void)); | |
69 int encname2codepage __ARGS((char_u *name)); | |
70 void *my_iconv_open __ARGS((char_u *to, char_u *from)); | |
71 int iconv_enabled __ARGS((int verbose)); | |
72 void iconv_end __ARGS((void)); | |
73 void im_set_active __ARGS((int active)); | |
74 void xim_set_focus __ARGS((int focus)); | |
75 void im_set_position __ARGS((int row, int col)); | |
76 void xim_set_preedit __ARGS((void)); | |
2278
0b3be97064e5
Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents:
1903
diff
changeset
|
77 int im_get_feedback_attr __ARGS((int col)); |
1125 | 78 void xim_init __ARGS((void)); |
2278
0b3be97064e5
Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents:
1903
diff
changeset
|
79 void im_shutdown __ARGS((void)); |
0b3be97064e5
Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents:
1903
diff
changeset
|
80 int im_xim_isvalid_imactivate __ARGS((void)); |
1125 | 81 void xim_reset __ARGS((void)); |
82 int xim_queue_key_press_event __ARGS((GdkEventKey *event, int down)); | |
83 int im_get_status __ARGS((void)); | |
1668 | 84 int preedit_get_status __ARGS((void)); |
1125 | 85 int im_is_preediting __ARGS((void)); |
2278
0b3be97064e5
Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents:
1903
diff
changeset
|
86 void xim_set_status_area __ARGS((void)); |
0b3be97064e5
Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents:
1903
diff
changeset
|
87 int xim_get_status_area_height __ARGS((void)); |
1125 | 88 int convert_setup __ARGS((vimconv_T *vcp, char_u *from, char_u *to)); |
1903 | 89 int convert_setup_ext __ARGS((vimconv_T *vcp, char_u *from, int from_unicode_is_utf8, char_u *to, int to_unicode_is_utf8)); |
1125 | 90 int convert_input __ARGS((char_u *ptr, int len, int maxlen)); |
91 int convert_input_safe __ARGS((char_u *ptr, int len, int maxlen, char_u **restp, int *restlenp)); | |
92 char_u *string_convert __ARGS((vimconv_T *vcp, char_u *ptr, int *lenp)); | |
93 char_u *string_convert_ext __ARGS((vimconv_T *vcp, char_u *ptr, int *lenp, int *unconvlenp)); | |
7 | 94 /* vim: set ft=c : */ |