Lines Matching refs:line
425 char *line, const char *filename) {
429 assert(line[0] == ' ');
431 value = strchr(line, '=');
433 log_error("Warning, key-value pair expected but got \"%s\", ignoring", line);
441 while (isblank(line[0]) && isblank(line[1]))
442 line++;
444 if (isempty(line + 1)) {
446 line, value);
451 trie_insert(trie, trie->root, udev_list_entry_get_name(entry), line, value);
463 char line[LINE_MAX];
474 while (fgets(line, sizeof(line), f)) {
480 /* comment line */
481 if (line[0] == '#')
485 pos = strchr(line, '#');
490 len = strlen(line);
491 while (len > 0 && isspace(line[len-1]))
493 line[len] = '\0';
500 if (line[0] == ' ') {
501 log_error("Warning, match expected but got indented property \"%s\", ignoring line", line);
508 udev_list_entry_add(&match_list, line, NULL);
520 if (line[0] != ' ') {
522 udev_list_entry_add(&match_list, line, NULL);
528 err = insert_data(trie, &match_list, line, filename);
541 if (line[0] != ' ') {
542 log_error("Warning, property or empty line expected, got \"%s\", ignoring record", line);
549 err = insert_data(trie, &match_list, line, filename);