Home
last modified time | relevance | path

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

/dalvik/libdex/
DDexFile.cpp528 u4 dexRoundUpPower2(u4 val) in dexRoundUpPower2() argument
530 val--; in dexRoundUpPower2()
531 val |= val >> 1; in dexRoundUpPower2()
532 val |= val >> 2; in dexRoundUpPower2()
533 val |= val >> 4; in dexRoundUpPower2()
534 val |= val >> 8; in dexRoundUpPower2()
535 val |= val >> 16; in dexRoundUpPower2()
536 val++; in dexRoundUpPower2()
538 return val; in dexRoundUpPower2()
DDexFile.h628 u4 dexRoundUpPower2(u4 val);
/dalvik/tools/hprof-conv/
DHprofConv.c291 uint16_t val; in get2BE() local
293 val = (buf[0] << 8) | buf[1]; in get2BE()
294 return val; in get2BE()
302 uint32_t val; in get4BE() local
304 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() argument
313 buf[0] = val >> 24; in set4BE()
314 buf[1] = val >> 16; in set4BE()
315 buf[2] = val >> 8; in set4BE()
[all …]
/dalvik/tools/dexdeps/src/com/android/dexdeps/
DDexData.java489 byte val; in readUnsignedLeb128()
492 val = readByte(); in readUnsignedLeb128()
493 result = (result << 7) | (val & 0x7f); in readUnsignedLeb128()
494 } while (val < 0); in readUnsignedLeb128()
513 byte val = readByte(); in readString()
514 if (val == 0) in readString()
516 inBuf[idx] = val; in readString()
/dalvik/dx/tests/142-const-method-handle/classes/constmethodhandle/
DTestGenerator$1.class ... { final synthetic org.objectweb.asm.ClassWriter val$cw final synthetic constmethodhandle.TestGenerator this$0 ...
/dalvik/dexdump/
DDexDump.cpp208 static const char* quotedBool(bool val) in quotedBool() argument
210 if (val) in quotedBool()
231 static int countOnes(u4 val) in countOnes() argument
235 val = val - ((val >> 1) & 0x55555555); in countOnes()
236 val = (val & 0x33333333) + ((val >> 2) & 0x33333333); in countOnes()
237 count = (((val + (val >> 4)) & 0x0F0F0F0F) * 0x01010101) >> 24; in countOnes()