Home
last modified time | relevance | path

Searched refs:enum_typedefs (Results 1 – 5 of 5) sorted by relevance

/dports/math/rumur/rumur-2021.09.29/murphi2c/src/
H A Dgenerate_h.cc30 auto it = enum_typedefs.find(type->unique_id); in visit_constdecl()
31 if (it != enum_typedefs.end()) { in visit_constdecl()
H A Dgenerate_c.cc34 auto it = enum_typedefs.find(type->unique_id); in visit_constdecl()
35 if (it != enum_typedefs.end()) { in visit_constdecl()
H A DCLikeGenerator.h22 std::unordered_map<size_t, std::string> enum_typedefs; variable
H A DCLikeGenerator.cc733 enum_typedefs[e->unique_id] = n.name; in visit_typedecl()
/dports/lang/v/v-0.1.29/vlib/v/gen/
H A Dcgen.v48 enum_typedefs strings.Builder // enum types
131 enum_typedefs: strings.new_builder(100)
196 b.write(g.enum_typedefs.str())
704 g.enum_typedefs.writeln('typedef enum {')
708 g.enum_typedefs.write('\t${enum_name}_$field.name')
710 g.enum_typedefs.write(' = ')
715 g.enum_typedefs.write(expr_str)
720 g.enum_typedefs.writeln(', // $cur_value')
723 g.enum_typedefs.writeln('} $enum_name;\n')