Lines Matching refs:cur
333 const char* cur = *options_str; in GetOption() local
335 while (isspace(*cur)) ++cur; in GetOption()
337 if (*cur == '\0') { in GetOption()
338 *options_str = cur; in GetOption()
342 const char* start = cur; in GetOption()
343 while (!isspace(*cur) && *cur != '=' && *cur != '\0') ++cur; in GetOption()
345 *option = std::string(start, cur - start); in GetOption()
348 while (isspace(*cur)) ++cur; in GetOption()
351 if (*cur == '=') { in GetOption()
352 ++cur; in GetOption()
354 while (isspace(*cur)) ++cur; in GetOption()
356 start = cur; in GetOption()
357 while (!isspace(*cur) && *cur != '\0') ++cur; in GetOption()
359 if (cur != start) { in GetOption()
360 *value = std::string(start, cur - start); in GetOption()
363 *options_str = cur; in GetOption()