Lines Matching refs:buff
165 char *buff; in parse_parse_config() local
171 buff = (input_file[0]) ? input_file : DEFAULT_PARSER_LOC; in parse_parse_config()
172 if ((fp = fopen(buff, "r")) == NULL) { in parse_parse_config()
174 gettext("parser config file (%s) not found\n"), buff); in parse_parse_config()
183 while (((buff = fgets(inbuf, (sizeof (inbuf) - 1), fp)) != NULL)) { in parse_parse_config()
184 if (*buff == '#' || *buff == '%') in parse_parse_config()
187 buff[strlen(buff) - 1] = '\0'; in parse_parse_config()
188 rc = cfg_update_parser_config(cfg, buff, CFG_PARSE_CONF); in parse_parse_config()
192 rc, buff); in parse_parse_config()
206 char *buff; in parse_text_config() local
219 while (((buff = fgets(inbuf, (sizeof (inbuf) - 1), fp)) != NULL)) { in parse_text_config()
220 if (*buff == '#') in parse_text_config()
223 buff[strlen(buff) - 1] = '\0'; in parse_text_config()
224 key = strtok(buff, ":"); in parse_text_config()
228 p = &buff[strlen(key)+2]; in parse_text_config()
239 rc, buff); in parse_text_config()