Home | History | Annotate | Download | only in libyasm

Lines Matching defs:yasm_bytecode

56     (void *add_span_data, yasm_bytecode *bc, int id, const yasm_value *value,
61 * implementation-specific data is stored in #yasm_bytecode.contents.
66 * \param contents #yasm_bytecode.contents
72 * \param contents #yasm_bytecode.contents
83 void (*finalize) (yasm_bytecode *bc, yasm_bytecode *prev_bc);
91 int (*elem_size) (yasm_bytecode *bc);
108 int (*calc_len) (yasm_bytecode *bc, yasm_bc_add_span_func add_span,
132 int (*expand) (yasm_bytecode *bc, int span, long old_val, long new_val,
159 int (*tobytes) (yasm_bytecode *bc, unsigned char **bufp,
183 struct yasm_bytecode {
187 /*@reldef@*/ STAILQ_ENTRY(yasm_bytecode) link;
238 /*@only@*/ yasm_bytecode *yasm_bc_create_common
248 void yasm_bc_transform(yasm_bytecode *bc,
256 void yasm_bc_finalize_common(yasm_bytecode *bc, yasm_bytecode *prev_bc);
262 int yasm_bc_calc_len_common(yasm_bytecode *bc, yasm_bc_add_span_func add_span,
271 (yasm_bytecode *bc, int span, long old_val, long new_val,
279 (yasm_bytecode *bc, unsigned char **bufp, unsigned char *bufstart, void *d,
296 void yasm_bc_set_multiple(yasm_bytecode *bc, /*@keep@*/ yasm_expr *e);
309 /*@only@*/ yasm_bytecode *yasm_bc_create_data
320 /*@only@*/ yasm_bytecode *yasm_bc_create_leb128
330 /*@only@*/ yasm_bytecode *yasm_bc_create_reserve
343 (yasm_bytecode *bc, /*@out@*/ unsigned int *itemsize);
356 /*@only@*/ yasm_bytecode *yasm_bc_create_incbin
374 /*@only@*/ yasm_bytecode *yasm_bc_create_align
387 /*@only@*/ yasm_bytecode *yasm_bc_create_org
397 (yasm_bytecode *bc);
405 void yasm_bc__add_symrec(yasm_bytecode *bc, /*@dependent@*/ yasm_symrec *sym);
411 void yasm_bc_destroy(/*@only@*/ /*@null@*/ yasm_bytecode *bc);
419 void yasm_bc_print(const yasm_bytecode *bc, FILE *f, int indent_level);
426 void yasm_bc_finalize(yasm_bytecode *bc, yasm_bytecode *prev_bc);
437 (yasm_bytecode *precbc1, yasm_bytecode *precbc2);
446 unsigned long yasm_bc_next_offset(yasm_bytecode *precbc);
455 int yasm_bc_elem_size(yasm_bytecode *bc);
470 int yasm_bc_calc_len(yasm_bytecode *bc, yasm_bc_add_span_func add_span,
488 int yasm_bc_expand(yasm_bytecode *bc, int span, long old_val, long new_val,
513 (yasm_bytecode *bc, unsigned char *buf, unsigned long *bufsize,
526 int yasm_bc_get_multiple(yasm_bytecode *bc, /*@out@*/ long *multiple,
534 const yasm_expr *yasm_bc_get_multiple_expr(const yasm_bytecode *bc);
542 /*@dependent@*/ /*@null@*/ yasm_insn *yasm_bc_get_insn(yasm_bytecode *bc);