Searched refs:val (Results 1 – 5 of 5) sorted by relevance
531 u4 dexRoundUpPower2(u4 val) in dexRoundUpPower2() argument533 val--; in dexRoundUpPower2()534 val |= val >> 1; in dexRoundUpPower2()535 val |= val >> 2; in dexRoundUpPower2()536 val |= val >> 4; in dexRoundUpPower2()537 val |= val >> 8; in dexRoundUpPower2()538 val |= val >> 16; in dexRoundUpPower2()539 val++; in dexRoundUpPower2()541 return val; in dexRoundUpPower2()
617 u4 dexRoundUpPower2(u4 val);
291 uint16_t val; in get2BE() local293 val = (buf[0] << 8) | buf[1]; in get2BE()294 return val; in get2BE()302 uint32_t val; in get4BE() local304 val = (buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3]; in get4BE()305 return val; in get4BE()311 static void set4BE(unsigned char* buf, uint32_t val) in set4BE() argument313 buf[0] = val >> 24; in set4BE()314 buf[1] = val >> 16; in set4BE()315 buf[2] = val >> 8; in set4BE()[all …]
488 byte val; in readUnsignedLeb128()491 val = readByte(); in readUnsignedLeb128()492 result = (result << 7) | (val & 0x7f); in readUnsignedLeb128()493 } while (val < 0); in readUnsignedLeb128()512 byte val = readByte(); in readString()513 if (val == 0) in readString()515 inBuf[idx] = val; in readString()
215 static const char* quotedBool(bool val) in quotedBool() argument217 if (val) in quotedBool()238 static int countOnes(u4 val) in countOnes() argument242 val = val - ((val >> 1) & 0x55555555); in countOnes()243 val = (val & 0x33333333) + ((val >> 2) & 0x33333333); in countOnes()244 count = (((val + (val >> 4)) & 0x0F0F0F0F) * 0x01010101) >> 24; in countOnes()