Home
last modified time | relevance | path

Searched refs:get_integer (Results 1 – 25 of 31) sorted by relevance

12

/thrift-3.4.0/compiler/cpp/src/thrift/parse/
Dt_scope.h164 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()
Dt_const_value.h67 int64_t get_integer() const { in get_integer() function
/thrift-3.4.0/compiler/cpp/src/thrift/generate/
Dt_d_generator.cc537 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()
Dt_cl_generator.cc287 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()
Dt_html_generator.cc745 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()
Dt_markdown_generator.cc780 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()
Dt_lua_generator.cc261 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()
Dt_erl_generator.cc601 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()
Dt_st_generator.cc380 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()
Dt_ocaml_generator.cc362 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()
Dt_go_generator.cc93 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 …]
Dt_rb_generator.cc436 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()
Dt_gv_generator.cc246 f_out_ << tvalue->get_integer(); in print_const_value()
Dt_json_generator.cc484 write_string(number_to_string(value->get_integer())); in write_const_value()
486 write_number(value->get_integer()); in write_const_value()
Dt_perl_generator.cc337 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()
Dt_haxe_generator.cc552 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()
Dt_js_generator.cc709 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()
Dt_c_glib_generator.cc762 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()
Dt_dart_generator.cc594 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()
Dt_kotlin_generator.cc298 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()
Dt_javame_generator.cc554 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()
Dt_php_generator.cc661 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()
Dt_py_generator.cc587 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()
Dt_xml_generator.cc470 write_element_number("int", value->get_integer()); in write_const_value()
/thrift-3.4.0/compiler/cpp/src/thrift/audit/
Dt_audit.cpp186 return (newStructDefault->get_integer() == oldStructDefault->get_integer()); in compare_defaults()

12