Lines Matching refs:defpath
385 char *defpath = pythonpath; in calculate_path() local
556 char *delim = strchr(defpath, DELIM); in calculate_path()
558 if (defpath[0] != SEP) in calculate_path()
563 bufsz += delim - defpath + 1; in calculate_path()
565 bufsz += strlen(defpath) + 1; in calculate_path()
568 defpath = delim + 1; in calculate_path()
605 defpath = pythonpath; in calculate_path()
607 char *delim = strchr(defpath, DELIM); in calculate_path()
609 if (defpath[0] != SEP) { in calculate_path()
612 defpath[0] != (delim ? DELIM : L'\0')) { /* not empty */ in calculate_path()
618 size_t len = delim - defpath + 1; in calculate_path()
620 strncat(buf, defpath, len); in calculate_path()
624 strcat(buf, defpath); in calculate_path()
627 defpath = delim + 1; in calculate_path()