Home
last modified time | relevance | path

Searched refs:name_end (Results 1 – 1 of 1) sorted by relevance

/packages/experimental/procstatlog/
Dprocstatlog.c139 char *name_end = strchr(line, delimiter); in read_lines() local
140 if (name_end == NULL) continue; in read_lines()
144 data->name = malloc(filename_len + 1 + (name_end - line) + 1); in read_lines()
147 unspace(data->name + filename_len + 1, line, name_end - line); in read_lines()
148 data->name[filename_len + 1 + (name_end - line)] = '\0'; in read_lines()
150 char *value = name_end + 1; in read_lines()
190 char *name_end = line + strcspn(line, " ."); in read_proc_yaffs() local
191 if (name_end == line || *name_end == '\0') continue; in read_proc_yaffs()
194 data->name = malloc(12 + device_len + 1 + (name_end - line) + 1); in read_proc_yaffs()
198 unspace(data->name + 12 + device_len + 1, line, name_end - line); in read_proc_yaffs()
[all …]