Searched defs:name_end (Results 1 - 1 of 1) sorted by relevance

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

Completed in 114 milliseconds