/thrift-3.4.0/compiler/cpp/src/thrift/parse/ |
D | t_scope.h | 164 const_val->set_integer(constant->get_value()->get_integer()); in resolve_const_value() 200 t_enum_value* enum_value = tenum->get_constant_by_value(const_val->get_integer()); in resolve_const_value() 203 valstm << const_val->get_integer(); in resolve_const_value()
|
D | t_const_value.h | 67 int64_t get_integer() const { in get_integer() function
|
/thrift-3.4.0/compiler/cpp/src/thrift/generate/ |
D | t_d_generator.cc | 537 out << ((value->get_integer() > 0) ? "true" : "false"); in render_const_value() 541 out << "cast(" << render_type_name(type) << ")" << value->get_integer(); in render_const_value() 544 out << value->get_integer(); in render_const_value() 547 out << value->get_integer() << "L"; in render_const_value() 551 out << value->get_integer(); in render_const_value() 560 out << "cast(" << render_type_name(type) << ")" << value->get_integer(); in render_const_value()
|
D | t_cl_generator.cc | 287 out << (value->get_integer() > 0 ? "t" : "nil"); in render_const_value() 293 out << value->get_integer(); in render_const_value() 297 out << value->get_integer(); in render_const_value() 306 indent(out) << value->get_integer(); in render_const_value()
|
D | t_html_generator.cc | 745 f_out_ << ((tvalue->get_integer() != 0) ? "true" : "false"); in print_const_value() 748 f_out_ << tvalue->get_integer(); in print_const_value() 751 f_out_ << tvalue->get_integer(); in print_const_value() 754 f_out_ << tvalue->get_integer(); in print_const_value() 757 f_out_ << tvalue->get_integer(); in print_const_value() 761 f_out_ << tvalue->get_integer(); in print_const_value()
|
D | t_markdown_generator.cc | 780 f_out_ << ((tvalue->get_integer() != 0) ? "true" : "false"); in print_const_value() 783 f_out_ << tvalue->get_integer(); in print_const_value() 786 f_out_ << tvalue->get_integer(); in print_const_value() 789 f_out_ << tvalue->get_integer(); in print_const_value() 792 f_out_ << tvalue->get_integer(); in print_const_value() 796 f_out_ << tvalue->get_integer(); in print_const_value()
|
D | t_lua_generator.cc | 261 out << (value->get_integer() > 0 ? "true" : "false"); in render_const_value() 266 out << value->get_integer(); in render_const_value() 269 out << "lualongnumber.new('" << value->get_integer() << "')"; in render_const_value() 273 out << value->get_integer(); in render_const_value() 282 out << value->get_integer(); in render_const_value()
|
D | t_erl_generator.cc | 601 out << (value->get_integer() > 0 ? "true" : "false"); in render_const_value() 607 out << value->get_integer(); in render_const_value() 611 out << "float(" << value->get_integer() << ")"; in render_const_value() 620 indent(out) << value->get_integer(); in render_const_value()
|
D | t_st_generator.cc | 380 out << (value->get_integer() > 0 ? "true" : "false"); in render_const_value() 386 out << value->get_integer(); in render_const_value() 390 out << value->get_integer(); in render_const_value() 399 indent(out) << value->get_integer(); in render_const_value()
|
D | t_ocaml_generator.cc | 362 out << (value->get_integer() > 0 ? "true" : "false"); in render_const_value() 366 out << value->get_integer(); in render_const_value() 369 out << value->get_integer() << "l"; in render_const_value() 372 out << value->get_integer() << "L"; in render_const_value() 376 out << value->get_integer() << ".0"; in render_const_value() 390 if (val == value->get_integer()) { in render_const_value()
|
D | t_go_generator.cc | 93 return value->get_integer() == 0; in omit_initialization() 96 return value->get_integer() == 0; in omit_initialization() 914 out << (value->get_integer() > 0 ? "true" : "false"); in render_const_value() 924 out << value->get_integer(); in render_const_value() 933 out << value->get_integer(); in render_const_value() 942 out << value->get_integer(); in render_const_value() 951 out << value->get_integer(); in render_const_value() 962 out << value->get_integer(); in render_const_value() 1007 out << (value->get_integer() > 0 ? "true" : "false"); in render_const_value() 1017 out << value->get_integer(); in render_const_value() [all …]
|
D | t_rb_generator.cc | 436 out << (value->get_integer() > 0 ? "true" : "false"); in render_const_value() 442 out << value->get_integer(); in render_const_value() 446 out << value->get_integer(); in render_const_value() 455 out.indent() << value->get_integer(); in render_const_value()
|
D | t_gv_generator.cc | 246 f_out_ << tvalue->get_integer(); in print_const_value()
|
D | t_json_generator.cc | 484 write_string(number_to_string(value->get_integer())); in write_const_value() 486 write_number(value->get_integer()); in write_const_value()
|
D | t_perl_generator.cc | 337 out << (value->get_integer() > 0 ? "1" : "0"); in render_const_value() 343 out << value->get_integer(); in render_const_value() 347 out << value->get_integer(); in render_const_value() 356 out << value->get_integer(); in render_const_value()
|
D | t_haxe_generator.cc | 552 out << ((value->get_integer() > 0) ? "true" : "false"); in render_const_value() 555 out << "(byte)" << value->get_integer(); in render_const_value() 558 out << "(short)" << value->get_integer(); in render_const_value() 561 out << value->get_integer(); in render_const_value() 564 out << value->get_integer() << "L"; in render_const_value() 568 out << "(double)" << value->get_integer(); in render_const_value() 577 out << value->get_integer(); in render_const_value()
|
D | t_js_generator.cc | 709 out << (value->get_integer() > 0 ? "true" : "false"); in render_const_value() 714 out << value->get_integer(); in render_const_value() 718 int64_t const& integer_value = value->get_integer(); in render_const_value() 728 out << value->get_integer(); in render_const_value() 737 out << value->get_integer(); in render_const_value() 777 out << indent() << "\"" << v_iter->first->get_integer() << "\""; in render_const_value()
|
D | t_c_glib_generator.cc | 762 render << ((value->get_integer() != 0) ? "TRUE" : "FALSE"); in constant_literal() 768 render << value->get_integer(); in constant_literal() 781 render << value->get_integer(); in constant_literal() 824 render << ((value->get_integer() != 0) ? 1 : 0); in constant_value() 829 render << value->get_integer(); in constant_value() 832 render << "G_GINT64_CONSTANT (" << value->get_integer() << ")"; in constant_value() 836 render << value->get_integer(); in constant_value() 845 render << "(" << type_name(type) << ")" << value->get_integer(); in constant_value() 3370 << (((member_value != NULL) && (member_value->get_integer() != 0)) in generate_object() 3420 : member_value->get_integer()); in generate_object()
|
D | t_dart_generator.cc | 594 out << " = " << value->get_integer() << ";" << endl << endl; in print_const_value() 687 render << ((value->get_integer() > 0) ? "true" : "false"); in render_const_value() 693 render << value->get_integer(); in render_const_value() 697 render << value->get_integer(); in render_const_value() 706 render << value->get_integer(); in render_const_value()
|
D | t_kotlin_generator.cc | 298 f_types_ << ((value->get_integer() > 0) ? "true" : "false"); in generate_consts() 303 f_types_ << value->get_integer(); in generate_consts() 307 f_types_ << value->get_integer() << "."; in generate_consts() 313 f_types_ << value->get_integer(); in generate_consts()
|
D | t_javame_generator.cc | 554 render << ((value->get_integer() > 0) ? "true" : "false"); in render_const_value() 557 render << "(byte)" << value->get_integer(); in render_const_value() 560 render << "(short)" << value->get_integer(); in render_const_value() 563 render << value->get_integer(); in render_const_value() 566 render << value->get_integer() << "L"; in render_const_value() 570 render << "(double)" << value->get_integer(); in render_const_value()
|
D | t_php_generator.cc | 661 out << (value->get_integer() > 0 ? "true" : "false"); in render_const_value() 667 out << value->get_integer(); in render_const_value() 671 out << value->get_integer(); in render_const_value() 680 indent(out) << value->get_integer(); in render_const_value()
|
D | t_py_generator.cc | 587 out << (value->get_integer() > 0 ? "True" : "False"); in render_const_value() 593 out << value->get_integer(); in render_const_value() 597 out << "float(" << value->get_integer() << ")"; in render_const_value() 607 int64_t int_val = value->get_integer(); in render_const_value()
|
D | t_xml_generator.cc | 470 write_element_number("int", value->get_integer()); in write_const_value()
|
/thrift-3.4.0/compiler/cpp/src/thrift/audit/ |
D | t_audit.cpp | 186 return (newStructDefault->get_integer() == oldStructDefault->get_integer()); in compare_defaults()
|