/thrift-3.4.0/compiler/cpp/src/thrift/generate/ |
D | t_cl_generator.cc | 86 std::string render_const_value(t_type* type, t_const_value* value); 268 …f_vars_ << "(thrift:def-constant " << prefix(name) << " " << render_const_value(type, value) << ")" in generate_const() 277 string t_cl_generator::render_const_value(t_type* type, t_const_value* value) { in render_const_value() function in t_cl_generator 329 render_const_value(field_type, v_iter->second) << endl; in render_const_value() 344 << "(cl:cons " << render_const_value(ktype, v_iter->first) << " " in render_const_value() 345 << render_const_value(vtype, v_iter->second) << ")"; in render_const_value() 366 out << indent() << render_const_value(etype, *v_iter) << endl; in render_const_value() 400 ( (nullptr != value) ? render_const_value(type, value) : "nil" ) << in generate_cl_struct_internal()
|
D | t_d_generator.cc | 164 f_consts << render_const_value(type, (*c_iter)->get_value()) << ";" << endl; in generate_consts() 304 meta << ", q{" << render_const_value((*p_iter)->get_type(), cv) << "}"; in generate_service() 482 out << ", q{" << render_const_value((*m_iter)->get_type(), cv) << "}"; in print_struct_definition() 525 string render_const_value(t_type* type, t_const_value* value) { in render_const_value() function in t_d_generator 585 string val = render_const_value(field_type, v_iter->second); in render_const_value() 594 string key = render_const_value(ktype, v_iter->first); in render_const_value() 595 string val = render_const_value(vtype, v_iter->second); in render_const_value() 607 string val = render_const_value(etype, *v_iter); in render_const_value() 615 string val = render_const_value(etype, *v_iter); in render_const_value()
|
D | t_erl_generator.cc | 108 std::string render_const_value(t_type* type, t_const_value* value); 469 functions << const_fun_name << "(" << render_const_value(ktype, i->first) << ") -> " in generate_const_function() 470 << render_const_value(vtype, i->second); in generate_const_function() 477 functions << const_fun_name << "(" << render_const_value(ktype, i->first) << ", _) -> " in generate_const_function() 478 << render_const_value(vtype, i->second) << ";\n"; in generate_const_function() 582 … << constify(name) << ", " << render_const_value(type, value) << ")." << endl << endl; in generate_const() 590 string t_erl_generator::render_const_value(t_type* type, t_const_value* value) { in render_const_value() function in t_erl_generator 648 out << render_const_value(field_type, v_iter->second); in render_const_value() 664 out << "{" << render_const_value(ktype, i->first) << "," in render_const_value() 665 << render_const_value(vtype, i->second) << "}"; in render_const_value() [all …]
|
D | t_lua_generator.cc | 75 std::string render_const_value(t_type* type, t_const_value* value); 244 f_consts_ << render_const_value(type, value); in generate_const() 250 string t_lua_generator::render_const_value(t_type* type, t_const_value* value) { in render_const_value() function in t_lua_generator 303 out << render_const_value(g_type_string, v_iter->first); in render_const_value() 305 out << render_const_value(field_type, v_iter->second); in render_const_value() 324 indent(out) << "[" << render_const_value(ktype, v_iter->first) in render_const_value() 325 << "] = " << render_const_value(vtype, v_iter->second); in render_const_value() 346 out << "[" << render_const_value(etype, *v_iter) << "]"; in render_const_value() 612 …indent(out) << "args." << argname << " = " << render_const_value(type, (*fld_iter)->get_value()) <… in generate_service_client()
|
D | t_ocaml_generator.cc | 81 std::string render_const_value(t_type* type, t_const_value* value); 342 indent(f_consts_) << "let " << name << " = " << render_const_value(type, value) << endl << endl; in generate_const() 350 string t_ocaml_generator::render_const_value(t_type* type, t_const_value* value) { in render_const_value() function in t_ocaml_generator 419 out << render_const_value(field_type, v_iter->second); in render_const_value() 436 string key = render_const_value(ktype, v_iter->first); in render_const_value() 437 string val = render_const_value(vtype, v_iter->second); in render_const_value() 452 out << render_const_value(etype, *v_iter); in render_const_value() 465 string val = render_const_value(etype, *v_iter); in render_const_value() 624 out << " = " << render_const_value(tmember->get_type(), tmember->get_value()) << endl; in generate_ocaml_struct_member() 626 out << " option = Some " << render_const_value(tmember->get_type(), tmember->get_value()) in generate_ocaml_struct_member() [all …]
|
D | t_rb_generator.cc | 122 t_rb_ofstream& render_const_value(t_rb_ofstream& out, t_type* type, t_const_value* value); 417 render_const_value(f_consts_, type, value) << endl << endl; in generate_const() 425 t_rb_ofstream& t_rb_generator::render_const_value(t_rb_ofstream& out, in render_const_value() function in t_rb_generator 474 render_const_value(out, g_type_string, v_iter->first) << " => "; in render_const_value() 475 render_const_value(out, field_type, v_iter->second) << "," << endl; in render_const_value() 488 render_const_value(out, ktype, v_iter->first) << " => "; in render_const_value() 489 render_const_value(out, vtype, v_iter->second) << "," << endl; in render_const_value() 510 render_const_value(out, etype, *v_iter) << "," << endl; in render_const_value() 730 render_const_value(out, field_type, field_value); in generate_field_data()
|
D | t_perl_generator.cc | 84 std::string render_const_value(t_type* type, t_const_value* value); 316 f_consts_ << render_const_value(type, value); in generate_const() 325 string t_perl_generator::render_const_value(t_type* type, t_const_value* value) { in render_const_value() function in t_perl_generator 375 indent(out) << render_const_value(g_type_string, v_iter->first); in render_const_value() 377 out << render_const_value(field_type, v_iter->second); in render_const_value() 392 indent(out) << render_const_value(ktype, v_iter->first); in render_const_value() 394 out << render_const_value(vtype, v_iter->second); in render_const_value() 413 indent(out) << render_const_value(etype, *v_iter); in render_const_value() 494 dval = render_const_value((*m_iter)->get_type(), (*m_iter)->get_value()); in generate_perl_struct_definition() 506 << "} = " << render_const_value(t, (*m_iter)->get_value()) << ";" << endl; in generate_perl_struct_definition()
|
D | t_st_generator.cc | 91 std::string render_const_value(t_type* type, t_const_value* value); 362 << render_const_value(type, value) << "]!" << endl << endl; in generate_const() 370 string t_st_generator::render_const_value(t_type* type, t_const_value* value) { in render_const_value() function in t_st_generator 421 << render_const_value(field_type, v_iter->second) << ";" << endl; in render_const_value() 436 out << "at: " << render_const_value(ktype, v_iter->first); in render_const_value() 438 out << render_const_value(vtype, v_iter->second); in render_const_value() 462 out << "add: " << render_const_value(etype, *v_iter); in render_const_value()
|
D | t_rs_generator.cc | 123 void render_const_value(const string& name, t_type* ttype, t_const_value* tvalue); 131 …void render_const_value(t_type* ttype, t_const_value* tvalue, bool is_owned = true, bool is_inline… 647 render_const_value(name, ttype, tvalue); in generate_const() 655 void t_rs_generator::render_const_value(const string& name, t_type* ttype, t_const_value* tvalue) { in render_const_value() function in t_rs_generator 661 render_const_value(ttype, tvalue, false); in render_const_value() 679 render_const_value(ttype, tvalue, true, false); in render_const_value_holder() 688 void t_rs_generator::render_const_value(t_type* ttype, t_const_value* tvalue, bool is_owned, bool i… in render_const_value() function in t_rs_generator 726 render_const_value(get_true_type(ttype), tvalue, is_owned, true); in render_const_value() 786 render_const_value(elem_type, elem_value); in render_const_list() 802 render_const_value(elem_type, elem_value); in render_const_set() [all …]
|
D | t_js_generator.cc | 150 std::string render_const_value(t_type* type, t_const_value* value); 684 f_types_ << render_const_value(type, value) << ";" << endl; in generate_const() 697 string t_js_generator::render_const_value(t_type* type, t_const_value* value) { in render_const_value() function in t_js_generator 757 out << endl << indent() << render_const_value(g_type_string, v_iter->first); in render_const_value() 759 out << render_const_value(field_type, v_iter->second); in render_const_value() 779 out << indent() << render_const_value(ktype, v_iter->first); in render_const_value() 783 out << render_const_value(vtype, v_iter->second); in render_const_value() 800 out << render_const_value(etype, *v_iter); in render_const_value() 910 dval = render_const_value((*m_iter)->get_type(), (*m_iter)->get_value()); in generate_js_struct_definition() 936 << render_const_value(t, (*m_iter)->get_value()) << ";" << endl; in generate_js_struct_definition()
|
D | t_php_generator.cc | 132 std::string render_const_value(t_type* type, t_const_value* value); 631 f_consts << render_const_value((*c_iter)->get_type(), (*c_iter)->get_value()); in generate_consts() 651 string t_php_generator::render_const_value(t_type* type, t_const_value* value) { in render_const_value() function in t_php_generator 699 out << render_const_value(g_type_string, v_iter->first); in render_const_value() 701 out << render_const_value(field_type, v_iter->second); in render_const_value() 715 out << render_const_value(ktype, v_iter->first); in render_const_value() 717 out << render_const_value(vtype, v_iter->second); in render_const_value() 735 out << render_const_value(etype, *v_iter); in render_const_value() 958 dval = render_const_value((*m_iter)->get_type(), (*m_iter)->get_value()); in generate_php_struct_definition() 978 << render_const_value(t, (*m_iter)->get_value()) << ";" << endl; in generate_php_struct_definition()
|
D | t_haxe_generator.cc | 97 void render_const_value(std::ostream& out, 526 render_const_value(out, type, value); in print_const_value() 532 render_const_value(render, type, value); in render_const_value_str() 537 void t_haxe_generator::render_const_value(std::ostream& out, in render_const_value() function in t_haxe_generator 614 render_const_value(out, field_type, v_iter->second); in render_struct_initializer() 637 render_const_value(out, key_type, v_iter->first); in render_map_initializer() 639 render_const_value(out, val_type, v_iter->second); in render_map_initializer() 661 render_const_value(out, elm_type, *v_iter); in render_list_initializer() 683 render_const_value(out, elm_type, *v_iter); in render_set_initializer() 832 render_const_value( out, (*m_iter)->get_type(), (*m_iter)->get_value()); in generate_haxe_struct_definition()
|
D | t_py_generator.cc | 174 std::string render_const_value(t_type* type, t_const_value* value); 564 indent(f_consts_) << name << " = " << render_const_value(type, value); in generate_const() 573 string t_py_generator::render_const_value(t_type* type, t_const_value* value) { in render_const_value() function in t_py_generator 631 indent(out) << render_const_value(g_type_string, v_iter->first) << ": " in render_const_value() 632 << render_const_value(field_type, v_iter->second) << "," << endl; in render_const_value() 647 indent(out) << render_const_value(ktype, v_iter->first) << ": " in render_const_value() 648 << render_const_value(vtype, v_iter->second) << "," << endl; in render_const_value() 677 indent(out) << render_const_value(etype, *v_iter) << "," << endl; in render_const_value() 2665 return render_const_value(type, tfield->get_value()); in render_field_default_value()
|
D | t_dart_generator.cc | 151 std::string render_const_value(ostream& out, 586 string v2 = render_const_value(out, name, type, value); in print_const_value() 612 string val = render_const_value(out, name, field_type, v_iter->second); in print_const_value() 631 string key = render_const_value(out, name, ktype, v_iter->first); in print_const_value() 632 string val = render_const_value(out, name, vtype, v_iter->second); in print_const_value() 656 string val = render_const_value(out, name, etype, *v_iter); in print_const_value() 672 string t_dart_generator::render_const_value(ostream& out, in render_const_value() function in t_dart_generator 2199 result += " = " + render_const_value(dummy, field_name, ttype, tfield->get_value()); in declare_field()
|
D | t_swift_generator.cc | 116 void render_const_value(ostream& out, 595 render_const_value(const_interface, type, (*c_iter)->get_value()); in generate_consts() 2608 void t_swift_generator::render_const_value(ostream& out, in render_const_value() function in t_swift_generator 2666 render_const_value(out, tfield->get_type(), value); in render_const_value() 2691 render_const_value(out, ktype, v_iter->first); in render_const_value() 2693 render_const_value(out, vtype, v_iter->second); in render_const_value() 2713 render_const_value(out, etype, v_iter->first); in render_const_value() 2733 render_const_value(out, etype, v_iter->first); in render_const_value()
|
D | t_javame_generator.cc | 91 std::string render_const_value(std::ostream& out, 451 string v2 = render_const_value(out, name, type, value); in print_const_value() 454 out << name << " = " << render_const_value(out, name, type, value) << ";" << endl << endl; in print_const_value() 475 string val = render_const_value(out, name, field_type, v_iter->second); in print_const_value() 496 string key = render_const_value(out, name, ktype, v_iter->first); in print_const_value() 497 string val = render_const_value(out, name, vtype, v_iter->second); in print_const_value() 521 string val = render_const_value(out, name, etype, *v_iter); in print_const_value() 539 string t_javame_generator::render_const_value(ostream& out, in render_const_value() function in t_javame_generator 2852 result += " = " + render_const_value(dummy, tfield->get_name(), ttype, tfield->get_value()); in declare_field()
|
D | t_netstd_generator.h | 90 string render_const_value(ostream& out, string name, t_type* type, t_const_value* value);
|
D | t_go_generator.cc | 878 indent(f_consts_) << "const " << name << " = " << render_const_value(type, value, name) << endl; in generate_const() 880 f_const_values_ << indent() << name << " = " << render_const_value(type, value, name) << endl in generate_const() 892 string t_go_generator::render_const_value(t_type* type, t_const_value* value, const string& name, b… in render_const_value() function in t_go_generator 1081 << render_const_value(field_type, v_iter->second, name, is_optional) << "," << endl; in render_const_value() 1096 out << indent() << render_const_value(ktype, v_iter->first, name) << ": " in render_const_value() 1097 << render_const_value(vtype, v_iter->second, name) << "," << endl; in render_const_value() 1110 out << indent() << render_const_value(etype, *v_iter, name) << ", "; in render_const_value() 1123 out << indent() << render_const_value(etype, *v_iter, name) << ", "; in render_const_value() 1325 out << " = " << render_const_value(fieldType, def_value, (*m_iter)->get_name()); in generate_go_struct_definition() 3726 return render_const_value(type, tfield->get_value(), name); in render_field_initial_value()
|
D | t_go_generator.h | 110 std::string render_const_value(t_type* type,
|
D | t_netstd_generator.cc | 404 string val = render_const_value(out, name, field_type, v_iter->second); in print_const_def_value() 418 string key = render_const_value(out, name, ktype, v_iter->first); in print_const_def_value() 419 string val = render_const_value(out, name, vtype, v_iter->second); in print_const_def_value() 439 string val = render_const_value(out, name, etype, *v_iter); in print_const_def_value() 476 string v2 = render_const_value(out, name, type, value); in print_const_value() 506 string t_netstd_generator::render_const_value(ostream& out, string name, t_type* type, t_const_valu… in render_const_value() function in t_netstd_generator 3488 return " = " + render_const_value(dummy, tfield->get_name(), ttype, tfield->get_value()); in initialize_field()
|
D | t_cpp_generator.cc | 129 std::string render_const_value(std::ostream& out, 782 string v2 = render_const_value(out, name, type, value); in print_const_value() 806 string item_val = render_const_value(out, name, field_type, v_iter->second); in print_const_value() 819 string key = render_const_value(out, name, ktype, v_iter->first); in print_const_value() 820 string item_val = render_const_value(out, name, vtype, v_iter->second); in print_const_value() 829 string item_val = render_const_value(out, name, etype, *v_iter); in print_const_value() 838 string item_val = render_const_value(out, name, etype, *v_iter); in print_const_value() 850 string t_cpp_generator::render_const_value(ostream& out, in render_const_value() function in t_cpp_generator 1183 dval += render_const_value(out, (*m_iter)->get_name(), t, cv); in generate_struct_declaration()
|
D | t_java_generator.cc | 170 std::string render_const_value(std::ostream& out, t_type* type, t_const_value* value); 698 string v2 = render_const_value(out, type, value); in print_const_value() 701 out << name << " = " << render_const_value(out, type, value) << ";" << endl << endl; in print_const_value() 724 string val = render_const_value(out, field_type, v_iter->second); in print_const_value() 750 string key = render_const_value(out, ktype, v_iter->first); in print_const_value() 751 string val = render_const_value(out, vtype, v_iter->second); in print_const_value() 779 string val = render_const_value(out, etype, *v_iter); in print_const_value() 792 string t_java_generator::render_const_value(ostream& out, t_type* type, t_const_value* value) { in render_const_value() function in t_java_generator 986 << render_const_value(out, type, (*m_iter)->get_value()) << ");" << endl; in generate_union_constructor() 4717 result += " = " + render_const_value(dummy, ttype, tfield->get_value()); in declare_field()
|
D | t_delphi_generator.cc | 218 std::string render_const_value(std::ostream& local_vars, 1183 string val = render_const_value(vars, out, name, field_type, v_iter->second); in print_const_def_value() 1194 string key = render_const_value(vars, out, name, ktype, v_iter->first); in print_const_def_value() 1195 string val = render_const_value(vars, out, name, vtype, v_iter->second); in print_const_def_value() 1210 string val = render_const_value(vars, out, name, etype, *v_iter); in print_const_def_value() 1242 string v2 = render_const_value(vars, out, name, type, value); in print_const_prop() 1292 string t_delphi_generator::render_const_value(ostream& vars, in render_const_value() function in t_delphi_generator
|