Lines Matching refs:tstr
141 char tstr[FILE_ARR_SIZE]; in edit_power_conf_file() local
208 while (fgets (tstr, FILE_ARR_SIZE, pfile) != NULL) { in edit_power_conf_file()
209 if ((tstr == NULL) || (strlen (tstr) <= 0)) in edit_power_conf_file()
215 if (strstr (tstr, file_edit_type) == NULL) { in edit_power_conf_file()
216 fset = fset + strlen (tstr); in edit_power_conf_file()
223 if (strstr (tstr, file_edit_value) != NULL) { in edit_power_conf_file()
245 next_fset = fset + strlen(tstr); in edit_power_conf_file()
252 if (fgets (tstr, FILE_ARR_SIZE, pfile) != NULL) { in edit_power_conf_file()
255 "%s\n", tstr); in edit_power_conf_file()
258 fset = fset + strlen(tstr); in edit_power_conf_file()
259 next_fset = next_fset + strlen(tstr); in edit_power_conf_file()
262 } while (fgets (tstr, FILE_ARR_SIZE, pfile) != NULL); in edit_power_conf_file()
331 char tstr[FILE_ARR_SIZE]; in read_power_conf_file() local
357 while (fgets (tstr, FILE_ARR_SIZE, pfile) != NULL) { in read_power_conf_file()
358 if ((tstr == NULL) || (strlen (tstr) <= 0)) in read_power_conf_file()
363 if (strstr (tstr, file_edit_type) == NULL) in read_power_conf_file()
370 tpstr = strtok (tstr, " "); in read_power_conf_file()