Lines Matching defs:word

949   od->name = "int-constraint-word-list";
950 od->title = SANE_I18N ("(3/7) Int constraint word list");
952 "constraint word list set.");
999 od->name = "int-constraint-array-constraint-word-list";
1000 od->title = SANE_I18N ("(6/7) Int array constraint word list");
1002 "an array with a word list constraint.");
1136 od->name = "fixed-constraint-word-list";
1137 od->title = SANE_I18N ("(3/3) Fixed constraint word list");
1139 "constraint word list set.");
1295 SANE_Char *word, *end;
1297 word = 0;
1299 cp = sanei_config_get_string (line, &word);
1301 if (!word)
1304 if (strcmp (word, option_string) != 0)
1306 free(word);
1310 free (word);
1311 word = 0;
1319 cp = sanei_config_get_string (cp, &word);
1320 if (!word)
1322 if (strlen (word) == 0)
1328 if (strcmp (word, "true") != 0 && strcmp (word, "false") != 0)
1334 else if (strcmp (word, "true") == 0)
1346 cp = sanei_config_get_string (cp, &word);
1347 if (!word)
1350 int_value = (SANE_Int) strtol (word, &end, 0);
1351 if (end == word)
1360 "(%s)\n", option_string, word, strerror (errno));
1376 cp = sanei_config_get_string (cp, &word);
1377 if (!word)
1380 double_value = strtod (word, &end);
1381 if (end == word)
1390 "(%s)\n", option_string, word, strerror (errno));
1404 cp = sanei_config_get_string (cp, &word);
1405 if (!word)
1407 if (strlen (word) == 0)
1416 word);
1419 *(SANE_String *) value = strdup (word);
1430 if (word)
1431 free (word);
1645 SANE_Char line[PATH_MAX], *word = NULL;
1716 if (word)
1717 free (word);
1718 word = NULL;
1721 cp = sanei_config_get_string (line, &word);
1722 if (!word || cp == line)
1729 if (word[0] == '#')
1831 word);
1833 if (word)
1834 free (word);
2564 case opt_depth: /* Int + word list options */