OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ApfGenerator
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/services/net/java/android/net/apf/
ApfGenerator.java
30
public class
ApfGenerator
{
109
// Offset in bytes from the begining of this program. Set by {@link
ApfGenerator
#generate}.
384
* an {@link
ApfGenerator
} might be passed to a function that adds a filter like so:
395
public
ApfGenerator
defineLabel(String name) throws IllegalInstructionException {
405
public
ApfGenerator
addJump(String target) {
416
public
ApfGenerator
addLoad8(Register register, int offset) {
427
public
ApfGenerator
addLoad16(Register register, int offset) {
438
public
ApfGenerator
addLoad32(Register register, int offset) {
450
public
ApfGenerator
addLoad8Indexed(Register register, int offset) {
462
public
ApfGenerator
addLoad16Indexed(Register register, int offset)
[
all
...]
ApfFilter.java
24
import android.net.apf.
ApfGenerator
;
25
import android.net.apf.
ApfGenerator
.IllegalInstructionException;
26
import android.net.apf.
ApfGenerator
.Register;
597
long generateFilterLocked(
ApfGenerator
gen) throws IllegalInstructionException {
681
private void generateArpFilterLocked(
ApfGenerator
gen) throws IllegalInstructionException {
[
all
...]
/frameworks/base/services/tests/servicestests/src/android/net/apf/
ApfTest.java
25
import android.net.apf.
ApfGenerator
;
26
import android.net.apf.
ApfGenerator
.IllegalInstructionException;
27
import android.net.apf.
ApfGenerator
.Register;
101
private void assertVerdict(int expected,
ApfGenerator
gen, byte[] packet, int filterAge)
106
private void assertPass(
ApfGenerator
gen, byte[] packet, int filterAge)
111
private void assertDrop(
ApfGenerator
gen, byte[] packet, int filterAge)
116
private void assertPass(
ApfGenerator
gen)
121
private void assertDrop(
ApfGenerator
gen)
136
ApfGenerator
gen = new
ApfGenerator
();
[
all
...]
Bpf2Apf.java
19
import android.net.apf.
ApfGenerator
;
20
import android.net.apf.
ApfGenerator
.IllegalInstructionException;
21
import android.net.apf.
ApfGenerator
.Register;
33
* javac net/java/android/net/apf/
ApfGenerator
.java \
55
private static void convertLine(String line,
ApfGenerator
gen)
310
ApfGenerator
gen = new
ApfGenerator
();
323
ApfGenerator
gen = new
ApfGenerator
();
Completed in 188 milliseconds