Lines Matching full:start_index
152 strisnan (const char *string, size_t start_index, size_t end_index)
154 if (start_index < end_index)
156 if (string[start_index] == '-')
157 start_index++;
158 if (start_index + 3 <= end_index
159 && memcmp (string + start_index, "nan", 3) == 0)
161 start_index += 3;
162 if (start_index == end_index
163 || (string[start_index] == '(' && string[end_index - 1] == ')'))
275 strisnan (const char *string, size_t start_index, size_t end_index)
277 if (start_index < end_index)
279 if (string[start_index] == '-')
280 start_index++;
281 if (start_index + 3 <= end_index
282 && memcmp (string + start_index, "nan", 3) == 0)
284 start_index += 3;
285 if (start_index == end_index
286 || (string[start_index] == '(' && string[end_index - 1] == ')'))