Lines Matching refs:bufp

1618 get_uchars(fp, buf, bufp, list, modlist, size, name)
1621 char *bufp; /* current pointer */
1632 switch(*bufp) {
1642 if (count == size || !*bufp) return count;
1643 bufp++;
1650 num = num*10 + (*bufp-'0');
1651 bufp++;
1660 bufp = buf;
1675 adjust_prefix(bufp, prefixid)
1676 char *bufp;
1681 if (!bufp) return;
1683 if ((ptr = index(bufp, ';')) != 0) *ptr = '\0';
1684 if (strlen(bufp) > 0) {
1685 fqn_prefix[prefixid] = (char *)alloc(strlen(bufp)+2);
1686 Strcpy(fqn_prefix[prefixid], bufp);
1705 char *bufp, *altp;
1713 bufp = eos(buf);
1714 while (--bufp > buf && isspace(*bufp))
1717 if (bufp <= buf)
1720 *(bufp + 1) = '\0'; /* terminate line */
1723 bufp = index(buf, '=');
1725 if (!bufp || (altp && altp < bufp)) bufp = altp;
1726 if (!bufp) return 0;
1729 do { ++bufp; } while (isspace(*bufp));
1736 parseoptions(bufp, TRUE, TRUE);
1741 add_autopickup_exception(bufp);
1745 adjust_prefix(bufp, HACKPREFIX);
1748 adjust_prefix(bufp, LEVELPREFIX);
1750 adjust_prefix(bufp, SAVEPREFIX);
1752 adjust_prefix(bufp, BONESPREFIX);
1754 adjust_prefix(bufp, DATAPREFIX);
1756 adjust_prefix(bufp, SCOREPREFIX);
1758 adjust_prefix(bufp, LOCKPREFIX);
1760 adjust_prefix(bufp, CONFIGPREFIX);
1762 adjust_prefix(bufp, TROUBLEPREFIX);
1766 (void) strncpy(hackdir, bufp, PATHLEN-1);
1773 (void) strncpy(tmp_ramdisk, bufp, PATHLEN-1);
1777 (void) strncpy(tmp_levels, bufp, PATHLEN-1);
1784 if ((ptr = index(bufp, ';')) != 0) {
1797 (void) strncpy(SAVEP, bufp, SAVESIZE-1);
1803 (void) strncpy(plname, bufp, PL_NSIZ-1);
1807 if ((len = str2role(bufp)) >= 0)
1810 (void) strncpy(dogname, bufp, PL_PSIZ-1);
1812 (void) strncpy(catname, bufp, PL_PSIZ-1);
1815 (void) get_uchars(fp, buf, bufp, &iflags.bouldersym, TRUE,
1818 len = get_uchars(fp, buf, bufp, translate, FALSE,
1822 len = get_uchars(fp, buf, bufp, translate, FALSE,
1826 len = get_uchars(fp, buf, bufp, translate, FALSE,
1830 len = get_uchars(fp, buf, bufp, translate, FALSE,
1836 (void) get_uchars(fp, buf, bufp, &(oc_syms[1]), TRUE,
1840 (void) get_uchars(fp, buf, bufp, &(monsyms[1]), TRUE,
1843 (void) get_uchars(fp, buf, bufp, translate, FALSE,
1848 (void) strncpy(wizkit, bufp, WIZKIT_MAX-1);
1861 (void) strncpy(PATH, bufp, PATHLEN-1);
1864 int val = atoi( bufp );
1869 for (i = 0, t = strtok(bufp, ",/"); t != (char *)0;
1876 if (!stricmp(bufp,"req"))
1878 else if( sscanf(bufp, "%x", &amii_scrnmode) != 1 )
1882 char *t = strtok(bufp, ",/");
1891 char *t = strtok(bufp, ",/");
1900 char *t = strtok(bufp, ",/");
1909 char *t = strtok(bufp, ",/");
1918 char *t = strtok(bufp, ",/");
1930 for (i = 0, t = strtok(bufp, ",/");
1942 for (i = 0, t = strtok(bufp, ",/");
1953 for (i = 0, t = strtok(bufp, ",/");
1962 sounddir = (char *)strdup(bufp);
1964 add_sound_mapping(bufp);
1971 qt_tilewidth=(char *)strdup(bufp);
1975 qt_tileheight=(char *)strdup(bufp);
1979 qt_fontsize=(char *)strdup(bufp);
1982 qt_compact_mode = atoi(bufp);