Lines Matching refs:to

41 copy_primitive (const char *typename, const char *from, const char *to)  in copy_primitive()  argument
44 typename, from, to); in copy_primitive()
49 copy_type (const char *from, const char *to, const Type *t, int preserve) in copy_type() argument
54 copy_type (from, to, t->symbol->type, preserve); in copy_type()
57 t->symbol->gen_name, from, to); in copy_type()
62 copy_primitive ("heim_integer", from, to); in copy_type()
67 fprintf(codefile, "*(%s) = *(%s);\n", to, from); in copy_type()
70 copy_primitive ("octet_string", from, to); in copy_type()
74 copy_primitive ("bit_string", from, to); in copy_type()
76 fprintf(codefile, "*(%s) = *(%s);\n", to, from); in copy_type()
92 from, to); in copy_type()
97 fprintf(codefile, "(%s)->element = (%s)->element;\n", to, from); in copy_type()
120 m->optional ? "" : "&", to, in copy_type()
151 to, have_ellipsis->gen_name); in copy_type()
164 to, from, to, from); in copy_type()
169 to, to, from, to); in copy_type()
170 if (asprintf(&f, "&(%s)->val[(%s)->len]", from, to) < 0) in copy_type()
174 if (asprintf(&T, "&(%s)->val[(%s)->len]", to, to) < 0) in copy_type()
185 fprintf(codefile, "*(%s) = *(%s);\n", to, from); in copy_type()
188 copy_primitive ("general_string", from, to); in copy_type()
191 copy_primitive ("general_string", from, to); in copy_type()
194 fprintf(codefile, "*(%s) = *(%s);\n", to, from); in copy_type()
197 copy_primitive ("utf8string", from, to); in copy_type()
200 copy_primitive ("printable_string", from, to); in copy_type()
203 copy_primitive ("ia5_string", from, to); in copy_type()
206 copy_primitive ("bmp_string", from, to); in copy_type()
209 copy_primitive ("universal_string", from, to); in copy_type()
212 copy_primitive ("visible_string", from, to); in copy_type()
215 copy_type (from, to, t->subtype, preserve); in copy_type()
218 copy_primitive ("oid", from, to); in copy_type()