Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/apf/
DDnsUtils.java131 gen.addAdd(POINTER_AND_QUESTION_HEADER_SIZE); in genParseDnsLabel()
250 gen.addAdd(1); in genFindNextDnsQuestion()
259 gen.addAdd(1); in genFindNextDnsQuestion()
304 gen.addAdd(1); in addMatchLabel()
308 gen.addAdd(label.length()); in addMatchLabel()
368 gen.addAdd(etherPlusUdpLen); in generateFilter()
371 gen.addAdd(DNS_QDCOUNT_OFFSET); in generateFilter()
377 gen.addAdd(DNS_HEADER_LEN - DNS_QDCOUNT_OFFSET); in generateFilter()
DApfV4GeneratorBase.java160 public final Type addAdd(long val) { in addAdd() method in ApfV4GeneratorBase
169 return addAdd(-val); // note: addSub(4 billion) isn't valid, as addAdd(-4 billion) isn't in addSub()
641 return addLoadCounter(R0, counter).addAdd(val).addStoreCounter(counter, R0); in addIncrementCounter()
DApfV4Generator.java385 .addAdd(1) // R0++ in addCountTrampoline()
390 .addAdd(1) // R0++ in addCountTrampoline()
DLegacyApfFilter.java1087 gen.addAdd(UDP_HEADER_LEN); in generateFilterLocked()
1096 gen.addAdd(ETH_HEADER_LEN); in generateFilterLocked()
1100 gen.addAdd(UDP_HEADER_LEN); in generateFilterLocked()
1737 gen.addAdd(1); in emitPrologueLocked()
1847 gen.addAdd(1); // R0++ in emitEpilogue()
1854 gen.addAdd(1); // R0++ in emitEpilogue()
DApfFilter.java1341 gen.addAdd(UDP_HEADER_LEN); in generateFilterLocked()
1350 gen.addAdd(ETH_HEADER_LEN); in generateFilterLocked()
1354 gen.addAdd(UDP_HEADER_LEN); in generateFilterLocked()
1650 .addAdd(18) in generateArpFilterLocked()
1918 .addAdd(13) in generateNsFilterLocked()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfStandaloneTest.kt255 gen.addAdd(1) in generateApfV4Program()
341 gen.addAdd(1) // R0++ in generateApfV4Program()
347 gen.addAdd(1) // R0++ in generateApfV4Program()
DBpf2Apf.java191 gen.addAdd(imm); in convertLine()
200 gen.addAdd(-imm); in convertLine()
DApfTest.java401 gen.addAdd(1234567890); in testApfInstructions()
407 gen.addAdd(-1); in testApfInstructions()
413 gen.addAdd(-1234567890); in testApfInstructions()
925 gen.addAdd(0x78453412); // 87654321 + 78453412 = FFAA7733 in testApfDataReadModifyWrite()
3402 gen.addAdd(1); in testFullApfV4ProgramGenerationIPV6()
3534 gen.addAdd(1); in testFullApfV4ProgramGenerationIPV6()
3540 gen.addAdd(1); in testFullApfV4ProgramGenerationIPV6()
3555 gen.addAdd(1); in testFullApfV4ProgramGenerationIPV4()
3655 gen.addAdd(1); in testFullApfV4ProgramGenerationIPV4()
3661 gen.addAdd(1); in testFullApfV4ProgramGenerationIPV4()
[all …]