Lines Matching refs:str2
85 char *str2;
87 val = strtod(str, &str2); /* get first numeric field */
88 if (str2 == str)
91 if (*str2 == ':') { /* that was hours (or minutes) */
93 str = str2 + 1;
94 val += strtod(str, &str2); /* another field is required */
95 if (str2 == str)
99 if (*str2 == ':') { /* converted hours and minutes */
101 str = str2 + 1;
102 val += strtod(str, &str2); /* another field is required */
103 if (str2 == str)
107 if (*str2 != '\0')