Home
last modified time | relevance | path

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

/external/minijail/
Dsyscall_filter_unittest.c262 struct filter_block *curr_block = block; in TEST_F() local
263 ASSERT_NE(curr_block, NULL); in TEST_F()
265 EXPECT_LBL(curr_block->instrs); in TEST_F()
268 curr_block = block->next; in TEST_F()
269 EXPECT_COMP(curr_block); in TEST_F()
272 curr_block = curr_block->next; in TEST_F()
273 EXPECT_NE(curr_block, NULL); in TEST_F()
274 EXPECT_GROUP_END(curr_block); in TEST_F()
277 curr_block = curr_block->next; in TEST_F()
278 EXPECT_NE(curr_block, NULL); in TEST_F()
[all …]
Dbpf.c16 struct sock_filter *curr_block = filter; in bpf_validate_arch() local
17 set_bpf_stmt(curr_block++, BPF_LD+BPF_W+BPF_ABS, arch_nr); in bpf_validate_arch()
18 set_bpf_jump(curr_block++, in bpf_validate_arch()
20 set_bpf_ret_kill(curr_block++); in bpf_validate_arch()
21 return curr_block - filter; in bpf_validate_arch()
27 struct sock_filter *curr_block = filter; in bpf_allow_syscall() local
28 set_bpf_jump(curr_block++, BPF_JMP+BPF_JEQ+BPF_K, nr, NEXT, SKIP); in bpf_allow_syscall()
29 set_bpf_stmt(curr_block++, BPF_RET+BPF_K, SECCOMP_RET_ALLOW); in bpf_allow_syscall()
30 return curr_block - filter; in bpf_allow_syscall()
36 struct sock_filter *curr_block = filter; in bpf_allow_syscall_args() local
[all …]
/external/webrtc/webrtc/modules/desktop_capture/
Ddiffer.cc73 const uint8_t* curr_block = curr_block_row_start; in MarkDirtyBlocks() local
79 *diff_info = BlockDifference(prev_block, curr_block, bytes_per_row_); in MarkDirtyBlocks()
81 curr_block += block_x_offset; in MarkDirtyBlocks()
88 *diff_info = !PartialBlocksEqual(prev_block, curr_block, bytes_per_row_, in MarkDirtyBlocks()
104 const uint8_t* curr_block = curr_block_row_start; in MarkDirtyBlocks() local
107 *diff_info = !PartialBlocksEqual(prev_block, curr_block, in MarkDirtyBlocks()
111 curr_block += block_x_offset; in MarkDirtyBlocks()
115 *diff_info = !PartialBlocksEqual(prev_block, curr_block, bytes_per_row_, in MarkDirtyBlocks()
/external/libopus/silk/
Denc_API.c157 opus_int transition, curr_block, tot_blocks; in silk_Encode() local
200 curr_block = 0; in silk_Encode()
446 if( tot_blocks == 2 && curr_block == 0 ) { in silk_Encode()
449 if( curr_block == 0 ) { in silk_Encode()
451 } else if( curr_block == 1 ) { in silk_Encode()
455 useCBR = encControl->useCBR && curr_block == tot_blocks - 1; in silk_Encode()
535 curr_block++; in silk_Encode()