| /vim-8.2.3635/src/ |
| H A D | alloc.c | 46 size_t size) in mem_post_alloc() argument 51 *(long_u *)*pp = size; in mem_post_alloc() 53 mem_allocs[size-1]++; in mem_post_alloc() 56 mem_allocated += size; in mem_post_alloc() 66 long_u size; in mem_pre_free() local 71 mem_frees[size-1]++; in mem_pre_free() 74 mem_freed += size; in mem_pre_free() 129 do_outofmem_msg(size); in alloc_does_fail() 149 alloc(size_t size) in alloc() argument 223 if (size == 0) in lalloc() [all …]
|
| H A D | fileio.c | 1149 for ( ; size >= 10; size = (long)((long_u)size >> 1)) in readfile() 1181 size = size / ICONV_MULT; in readfile() 1185 size = size / 2; in readfile() 1187 size = (size * 2 / 3) & ~1; in readfile() 1189 size = (size * 2 / 3) & ~3; in readfile() 1191 size = size / ICONV_MULT; // worst case in readfile() 1194 size = size / ICONV_MULT; // also worst case in readfile() 1198 size = size / ICONV_MULT; // also worst case in readfile() 1289 size = read_eintr(fd, ptr, size); in readfile() 1631 size = size; in readfile() [all …]
|
| H A D | popupmenu.c | 89 int size, in pum_display() argument 142 pum_height = size; in pum_display() 164 pum_height = size; in pum_display() 194 pum_height = size; in pum_display() 213 pum_size = size; in pum_display() 227 if (pum_height < size) in pum_display() 506 int size; in pum_redraw() local 526 size++; in pum_redraw() 546 while (size > 0 in pum_redraw() 549 --size; in pum_redraw() [all …]
|
| H A D | memfile.c | 124 off_T size; in mf_open() local 938 unsigned size; in mf_read() local 945 size = page_size * hp->bh_page_count; in mf_read() 951 if ((unsigned)read_eintr(mfp->mf_fd, hp->bh_data, size) != size) in mf_read() 961 ml_decrypt_data(mfp, hp->bh_data, offset, size); in mf_read() 980 unsigned size; // number of bytes written in mf_write() local 1016 size = page_size * page_count; in mf_write() 1077 unsigned size) in mf_write_block() argument 1092 if ((unsigned)write_eintr(mfp->mf_fd, data, size) != size) in mf_write_block() 1445 size_t size; in mf_hash_grow() local [all …]
|
| H A D | gui_haiku.cc | 2521 for (int size = 8, index = 0; size <= 18; size++, index++) { in VimSelectFontDialog() local 2523 str << size; in VimSelectFontDialog() 2818 BView view(BRect(0, 0, size, size), "", 0, 0); in GetPictureFromBitmap() 2827 BRect source(0, 0, size - 1, size - 1); in GetPictureFromBitmap() 2841 view.AddLine(BPoint(size, 0), BPoint(size, size), shineColor); in GetPictureFromBitmap() 2842 view.AddLine(BPoint(size, size), BPoint(0, size), shineColor); in GetPictureFromBitmap() 2860 BRect frame(0, 0, size, size); in AddButton() 2883 bitmap = new BBitmap(BRect(0, 0, size, size), B_RGB32); in AddButton() 3173 return size; in gui_haiku_process_event() 3612 int size, in gui_mch_set_scrollbar_thumb() argument [all …]
|
| H A D | mbyte.c | 1107 if (size < 1 || *p == NUL) in latin_ptr2len_len() 1113 dbcs_ptr2len_len(char_u *p, int size) in dbcs_ptr2len_len() argument 1117 if (size < 1 || *p == NUL) in dbcs_ptr2len_len() 1119 if (size == 1) in dbcs_ptr2len_len() 1664 if (size > 0 && *p >= 0x80) in utf_ptr2cells_len() 2080 utf_ptr2len_len(char_u *p, int size) in utf_ptr2len_len() argument 2089 if (len > size) in utf_ptr2len_len() 2158 if (size < 1 || *p == NUL) in utfc_ptr2len_len() 2164 len = utf_ptr2len_len(p, size); in utfc_ptr2len_len() 2177 while (len < size) in utfc_ptr2len_len() [all …]
|
| H A D | charset.c | 728 int size = 0; in vim_strnsize() local 735 size += ptr2cells(s); in vim_strnsize() 740 size += byte2cells(*s++); in vim_strnsize() 742 return size; in vim_strnsize() 998 int size; in win_lbr_chartabsize() local 1025 size = win_chartabsize(wp, s, col); in win_lbr_chartabsize() 1028 col_adj = size - 1; in win_lbr_chartabsize() 1069 size = colmax - col + col_adj; in win_lbr_chartabsize() 1129 if ((size - prev_width) % width) in win_lbr_chartabsize() 1139 size += added; in win_lbr_chartabsize() [all …]
|
| H A D | gui_athena.c | 146 if (sb_info->size > 5) in gui_athena_scroll_cb_scroll() 149 page = sb_info->size; in gui_athena_scroll_cb_scroll() 187 if (data > -sb->size) in gui_athena_scroll_cb_scroll() 193 if (data < sb->size) in gui_athena_scroll_cb_scroll() 199 if (sb->size > 8) in gui_athena_scroll_cb_scroll() 200 data = -(sb->size - 5); in gui_athena_scroll_cb_scroll() 202 data = -sb->size; in gui_athena_scroll_cb_scroll() 206 if (sb->size > 8) in gui_athena_scroll_cb_scroll() 207 data = (sb->size - 5); in gui_athena_scroll_cb_scroll() 209 data = sb->size; in gui_athena_scroll_cb_scroll() [all …]
|
| H A D | gui.c | 3934 sb->size = 1; in gui_create_scrollbar() 4257 size = wp->w_height; in gui_update_scrollbars() 4263 size = max + 1; in gui_update_scrollbars() 4363 if (force || sb->pixval != y || sb->size != size || sb->max != max) in gui_update_scrollbars() 4365 if (force || sb->value != val || sb->size != size || sb->max != max) in gui_update_scrollbars() 4373 sb->size = size; in gui_update_scrollbars() 4378 val, size, max); in gui_update_scrollbars() 4382 val, size, max); in gui_update_scrollbars() 4687 size += value; in gui_update_horiz_scrollbar() 4692 if (!force && value == gui.bottom_sbar.value && size == gui.bottom_sbar.size in gui_update_horiz_scrollbar() [all …]
|
| H A D | gui_xmdlg.c | 219 int size; in size_part() local 229 size = atoi(buf); in size_part() 230 sprintf(buf, "%3d", size); in size_part() 238 size = atoi(buf); in size_part() 239 temp = (float)size / 10.0; in size_part() 240 size = temp; in size_part() 242 sprintf(buf, "%3d", size); in size_part() 885 int size; in gui_xm_select_font() local 891 size = atoi(buf); in gui_xm_select_font() 892 if ((size > max) && (size < MAX_DISPLAY_SIZE)) in gui_xm_select_font() [all …]
|
| H A D | iscygpty.c | 114 int size = sizeof(FILE_NAME_INFO) + sizeof(WCHAR) * (MAX_PATH - 1); in is_cygpty() 128 nameinfo = malloc(size + sizeof(WCHAR)); in is_cygpty() 134 if (pGetFileInformationByHandleEx(h, FileNameInfo, nameinfo, size)) { in is_cygpty()
|
| H A D | memline.c | 1171 off_T size; in ml_recover() local 5350 unsigned size) in ml_encrypt_data() argument 5396 unsigned size) in ml_decrypt_data() argument 5497 long size; in ml_updatechunk() local 5589 size = 0; in ml_updatechunk() 5742 long size; in ml_find_line_or_offset() local 5773 curix = size = 0; in ml_find_line_or_offset() 5832 if (!(offset >= size in ml_find_line_or_offset() 5841 size++; in ml_find_line_or_offset() 5874 size += len; in ml_find_line_or_offset() [all …]
|
| /vim-8.2.3635/src/xdiff/ |
| H A D | xutils.c | 45 mb[0].size = psize; in xdl_emit_diffrec() 47 mb[1].size = size; in xdl_emit_diffrec() 48 if (size > 0 && rec[size - 1] != '\n') { in xdl_emit_diffrec() 50 mb[2].size = (long)strlen(mb[2].ptr); in xdl_emit_diffrec() 61 void *xdl_mmfile_first(mmfile_t *mmf, long *size) in xdl_mmfile_first() argument 63 *size = mmf->size; in xdl_mmfile_first() 70 return mmf->size; in xdl_mmfile_size() 122 long nl = 0, size, tsize = 0; in xdl_guess_lines() local 147 return (size <= 1); in xdl_blankline() 152 return (i == size); in xdl_blankline() [all …]
|
| H A D | xprepare.c | 37 long size; member 56 static int xdl_init_classifier(xdlclassifier_t *cf, long size, long flags); 71 static int xdl_init_classifier(xdlclassifier_t *cf, long size, long flags) { in xdl_init_classifier() argument 74 cf->hbits = xdl_hashbits((unsigned int) size); in xdl_init_classifier() 77 if (xdl_cha_init(&cf->ncha, sizeof(xdlclass_t), size / 4 + 1) < 0) { in xdl_init_classifier() 88 cf->alloc = size; in xdl_init_classifier() 121 xdl_recmatch(rcrec->line, rcrec->size, in xdl_classify_record() 122 rec->ptr, rec->size, cf->flags)) in xdl_classify_record() 141 rcrec->size = rec->size; in xdl_classify_record() 208 crec->size = (long) (cur - prev); in xdl_prepare_ctx()
|
| H A D | xemit.c | 29 return xdf->recs[ri]->size; in xdl_get_rec() 34 long size, psize = (long)strlen(pre); in xdl_emit_record() local 37 size = xdl_get_rec(xdf, ri, &rec); in xdl_emit_record() 38 if (xdl_emit_diffrec(rec, size, pre, psize, ecb) < 0) { in xdl_emit_record() 145 long l, size, step = (start > limit) ? -1 : 1; 149 size = func_line ? sizeof(func_line->buf) : sizeof(dummy); 152 long len = match_func_rec(&xe->xdf1, xecfg, l, buf, size);
|
| H A D | xutils.h | 29 int xdl_emit_diffrec(char const *rec, long size, char const *pre, long psize, 35 int xdl_blankline(const char *line, long size, long flags); 38 unsigned int xdl_hashbits(unsigned int size);
|
| H A D | xdiff.h | 72 long size; member 77 long size; member 132 void *xdl_mmfile_first(mmfile_t *mmf, long *size);
|
| /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);
|
| H A D | mbyte.pro | 12 int latin_ptr2len_len(char_u *p, int size); 18 int latin_ptr2cells_len(char_u *p, int size); 34 int utf_ptr2len_len(char_u *p, int size); 36 int utfc_ptr2len_len(char_u *p, int size);
|
| /vim-8.2.3635/runtime/icons/ |
| H A D | README.txt | 4 When started from Workbench, Vim opens a window of standard terminal size 7 If you want Vim to start with another size, it can be done using 26 - A stack size of 4096 should be sufficient. 27 - Create a WINDOW tooltype of the desired size. 35 Now Vim comes up with the new window size.
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | os_qnx.txt | 86 escaped with a '\'. The default font used is PC Terminal, size 8. Using 90 Following the name, you can include optional settings to control the size and 95 s{size} Set the size of the font to {size} 102 Set the font to monospace size 10 with antialiasing > 105 Set the font to Courier size 12, with bold and italics >
|
| H A D | usr_31.txt | 15 |31.4| Vim window position and size 161 *31.4* Vim window position and size 184 The size of the Vim window is computed in characters. Thus this depends on 185 the size of the font being used. You can see the current size with this 190 To change the size set the 'lines' and/or 'columns' options to a new value: > 195 Obtaining the size works in a terminal just like in the GUI. Setting the size 199 size and position of the window: > 244 you can set the 'lines' option to set a different window size: > 248 You don't want to do this in a terminal, since its size is fixed (except for 263 another font size, for example.
|
| /vim-8.2.3635/runtime/syntax/ |
| H A D | sqr.vim | 88 syn keyword sqrCommand page-size position print print-bar-code 103 syn keyword sqrParam caption center char char-size char-width 104 syn keyword sqrParam chars-inch chart-size checksum cl 119 syn keyword sqrParam footing-size foreground for-append 122 syn keyword sqrParam group having heading heading-size height 123 syn keyword sqrParam horz-line image-size in indentation 125 syn keyword sqrParam integer into item-color item-size key 128 syn keyword sqrParam line-height line-size line-width lines-inch 136 syn keyword sqrParam paper-size pie-segment-explode 139 syn keyword sqrParam point-markers point-size printer [all …]
|
| H A D | 8th.vim | 90 Builtin stack-size G:stack-size step G:step sthrow G:sthrow string? G:string? struct: G:struct: sw… 143 Builtin ensurekey cr:ensurekey gcm-tag-size cr:gcm-tag-size genkey cr:genkey hash cr:hash hash! cr… 193 Builtin atlas@ font:atlas@ default-size font:default-size info font:info ls font:ls measure font:m… 208 Builtin scale img:scale scroll img:scroll size img:size countries iso:countries find loc:find sort… 215 Builtin same-size? mat:same-size? scale mat:scale shear mat:shear trans mat:trans translate mat:tr… 280 Builtin rect>pts nk:rect>pts rect>screen nk:rect>screen rect>size nk:rect>size released? nk:releas… 282 Builtin screen-saver nk:screen-saver screen-size nk:screen-size screen-win-close nk:screen-win-clo… 296 Builtin win-show nk:win-show win-size nk:win-size win-wide nk:win-wide win? nk:win? MAX ns:MAX ! o… 302 Builtin pop q:pop push q:push remove q:remove shift q:shift size q:size slide q:slide throwing q:t… 312 Builtin script? s:script? search s:search size s:size slice s:slice soundex s:soundex strfmap s:st… [all …]
|
| /vim-8.2.3635/src/libvterm/src/ |
| H A D | vterm.c | 17 static void *default_malloc(size_t size, void *allocdata UNUSED) in default_malloc() argument 19 void *ptr = malloc(size); in default_malloc() 21 memset(ptr, 0, size); in default_malloc() 95 INTERNAL void *vterm_allocator_malloc(VTerm *vt, size_t size) in vterm_allocator_malloc() argument 97 return (*vt->allocator->malloc)(size, vt->allocdata); in vterm_allocator_malloc()
|