Lines Matching refs:configBuf
108 static char *configBuf, *configRBuf; /* buffer for lines */
125 * newline; we need to grow configBuf and configRBuf as needed to
168 free(configBuf);
171 configBuf = tmpConfigBuf;
179 ret = fgets(configBuf + pos, configBufLen - pos - 1,
188 strcpy(&configBuf[pos], "\n");
189 ret = configBuf;
197 c = configBuf[i];
214 tmpConfigBuf = realloc(configBuf, configBufLen + CONFIG_BUF_LEN);
227 if (tmpConfigBuf) configBuf = tmpConfigBuf;
236 configBuf = tmpConfigBuf;
272 c = configBuf[configPos];
289 ret = strncpy(configBuf, builtinConfig[builtinIndex],
315 c = configBuf[configPos++];
335 configRBuf[i++] = (c = configBuf[configPos++]);
347 else if ((c == ',') && !isalpha (configBuf[configPos]))
351 else if ((c == '-') && !isalpha (configBuf[configPos]))
364 if ((configBuf[configPos] == 'x') ||
365 (configBuf[configPos] == 'X'))
383 while (isdigit (c = configBuf[configPos++]) ||
403 configRBuf[++i] = (c = configBuf[configPos++]);
422 configRBuf[++i] = (c = configBuf[configPos++]);
885 configBuf = malloc(CONFIG_BUF_LEN);
887 configBuf[0] = '\0'; /* sanity ... */
975 free (configBuf);
976 configBuf = NULL;