Home
last modified time | relevance | path

Searched refs:bitshift (Results 1 – 6 of 6) sorted by relevance

/f-stack/freebsd/mips/nlm/hal/
H A Dnlmsaelib.h75 #define left_shift64(x, bitshift, numofbits) \ argument
76 ((uint64_t)(x) << (bitshift))
78 #define left_shift64_mask(x, bitshift, numofbits) \ argument
79 (((uint64_t)(x) & ((1ULL << (numofbits)) - 1)) << (bitshift))
/f-stack/freebsd/contrib/dpdk_rte_lpm/
H A Drte_lpm6.c585 int8_t bitshift; in get_bitshift() local
589 bitshift = (int8_t)((bytes - i)*BYTE_SIZE); in get_bitshift()
591 if (bitshift < 0) in get_bitshift()
592 bitshift = 0; in get_bitshift()
593 entry_ind = entry_ind | ip[i-1] << bitshift; in get_bitshift()
/f-stack/dpdk/lib/librte_lpm/
H A Drte_lpm6.c579 int8_t bitshift; in get_bitshift() local
583 bitshift = (int8_t)((bytes - i)*BYTE_SIZE); in get_bitshift()
585 if (bitshift < 0) in get_bitshift()
586 bitshift = 0; in get_bitshift()
587 entry_ind = entry_ind | ip[i-1] << bitshift; in get_bitshift()
/f-stack/dpdk/lib/librte_fib/
H A Dtrie.c237 uint8_t bitshift; in get_idx() local
240 bitshift = (int8_t)(((first_byte + bytes - 1) - i)*BYTE_SIZE); in get_idx()
241 idx |= ip[i] << bitshift; in get_idx()
/f-stack/freebsd/mips/nlm/dev/sec/
H A Dnlmsec.c125 #define extract_bits(x, bitshift, bitcnt) \ argument
126 (((unsigned long long)x >> bitshift) & ((1ULL << bitcnt) - 1))
/f-stack/app/redis-5.0.5/deps/jemalloc/
H A DChangeLog673 + Don't bitshift by negative amounts when encoding/decoding run sizes in