Lines Matching refs:value
59 char *value; // text to be reported when it changes member
77 data->value = NULL; in read_data()
85 data->value = NULL; in read_data()
91 data->value = malloc(len + 1); in read_data()
92 memcpy(data->value, buf, len); in read_data()
93 data->value[len] = '\0'; in read_data()
150 char *value = name_end + 1; in read_lines() local
151 while (isspace(*value)) ++value; in read_lines()
152 data->value = strdup(value); in read_lines()
201 char *value = name_end; in read_proc_yaffs() local
202 while (*value == '.' || isspace(*value)) ++value; in read_proc_yaffs()
203 data->value = strdup(value); in read_proc_yaffs()
307 next->value = NULL; in read_stats()
326 if (old_stats->value != NULL) { in diff_stats()
332 if (new_stats->value != NULL) { in diff_stats()
333 printf("%s + %s\n", new_stats->name, new_stats->value); in diff_stats()
338 if (new_stats->value == NULL) { in diff_stats()
339 if (old_stats->value != NULL) { in diff_stats()
342 } else if (old_stats->value == NULL) { in diff_stats()
343 printf("%s + %s\n", new_stats->name, new_stats->value); in diff_stats()
344 } else if (strcmp(old_stats->value, new_stats->value)) { in diff_stats()
345 printf("%s = %s\n", new_stats->name, new_stats->value); in diff_stats()
358 free(stats[i].value); in free_stats()
387 old_stats->value = NULL; in main()