Lines Matching defs:ba
330 bc_new(struct bt_arg *term, enum bt_argtype op, struct bt_arg *ba)
338 bf->bf_condition = bs_new(B_AC_TEST, ba_op(op, term, ba), NULL);
345 bt_new(struct bt_arg *ba, struct bt_stmt *condbs, struct bt_stmt *elsebs)
350 bop = ba_op(B_AT_OP_NE, NULL, ba);
452 struct bt_arg *ba;
454 ba = calloc(1, sizeof(*ba));
455 if (ba == NULL)
457 ba->ba_value = val;
458 ba->ba_type = type;
460 return ba;
470 struct bt_arg *ba = da0;
477 while (SLIST_NEXT(ba, ba_next) != NULL)
478 ba = SLIST_NEXT(ba, ba_next);
480 SLIST_INSERT_AFTER(ba, da1, ba_next);
640 bi_find(struct bt_arg *ba, unsigned long index)
642 struct bt_var *bv = ba->ba_value;
644 ba = ba_new(bv, B_AT_TMEMBER);
645 ba->ba_key = (void *)index;
646 return ba;
650 bm_op(enum bt_action mact, struct bt_arg *ba, struct bt_arg *mval)
652 return bs_new(mact, ba, (struct bt_var *)mval);
659 struct bt_arg *ba;
664 ba = ba_new(bg_get(mname), B_AT_MAP);
665 ba->ba_key = mkey;
667 return bs_new(B_AC_INSERT, ba, (struct bt_var *)mval);
674 struct bt_arg *ba;
676 ba = ba_new(bg_get(vname), B_AT_MAP);
677 ba->ba_key = mkey;
678 return ba;
689 struct bt_arg *ba;
698 for (ba = hrange; ba != NULL; ba = SLIST_NEXT(ba, ba_next)) {
701 if (ba->ba_type != B_AT_LONG)
706 min = (long)ba->ba_value;
711 max = (long)ba->ba_value;
726 ba = ba_new(bg_get(hname), B_AT_HIST);
727 ba->ba_key = hrange;
728 return bs_new(B_AC_BUCKETIZE, ba, (struct bt_var *)hval);