Lines Matching refs:lhs
1468 do_ops(struct magic_set *ms, struct magic *m, uint32_t *rv, intmax_t lhs, in do_ops() argument
1473 if (lhs >= UINT_MAX || lhs <= INT_MIN || in do_ops()
1476 fprintf(stderr, "lhs/off overflow %jd %jd\n", lhs, off); in do_ops()
1483 offset = lhs & off; in do_ops()
1486 offset = lhs | off; in do_ops()
1489 offset = lhs ^ off; in do_ops()
1492 offset = lhs + off; in do_ops()
1495 offset = lhs - off; in do_ops()
1498 offset = lhs * off; in do_ops()
1501 offset = lhs / off; in do_ops()
1504 offset = lhs % off; in do_ops()
1508 offset = lhs; in do_ops()
1601 intmax_t lhs; in mget() local
1742 lhs = BE32(p); in mget()
1744 lhs = cvt_id3(ms, CAST(uint32_t, lhs)); in mget()
1745 if (do_ops(ms, m, &offset, SEXT(sgn,32,lhs), off)) in mget()
1752 lhs = LE32(p); in mget()
1754 lhs = cvt_id3(ms, CAST(uint32_t, lhs)); in mget()
1755 if (do_ops(ms, m, &offset, SEXT(sgn,32,lhs), off)) in mget()