Lines Matching refs:from

20  *    may be used to endorse or promote products derived from this software
43 copy_primitive (const char *typename, const char *from, const char *to)
46 typename, from, to);
51 copy_type (const char *from, const char *to, const Type *t, int preserve)
56 copy_type (from, to, t->symbol->type, preserve);
59 t->symbol->gen_name, from, to);
64 copy_primitive ("heim_integer", from, to);
69 fprintf(codefile, "*(%s) = *(%s);\n", to, from);
72 copy_primitive ("octet_string", from, to);
76 copy_primitive ("bit_string", from, to);
78 fprintf(codefile, "*(%s) = *(%s);\n", to, from);
94 from, to);
99 fprintf(codefile, "(%s)->element = (%s)->element;\n", to, from);
100 fprintf(codefile, "switch((%s)->element) {\n", from);
116 m->optional ? "" : "&", from,
152 from, have_ellipsis->gen_name,
166 to, from, to, from);
171 to, to, from, to);
172 if (asprintf(&f, "&(%s)->val[(%s)->len]", from, to) < 0)
187 fprintf(codefile, "*(%s) = *(%s);\n", to, from);
190 copy_primitive ("general_string", from, to);
193 copy_primitive ("general_string", from, to);
196 fprintf(codefile, "*(%s) = *(%s);\n", to, from);
199 copy_primitive ("utf8string", from, to);
202 copy_primitive ("printable_string", from, to);
205 copy_primitive ("ia5_string", from, to);
208 copy_primitive ("bmp_string", from, to);
211 copy_primitive ("universal_string", from, to);
214 copy_primitive ("visible_string", from, to);
217 copy_type (from, to, t->subtype, preserve);
220 copy_primitive ("oid", from, to);
237 "copy_%s(const %s *from, %s *to)\n"
241 copy_type ("from", "to", s->type, preserve);