Lines Matching refs:strlen

531 	fname2 = alloc(strlen(CSCOPE_DBFILE) + strlen(fname) + 2);  in cs_add_common()
535 while (fname[strlen(fname)-1] == '/' in cs_add_common()
537 || fname[strlen(fname)-1] == '\\' in cs_add_common()
541 fname[strlen(fname)-1] = '\0'; in cs_add_common()
757 if ((cmd = alloc(strlen(pat) + 2)) == NULL) in cs_create_cmd()
869 len = (int)(strlen(prog) + strlen(csinfo[i].fname) + 32); in cs_create_connection()
885 len += (int)strlen(ppath); in cs_create_connection()
889 len += (int)strlen(csinfo[i].flags); in cs_create_connection()
1027 pat = opt + strlen(opt) + 1; in cs_find()
1395 if ((csinfo[i].fname = alloc(strlen(fname)+1)) == NULL) in cs_insert_filelist()
1402 if ((csinfo[i].ppath = alloc(strlen(ppath) + 1)) == NULL) in cs_insert_filelist()
1413 if ((csinfo[i].flags = alloc(strlen(flags) + 1)) == NULL) in cs_insert_filelist()
1455 len = strlen(stok); in cs_lookup_cmd()
1481 if ((strlen(stok) < 2 && VIM_ISDIGIT((int)(stok[0]))) in cs_kill()
1482 || (strlen(stok) < 3 && stok[0] == '-' in cs_kill()
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()
1720 *search = *linenumber + strlen(*linenumber) + 1; // +1 to skip \0 in cs_parse_results()
1762 context = alloc(strlen(cntx)+5); in cs_file_results()
1883 s = path + strlen(path) - 1; in cs_pathcomponents()
1921 if ((tbuf = alloc(strlen(matches[0]) + 1)) == NULL) in cs_print_tags_priv()
1932 newsize = (int)(strlen(cstag_msg) + strlen(ptag)); in cs_print_tags_priv()
1955 if ((tbuf = alloc(strlen(matches[idx]) + 1)) == NULL) in cs_print_tags_priv()
1968 lno[strlen(lno)-2] = '\0'; // ignore ;" at the end in cs_print_tags_priv()
1971 newsize = (int)(strlen(csfmt_str) + 16 + strlen(lno)); in cs_print_tags_priv()
1998 newsize = (int)(strlen(context) + strlen(cntxformat)); in cs_print_tags_priv()
2017 if (msg_col + (int)strlen(buf) >= (int)Columns) in cs_print_tags_priv()
2060 int epromptlen = (int)strlen(eprompt); in cs_read_prompt()
2065 maxlen = (int)(IOSIZE - strlen(cs_emsg)); in cs_read_prompt()
2100 for (n = 0; n < (int)strlen(CSCOPE_PROMPT); ++n) in cs_read_prompt()
2353 len = (int)(strlen(name) + 2); in cs_resolve_file()
2355 len += (int)strlen(csinfo[i].ppath); in cs_resolve_file()
2374 && (strncmp(name, csinfo[i].ppath, strlen(csinfo[i].ppath)) != 0) in cs_resolve_file()