Lines Matching full:macros
72 dba->macros = dba_array_new(MACRO_MAX, 0);
77 dba_array_set(dba->macros, im, macro);
90 dba_array_FOREACH(dba->macros, macro) {
99 dba_array_free(dba->macros);
118 * - One pointer each to the macros table and to the final magic.
120 * - The macros table.
136 dba_macros_write(dba->macros);
335 /*** functions for handling macros ************************************/
376 entry = get_macro_entry(dba_array_get(dba->macros, im), value, np);
387 dba_macro_add(struct dba_array *macros, int32_t im, const char *value,
394 entry = get_macro_entry(dba_array_get(macros, im), value, 1);
399 * Write the macros table to disk; the format is:
405 dba_macros_write(struct dba_array *macros)
410 pos_macros = dba_array_writelen(macros, 1);
412 dba_array_FOREACH(macros, macro) {
413 dba_array_setpos(macros, im++, dba_tell());
418 dba_array_writepos(macros);