Lines Matching defs:comma
633 // Skips to the first non-space char after the first comma in 'str';
634 // returns NULL if no comma is found in 'str'.
636 const char* comma = strchr(str, ',');
637 if (comma == nullptr) {
640 while (IsSpace(*(++comma))) {
642 return comma;
645 // Returns the prefix of 'str' before the first comma in it; returns
646 // the entire string if it contains no comma.
648 const char* comma = strchr(str, ',');
649 return comma == nullptr ? str : std::string(str, comma);