Lines Matching refs:line1
65 * @param line1 Line to parse to find datapoint names and values.
66 * @param len1 Length of line1.
70 static void dt_dev_parse(char *line1, int len1,
76 while (line1[i] == ' ' || line1[i] == ' ')
78 dict->key[index] = &line1[i];
80 if (line1[i] == ':') {
81 line1[i+1] = 0;
89 if (line1[j] != ' ' && line1[j] != ' ') {
90 dict->val[k] = &line1[j];
92 while (line1[n] != ' ' && line1[n] != ' ')
95 line1[n] = 0;