Home
last modified time | relevance | path

Searched defs:tstruct (Results 1 – 25 of 34) sorted by relevance

12

/thrift-3.4.0/compiler/cpp/src/thrift/generate/
Dt_java_generator.cc855 void t_java_generator::generate_struct(t_struct* tstruct) { in generate_struct()
877 void t_java_generator::generate_java_struct(t_struct* tstruct, bool is_exception) { in generate_java_struct()
895 void t_java_generator::generate_java_union(t_struct* tstruct) { in generate_java_union()
975 void t_java_generator::generate_union_constructor(ostream& out, t_struct* tstruct) { in generate_union_constructor()
1040 void t_java_generator::generate_union_getters_and_setters(ostream& out, t_struct* tstruct) { in generate_union_getters_and_setters()
1152 void t_java_generator::generate_union_is_set_methods(ostream& out, t_struct* tstruct) { in generate_union_is_set_methods()
1175 void t_java_generator::generate_union_abstract_methods(ostream& out, t_struct* tstruct) { in generate_union_abstract_methods()
1196 void t_java_generator::generate_check_type(ostream& out, t_struct* tstruct) { in generate_check_type()
1234 void t_java_generator::generate_standard_scheme_read_value(ostream& out, t_struct* tstruct) { in generate_standard_scheme_read_value()
1294 void t_java_generator::generate_standard_scheme_write_value(ostream& out, t_struct* tstruct) { in generate_standard_scheme_write_value()
[all …]
Dt_javame_generator.cc617 void t_javame_generator::generate_struct(t_struct* tstruct) { in generate_struct()
639 void t_javame_generator::generate_java_struct(t_struct* tstruct, bool is_exception) { in generate_java_struct()
656 void t_javame_generator::generate_java_union(t_struct* tstruct) { in generate_java_union()
703 void t_javame_generator::generate_union_constructor(ostream& out, t_struct* tstruct) { in generate_union_constructor()
734 void t_javame_generator::generate_union_getters_and_setters(ostream& out, t_struct* tstruct) { in generate_union_getters_and_setters()
776 void t_javame_generator::generate_union_abstract_methods(ostream& out, t_struct* tstruct) { in generate_union_abstract_methods()
789 void t_javame_generator::generate_check_type(ostream& out, t_struct* tstruct) { in generate_check_type()
825 void t_javame_generator::generate_read_value(ostream& out, t_struct* tstruct) { in generate_read_value()
879 void t_javame_generator::generate_write_value(ostream& out, t_struct* tstruct) { in generate_write_value()
914 void t_javame_generator::generate_get_field_desc(ostream& out, t_struct* tstruct) { in generate_get_field_desc()
[all …]
Dt_kotlin_generator.cc415 void t_kotlin_generator::generate_struct(t_struct* tstruct) { in generate_struct()
432 void t_kotlin_generator::generate_kotlin_struct(t_struct* tstruct, bool is_exception) { in generate_kotlin_struct()
442 t_struct* tstruct) { in generate_struct_field_name_constants()
517 void t_kotlin_generator::generate_struct_companion_object(std::ostream& out, t_struct* tstruct) { in generate_struct_companion_object()
637 void t_kotlin_generator::generate_struct_method_deep_copy(std::ostream& out, t_struct* tstruct) { in generate_struct_method_deep_copy()
655 void t_kotlin_generator::generate_struct_method_compare_to(std::ostream& out, t_struct* tstruct) { in generate_struct_method_compare_to()
692 void t_kotlin_generator::generate_struct_method_is_set(std::ostream& out, t_struct* tstruct) { in generate_struct_method_is_set()
720 void t_kotlin_generator::generate_struct_method_clear(std::ostream& out, t_struct* tstruct) { in generate_struct_method_clear()
734 void t_kotlin_generator::generate_struct_method_validate(std::ostream& out, t_struct* tstruct) { in generate_struct_method_validate()
760 t_struct* tstruct) { in generate_struct_method_set_field_value()
[all …]
Dt_rb_generator.cc527 void t_rb_generator::generate_struct(t_struct* tstruct) { in generate_struct()
543 void t_rb_generator::generate_forward_declaration(t_struct* tstruct) { in generate_forward_declaration()
547 void t_rb_generator::generate_rb_struct_declaration(t_rb_ofstream& out, t_struct* tstruct, bool is_… in generate_rb_struct_declaration()
572 t_struct* tstruct, in generate_rb_struct()
602 t_struct* tstruct, in generate_rb_union()
623 void t_rb_generator::generate_field_constructors(t_rb_ofstream& out, t_struct* tstruct) { in generate_field_constructors()
649 t_struct* tstruct) { in generate_rb_simple_exception_constructor()
672 void t_rb_generator::generate_field_constants(t_rb_ofstream& out, t_struct* tstruct) { in generate_field_constants()
685 void t_rb_generator::generate_field_defns(t_rb_ofstream& out, t_struct* tstruct) { in generate_field_defns()
1118 string t_rb_generator::argument_list(t_struct* tstruct) { in argument_list()
[all …]
Dt_cpp_generator.cc122 void generate_struct(t_struct* tstruct) override { generate_cpp_struct(tstruct, false); } in generate_struct()
897 void t_cpp_generator::generate_forward_declaration(t_struct* tstruct) { in generate_forward_declaration()
909 void t_cpp_generator::generate_cpp_struct(t_struct* tstruct, bool is_exception) { in generate_cpp_struct()
938 t_struct* tstruct, in generate_copy_constructor()
944 t_struct* tstruct, in generate_move_constructor()
960 t_struct* tstruct, in generate_constructor_helper()
1007 void t_cpp_generator::generate_assignment_operator(ostream& out, t_struct* tstruct) { in generate_assignment_operator()
1011 void t_cpp_generator::generate_move_assignment_operator(ostream& out, t_struct* tstruct) { in generate_move_assignment_operator()
1015 void t_cpp_generator::generate_assignment_helper(ostream& out, t_struct* tstruct, bool is_move) { in generate_assignment_helper()
1064 t_struct* tstruct, in generate_struct_declaration()
[all …]
Dt_swift_generator.cc250 bool struct_has_required_fields(t_struct* tstruct) { in struct_has_required_fields()
261 bool struct_has_optional_fields(t_struct* tstruct) { in struct_has_optional_fields()
615 void t_swift_generator::generate_struct(t_struct* tstruct) { in generate_struct()
667 t_struct* tstruct, in generate_swift_struct()
747 t_struct* tstruct, in generate_old_swift_struct()
799 t_struct* tstruct, in generate_swift_struct_init()
858 t_struct* tstruct, in generate_swift_struct_hashable_extension()
900 t_struct* tstruct, in generate_swift_struct_equatable_extension()
962 t_struct* tstruct, in generate_swift_struct_implementation()
988 t_struct* tstruct, in generate_swift_struct_thrift_extension()
[all …]
Dt_py_generator.cc701 void t_py_generator::generate_forward_declaration(t_struct* tstruct) { in generate_forward_declaration()
708 void t_py_generator::generate_struct(t_struct* tstruct) { in generate_struct()
725 void t_py_generator::generate_py_struct(t_struct* tstruct, bool is_exception) { in generate_py_struct()
740 t_struct* tstruct, in generate_py_thrift_spec()
783 t_struct* tstruct, in generate_py_struct_definition()
985 void t_py_generator::generate_py_struct_reader(ostream& out, t_struct* tstruct) { in generate_py_struct_reader()
1090 void t_py_generator::generate_py_struct_writer(ostream& out, t_struct* tstruct) { in generate_py_struct_writer()
1136 void t_py_generator::generate_py_struct_required_validator(ostream& out, t_struct* tstruct) { in generate_py_struct_required_validator()
2305 void t_py_generator::generate_deserialize_struct(ostream& out, t_struct* tstruct, string prefix) { in generate_deserialize_struct()
2500 void t_py_generator::generate_serialize_struct(ostream& out, t_struct* tstruct, string prefix) { in generate_serialize_struct()
[all …]
Dt_dart_generator.cc723 void t_dart_generator::generate_struct(t_struct* tstruct) { in generate_struct()
741 void t_dart_generator::generate_dart_struct(t_struct* tstruct, bool is_exception) { in generate_dart_struct()
769 t_struct* tstruct, in generate_dart_struct_definition()
865 void t_dart_generator::generate_dart_struct_reader(ostream& out, t_struct* tstruct) { in generate_dart_struct_reader()
953 void t_dart_generator::generate_dart_validator(ostream& out, t_struct* tstruct) { in generate_dart_validator()
1004 void t_dart_generator::generate_dart_struct_writer(ostream& out, t_struct* tstruct) { in generate_dart_struct_writer()
1060 void t_dart_generator::generate_dart_struct_result_writer(ostream& out, t_struct* tstruct) { in generate_dart_struct_result_writer()
1102 t_struct* tstruct) { in generate_generic_field_getters()
1132 t_struct* tstruct) { in generate_generic_field_setters()
1176 void t_dart_generator::generate_generic_isset_method(std::ostream& out, t_struct* tstruct) { in generate_generic_isset_method()
[all …]
Dt_haxe_generator.cc346 string t_haxe_generator::haxe_thrift_gen_imports(t_struct* tstruct, string& imports) { in haxe_thrift_gen_imports()
699 void t_haxe_generator::generate_struct(t_struct* tstruct) { in generate_struct()
717 void t_haxe_generator::generate_haxe_struct(t_struct* tstruct, bool is_exception, bool is_result) { in generate_haxe_struct()
748 t_struct* tstruct, in generate_haxe_struct_definition()
860 void t_haxe_generator::generate_haxe_struct_reader(ostream& out, t_struct* tstruct) { in generate_haxe_struct_reader()
953 void t_haxe_generator::generate_haxe_validator(ostream& out, t_struct* tstruct) { in generate_haxe_validator()
1004 void t_haxe_generator::generate_haxe_struct_writer(ostream& out, t_struct* tstruct) { in generate_haxe_struct_writer()
1074 void t_haxe_generator::generate_haxe_struct_result_writer(ostream& out, t_struct* tstruct) { in generate_haxe_struct_result_writer()
1160 t_struct* tstruct) { in generate_generic_field_getters_setters()
1217 void t_haxe_generator::generate_generic_isset_method(std::ostream& out, t_struct* tstruct) { in generate_generic_isset_method()
[all …]
Dt_php_generator.cc750 void t_php_generator::generate_struct(t_struct* tstruct) { in generate_struct()
767 void t_php_generator::generate_php_struct(t_struct* tstruct, bool is_exception) { in generate_php_struct()
826 void t_php_generator::generate_php_struct_spec(ostream& out, t_struct* tstruct) { in generate_php_struct_spec()
850 t_struct* tstruct) { in generate_generic_field_getters_setters()
928 t_struct* tstruct, in generate_php_struct_definition()
1039 void t_php_generator::generate_php_struct_reader(ostream& out, t_struct* tstruct, bool is_result) { in generate_php_struct_reader()
1159 void t_php_generator::generate_php_struct_writer(ostream& out, t_struct* tstruct, bool is_result) { in generate_php_struct_writer()
1247 void t_php_generator::generate_php_struct_read_validator(ostream& out, t_struct* tstruct) { in generate_php_struct_read_validator()
1251 void t_php_generator::generate_php_struct_write_validator(ostream& out, t_struct* tstruct) { in generate_php_struct_write_validator()
1256 t_struct* tstruct, in generate_php_struct_required_validator()
[all …]
Dt_netstd_generator.cc563 void t_netstd_generator::collect_extensions_types(t_struct* tstruct) in collect_extensions_types()
586 t_struct* tstruct = static_cast<t_struct*>(ttype); in collect_extensions_types() local
766 void t_netstd_generator::generate_struct(t_struct* tstruct) in generate_struct()
785 void t_netstd_generator::generate_netstd_struct(t_struct* tstruct, bool is_exception) in generate_netstd_struct()
805 void t_netstd_generator::generate_netstd_struct_definition(ostream& out, t_struct* tstruct, bool is… in generate_netstd_struct_definition()
1025 void t_netstd_generator::generate_netstd_wcffault(ostream& out, t_struct* tstruct) in generate_netstd_wcffault()
1059 void t_netstd_generator::generate_netstd_deepcopy_method(ostream& out, t_struct* tstruct, std::stri… in generate_netstd_deepcopy_method()
1104 void t_netstd_generator::generate_netstd_struct_reader(ostream& out, t_struct* tstruct) in generate_netstd_struct_reader()
1246 void t_netstd_generator::generate_netstd_struct_writer(ostream& out, t_struct* tstruct) in generate_netstd_struct_writer()
1298 void t_netstd_generator::generate_netstd_struct_result_writer(ostream& out, t_struct* tstruct) in generate_netstd_struct_result_writer()
[all …]
Dt_cl_generator.cc377 void t_cl_generator::generate_struct(t_struct* tstruct) { in generate_struct()
385 void t_cl_generator::generate_cl_struct_internal(std::ostream& out, t_struct* tstruct, bool is_exce… in generate_cl_struct_internal()
421 void t_cl_generator::generate_cl_struct(std::ostream& out, t_struct* tstruct, bool is_exception = f… in generate_cl_struct()
517 string t_cl_generator::argument_list(t_struct* tstruct) { in argument_list()
Dt_rs_generator.cc1012 void t_rs_generator::generate_struct(t_struct* tstruct) { in generate_struct()
1024 t_struct* tstruct, in render_struct()
1037 t_struct* tstruct, in render_struct_definition()
1084 …enerator::render_exception_struct_error_trait_impls(const string& struct_name, t_struct* tstruct) { in render_exception_struct_error_trait_impls()
1121 t_struct* tstruct, in render_struct_impl()
1154 t_struct* tstruct, in render_struct_constructor()
1259 void t_rs_generator::render_result_struct_to_result_method(t_struct* tstruct) { in render_result_struct_to_result_method()
1349 void t_rs_generator::render_union(t_struct* tstruct) { in render_union()
1356 void t_rs_generator::render_union_definition(const string& union_name, t_struct* tstruct) { in render_union_definition()
1381 void t_rs_generator::render_union_impl(const string& union_name, t_struct* tstruct) { in render_union_impl()
[all …]
Dt_lua_generator.cc365 void t_lua_generator::generate_struct(t_struct* tstruct) { in generate_struct()
380 t_struct* tstruct, in generate_lua_struct_definition()
415 void t_lua_generator::generate_lua_struct_reader(ostream& out, t_struct* tstruct) { in generate_lua_struct_reader()
472 void t_lua_generator::generate_lua_struct_writer(ostream& out, t_struct* tstruct) { in generate_lua_struct_writer()
866 t_struct* tstruct, in generate_deserialize_struct()
1019 void t_lua_generator::generate_serialize_struct(ostream& out, t_struct* tstruct, string prefix) { in generate_serialize_struct()
1120 string t_lua_generator::argument_list(t_struct* tstruct, string prefix) { in argument_list()
Dt_ocaml_generator.cc480 void t_ocaml_generator::generate_struct(t_struct* tstruct) { in generate_struct()
497 void t_ocaml_generator::generate_ocaml_struct(t_struct* tstruct, bool is_exception) { in generate_ocaml_struct()
580 t_struct* tstruct, in generate_ocaml_struct_definition()
717 t_struct* tstruct, in generate_ocaml_struct_sig()
755 void t_ocaml_generator::generate_ocaml_struct_reader(ostream& out, t_struct* tstruct) { in generate_ocaml_struct_reader()
815 void t_ocaml_generator::generate_ocaml_struct_writer(ostream& out, t_struct* tstruct) { in generate_ocaml_struct_writer()
1373 void t_ocaml_generator::generate_deserialize_struct(ostream& out, t_struct* tstruct) { in generate_deserialize_struct()
1522 void t_ocaml_generator::generate_serialize_struct(ostream& out, t_struct* tstruct, string prefix) { in generate_serialize_struct()
1637 string t_ocaml_generator::argument_list(t_struct* tstruct) { in argument_list()
Dt_perl_generator.cc428 void t_perl_generator::generate_struct(t_struct* tstruct) { in generate_struct()
445 void t_perl_generator::generate_perl_struct(t_struct* tstruct, bool is_exception) { in generate_perl_struct()
458 t_struct* tstruct, in generate_perl_struct_definition()
535 void t_perl_generator::generate_perl_struct_reader(ostream& out, t_struct* tstruct) { in generate_perl_struct_reader()
605 void t_perl_generator::generate_perl_struct_writer(ostream& out, t_struct* tstruct) { in generate_perl_struct_writer()
1263 t_struct* tstruct, in generate_deserialize_struct()
1454 void t_perl_generator::generate_serialize_struct(ostream& out, t_struct* tstruct, string prefix) { in generate_serialize_struct()
1628 string t_perl_generator::argument_list(t_struct* tstruct) { in argument_list()
Dt_st_generator.cc477 void t_st_generator::generate_struct(t_struct* tstruct) { in generate_struct()
495 t_struct* tstruct, in generate_st_struct()
546 void t_st_generator::generate_accessors(std::ostream& out, t_struct* tstruct) { in generate_accessors()
706 string t_st_generator::struct_writer(t_struct* tstruct, string sname) { in struct_writer()
746 string t_st_generator::struct_reader(t_struct* tstruct, string clsName = "") { in struct_reader()
983 string t_st_generator::argument_list(t_struct* tstruct) { in argument_list()
Dt_delphi_generator.cc836 void t_delphi_generator::generate_forward_declaration(t_struct* tstruct) { in generate_forward_declaration()
1352 void t_delphi_generator::generate_struct(t_struct* tstruct) { in generate_struct()
1360 void t_delphi_generator::generate_delphi_struct(t_struct* tstruct, bool is_exception) { in generate_delphi_struct()
1379 t_struct* tstruct, in generate_delphi_struct_impl()
1576 void t_delphi_generator::print_delphi_struct_type_factory_func(ostream& out, t_struct* tstruct) { in print_delphi_struct_type_factory_func()
1585 t_struct* tstruct, in generate_delphi_struct_type_factory()
1614 t_struct* tstruct, in generate_delphi_struct_type_factory_registration()
1635 t_struct* tstruct, in generate_delphi_struct_definition()
2663 t_struct* tstruct, in generate_deserialize_struct()
2867 t_struct* tstruct, in generate_serialize_struct()
[all …]
Dt_erl_generator.cc780 void t_erl_generator::generate_struct(t_struct* tstruct) { in generate_struct()
799 void t_erl_generator::generate_erl_struct(t_struct* tstruct, bool is_exception) { in generate_erl_struct()
811 void t_erl_generator::generate_erl_struct_definition(ostream& out, t_struct* tstruct) { in generate_erl_struct_definition()
873 void t_erl_generator::generate_erl_struct_info(ostream& out, t_struct* tstruct) { in generate_erl_struct_info()
881 void t_erl_generator::generate_erl_extended_struct_info(ostream& out, t_struct* tstruct) { in generate_erl_extended_struct_info()
1111 string t_erl_generator::argument_list(t_struct* tstruct) { in argument_list()
Dt_go_generator.cc1138 void t_go_generator::generate_struct(t_struct* tstruct) { in generate_struct()
1155 void t_go_generator::generate_go_struct(t_struct* tstruct, bool is_exception) { in generate_go_struct()
1177 t_struct* tstruct, in generate_go_struct_initializer()
1202 t_struct* tstruct, in generate_go_struct_definition()
1397 t_struct* tstruct, in generate_isset_helpers()
1436 t_struct* tstruct, in generate_countsetfields_helper()
1475 t_struct* tstruct, in generate_go_struct_reader()
1630 t_struct* tstruct, in generate_go_struct_writer()
1736 t_struct* tstruct, in generate_go_struct_equals()
3141 t_struct* tstruct, in generate_deserialize_struct()
[all …]
Dt_js_generator.cc810 void t_js_generator::generate_struct(t_struct* tstruct) { in generate_struct()
827 void t_js_generator::generate_js_struct(t_struct* tstruct, bool is_exception) { in generate_js_struct()
855 t_struct* tstruct, in generate_js_struct_definition()
1059 void t_js_generator::generate_js_struct_reader(ostream& out, t_struct* tstruct) { in generate_js_struct_reader()
1148 void t_js_generator::generate_js_struct_writer(ostream& out, t_struct* tstruct) { in generate_js_struct_writer()
2300 void t_js_generator::generate_deserialize_struct(ostream& out, t_struct* tstruct, string prefix) { in generate_deserialize_struct()
2483 void t_js_generator::generate_serialize_struct(ostream& out, t_struct* tstruct, string prefix) { in generate_serialize_struct()
2654 string t_js_generator::argument_list(t_struct* tstruct, bool include_callback) { in argument_list()
Dt_c_glib_generator.cc441 void t_c_glib_generator::generate_struct(t_struct* tstruct) { in generate_struct()
514 void t_c_glib_generator::generate_xception(t_struct* tstruct) { in generate_xception()
882 string t_c_glib_generator::argument_list(t_struct* tstruct) { in argument_list()
905 string t_c_glib_generator::xception_list(t_struct* tstruct) { in xception_list()
2797 void t_c_glib_generator::generate_object(t_struct* tstruct) { in generate_object()
3510 t_struct* tstruct, in generate_struct_writer()
3583 t_struct* tstruct, in generate_struct_reader()
3786 t_struct* tstruct, in generate_serialize_struct()
4098 t_struct* tstruct, in generate_deserialize_struct()
Dt_gv_generator.cc180 void t_gv_generator::generate_struct(t_struct* tstruct) { in generate_struct()
Dt_d_generator.cc200 void generate_struct(t_struct* tstruct) override { in generate_struct()
438 void print_struct_definition(ostream& out, t_struct* tstruct, bool is_exception) { in print_struct_definition()
/thrift-3.4.0/compiler/cpp/src/thrift/parse/
Dt_scope.h134 auto* tstruct = (t_struct*)ttype; in resolve_const_value() local

12