• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/usr.bin/unifdef/

Lines Matching refs:bt

917 static Linetype op_strict(long *p, long v, Linetype at, Linetype bt) {
918 if(at == LT_IF || bt == LT_IF) return (LT_IF);
921 static Linetype op_lt(long *p, Linetype at, long a, Linetype bt, long b) {
922 return op_strict(p, a < b, at, bt);
924 static Linetype op_gt(long *p, Linetype at, long a, Linetype bt, long b) {
925 return op_strict(p, a > b, at, bt);
927 static Linetype op_le(long *p, Linetype at, long a, Linetype bt, long b) {
928 return op_strict(p, a <= b, at, bt);
930 static Linetype op_ge(long *p, Linetype at, long a, Linetype bt, long b) {
931 return op_strict(p, a >= b, at, bt);
933 static Linetype op_eq(long *p, Linetype at, long a, Linetype bt, long b) {
934 return op_strict(p, a == b, at, bt);
936 static Linetype op_ne(long *p, Linetype at, long a, Linetype bt, long b) {
937 return op_strict(p, a != b, at, bt);
939 static Linetype op_or(long *p, Linetype at, long a, Linetype bt, long b) {
940 if (!strictlogic && (at == LT_TRUE || bt == LT_TRUE))
942 return op_strict(p, a || b, at, bt);
944 static Linetype op_and(long *p, Linetype at, long a, Linetype bt, long b) {
945 if (!strictlogic && (at == LT_FALSE || bt == LT_FALSE))
947 return op_strict(p, a && b, at, bt);
949 static Linetype op_blsh(long *p, Linetype at, long a, Linetype bt, long b) {
950 return op_strict(p, a << b, at, bt);
952 static Linetype op_brsh(long *p, Linetype at, long a, Linetype bt, long b) {
953 return op_strict(p, a >> b, at, bt);
955 static Linetype op_add(long *p, Linetype at, long a, Linetype bt, long b) {
956 return op_strict(p, a + b, at, bt);
958 static Linetype op_sub(long *p, Linetype at, long a, Linetype bt, long b) {
959 return op_strict(p, a - b, at, bt);
961 static Linetype op_mul(long *p, Linetype at, long a, Linetype bt, long b) {
962 return op_strict(p, a * b, at, bt);
964 static Linetype op_div(long *p, Linetype at, long a, Linetype bt, long b) {
965 if (bt != LT_TRUE) {
969 return op_strict(p, a / b, at, bt);
971 static Linetype op_mod(long *p, Linetype at, long a, Linetype bt, long b) {
972 return op_strict(p, a % b, at, bt);
974 static Linetype op_bor(long *p, Linetype at, long a, Linetype bt, long b) {
975 return op_strict(p, a | b, at, bt);
977 static Linetype op_bxor(long *p, Linetype at, long a, Linetype bt, long b) {
978 return op_strict(p, a ^ b, at, bt);
980 static Linetype op_band(long *p, Linetype at, long a, Linetype bt, long b) {
981 return op_strict(p, a & b, at, bt);