Home | History | Annotate | Download | only in layers

Lines Matching refs:source_

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