Lines Matching refs:ppath

388 cs_connection(int num, char_u *dbpath, char_u *ppath)  in cs_connection()  argument
415 && ((!ppath && !csinfo[i].ppath) in cs_connection()
416 || (ppath in cs_connection()
417 && csinfo[i].ppath in cs_connection()
418 && strstr(csinfo[i].ppath, (char *)ppath)))) in cs_connection()
423 && ((!ppath && !csinfo[i].ppath) in cs_connection()
424 || (ppath in cs_connection()
425 && csinfo[i].ppath in cs_connection()
426 && (strcmp(csinfo[i].ppath, (char *)ppath) == 0)))) in cs_connection()
449 char *fname, *ppath, *flags = NULL; in cs_add() local
456 if ((ppath = strtok((char *)NULL, (const char *)" ")) != NULL) in cs_add()
459 return cs_add_common(fname, ppath, flags); in cs_add()
485 char *ppath = NULL; in cs_add_common() local
519 if ((ppath = alloc(MAXPATHL + 1)) == NULL) in cs_add_common()
522 expand_env((char_u *)arg2, (char_u *)ppath, MAXPATHL); in cs_add_common()
523 ret = mch_stat(ppath, &statbuf2); in cs_add_common()
558 i = cs_insert_filelist(fname2, ppath, flags, &statbuf); in cs_add_common()
562 i = cs_insert_filelist(fname, ppath, flags, &statbuf); in cs_add_common()
593 vim_free(ppath); in cs_add_common()
599 vim_free(ppath); in cs_add_common()
777 char *prog, *cmd, *ppath = NULL; in cs_create_connection() local
870 if (csinfo[i].ppath) in cs_create_connection()
873 if ((ppath = alloc(MAXPATHL + 1)) == NULL) in cs_create_connection()
883 expand_env((char_u *)csinfo[i].ppath, (char_u *)ppath, MAXPATHL); in cs_create_connection()
885 len += (int)strlen(ppath); in cs_create_connection()
894 vim_free(ppath); in cs_create_connection()
910 if (csinfo[i].ppath != NULL) in cs_create_connection()
913 (void)strcat(cmd, csinfo[i].ppath); in cs_create_connection()
924 vim_free(ppath); in cs_create_connection()
1280 csinfo[i].ppath = NULL; in clear_csinfo()
1304 char *ppath, in cs_insert_filelist() argument
1400 if (ppath != NULL) in cs_insert_filelist()
1402 if ((csinfo[i].ppath = alloc(strlen(ppath) + 1)) == NULL) in cs_insert_filelist()
1407 (void)strcpy(csinfo[i].ppath, (const char *)ppath); in cs_insert_filelist()
1409 csinfo[i].ppath = NULL; in cs_insert_filelist()
1416 VIM_CLEAR(csinfo[i].ppath); in cs_insert_filelist()
2261 vim_free(csinfo[i].ppath); in cs_release_csp()
2297 pplist[i] = csinfo[i].ppath; in cs_reset()
2354 if (csinfo[i].ppath != NULL) in cs_resolve_file()
2355 len += (int)strlen(csinfo[i].ppath); in cs_resolve_file()
2373 if (csinfo[i].ppath != NULL in cs_resolve_file()
2374 && (strncmp(name, csinfo[i].ppath, strlen(csinfo[i].ppath)) != 0) in cs_resolve_file()
2382 (void)sprintf(fullname, "%s/%s", csinfo[i].ppath, name); in cs_resolve_file()
2419 if (csinfo[i].ppath != NULL) in cs_show()
2421 i, (long)csinfo[i].pid, csinfo[i].fname, csinfo[i].ppath); in cs_show()