| /vim-8.2.3635/src/ |
| H A D | message_test.c | 56 buf = alloc(1); in test_trunc_string() 62 buf = alloc(40); in test_trunc_string() 68 buf = alloc(40); in test_trunc_string() 74 buf = alloc(40); in test_trunc_string() 80 buf = alloc(40); in test_trunc_string() 87 buf = alloc(40); in test_trunc_string() 94 buf = alloc(40); in test_trunc_string() 101 buf = alloc(40); in test_trunc_string() 108 buf = alloc(40); in test_trunc_string() 115 buf = alloc(40); in test_trunc_string() [all …]
|
| H A D | if_cscope.c | 653 buf = alloc(CSREAD_BUFSIZE); in cs_cnt_matches() 891 if ((cmd = alloc(len)) == NULL) in cs_create_connection() 1578 if ((buf = alloc(amt)) == NULL) in cs_make_vim_style_matches() 1586 if ((buf = alloc(amt)) == NULL) in cs_make_vim_style_matches() 1747 buf = alloc(CSREAD_BUFSIZE); in cs_file_results() 1762 context = alloc(strlen(cntx)+5); in cs_file_results() 1815 buf = alloc(CSREAD_BUFSIZE); in cs_fill_results() 1933 buf = alloc(newsize); in cs_print_tags_priv() 2074 buf = alloc(maxlen); in cs_read_prompt() 2360 csdir = alloc(MAXPATHL); in cs_resolve_file() [all …]
|
| H A D | scriptfile.c | 266 buf = alloc(MAXPATHL); in do_in_path() 395 s = alloc(len); in do_in_path_and_pp() 406 s = alloc(len); in do_in_path_and_pp() 520 buf = alloc(MAXPATHL); in add_pack_dir_to_rtp() 637 pat = alloc(len); in load_pack_plugin() 675 char_u *buf = alloc(MAXPATHL); in add_pack_plugin() 760 pat = alloc(len); in ex_packadd() 828 s = alloc(STRLEN(dirnames[i]) + pat_len + 7); in ExpandRTDir() 920 s = alloc(pat_len + 26); in ExpandPackAddDir() 1481 t = alloc(STRLEN(si->sn_save_cpo) + 2); in do_source() [all …]
|
| H A D | os_mac_conv.c | 98 retval = alloc(buflen); in mac_string_convert() 109 retval = (buflen > 0) ? alloc(buflen) : NULL; in mac_string_convert() 477 result = alloc(decompLen); in mac_precompose_path() 508 result = alloc(fromLen * 6 + 1); in mac_utf16_to_utf8()
|
| H A D | crypt.c | 366 if ((buffer = alloc(header_len)) == NULL) in crypt_create_from_file() 404 *header = alloc(len); in crypt_create_for_writing() 480 *newptr = alloc(len + 50); in crypt_encode_alloc() 510 *newptr = alloc(len); in crypt_decode_alloc() 840 buf_out = (char_u *)alloc(len);
|
| H A D | findfile.c | 353 ff_expand_buffer = alloc(MAXPATHL); in vim_findfile_init() 561 char_u *buf = alloc(eb_len in vim_findfile_init() 600 temp = alloc(STRLEN(search_ctx->ffsc_wc_path) in vim_findfile_init() 734 if ((file_path = alloc(MAXPATHL)) == NULL) in vim_findfile() 1423 vp = alloc(sizeof(ff_visited_T) + STRLEN(ff_expand_buffer)); in ff_check_visited() 1881 if ((buf = alloc(MAXPATHL)) == NULL) in find_file_in_path_option() 2310 if ((buf = alloc(MAXPATHL)) == NULL) in expand_path_option() 2443 file_pattern = alloc(len + 2); in uniquefy_paths() 2460 if ((curdir = alloc(MAXPATHL)) == NULL) in uniquefy_paths() 2568 rel_path = alloc(STRLEN(short_name) + STRLEN(PATHSEPSTR) + 2); in uniquefy_paths() [all …]
|
| H A D | winclip.c | 171 *out = alloc(*outlen + 1); in WideCharToMultiByte_alloc() 246 ret = alloc(str_len == 0 ? 1 : str_len); in crnl_to_nl() 514 str = alloc(metadata.txtlen == 0 ? 1 : metadata.txtlen); in clip_mch_set_selection() 702 utf8_str = alloc(utf16_to_utf8(str, *lenp == 0 ? 1 : *lenp, NULL)); in utf16_to_enc()
|
| H A D | tag.c | 1023 fname = alloc(MAXPATHL + 1); in add_llist_tags() 1024 cmd = alloc(CMDBUFFSIZE + 1); in add_llist_tags() 1689 lbuf = alloc(lbuf_size); in find_tags() 1690 tag_fname = alloc(MAXPATHL + 1); in find_tags() 1692 ebuf = alloc(LSIZE); in find_tags() 2244 lbuf = alloc(lbuf_size); in find_tags() 2568 mfp = alloc(len + 2); in find_tags() 3344 lbuf = alloc(len); in jumpto_tag() 3348 pbuf = alloc(LSIZE); in jumpto_tag() 3748 retval = alloc(MAXPATHL); in expand_tag_fname() [all …]
|
| H A D | os_macosx.m | 60 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 150 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 177 NSString *string = [[NSString alloc]
|
| H A D | dosinst.c | 309 tmpname = alloc(strlen(cp) + 1); in findoldfile() 362 default_bat_dir = alloc(strlen(targets[i].oldbat) + 1); in find_bat_exe() 579 default_vim_dir = alloc(strlen(temp_string_buffer) + 1); in uninstall_check() 926 choices[idx].text = alloc(strlen(fmt) + strlen(arg) - 1); in alloc_text() 1004 names[count] = alloc(s - p + 1); in change_bat_choice() 1015 names = alloc((count + 1) * sizeof(char *)); in change_bat_choice() 1017 names[0] = alloc(50); in change_bat_choice() 1019 names[count] = alloc(50); in change_bat_choice() 2311 choices[choice_count].text = alloc(150); in init_directories_choice()
|
| H A D | Make_vms.mms | 309 alloc.c \ 429 alloc.obj \ 743 alloc.obj : alloc.c vim.h [.auto]config.h feature.h os_unix.h \ 789 beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \ 793 regexp.h gui.h beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h \ 801 beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \ 826 regexp.h gui.h beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h \ 921 beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \ 925 beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \ 1040 beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \ [all …]
|
| H A D | dosinst.h | 84 alloc(int len) in alloc() function 175 s = alloc(strlen(p) + 1); in searchpath_save()
|
| H A D | strings.c | 27 p = alloc(len); in vim_strsave() 44 p = alloc(len + 1); in vim_strnsave() 96 escaped_string = alloc(length); in vim_strsave_escaped_ext() 219 escaped_string = alloc(length); in vim_strsave_shellescape() 393 s = alloc(STRLEN(res) + 1 + newl - l); in strup_save() 460 s = alloc(STRLEN(res) + 1 + newl - l); in strlow_save() 753 dest = alloc(l + (str2 == NULL ? 0 : STRLEN(str2)) + 1L); in concat_str() 787 s = r = alloc(len); in string_quote()
|
| H A D | alloc.c | 149 alloc(size_t size) in alloc() function 595 char_u *ret = alloc(len); in vim_memsave() 760 s = alloc(len + 1); in ga_concat_strings()
|
| H A D | session.c | 118 buf = alloc(MAXPATHL); in ses_arglist() 995 retval = alloc(STRLEN(sname) + len + STRLEN(p_vdir) + 9); in get_view_file() 1067 mksession_cmdline = alloc(10 + (int)STRLEN(escaped_filename) + 1); in write_session_file() 1273 dirnow = alloc(MAXPATHL); in ex_mkrc() 1341 tbuf = alloc(MAXPATHL); in ex_mkrc()
|
| H A D | filepath.c | 800 cwd = alloc(MAXPATHL); in f_chdir() 1117 cwd = alloc(MAXPATHL); in f_getcwd() 2039 buf = alloc(MAXPATHL + 1); in f_resolve() 2098 cpy = alloc(STRLEN(p) + STRLEN(buf) + 1); in f_resolve() 2483 last_dir = alloc(MAXPATHL); in do_browse() 2710 dst = alloc(len); in home_replace_save() 2773 if ((exp1 = alloc(MAXPATHL * 3)) != NULL) in fullpathcmp() 3048 buf = alloc(MAXPATHL); in FullName_save() 3369 buf = alloc(MAXPATHL); in dos_expandpath() 3610 buf = alloc(STRLEN(path) + BASENAMELEN + 5); in unix_expandpath() [all …]
|
| H A D | misc1.c | 816 buf = alloc(buflen); in get_keystroke() 1305 p = alloc(MAXPATHL); in expand_env_save_opt() 1509 var = alloc(STRLEN(test) + 1); in expand_env_esc() 1794 pnew = alloc(pend1 - p + 15); in vim_getenv() 1932 envbuf = alloc(STRLEN(name) + STRLEN(val) + 2); in vim_setenv() 2321 buffer = alloc(len + 1); in get_cmd_output() 2483 s = alloc(end - start + 1); in get_cmd_output_as_rettv()
|
| H A D | register.c | 442 lp = alloc(STRLEN(*pp) + STRLEN(p) + 1); in stuff_yank() 1323 pnew = alloc(STRLEN(curr->y_array[curr->y_size - 1]) in op_yank() 1467 if ((pnew = alloc(bd->startspaces + bd->endspaces + bd->textlen + 1)) in yank_copy_line() 1898 newp = alloc(totlen + oldlen + 1); in do_put() 2056 newp = alloc(totlen + oldlen + 1); in do_put() 2106 newp = alloc(STRLEN(ptr) + totlen + 1); in do_put() 2117 newp = alloc(col + yanklen + 1); in do_put() 2676 retval = alloc(len + 1); in get_reg_contents() 2991 s = alloc(i + extra + 1); in str_to_reg()
|
| H A D | vim9script.c | 193 eap->cmd = alloc(len); in ex_incdec() 488 from_name = alloc((int)len); in handle_import() 510 from_name = alloc((int)len); in handle_import() 709 funcname = alloc(STRLEN(name) + 15); in find_exported()
|
| H A D | netbeans.c | 801 reply = alloc(STRLEN(result) + 32); in nb_reply_text() 830 char_u *buf = alloc(2 * STRLEN(txt) + 1); in nb_quote() 940 newtext = alloc(oldlen - (int)(lastbyte - first)); in nb_partialremove() 962 p = alloc(len_first + len_other + 1); in nb_joinlines() 1095 text = alloc((len > 0) ? ((len + nlines) * 2) : 4); in nb_do_cmd() 1406 newline = alloc(STRLEN(oldline) + len + 1); in nb_do_cmd() 2483 buf = alloc(MAXPATHL * 2 + 25); in netbeans_beval_cb() 2752 newtxt = alloc(newlen + 1); in netbeans_inserted() 2757 buf = alloc(128 + 2*newlen); in netbeans_inserted()
|
| H A D | bufwrite.c | 1027 buffer = alloc(WRITEBUFSIZE); in buf_write() 1315 copybuf = alloc(WRITEBUFSIZE + 1); in buf_write() 1693 write_info.bw_conv_buf = alloc(write_info.bw_conv_buflen); in buf_write() 1704 write_info.bw_conv_buf = alloc(write_info.bw_conv_buflen); in buf_write() 1714 write_info.bw_conv_buf = alloc(write_info.bw_conv_buflen); in buf_write() 1732 write_info.bw_conv_buf = alloc(write_info.bw_conv_buflen); in buf_write() 2294 errmsg = alloc(300); in buf_write()
|
| H A D | vim.h | 1605 #define ALLOC_ONE(type) (type *)alloc(sizeof(type)) 1606 #define ALLOC_MULT(type, count) (type *)alloc(sizeof(type) * (count)) 2439 # define gtk_widget_get_allocation(wid, alloc) \ argument 2440 do { *(alloc) = (wid)->allocation; } while (0) 2441 # define gtk_widget_set_allocation(wid, alloc) \ argument 2442 do { (wid)->allocation = *(alloc); } while (0)
|
| /vim-8.2.3635/src/xdiff/ |
| H A D | xpatience.c | 48 int nr, alloc; member 104 int index = (int)((record->ha << 1) % map->alloc); in insert_record() 108 if (++index >= map->alloc) in insert_record() 153 result->alloc = count1 * 2; in fill_hashmap() 155 xdl_malloc(result->alloc * sizeof(struct entry)); in fill_hashmap() 158 memset(result->entries, 0, result->alloc * sizeof(struct entry)); in fill_hashmap()
|
| H A D | xprepare.c | 48 long alloc; member 88 cf->alloc = size; in xdl_init_classifier() 89 if (!(cf->rcrecs = (xdlclass_t **) xdl_malloc(cf->alloc * sizeof(xdlclass_t *)))) { in xdl_init_classifier() 131 if (cf->count > cf->alloc) { in xdl_classify_record() 132 cf->alloc *= 2; in xdl_classify_record() 133 if (!(rcrecs = (xdlclass_t **) xdl_realloc(cf->rcrecs, cf->alloc * sizeof(xdlclass_t *)))) { in xdl_classify_record()
|
| /vim-8.2.3635/src/proto/ |
| H A D | alloc.pro | 1 /* alloc.c */ 4 void *alloc(size_t size);
|