| /vim-8.2.3635/src/ |
| H A D | alloc.c | 32 mem_pre_alloc_s(size_t *sizep) in mem_pre_alloc_s() 34 *sizep += sizeof(size_t); in mem_pre_alloc_s() 38 mem_pre_alloc_l(size_t *sizep) in mem_pre_alloc_l() 40 *sizep += sizeof(size_t); in mem_pre_alloc_l() 46 size_t size) in mem_post_alloc() 50 size -= sizeof(size_t); in mem_post_alloc() 69 size = *(size_t *)*pp; in mem_pre_free() 149 alloc(size_t size) in alloc() 171 alloc_clear(size_t size) in alloc_clear() 719 size_t old_len; in ga_grow_inner() [all …]
|
| H A D | os_mac_conv.c | 230 size_t fromlen, in enc2macroman() 334 size_t fromLen, in mac_utf16_to_enc() 335 size_t *actualLen) in mac_utf16_to_enc() 388 size_t fromLen, in mac_enc_to_utf16() 389 size_t *actualLen) in mac_enc_to_utf16() 447 size_t fromLen) in mac_enc_to_cfstring() 450 size_t utf16_len; in mac_enc_to_cfstring() 469 size_t decompLen, in mac_precompose_path() 499 size_t fromLen, in mac_utf16_to_utf8() 500 size_t *actualLen) in mac_utf16_to_utf8() [all …]
|
| H A D | strings.c | 24 size_t len; in vim_strsave() 1848 size_t space; in vim_snprintf_add() 1875 size_t str_m, in vim_vsnprintf() 1885 size_t str_m, in vim_vsnprintf_typval() 1890 size_t str_l = 0; in vim_vsnprintf_typval() 1901 size_t n = (q == NULL) ? STRLEN(p) : (size_t)(q - p); in vim_vsnprintf_typval() 2152 size_t i = 0; in vim_vsnprintf_typval() 2693 : (size_t)pn); in vim_vsnprintf_typval() 2721 : (size_t)zn); in vim_vsnprintf_typval() 2737 : (size_t)zn); in vim_vsnprintf_typval() [all …]
|
| H A D | crypt.c | 51 void (*encode_fn)(cryptstate_T *state, char_u *from, size_t len, 156 size_t count; 467 size_t len, in crypt_encode_alloc() 525 size_t len, in crypt_encode() 540 size_t len, 555 size_t len, in crypt_encode_inplace() 569 size_t len, in crypt_decode_inplace() 775 size_t len UNUSED, 820 size_t len UNUSED, 898 size_t len UNUSED, in crypt_sodium_buffer_encode() [all …]
|
| H A D | usercmd.c | 717 size_t len, in uc_scan_attr() 748 size_t vallen = 0; in uc_scan_attr() 883 size_t name_len, in uc_add_command() 924 size_t len; in uc_add_command() 1313 static size_t 1316 size_t result; in add_cmd_modifier() 1337 size_t 1368 size_t 1440 static size_t 1443 size_t len, in uc_check_code() [all …]
|
| H A D | proto.h | 137 int vim_snprintf_add(char *, size_t, const char *, ...) ATTRIBUTE_FORMAT_PRINTF(3, 4); 139 int vim_snprintf(char *, size_t, const char *, ...) ATTRIBUTE_FORMAT_PRINTF(3, 4); 141 int vim_vsnprintf(char *str, size_t str_m, const char *fmt, va_list ap) 143 int vim_vsnprintf_typval(char *str, size_t str_m, const char *fmt, va_list ap, typval_T *tvs) 154 void qsort(void *base, size_t elm_count, size_t elm_size, int (*cmp)(const void *, const void *));
|
| H A D | ui.c | 90 mch_memmove(new, ta_str + ta_off, (size_t)(ta_len - ta_off)); in ui_inchar_undo() 91 mch_memmove(new + ta_len - ta_off, s, (size_t)len); in ui_inchar_undo() 95 mch_memmove(new, s, (size_t)len); in ui_inchar_undo() 133 mch_memmove(buf, ta_str + ta_off, (size_t)ta_len); in ui_inchar() 137 mch_memmove(buf, ta_str + ta_off, (size_t)maxlen); in ui_inchar() 803 mch_memmove(gap->ga_data, inbuf, (size_t)inbufcount); in get_input_buf() 898 mch_memmove(buf, inbuf, (size_t)maxlen); in read_from_input_buf() 901 mch_memmove(inbuf, inbuf + maxlen, (size_t)inbufcount); in read_from_input_buf() 963 size_t readlen = (size_t)((INBUFLEN - inbufcount) in fill_input_buf() 1043 mch_memmove(inbuf, inbuf + inbufcount, (size_t)(len + 1)); in fill_input_buf()
|
| H A D | osdef2.h.in | 42 extern int read(int, char *, size_t); 43 extern int write(int, char *, size_t); 50 extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); 96 extern int _Xmblen(char const *, size_t); 99 extern int _Xmblen(char *, size_t);
|
| H A D | osdef1.h.in | 51 extern void *memset(void *, int, size_t); 53 extern int memcmp(const void *, const void *, size_t); 70 extern void bzero(void *, size_t); 82 extern size_t strftime(char *, size_t, char *, struct tm *); 88 extern int strncasecmp(char *, char *, size_t);
|
| H A D | crypt_zip.c | 116 size_t len, in crypt_zip_encode() 121 size_t i; in crypt_zip_encode() 140 size_t len, in crypt_zip_decode() 145 size_t i; in crypt_zip_decode()
|
| H A D | undo.c | 933 size_t len_todo = len; in undo_write() 987 size_t i; in fwrite_crypt() 1026 return undo_write(bi, buf, (size_t)len); in undo_write_bytes() 1048 undo_read(bi, buf, (size_t)4); in undo_read_4c() 1065 undo_read(bi, buf, (size_t)2); in undo_read_2c() 1081 undo_read(bi, buf, (size_t)1); in undo_read_byte() 1098 undo_read(bi, buf, (size_t)8); in undo_read_time() 1124 size_t n; in undo_read() 1201 if (fwrite(UF_START_MAGIC, (size_t)UF_START_MAGIC_LEN, (size_t)1, fp) != 1) in serialize_header() 1217 len = (long)fwrite(header, (size_t)header_len, (size_t)1, fp); in serialize_header() [all …]
|
| H A D | ops.c | 365 mch_memmove(newp, oldp, (size_t)bd.textcol); in shift_block() 382 size_t block_space_width; in shift_block() 383 size_t shift_amount; in shift_block() 413 ? block_space_width : (size_t)total); in shift_block() 556 mch_memmove(newp, oldp, (size_t)(offset)); in block_insert() 1010 size_t oldlen; in op_replace() 1561 size_t len; in op_insert() 1657 if ((size_t)add > len) in op_insert() 1938 size_t newp_len; in do_join() 2101 mch_memmove(cend, curr, (size_t)currsize); in do_join() [all …]
|
| H A D | if_lua.c | 779 size_t l; in luaV_toline() 797 size_t l; in luaV_msgfunc() 1274 size_t i, l = 0; in luaV_blob_add() 1729 size_t l; in luaV_print() 1769 size_t l; in luaV_debug() 1814 size_t len; in luaV_setvar() 1898 size_t len; in luaV_getvar() 2044 size_t i, l = 0; in luaV_blob() 2080 size_t l; in luaV_buffer() 2280 size_t l; in luaV_luaeval() [all …]
|
| H A D | bufwrite.c | 39 size_t bw_conv_buflen; // size of bw_conv_buf 208 (size_t)ip->bw_restlen); in buf_write_bytes() 224 (size_t)ip->bw_restlen); in buf_write_bytes() 256 size_t fromlen; in buf_write_bytes() 387 size_t fromlen; in buf_write_bytes() 420 size_t fromlen; in buf_write_bytes() 422 size_t tolen; in buf_write_bytes() 435 mch_memmove(fp + ip->bw_restlen, buf, (size_t)len); in buf_write_bytes() 449 size_t save_len = tolen; in buf_write_bytes() 466 == (size_t)-1 && ICONV_ERRNO != ICONV_EINVAL) in buf_write_bytes() [all …]
|
| /vim-8.2.3635/src/proto/ |
| H A D | alloc.pro | 3 int alloc_does_fail(size_t size); 4 void *alloc(size_t size); 5 void *alloc_id(size_t size, alloc_id_T id); 6 void *alloc_clear(size_t size); 7 void *alloc_clear_id(size_t size, alloc_id_T id); 8 void *lalloc_clear(size_t size, int message); 9 void *lalloc(size_t size, int message); 10 void *lalloc_id(size_t size, int message, alloc_id_T id); 11 void *mem_realloc(void *ptr, size_t size); 12 void do_outofmem_msg(size_t size); [all …]
|
| H A D | os_mac_conv.pro | 4 int enc2macroman(char_u *from, size_t fromlen, char_u *to, int *tolenp, int maxtolen, char_u *rest,… 7 char_u *mac_utf16_to_enc(unsigned short *from, size_t fromLen, size_t *actualLen); 8 unsigned short *mac_enc_to_utf16(char_u *from, size_t fromLen, size_t *actualLen); 9 void *mac_enc_to_cfstring(char_u *from, size_t fromLen); 10 char_u *mac_precompose_path(char_u *decompPath, size_t decompLen, size_t *precompLen);
|
| H A D | crypt.pro | 16 long crypt_encode_alloc(cryptstate_T *state, char_u *from, size_t len, char_u **newptr, int last); 18 void crypt_encode(cryptstate_T *state, char_u *from, size_t len, char_u *to, int last); 19 void crypt_encode_inplace(cryptstate_T *state, char_u *buf, size_t len, int last); 20 void crypt_decode_inplace(cryptstate_T *state, char_u *buf, size_t len, int last); 27 long crypt_sodium_buffer_encode(cryptstate_T *state, char_u *from, size_t len, char_u **buf_out, in… 28 long crypt_sodium_buffer_decode(cryptstate_T *state, char_u *from, size_t len, char_u **buf_out, in…
|
| H A D | strings.pro | 3 char_u *vim_strnsave(char_u *string, size_t len); 9 char_u *vim_strnsave_up(char_u *string, size_t len); 13 void vim_strncpy(char_u *to, char_u *from, size_t len); 14 void vim_strcat(char_u *to, char_u *from, size_t tosize); 16 int vim_strnicmp(char *s1, char *s2, size_t len);
|
| H A D | vim9compile.pro | 2 int check_defined(char_u *p, size_t len, cctx_T *cctx, int is_arg); 7 imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx); 8 imported_T *find_imported_in_script(char_u *name, size_t len, int sid);
|
| /vim-8.2.3635/src/libvterm/include/ |
| H A D | vterm.h | 210 size_t len : 30; 296 void *(*malloc)(size_t size, void *allocdata); 319 size_t vterm_input_write(VTerm *vt, const char *bytes, size_t len); 327 size_t vterm_output_get_buffer_size(const VTerm *vt); 328 size_t vterm_output_get_buffer_current(const VTerm *vt); 329 size_t vterm_output_get_buffer_remaining(const VTerm *vt); 332 size_t vterm_output_read(VTerm *vt, char *buffer, size_t len); 372 int (*text)(const char *bytes, size_t len, void *user); 374 int (*escape)(const char *bytes, size_t len, void *user); 546 size_t vterm_screen_get_chars(const VTermScreen *screen, uint32_t *chars, size_t len, const VTermRe… [all …]
|
| /vim-8.2.3635/src/libvterm/src/ |
| H A D | vterm_internal.h | 107 size_t combine_chars_size; // Number of ELEMENTS in the above 220 size_t outbuffer_len; 221 size_t outbuffer_cur; 224 size_t tmpbuffer_len; 236 const char bytes[], size_t *pos, size_t len); 244 void *vterm_allocator_malloc(VTerm *vt, size_t size); 247 void vterm_push_output_bytes(VTerm *vt, const char *bytes, size_t len); 288 int VSNPRINTF(char *str, size_t str_m, const char *fmt, va_list ap); 292 int SNPRINTF(char *str, size_t str_m, const char *fmt, ...);
|
| H A D | vterm.c | 17 static void *default_malloc(size_t size, void *allocdata UNUSED) in default_malloc() 95 INTERNAL void *vterm_allocator_malloc(VTerm *vt, size_t size) in vterm_allocator_malloc() 142 INTERNAL void vterm_push_output_bytes(VTerm *vt, const char *bytes, size_t len) in vterm_push_output_bytes() 160 size_t len; in vterm_push_output_vsprintf() 185 size_t cur; in vterm_push_output_sprintf_ctrl() 205 size_t cur; in vterm_push_output_sprintf_dcs() 226 size_t vterm_output_get_buffer_size(const VTerm *vt) in vterm_output_get_buffer_size() 231 size_t vterm_output_get_buffer_current(const VTerm *vt) in vterm_output_get_buffer_current() 236 size_t vterm_output_get_buffer_remaining(const VTerm *vt) in vterm_output_get_buffer_remaining() 241 size_t vterm_output_read(VTerm *vt, char *buffer, size_t len) in vterm_output_read()
|
| H A D | encoding.c | 30 const char bytes[], size_t *pos, size_t bytelen) in decode_utf8() 166 const char bytes[], size_t *pos, size_t bytelen) in decode_usascii() 192 const char bytes[], size_t *pos, size_t bytelen) in decode_table()
|
| H A D | parser.c | 52 size_t len = vt->parser.intermedlen; in do_escape() 64 static void string_fragment(VTerm *vt, const char *str, size_t len, int final) in string_fragment() 96 size_t vterm_input_write(VTerm *vt, const char *bytes, size_t len) in vterm_input_write() 98 size_t pos = 0; in vterm_input_write() 127 size_t string_len; in vterm_input_write() 327 size_t eaten = 0; in vterm_input_write()
|
| /vim-8.2.3635/src/libvterm/t/ |
| H A D | harness.c | 91 size_t i; in term_output() 106 size_t i; in parser_text() 203 size_t i; in parser_dcs() 534 size_t outlen; in main() 681 size_t pos = 0; in main() 891 size_t len; in main() 899 if(len == (size_t)-1) in main() 905 size_t i; in main() 916 size_t len; in main() 924 if(len == (size_t)-1) in main() [all …]
|