Lines Matching defs:idx
53 getWeightByte(uint32_t weight, int32_t idx) {
54 return getWeightTrail(weight, idx); /* same calculation */
58 setWeightByte(uint32_t weight, int32_t idx, uint32_t byte) {
61 idx*=8;
62 if(idx<32) {
63 mask=((uint32_t)0xffffffff)>>idx;
76 idx=32-idx;
77 mask|=0xffffff00<<idx;
78 return (uint32_t)((weight&mask)|(byte<<idx));