Lines Matching full:emit
235 static void flatten_tree(struct node *tree, struct emitter *emit, in flatten_tree() argument
246 emit->beginnode(etarget, tree->labels); in flatten_tree()
249 emit->string(etarget, tree->fullpath, 0); in flatten_tree()
251 emit->string(etarget, tree->name, 0); in flatten_tree()
253 emit->align(etarget, sizeof(cell_t)); in flatten_tree()
263 emit->property(etarget, prop->labels); in flatten_tree()
264 emit->cell(etarget, prop->val.len); in flatten_tree()
265 emit->cell(etarget, nameoff); in flatten_tree()
268 emit->align(etarget, 8); in flatten_tree()
270 emit->data(etarget, prop->val); in flatten_tree()
271 emit->align(etarget, sizeof(cell_t)); in flatten_tree()
275 emit->property(etarget, NULL); in flatten_tree()
276 emit->cell(etarget, tree->basenamelen+1); in flatten_tree()
277 emit->cell(etarget, stringtable_insert(strbuf, "name")); in flatten_tree()
280 emit->align(etarget, 8); in flatten_tree()
282 emit->string(etarget, tree->name, tree->basenamelen); in flatten_tree()
283 emit->align(etarget, sizeof(cell_t)); in flatten_tree()
287 flatten_tree(child, emit, etarget, strbuf, vi); in flatten_tree()
290 emit->endnode(etarget, tree->labels); in flatten_tree()