Lines Matching refs:str
1133 char str[PATH_MAX] = _DEFAULT_DEVICE;
1178 while( sanei_config_read( str, sizeof(str), fp)) {
1180 DBG( _DBG_SANE_INIT, ">%s<\n", str );
1181 if( str[0] == '#') /* ignore line comments */
1184 len = strlen(str);
1189 if( 0 == strncmp(str, "option", 6)) {
1194 decodeVal( str, "warmup", _INT, &config.adj.warmup, &ival);
1195 decodeVal( str, "lampOff", _INT, &config.adj.lampOff, &ival);
1196 decodeVal( str, "lOffOnEnd", _INT, &config.adj.lampOffOnEnd,&ival);
1199 decodeVal( str, "mov", _INT, &config.adj.mov, &ival );
1203 } else if( 0 == strncmp( str, "[direct]", 8)) {
1213 } else if( 0 == strncmp( str, "[kernel]", 8 )) {
1223 } else if( SANE_TRUE == decodeDevName( str, config.devName )) {
1228 DBG( _DBG_SANE_INIT, "ignoring >%s<\n", str );