Lines Matching refs:source_
61 ParameterName(const char *source) : source_(source) { assert(IsValid()); } in ParameterName()
70 ParameterName(const std::string &source) : source_(source) { assert(IsValid()); } in ParameterName()
79 ParameterName(const std::string &&source) : source_(std::move(source)) { assert(IsValid()); } in ParameterName()
90 …ParameterName(const std::string &source, const IndexVector &args) : source_(source), args_(args) {… in ParameterName()
101 …ParameterName(const std::string &&source, const IndexVector &&args) : source_(std::move(source)), … in ParameterName()
106 std::string get_name() const { return (args_.empty()) ? source_ : Format(); } in get_name()
116 current = source_.find(IndexFormatSpecifier, last); in Format()
120 format << source_.substr(last, (current - last)) << index; in Format()
124 format << source_.substr(last, std::string::npos); in Format()
133 std::string::size_type pos = source_.find(IndexFormatSpecifier); in IsValid()
137 pos = source_.find(IndexFormatSpecifier, pos + 1); in IsValid()
144 std::string source_; ///< Format string.