Lines Matching refs:lp
321 const char *lp;
341 lp = line;
344 if (*lp == '#')
348 if (*lp == 0)
351 if ((strncmp ("usb", lp, 3) == 0) && isspace (lp[3])) {
352 DBG (15, "sane_get_devices: looking for '%s'\n", lp);
353 sanei_usb_attach_matching_devices(lp, attach_one);
356 else if (!strncmp(lp, "has_cal_buffer", 14) && isspace (lp[14])) {
359 lp += 14;
360 lp = sanei_config_skip_whitespace (lp);
361 buf = atoi (lp);
374 else if (!strncmp(lp, "lines_per_block", 15) && isspace (lp[15])) {
377 lp += 15;
378 lp = sanei_config_skip_whitespace (lp);
379 buf = atoi (lp);
394 DBG (5, "sane_get_devices: config line \"%s\" ignored.\n", lp);