Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 25 of 145) sorted by relevance

123456

/vim-8.2.3635/src/
H A Dif_cscope.c531 fname2 = alloc(strlen(CSCOPE_DBFILE) + strlen(fname) + 2); in cs_add_common()
869 len = (int)(strlen(prog) + strlen(csinfo[i].fname) + 32); in cs_create_connection()
885 len += (int)strlen(ppath); in cs_create_connection()
1027 pat = opt + strlen(opt) + 1; in cs_find()
1455 len = strlen(stok); in cs_lookup_cmd()
1577 amt = (int)(strlen(fname) + strlen(slno) + strlen(tagstr) + strlen(search)+6); in cs_make_vim_style_matches()
1585 amt = (int)(strlen(fname) + strlen(slno) + strlen(tagstr) + 5); in cs_make_vim_style_matches()
1883 s = path + strlen(path) - 1; in cs_pathcomponents()
1932 newsize = (int)(strlen(cstag_msg) + strlen(ptag)); in cs_print_tags_priv()
1971 newsize = (int)(strlen(csfmt_str) + 16 + strlen(lno)); in cs_print_tags_priv()
[all …]
H A Dgui_at_fs.c284 len = strlen(str); in SFreplaceText()
306 len = strlen(str); in SFexpand()
361 len = strlen(str); in SFfindFile()
379 last = strlen(name) - 1; in SFfindFile()
394 last = strlen(name) - 1; in SFfindFile()
916 last = strlen(str) - 1; in SFcheckFiles()
1312 len = strlen(shown); in SFstatAndCheck()
1375 strlen(entry->shown)); in SFdrawStrings()
1446 strlen(dir->dir)); in SFdrawList()
1455 strlen(dir->dir)); in SFdrawList()
[all …]
H A Ddosinst.c195 runtimeidx = strlen(installdir) - strlen(VIM_VERSION_NODOT); in check_unpack()
249 plen = strlen(p); in pathcmp()
251 qlen = strlen(q); in pathcmp()
293 size_t indir_l = strlen(installdir); in findoldfile()
309 tmpname = alloc(strlen(cp) + 1); in findoldfile()
926 choices[idx].text = alloc(strlen(fmt) + strlen(arg) - 1); in alloc_text()
1001 s = p + strlen(p); in change_bat_choice()
1418 (LPBYTE)data, (DWORD)(1 + strlen(data))); in reg_set_string_value()
2107 long path_length = strlen(path); in dir_remove_last()
2174 && strlen(homedrive) + strlen(homepath) < sizeof(buf)) in init_homedir()
[all …]
H A Dtermlib.c96 int tlen = strlen(term); in tgetent()
129 len = strlen(tbuf); in tgetent()
146 int tlen = strlen(term); in getent()
183 int llen = strlen(lbuf); in nextent()
277 int len = strlen(id); in tgetstr()
H A Dos_vms.c99 des->dsc$w_length = str ? strlen(str) : 0; in vul_desc()
247 lengte = strlen(sbuf) + 1; in mch_getenv()
271 vul_item(&itmlst.equ, value ? strlen(value) : 0, value ? LNM$_STRING : 0, in mch_setenv()
304 int i,nlen = strlen(name); in vms_tolower()
353 len = strlen(inbuf); // how many chars we got? in vms_read()
360 len = strlen(inbuf); // return the total length in vms_read()
654 len = strlen(instring) + 1; in vms_fixfilename()
H A Dos_vms_mms.c53 buf[strlen(buf)-1] = '\0'; in main()
66 buf[strlen(buf)-1] = '\0'; in main()
H A Ddosinst.h175 s = alloc(strlen(p) + 1); in searchpath_save()
412 int len = strlen(name); in add_pathsep()
471 for (i = strlen(path) - 1; i > 0; --i) in remove_tail()
H A Dversion.c67 size_t len = strlen(msg) in init_longVersion()
68 + strlen(VIM_VERSION_LONG_ONLY) in init_longVersion()
69 + strlen(VIM_VERSION_DATE_ONLY) in init_longVersion()
70 + strlen(date_time); in init_longVersion()
/vim-8.2.3635/src/testdir/
H A Dtest_shortpathname.vim55 call TestIt(file1, ':.:8', strpart(resfile1, strlen(resdir1)+1))
56 call TestIt(nofile1, ':.:8', strpart(resnofile1, strlen(resdir1)+1))
57 call TestIt(file2, ':.:8', strpart(resfile2, strlen(resdir1)+1))
58 call TestIt(nofile2, ':.:8', strpart(resnofile2, strlen(resdir1)+1))
60 call TestIt(file1, ':~:8', '~' . strpart(resfile1, strlen(resdir1)))
61 call TestIt(nofile1, ':~:8', '~' . strpart(resnofile1, strlen(resdir1)))
62 call TestIt(file2, ':~:8', '~' . strpart(resfile2, strlen(resdir1)))
63 call TestIt(nofile2, ':~:8', '~' . strpart(resnofile2, strlen(resdir1)))
H A Dtest_listdict.vim15 let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]
16 call assert_equal("[1, 'as''d', [1, 2, function('strlen')], {'a': 1}]", string(l))
33 let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]
34 call assert_equal([1, 'as''d', [1, 2, function('strlen')], {'a': 1}], l[:])
35 call assert_equal(['as''d', [1, 2, function('strlen')], {'a': 1}], l[1:])
36 call assert_equal([1, 'as''d', [1, 2, function('strlen')]], l[:-2])
37 call assert_equal([1, 'as''d', [1, 2, function('strlen')], {'a': 1}], l[0:8])
67 VAR l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]
83 VAR l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]
275 let d = {001: 'asd', 'b': [1, 2, function('strlen')], -1: {'a': 1},}
[all …]
/vim-8.2.3635/runtime/indent/
H A Drhelp.vim53 let openb = strlen(line) - strlen(line2)
55 let closeb = strlen(line2) - strlen(line3)
80 let openb = strlen(line) - strlen(line2)
82 let closeb = strlen(line2) - strlen(line3)
H A Dr.vim37 let llen = strlen(a:line)
89 let llen = strlen(a:line)
113 let openp = strlen(a:line) - strlen(line2)
115 let closep = strlen(line2) - strlen(line3)
145 let elsenr += strlen(line) - strlen(line2)
167 let llen = strlen(line)
321 let ind = strlen(line)
H A Dsqlanywhere.vim94 " \ (strlen(rp) - strlen(lp))
95 return (strlen(rp) - strlen(lp))
98 " \ (strlen(lp) - strlen(rp))
99 return (strlen(lp) - strlen(rp))
379 " elseif strpart( line, strlen(line)-1, 1 ) =~ ')'
H A Dawk.vim155 let openb = strlen( a:line ) - strlen( line2 )
157 let closeb = strlen( line2 ) - strlen( line3 )
225 let line_len = strlen( a:this_line ) - line_base
H A Dxml.vim67 return strlen(substitute(s, "[^\1].*$", '', ''))
74 let syn2 = synIDattr(synID(a:lnum, strlen(getline(a:lnum)) - 1, 1), 'name')
133 let syn_name_end = synIDattr(synID(a:lnum, strlen(curline) - 1, 1), 'name')
135 let prev_syn_name_end = synIDattr(synID(ptag, strlen(pline) - 1, 1), 'name')
H A Dscala.vim49 return strlen(open) - strlen(close)
160 if strlen(line) == 0
164 if strlen(line) == 0
168 if strlen(line) == 0
174 while counter < strlen(line)
H A Djava.vim99 if strlen(cont_kw) > 0
100 let amount = strlen(cont_kw) + 1
H A Doccam.vim103 while strlen(tabstr) < &tabstop
119 while strlen(tabstr) < &tabstop
/vim-8.2.3635/runtime/tools/
H A Dxcmdsrv_client.c169 length = strlen(name) + strlen(cmd) + 10; in sendToVim()
184 length += strlen(property + length + 1) + 1; in sendToVim()
359 && (strncmp(name, p + 1, strlen(name)) == 0)) in LookupName()
575 int len = strlen(str); in IsSerialName()
H A Dccfilter.c127 CWDlen = strlen(CWD); in main()
290 { Col = strlen(Line2)-1; in main()
/vim-8.2.3635/runtime/autoload/
H A Dgnat.vim64 elseif strlen (self.Project_File) > 0
72 if strlen (v:this_session) > 0
76 "if strlen (self.Project_File) > 0
101 elseif strlen (v:servername) > 0
/vim-8.2.3635/runtime/pack/dist/opt/matchit/autoload/
H A Dmatchit.vim81 let default = escape(&mps, '[$^.*~\\/?]') . (strlen(&mps) ? "," : "") .
134 let suf = strlen(matchline) - endcol
203 let b:match_tail = (strlen(mid) ? mid.'\|' : '') . fin
237 if strlen(a:options)
369 let len = strlen(a:string)
387 let len = strlen(a:string)
401 let start = len - strlen(match)
416 let len = len - start - strlen(match)
437 return strlen(foo)
705 " let suf = strlen(matchline) - matchend(matchline, regexp)
[all …]
/vim-8.2.3635/runtime/pack/dist/opt/justify/plugin/
H A Djustify.vim245 let indent_n = strlen(indent_str)
249 if strlen(indent_orig) > 0
251 let indent_n = strlen(matchstr(str, '^\s*'))
268 " Note that str_n may be less than strlen(str) [joinspaces above]
272 let s_nr = strlen(substitute(str, '\S', '', 'g') ) - join_n
/vim-8.2.3635/runtime/ftplugin/
H A Dgitcommit.vim40 if strpart(getcwd(),0,strlen(tree)) == tree
51 if strpart(getcwd(),0,strlen(tree)) != tree
/vim-8.2.3635/runtime/syntax/
H A Deruby.vim48 …let b:eruby_nest_level = strlen(substitute(substitute(&filetype,'\C\<eruby\>','@','g'),'[^@]','','…
50 …let b:eruby_nest_level = strlen(substitute(substitute(substitute(expand("%:t"),'@','','g'),'\c\.\%…

123456