Home
last modified time | relevance | path

Searched refs:val_type (Results 1 – 14 of 14) sorted by relevance

/thrift-3.4.0/compiler/cpp/src/thrift/generate/
Dvalidator_parser.h49 validation_value() : val_type(VV_UNKNOWN) {} in validation_value()
50 validation_value(const int64_t val) : int_val(val), val_type(VV_INTEGER) {} in validation_value()
51 validation_value(const double val) : double_val(val), val_type(VV_DOUBLE) {} in validation_value()
52 validation_value(const bool val) : bool_val(val), val_type(VV_BOOL) {} in validation_value()
53 validation_value(t_enum_value* val) : enum_val(val), val_type(VV_ENUM) {} in validation_value()
54 validation_value(const std::string val) : string_val(val), val_type(VV_STRING) {} in validation_value()
55 validation_value(validation_function* val) : function_val(val), val_type(VV_FUNCTION) {} in validation_value()
56 validation_value(t_field* val) : field_reference_val(val), val_type(VV_FIELD_REFERENCE) {} in validation_value()
60 val_type = VV_INTEGER; in set_int()
66 val_type = VV_DOUBLE; in set_double()
[all …]
Dt_javame_generator.cc1624 t_type* val_type = ((t_map*)type)->get_val_type(); in generate_java_bean_boilerplate() local
1628 << type_name(val_type, true) << " val) {" << endl; in generate_java_bean_boilerplate()
1841 t_type* val_type = ((t_map*)type)->get_val_type(); in generate_field_value_meta_data() local
1844 generate_field_value_meta_data(out, val_type); in generate_field_value_meta_data()
2743 string val_type = type_name(tmap->get_val_type(), true, false); in generate_serialize_map_element() local
2744 t_field vfield(tmap->get_val_type(), "((" + val_type + ")" + map + ".get(" + iter + "))"); in generate_serialize_map_element()
3067 t_type* val_type = ((t_map*)container)->get_val_type(); in generate_deep_copy_container() local
3078 indent(out) << type_name(val_type, true, false) << " " << iterator_element_name << "_value = (" in generate_deep_copy_container()
3079 << type_name(val_type, true, false) << ")" << source_name << ".get(" in generate_deep_copy_container()
3101 if (val_type->is_container()) { in generate_deep_copy_container()
[all …]
Dt_rs_generator.cc811 t_type* val_type = ((t_map*)ttype)->get_val_type(); in render_const_map() local
826 render_const_value(val_type, val_value); in render_const_map()
1623 t_type* val_type = tmap->get_val_type(); in render_map_sync_write() local
1630 << to_rust_field_type_enum(val_type) << ", " in render_map_sync_write()
1639 render_type_sync_write(string_container_write_variable(val_type, "v"), true, val_type); in render_map_sync_write()
2020 t_type* val_type = tmap->get_val_type(); in render_map_sync_read() local
2035 render_type_sync_read(val_elem_var, val_type); in render_map_sync_read()
Dt_java_generator.cc2585 t_type* val_type = ((t_map*)type)->get_val_type(); in generate_java_bean_boilerplate() local
2591 out << cap_name << "(" << type_name(key_type) << " key, " << type_name(val_type) << " val) {" in generate_java_bean_boilerplate()
3050 t_type* val_type = ((t_map*)type)->get_val_type(); in generate_field_value_meta_data() local
3053 generate_field_value_meta_data(out, val_type); in generate_field_value_meta_data()
5104 t_type* val_type = ((t_map*)container)->get_val_type(); in generate_deep_copy_container() local
5107 << type_name(val_type, true, false) << "> " << iterator_element_name << " : " in generate_deep_copy_container()
5115 indent(out) << type_name(val_type, true, false) << " " << iterator_element_name in generate_deep_copy_container()
5132 if (val_type->is_container()) { in generate_deep_copy_container()
5134 result_element_name + "_value", val_type); in generate_deep_copy_container()
5136 indent(out) << type_name(val_type, true, false) << " " << result_element_name << "_value = "; in generate_deep_copy_container()
[all …]
Dt_erl_generator.cc1261 t_type* val_type = ((t_map*)type)->get_val_type(); in render_type_term() local
1263 return "{map, " + render_type_term(key_type, false) + ", " + render_type_term(val_type, false) in render_type_term()
Dt_haxe_generator.cc631 t_type* val_type = ((t_map*)type)->get_val_type(); in render_map_initializer() local
639 render_const_value(out, val_type, v_iter->second); in render_map_initializer()
1501 t_type* val_type = ((t_map*)type)->get_val_type(); in generate_field_value_meta_data() local
1504 generate_field_value_meta_data(out, val_type); in generate_field_value_meta_data()
Dt_kotlin_generator.cc618 t_type* val_type = ((t_map*)type)->get_val_type(); in generate_field_value_meta_data() local
621 generate_field_value_meta_data(indent(out), val_type); in generate_field_value_meta_data()
/thrift-3.4.0/compiler/cpp/src/thrift/parse/
Dt_map.h32 t_map(t_type* key_type, t_type* val_type) : key_type_(key_type), val_type_(val_type) {} in t_map() argument
/thrift-3.4.0/lib/rb/lib/thrift/
Dstruct_union.rb57 key_type, val_type, size = iprot.read_map_begin
59 if (size != 0 && (key_type != field[:key][:type] || val_type != field[:value][:type]))
62 iprot.skip(val_type)
/thrift-3.4.0/lib/php/lib/Protocol/
DTCompactProtocol.php261 public function writeMapBegin($key_type, $val_type, $size) argument
269 self::$ctypes[$val_type]);
498 public function readMapBegin(&$key_type, &$val_type, &$size) argument
505 $val_type = $this->getTType($types);
/thrift-3.4.0/lib/rb/lib/thrift/protocol/
Djson_protocol.rb710 val_type = get_type_id_for_type_name(read_json_string)
713 [key_type, val_type, size]
/thrift-3.4.0/lib/rs/src/protocol/
Dmod.rs241 let val_type = map_ident in skip_till_depth() localVariable
245 self.skip_till_depth(val_type, depth - 1)?; in skip_till_depth()
Dbinary.rs415 let val_type = identifier in write_map_begin() localVariable
418 self.write_byte(field_type_to_u8(val_type))?; in write_map_begin()
Dcompact.rs285 let val_type = collection_u8_to_type(type_header & 0x0F)?; in read_map_begin() localVariable
286 Ok(TMapIdentifier::new(key_type, val_type, element_count)) in read_map_begin()
574 let val_type = identifier in write_map_begin() localVariable
577 let val_type_byte = collection_type_to_u8(val_type); in write_map_begin()