| /vim-8.2.3635/src/ |
| H A D | help.c | 534 if (*IObuff == '`') in find_help_tags() 539 mch_memmove(IObuff, IObuff + 1, STRLEN(IObuff)); in find_help_tags() 545 mch_memmove(IObuff, IObuff + 1, STRLEN(IObuff)); in find_help_tags() 552 mch_memmove(IObuff, IObuff + 1, STRLEN(IObuff)); in find_help_tags() 860 vim_fgets(IObuff, IOSIZE, fd); in fix_help_buffer() 861 if (IObuff[0] == '*' in fix_help_buffer() 869 IObuff[0] = '|'; in fix_help_buffer() 900 cp = IObuff; in fix_help_buffer() 908 cp = IObuff; in fix_help_buffer() 913 if (cp != IObuff) in fix_help_buffer() [all …]
|
| H A D | usercmd.c | 499 IObuff[len++] = ' '; in uc_list() 512 IObuff[len++] = '%'; in uc_list() 520 IObuff[len++] = '.'; in uc_list() 524 IObuff[len++] = ' '; in uc_list() 538 IObuff[len++] = ' '; in uc_list() 551 IObuff[len++] = ' '; in uc_list() 554 IObuff[len] = '\0'; in uc_list() 555 msg_outtrans(IObuff); in uc_list() 587 IObuff[i] = fcmd[i] - 0x40; in uc_fun_cmd() 588 IObuff[i] = 0; in uc_fun_cmd() [all …]
|
| H A D | bufwrite.c | 1211 STRCPY(IObuff, fname); in buf_write() 1218 fd = mch_open((char *)IObuff, in buf_write() 1237 mch_remove(IObuff); in buf_write() 1250 mch_remove(IObuff); in buf_write() 1553 p = IObuff + STRLEN(IObuff); in buf_write() 2378 STRCAT(IObuff, _("[converted]")); in buf_write() 2383 STRCAT(IObuff, _("[Device]")); in buf_write() 2388 STRCAT(IObuff, new_file_message()); in buf_write() 2539 STRMOVE(IObuff + numlen, IObuff); in buf_write() 2542 STRCAT(IObuff, errmsg); in buf_write() [all …]
|
| H A D | ex_cmds2.c | 835 if (vim_fgets(IObuff, IOSIZE, file)) in requires_py_version() 837 if (i == 0 && IObuff[0] == '#' && IObuff[1] == '!') in requires_py_version() 840 if (strstr((char *)IObuff + 2, "python2") != NULL) in requires_py_version() 845 if (strstr((char *)IObuff + 2, "python3") != NULL) in requires_py_version() 851 IObuff[21] = '\0'; in requires_py_version() 852 if (STRCMP("# requires python 2.x", IObuff) == 0) in requires_py_version() 857 if (STRCMP("# requires python 3.x", IObuff) == 0) in requires_py_version() 909 vim_snprintf((char *)IObuff, IOSIZE, in source_pyx_file() 912 msg((char *)IObuff); in source_pyx_file() 921 vim_snprintf((char *)IObuff, IOSIZE, in source_pyx_file() [all …]
|
| H A D | cmdhist.c | 745 STRCPY(IObuff, "\n # "); in ex_history() 746 STRCAT(STRCAT(IObuff, history_names[histype1]), " history"); in ex_history() 747 msg_puts_title((char *)IObuff); in ex_history() 765 sprintf((char *)IObuff, "%c%6d ", i == idx ? '>' : ' ', in ex_history() 768 trunc_string(hist[i].hisstr, IObuff + STRLEN(IObuff), in ex_history() 769 (int)Columns - 10, IOSIZE - (int)STRLEN(IObuff)); in ex_history() 771 STRCAT(IObuff, hist[i].hisstr); in ex_history() 772 msg_outtrans(IObuff); in ex_history()
|
| H A D | profiler.c | 870 if (vim_fgets(IObuff, IOSIZE, sfd)) in script_dump_profile() 874 if (IObuff[IOSIZE - 2] != NUL && IObuff[IOSIZE - 2] != NL) in script_dump_profile() 883 while (n > 0 && (IObuff[n] & 0xc0) == 0x80) in script_dump_profile() 887 n -= mb_head_off(IObuff, IObuff + n); in script_dump_profile() 888 IObuff[n] = NL; in script_dump_profile() 889 IObuff[n + 1] = NUL; in script_dump_profile() 903 fprintf(fd, "%s", IObuff); in script_dump_profile()
|
| H A D | quickfix.c | 673 state->linebuf = IObuff; in qf_get_next_str_line() 715 state->linebuf = IObuff; in qf_get_next_list_line() 750 state->linebuf = IObuff; in qf_get_next_buf_line() 827 state->linebuf = IObuff; in qf_get_next_file_line() 3574 IObuff[0] = NUL; in qf_list_entry() 3577 sprintf((char *)IObuff + STRLEN(IObuff), "%s", in qf_list_entry() 3594 IObuff, IOSIZE); in qf_list_entry() 7845 qf_title = IObuff; in ex_cbuffer() 8058 line = IObuff; in hgr_search_file() 8089 if (line != IObuff) in hgr_search_file() [all …]
|
| H A D | fileio.c | 65 if (STRLEN(IObuff) > IOSIZE - 100) in filemess() 66 IObuff[IOSIZE - 100] = NUL; in filemess() 69 STRNCAT(IObuff, s, 99); in filemess() 2428 STRCAT(IObuff, _("[fifo]")); in readfile() 2433 STRCAT(IObuff, _("[socket]")); in readfile() 2471 STRCAT(IObuff, _("[converted]")); in readfile() 2483 sprintf((char *)IObuff + STRLEN(IObuff), in readfile() 2489 sprintf((char *)IObuff + STRLEN(IObuff), in readfile() 3051 IObuff[0] = '"'; in msg_add_fname() 3052 STRCAT(IObuff, "\" "); in msg_add_fname() [all …]
|
| H A D | insexpand.c | 563 p = IObuff; in ins_compl_add_infercase() 575 str = IObuff; in ins_compl_add_infercase() 3163 STRNCPY(IObuff, ptr, len); in ins_compl_get_exp() 3174 if (IObuff[len - 1] != ' ') in ins_compl_get_exp() 3175 IObuff[len++] = ' '; in ins_compl_get_exp() 3178 && (IObuff[len - 2] == '.' in ins_compl_get_exp() 3181 && (IObuff[len - 2] == '?' in ins_compl_get_exp() 3183 IObuff[len++] = ' '; in ins_compl_get_exp() 3192 IObuff[len] = NUL; in ins_compl_get_exp() 3193 ptr = IObuff; in ins_compl_get_exp() [all …]
|
| H A D | message.c | 366 if (IObuff == NULL) in smsg() 379 return msg((char *)IObuff); in smsg() 386 if (IObuff == NULL) in smsg_attr() 399 return msg_attr((char *)IObuff, attr); in smsg_attr() 406 if (IObuff == NULL) in smsg_attr_keep() 792 if (IObuff == NULL) in semsg() 805 return emsg_core(IObuff); in semsg() 839 if (IObuff == NULL) in siemsg() 852 emsg_core(IObuff); in siemsg() 3680 if (IObuff == NULL) in give_warning2() [all …]
|
| H A D | ex_eval.c | 622 saved_IObuff = vim_strsave(IObuff); in discard_exception() 642 STRCPY(IObuff, saved_IObuff); in discard_exception() 677 vim_snprintf((char *)IObuff, IOSIZE, _("%s, line %ld"), in catch_exception() 680 vim_snprintf((char *)IObuff, IOSIZE, "%s", excp->throw_name); in catch_exception() 681 set_vim_var_string(VV_THROWPOINT, IObuff, -1); in catch_exception() 727 vim_snprintf((char *)IObuff, IOSIZE, in finish_exception() 731 vim_snprintf((char *)IObuff, IOSIZE, "%s", in finish_exception() 733 set_vim_var_string(VV_THROWPOINT, IObuff, -1); in finish_exception() 808 vim_snprintf((char *)IObuff, IOSIZE, mesg, _("Exception")); in report_pending() 809 mesg = (char *)vim_strnsave(IObuff, STRLEN(IObuff) + 4); in report_pending()
|
| H A D | testing.c | 432 IObuff[0] = NUL; in assert_equalfile() 436 vim_snprintf((char *)IObuff, IOSIZE, (char *)e_notread, fname1); in assert_equalfile() 444 vim_snprintf((char *)IObuff, IOSIZE, (char *)e_notread, fname2); in assert_equalfile() 459 STRCPY(IObuff, "first file is shorter"); in assert_equalfile() 464 STRCPY(IObuff, "second file is shorter"); in assert_equalfile() 474 vim_snprintf((char *)IObuff, IOSIZE, in assert_equalfile() 497 if (IObuff[0] != NUL) in assert_equalfile() 509 ga_concat(&ga, IObuff); in assert_equalfile()
|
| H A D | mark.c | 517 mch_dirname(IObuff, IOSIZE); in fname2fnum() 518 p = shorten_fname(NameBuff, IObuff); in fname2fnum() 771 sprintf((char *)IObuff, " %c %6ld %4d ", c, p->lnum, p->col); in show_one_mark() 772 msg_outtrans(IObuff); in show_one_mark() 903 sprintf((char *)IObuff, "%c %2d %5ld %4d ", in ex_jumps() 909 msg_outtrans(IObuff); in ex_jumps() 949 sprintf((char *)IObuff, "%c %3d %5ld %4d ", in ex_changes() 955 msg_outtrans(IObuff); in ex_changes()
|
| H A D | tag.c | 720 sprintf((char *)IObuff, _("tag %d of %d%s"), in do_tag() 730 msg_attr((char *)IObuff, HL_ATTR(HLF_W)); in do_tag() 732 msg((char *)IObuff); in do_tag() 736 give_warning(IObuff, ic); in do_tag() 747 set_vim_var_string(VV_SWAPCOMMAND, IObuff, -1); in do_tag() 859 *IObuff = '>'; in print_tag_list() 861 *IObuff = ' '; in print_tag_list() 862 vim_snprintf((char *)IObuff + 1, IOSIZE - 1, in print_tag_list() 865 msg_puts((char *)IObuff); in print_tag_list() 1144 set_errorlist(curwin, list, ' ', IObuff, NULL); in add_llist_tags() [all …]
|
| H A D | crypt.c | 705 STRCAT(IObuff, _("[crypted]")); in crypt_append_msg() 708 STRCAT(IObuff, "["); in crypt_append_msg() 709 STRCAT(IObuff, *buf->b_p_cm == NUL ? p_cm : buf->b_p_cm); in crypt_append_msg() 710 STRCAT(IObuff, "]"); in crypt_append_msg()
|
| H A D | search.c | 3742 STRNCPY(IObuff, aux, i); in find_pattern_in_path() 3767 if (IObuff[i-1] != ' ') in find_pattern_in_path() 3768 IObuff[i++] = ' '; in find_pattern_in_path() 3771 && (IObuff[i-2] == '.' in find_pattern_in_path() 3773 && (IObuff[i-2] == '?' in find_pattern_in_path() 3774 || IObuff[i-2] == '!')))) in find_pattern_in_path() 3775 IObuff[i++] = ' '; in find_pattern_in_path() 3780 STRNCPY(IObuff + i, aux, p - aux); in find_pattern_in_path() 3784 IObuff[i] = NUL; in find_pattern_in_path() 3785 aux = IObuff; in find_pattern_in_path() [all …]
|
| H A D | spellsuggest.c | 571 if (cmdmsg_rl && STRNCMP(IObuff, "Change", 6) == 0) in spell_suggest() 579 msg_puts((char *)IObuff); in spell_suggest() 595 vim_snprintf((char *)IObuff, IOSIZE, "%2d", i + 1); in spell_suggest() 598 rl_mirror(IObuff); in spell_suggest() 600 msg_puts((char *)IObuff); in spell_suggest() 603 msg_puts((char *)IObuff); in spell_suggest() 610 msg_puts((char *)IObuff); in spell_suggest() 621 vim_snprintf((char *)IObuff, IOSIZE, " (%d)", in spell_suggest() 626 rl_mirror(IObuff + 1); in spell_suggest() 629 msg_puts((char *)IObuff); in spell_suggest() [all …]
|
| H A D | term.c | 6284 IObuff[0] = ' '; in show_one_termcode() 6285 IObuff[1] = ' '; in show_one_termcode() 6286 IObuff[2] = ' '; in show_one_termcode() 6287 IObuff[3] = ' '; in show_one_termcode() 6291 IObuff[0] = 't'; in show_one_termcode() 6292 IObuff[1] = '_'; in show_one_termcode() 6293 IObuff[2] = name[0]; in show_one_termcode() 6294 IObuff[3] = name[1]; in show_one_termcode() 6296 IObuff[4] = ' '; in show_one_termcode() 6302 IObuff[5] = NUL; in show_one_termcode() [all …]
|
| H A D | spellfile.c | 2234 spell_message(spin, IObuff); in spell_read_aff() 3530 vim_snprintf((char *)IObuff, IOSIZE, in spell_read_dic() 3532 spell_message(spin, IObuff); in spell_read_dic() 4112 spell_message(spin, IObuff); in spell_read_wordfile() 4272 vim_snprintf((char *)IObuff, IOSIZE, in spell_read_wordfile() 4274 spell_message(spin, IObuff); in spell_read_wordfile() 4699 spell_message(spin, IObuff); in wordtree_compress() 5811 spell_message(spin, IObuff); in sug_write() 5872 spell_message(spin, IObuff); in sug_write() 6093 spell_message(&spin, IObuff); in mkspell() [all …]
|
| H A D | hardcopy.c | 726 sprintf((char *)IObuff, _("Printing page %d (%d%%)"), in ex_hardcopy() 733 if (!mch_print_begin_page(IObuff)) in ex_hardcopy() 737 sprintf((char *)IObuff + STRLEN(IObuff), in ex_hardcopy() 741 prt_message(IObuff); in ex_hardcopy() 796 vim_snprintf((char *)IObuff, IOSIZE, _("Printed: %s"), in ex_hardcopy() 798 prt_message(IObuff); in ex_hardcopy() 804 sprintf((char *)IObuff, "%s", _("Printing aborted")); in ex_hardcopy() 805 prt_message(IObuff); in ex_hardcopy()
|
| H A D | viminfo.c | 1169 vim_snprintf((char *)IObuff, IOSIZE, _("%sviminfo: %s in line: "), in viminfo_error() 1171 STRNCAT(IObuff, line, IOSIZE - STRLEN(IObuff) - 1); in viminfo_error() 1172 if (IObuff[STRLEN(IObuff) - 1] == '\n') in viminfo_error() 1173 IObuff[STRLEN(IObuff) - 1] = NUL; in viminfo_error() 1174 emsg((char *)IObuff); in viminfo_error() 1968 home_replace(NULL, buf->b_ffname, IObuff, IOSIZE, TRUE); in write_buffer_marks() 1970 viminfo_writestring(fp_out, IObuff); in write_buffer_marks()
|
| H A D | ex_cmds.c | 55 IObuff[0] = NUL; in do_ascii() 85 vim_snprintf((char *)IObuff, IOSIZE, in do_ascii() 90 vim_snprintf((char *)IObuff, IOSIZE, in do_ascii() 102 len = (int)STRLEN(IObuff); in do_ascii() 105 IObuff[len++] = ' '; in do_ascii() 106 IObuff[len++] = '<'; in do_ascii() 112 IObuff[len++] = ' '; // draw composing char on top of a space in do_ascii() 113 len += (*mb_char2bytes)(c, IObuff + len); in do_ascii() 117 vim_snprintf((char *)IObuff + len, IOSIZE - len, in do_ascii() 123 vim_snprintf((char *)IObuff + len, IOSIZE - len, in do_ascii() [all …]
|
| H A D | ex_docmd.c | 1410 vim_snprintf((char *)IObuff, IOSIZE, in handle_did_throw() 1413 p = (char *)vim_strsave(IObuff); in handle_did_throw() 2071 errormsg = (char *)IObuff; in do_one_cmd() 2660 if (errormsg != (char *)IObuff) in do_one_cmd() 2662 STRCPY(IObuff, errormsg); in do_one_cmd() 2663 errormsg = (char *)IObuff; in do_one_cmd() 3368 STRCAT(IObuff, ": "); in append_command() 3369 d = IObuff + STRLEN(IObuff); in append_command() 6718 IObuff, IOSIZE, TRUE); in ex_tabs() 6719 msg_outtrans(IObuff); in ex_tabs() [all …]
|
| H A D | undo.c | 3099 vim_snprintf((char *)IObuff, IOSIZE, "%6ld %7d ", in ex_undolist() 3101 add_time(IObuff + STRLEN(IObuff), IOSIZE - STRLEN(IObuff), in ex_undolist() 3105 while (STRLEN(IObuff) < 33) in ex_undolist() 3106 STRCAT(IObuff, " "); in ex_undolist() 3107 vim_snprintf_add((char *)IObuff, IOSIZE, in ex_undolist() 3110 ((char_u **)(ga.ga_data))[ga.ga_len++] = vim_strsave(IObuff); in ex_undolist()
|
| H A D | ops.c | 203 vim_snprintf((char *)IObuff, IOSIZE, in op_shift() 206 msg_attr_keep((char *)IObuff, 0, TRUE); in op_shift() 3167 vim_snprintf((char *)IObuff, IOSIZE, in cursor_pos_info() 3176 vim_snprintf((char *)IObuff, IOSIZE, in cursor_pos_info() 3198 vim_snprintf((char *)IObuff, IOSIZE, in cursor_pos_info() 3206 vim_snprintf((char *)IObuff, IOSIZE, in cursor_pos_info() 3220 size_t len = STRLEN(IObuff); in cursor_pos_info() 3222 vim_snprintf((char *)IObuff + len, IOSIZE - len, in cursor_pos_info() 3230 msg((char *)IObuff); in cursor_pos_info()
|