Home | History | Annotate | Download | only in bpf_dsl

Lines Matching refs:Program

128   // RunTest compiles the program and verifies that the output matches
129 // what is expected. It should be called at the end of each program
132 // Compile the program
133 CodeGen::Program program = gen_.Compile(head);
135 // Walk the program backwards, and compute the hash for each instruction.
136 std::vector<Hash> prog_hashes(program.size());
137 for (size_t i = program.size(); i > 0; --i) {
138 const sock_filter& insn = program.at(i - 1);
179 // Create the most basic valid BPF program:
186 // Create a program with a single branch:
197 // Create a program with a single branch:
211 // Creates a basic BPF program that we'll use to test some of the code:
246 // This simple program demonstrates https://crbug.com/351103/
251 // Without the fix for this bug, this program should trigger the check in
252 // CompileAndCompare: the serialized graphs from the program and its compiled