Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java139 private static final byte LI_OP = (byte)(13 << 3); field in ApfTest
686 assertProgramEquals(new byte[]{LI_OP | SIZE0}, gen.generate()); in testImmediateEncoding()
691 assertProgramEquals(new byte[]{LI_OP | SIZE8, 42}, gen.generate()); in testImmediateEncoding()
696 assertProgramEquals(new byte[]{LI_OP | SIZE16 | R1, 0x12, 0x34}, gen.generate()); in testImmediateEncoding()
702 new byte[]{LI_OP | SIZE32, 0x12, 0x34, 0x56, 0x78}, in testImmediateEncoding()
716 assertProgramEquals(new byte[]{LI_OP | SIZE8, -42}, gen.generate()); in testNegativeImmediateEncoding()
721 assertProgramEquals(new byte[]{LI_OP | SIZE16 | R1, (byte)0xEE, (byte)0xDE}, in testNegativeImmediateEncoding()
728 new byte[]{LI_OP | SIZE32, (byte)0xEE, (byte)0xDD, (byte)0xCC, (byte)0xBC}, in testNegativeImmediateEncoding()