Home | History | Annotate | Download | only in cpp

Lines Matching refs:vars

95   map<string, string> vars;
96 vars["extendee" ] = ExtendeeClassName(descriptor_);
97 vars["number" ] = SimpleItoa(descriptor_->number());
98 vars["type_traits" ] = type_traits_;
99 vars["name" ] = descriptor_->name();
100 vars["field_type" ] = SimpleItoa(static_cast<int>(descriptor_->type()));
101 vars["packed" ] = descriptor_->options().packed() ? "true" : "false";
102 vars["constant_name"] = FieldConstantName(descriptor_);
108 vars["qualifier"] = "extern";
110 vars["qualifier"] = options_.dllexport_decl + " " + vars["qualifier"];
113 vars["qualifier"] = "static";
116 printer->Print(vars,
131 map<string, string> vars;
132 vars["extendee" ] = ExtendeeClassName(descriptor_);
133 vars["type_traits" ] = type_traits_;
134 vars["name" ] = name;
135 vars["constant_name"] = FieldConstantName(descriptor_);
136 vars["default" ] = DefaultValue(descriptor_);
137 vars["field_type" ] = SimpleItoa(static_cast<int>(descriptor_->type()));
138 vars["packed" ] = descriptor_->options().packed() ? "true" : "false";
139 vars["scope" ] = scope;
147 vars["global_name"] = global_name;
148 printer->Print(vars,
152 vars["default"] = global_name + "_default";
157 printer->Print(vars,
163 printer->Print(vars,
170 map<string, string> vars;
171 vars["extendee" ] = ExtendeeClassName(descriptor_);
172 vars["number" ] = SimpleItoa(descriptor_->number());
173 vars["field_type" ] = SimpleItoa(static_cast<int>(descriptor_->type()));
174 vars["is_repeated"] = descriptor_->is_repeated() ? "true" : "false";
175 vars["is_packed" ] = (descriptor_->is_repeated() &&
181 printer->Print(vars,
190 printer->Print(vars,
199 printer->Print(vars,