Searched refs:addLoadImmediate (Results 1 – 10 of 10) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfTest.java | 375 gen.addLoadImmediate(R0, 1); in testApfInstructions() 389 gen.addLoadImmediate(R0, 1); in testApfInstructions() 395 gen.addLoadImmediate(R0, 1234567890); in testApfInstructions() 425 gen.addLoadImmediate(R0, 1234567890); in testApfInstructions() 432 gen.addLoadImmediate(R0, 1234567890); in testApfInstructions() 439 gen.addLoadImmediate(R0, 1234567890); in testApfInstructions() 446 gen.addLoadImmediate(R0, 123456789); in testApfInstructions() 453 gen.addLoadImmediate(R0, 1234567890); in testApfInstructions() 466 gen.addLoadImmediate(R1, 1234567890); in testApfInstructions() 473 gen.addLoadImmediate(R1, -1234567890); in testApfInstructions() [all …]
|
D | ApfNewTest.kt | 904 .addLoadImmediate(R0, 1) in testWriteToTxBuffer() 906 .addLoadImmediate(R0, 0x0203) in testWriteToTxBuffer() 908 .addLoadImmediate(R1, 0x04050607) in testWriteToTxBuffer() 930 .addLoadImmediate(R0, 3) // data copy offset in testCopyToTxBuffer() 932 .addLoadImmediate(R0, 5) // data copy offset in testCopyToTxBuffer() 933 .addLoadImmediate(R1, 1) // len in testCopyToTxBuffer() 935 .addLoadImmediate(R0, 0) // packet copy offset in testCopyToTxBuffer() 937 .addLoadImmediate(R0, 1) // packet copy offset in testCopyToTxBuffer() 938 .addLoadImmediate(R1, 3) // len in testCopyToTxBuffer() 1042 .addLoadImmediate(R0, 123) in doTestCountAndPassDropCompareR0() [all …]
|
D | Bpf2Apf.java | 112 gen.addLoadImmediate(dest, parseImm(line, arg)); in convertLine()
|
D | ApfStandaloneTest.kt | 378 gen.addLoadImmediate(R1, c.offset()) in maybeSetupCounter()
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | DnsUtils.java | 214 gen.addLoadImmediate(R0, 0); in genFindNextDnsQuestion() 231 gen.addLoadImmediate(R0, POINTER_AND_QUESTION_HEADER_SIZE); in genFindNextDnsQuestion() 243 gen.addLoadImmediate(R0, LABEL_AND_QUESTION_HEADER_SIZE); in genFindNextDnsQuestion() 289 gen.addLoadImmediate(R0, jumpTable.getIndex(parsedLabel)); in addMatchLabel() 316 gen.addLoadImmediate(R1, jumpTable.getIndex(LABEL_START_MATCH)); in addMatchLabel() 380 gen.addLoadImmediate(R0, 0); in generateFilter()
|
D | LegacyApfFilter.java | 130 gen.addLoadImmediate(R1, c.offset()); in maybeSetupCounter() 997 gen.addLoadImmediate(R0, section.start); in generateFilterLocked() 1081 gen.addLoadImmediate(R0, ETH_HEADER_LEN + IPV4_SRC_ADDR_OFFSET); in generateFilterLocked() 1197 gen.addLoadImmediate(R0, ETH_HEADER_LEN + IPV4_SRC_ADDR_OFFSET); in generateFilterLocked() 1218 gen.addLoadImmediate(R0, ETH_HEADER_LEN); in generateFilterLocked() 1332 gen.addLoadImmediate(R0, ARP_HEADER_OFFSET); in generateArpFilterLocked() 1348 gen.addLoadImmediate(R0, ETH_DEST_ADDR_OFFSET); in generateArpFilterLocked() 1362 gen.addLoadImmediate(R0, ARP_TARGET_IP_ADDRESS_OFFSET); in generateArpFilterLocked() 1409 gen.addLoadImmediate(R0, DHCP_CLIENT_MAC_OFFSET); in generateIPv4FilterLocked() 1445 gen.addLoadImmediate(R0, ETH_DEST_ADDR_OFFSET); in generateIPv4FilterLocked() [all …]
|
D | ApfFilter.java | 1200 gen.addLoadImmediate(R0, section.start); in generateFilterLocked() 1335 gen.addLoadImmediate(R0, ETH_HEADER_LEN + IPV4_SRC_ADDR_OFFSET); in generateFilterLocked() 1451 gen.addLoadImmediate(R0, ETH_HEADER_LEN + IPV4_SRC_ADDR_OFFSET); in generateFilterLocked() 1472 gen.addLoadImmediate(R0, ETH_HEADER_LEN); in generateFilterLocked() 1593 gen.addLoadImmediate(R0, ARP_HEADER_OFFSET); in generateArpFilterLocked() 1611 gen.addLoadImmediate(R0, ETH_DEST_ADDR_OFFSET); in generateArpFilterLocked() 1721 gen.addLoadImmediate(R0, DHCP_CLIENT_MAC_OFFSET); in generateIPv4FilterLocked() 1758 gen.addLoadImmediate(R0, ETH_DEST_ADDR_OFFSET); in generateIPv4FilterLocked() 1909 v6Gen.addLoadImmediate(R0, ETH_DEST_ADDR_OFFSET) in generateNsFilterLocked() 1916 v6Gen.addLoadImmediate(R0, IPV6_DEST_ADDR_OFFSET) in generateNsFilterLocked() [all …]
|
D | ApfV4GeneratorBase.java | 176 if (val == 0) return addLoadImmediate(R0, 0); // equivalent, as APFv6 would '*= R1' in addMul() 192 if (val == 0) return addLoadImmediate(R0, 0); // equivalent, as APFv6 would '+= R1' in addAnd() 279 public final Type addLoadImmediate(Register register, int value) { in addLoadImmediate() method in ApfV4GeneratorBase
|
D | ApfV4Generator.java | 403 return addLoadImmediate(reg, cnt.offset()); in maybeAddLoadCounterOffset()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ApfIntegrationTest.kt | 443 gen.addLoadImmediate(R0, ICMP6_TYPE_OFFSET + PING_HEADER_LENGTH) in testDropPingReply() 478 gen.addLoadImmediate(R1, counterRegion) in clearApfMemory() 533 gen.addLoadImmediate(R1, counterRegion) in testFilterAgeIncreasesBetweenPackets()
|