Lines Matching refs:line
39 char line[READ_LEN_MAX + 1]; in entry_check_and_copy() local
44 while (fgets(line, sizeof(line), fin) == line) { in entry_check_and_copy()
45 if (strstr(line, name_tmp) != NULL) { in entry_check_and_copy()
49 if (fputs(line, fout) < 0) { in entry_check_and_copy()
92 char line[READ_LEN_MAX + 1]; in settings_custom_load() local
94 while (fgets(line, sizeof(line), fp) == line) { in settings_custom_load()
96 if (arg->subtree != NULL && !strstr(line, arg->subtree)) { in settings_custom_load()
100 char *pos = strchr(line, '='); in settings_custom_load()
102 if (pos <= line) { in settings_custom_load()
106 vallen = strlen(line) - (pos - line) - 2; in settings_custom_load()
107 LOG_DBG("loading entry: %s", line); in settings_custom_load()
113 int err = settings_call_set_handler(line, vallen / 2, settings_line_read_cb, in settings_custom_load()