Lines Matching refs:event_from
153 bool copy_event(yaml_event_t *event_to, yaml_event_t *event_from) { in copy_event() argument
155 switch (event_from->type) { in copy_event()
158 event_to, event_from->data.stream_start.encoding); in copy_event()
165 event_to, event_from->data.document_start.version_directive, in copy_event()
166 event_from->data.document_start.tag_directives.start, in copy_event()
167 event_from->data.document_start.tag_directives.end, in copy_event()
168 event_from->data.document_start.implicit); in copy_event()
172 event_to, event_from->data.document_end.implicit); in copy_event()
175 return yaml_alias_event_initialize(event_to, event_from->data.alias.anchor); in copy_event()
179 event_to, event_from->data.scalar.anchor, event_from->data.scalar.tag, in copy_event()
180 event_from->data.scalar.value, event_from->data.scalar.length, in copy_event()
181 event_from->data.scalar.plain_implicit, in copy_event()
182 event_from->data.scalar.quoted_implicit, event_from->data.scalar.style); in copy_event()
186 event_to, event_from->data.sequence_start.anchor, in copy_event()
187 event_from->data.sequence_start.tag, in copy_event()
188 event_from->data.sequence_start.implicit, in copy_event()
189 event_from->data.sequence_start.style); in copy_event()
196 event_to, event_from->data.mapping_start.anchor, in copy_event()
197 event_from->data.mapping_start.tag, in copy_event()
198 event_from->data.mapping_start.implicit, in copy_event()
199 event_from->data.mapping_start.style); in copy_event()