Lines Matching refs:emitter

24 #define yaml_emitter_emit_or_die(emitter, event) (			\  argument
26 if (!yaml_emitter_emit(emitter, event)) \
28 yaml_error_name[(emitter)->error], \
29 (emitter)->problem, __func__, __LINE__); \
32 static void yaml_propval_int(yaml_emitter_t *emitter, struct marker *markers, in yaml_propval_int() argument
51 yaml_emitter_emit_or_die(emitter, &event); in yaml_propval_int()
89 yaml_emitter_emit_or_die(emitter, &event); in yaml_propval_int()
93 yaml_emitter_emit_or_die(emitter, &event); in yaml_propval_int()
96 static void yaml_propval_string(yaml_emitter_t *emitter, char *str, int len) in yaml_propval_string() argument
110 yaml_emitter_emit_or_die(emitter, &event); in yaml_propval_string()
113 static void yaml_propval(yaml_emitter_t *emitter, struct property *prop) in yaml_propval() argument
124 yaml_emitter_emit_or_die(emitter, &event); in yaml_propval()
132 yaml_emitter_emit_or_die(emitter, &event); in yaml_propval()
141 yaml_emitter_emit_or_die(emitter, &event); in yaml_propval()
156 yaml_propval_int(emitter, markers, data, m->offset, chunk_len, 2); in yaml_propval()
159 yaml_propval_int(emitter, markers, data, m->offset, chunk_len, 4); in yaml_propval()
162 yaml_propval_int(emitter, markers, data, m->offset, chunk_len, 8); in yaml_propval()
165 yaml_propval_string(emitter, data, chunk_len); in yaml_propval()
168 yaml_propval_int(emitter, markers, data, m->offset, chunk_len, 1); in yaml_propval()
174 yaml_emitter_emit_or_die(emitter, &event); in yaml_propval()
178 static void yaml_tree(struct node *tree, yaml_emitter_t *emitter) in yaml_tree() argument
189 yaml_emitter_emit_or_die(emitter, &event); in yaml_tree()
192 yaml_propval(emitter, prop); in yaml_tree()
199 yaml_emitter_emit_or_die(emitter, &event); in yaml_tree()
200 yaml_tree(child, emitter); in yaml_tree()
204 yaml_emitter_emit_or_die(emitter, &event); in yaml_tree()
209 yaml_emitter_t emitter; in dt_to_yaml() local
212 yaml_emitter_initialize(&emitter); in dt_to_yaml()
213 yaml_emitter_set_output_file(&emitter, f); in dt_to_yaml()
215 yaml_emitter_emit_or_die(&emitter, &event); in dt_to_yaml()
218 yaml_emitter_emit_or_die(&emitter, &event); in dt_to_yaml()
221 yaml_emitter_emit_or_die(&emitter, &event); in dt_to_yaml()
223 yaml_tree(dti->dt, &emitter); in dt_to_yaml()
226 yaml_emitter_emit_or_die(&emitter, &event); in dt_to_yaml()
229 yaml_emitter_emit_or_die(&emitter, &event); in dt_to_yaml()
232 yaml_emitter_emit_or_die(&emitter, &event); in dt_to_yaml()
234 yaml_emitter_delete(&emitter); in dt_to_yaml()