Lines Matching refs:alloc
492 if ((fname = alloc(MAXPATHL + 1)) == NULL) in cs_add_common()
519 if ((ppath = alloc(MAXPATHL + 1)) == NULL) in cs_add_common()
531 fname2 = alloc(strlen(CSCOPE_DBFILE) + strlen(fname) + 2); in cs_add_common()
653 buf = alloc(CSREAD_BUFSIZE); in cs_cnt_matches()
757 if ((cmd = alloc(strlen(pat) + 2)) == NULL) in cs_create_cmd()
857 if ((prog = alloc(MAXPATHL + 1)) == NULL) in cs_create_connection()
873 if ((ppath = alloc(MAXPATHL + 1)) == NULL) in cs_create_connection()
891 if ((cmd = alloc(len)) == NULL) in cs_create_connection()
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()
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()
1921 if ((tbuf = alloc(strlen(matches[0]) + 1)) == NULL) in cs_print_tags_priv()
1933 buf = alloc(newsize); in cs_print_tags_priv()
1955 if ((tbuf = alloc(strlen(matches[idx]) + 1)) == NULL) in cs_print_tags_priv()
2074 buf = alloc(maxlen); in cs_read_prompt()
2360 csdir = alloc(MAXPATHL); in cs_resolve_file()
2381 if ((fullname = alloc(len)) != NULL) in cs_resolve_file()