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