Lines Matching defs:comma
649 // Skips to the first non-space char after the first comma in 'str';
650 // returns NULL if no comma is found in 'str'.
652 const char* comma = strchr(str, ',');
653 if (comma == nullptr) {
656 while (IsSpace(*(++comma))) {
658 return comma;
661 // Returns the prefix of 'str' before the first comma in it; returns
662 // the entire string if it contains no comma.
664 const char* comma = strchr(str, ',');
665 return comma == nullptr ? str : std::string(str, comma);