Home
last modified time | relevance | path

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

/external/minijail/
Dsyscall_filter_unittest.cc403 struct filter_block *curr_block = block; in TEST_F() local
404 ASSERT_NE(curr_block, nullptr); in TEST_F()
405 EXPECT_EQ(curr_block->len, 1U); in TEST_F()
406 EXPECT_LBL(curr_block->instrs); in TEST_F()
409 curr_block = curr_block->next; in TEST_F()
410 EXPECT_COMP(curr_block); in TEST_F()
413 curr_block = curr_block->next; in TEST_F()
414 ASSERT_NE(curr_block, nullptr); in TEST_F()
415 EXPECT_GROUP_END(curr_block); in TEST_F()
418 curr_block = curr_block->next; in TEST_F()
[all …]
Dbpf.c17 struct sock_filter *curr_block = filter; in bpf_validate_arch() local
18 set_bpf_stmt(curr_block++, BPF_LD + BPF_W + BPF_ABS, arch_nr); in bpf_validate_arch()
19 set_bpf_jump(curr_block++, BPF_JMP + BPF_JEQ + BPF_K, MINIJAIL_ARCH_NR, in bpf_validate_arch()
21 set_bpf_ret_kill(curr_block++); in bpf_validate_arch()
22 return curr_block - filter; in bpf_validate_arch()
28 struct sock_filter *curr_block = filter; in bpf_allow_syscall() local
29 set_bpf_jump(curr_block++, BPF_JMP + BPF_JEQ + BPF_K, nr, NEXT, SKIP); in bpf_allow_syscall()
30 set_bpf_stmt(curr_block++, BPF_RET + BPF_K, SECCOMP_RET_ALLOW); in bpf_allow_syscall()
31 return curr_block - filter; in bpf_allow_syscall()
37 struct sock_filter *curr_block = filter; in bpf_allow_syscall_args() local
[all …]
/external/libopus/silk/
Denc_API.c158 opus_int transition, curr_block, tot_blocks; in silk_Encode() local
201 curr_block = 0; in silk_Encode()
462 if( tot_blocks == 2 && curr_block == 0 ) { in silk_Encode()
465 if( curr_block == 0 ) { in silk_Encode()
467 } else if( curr_block == 1 ) { in silk_Encode()
471 useCBR = encControl->useCBR && curr_block == tot_blocks - 1; in silk_Encode()
551 curr_block++; in silk_Encode()
/external/llvm-project/lldb/source/Symbol/
DSymbolContext.cpp564 Block *curr_block = block; in SortTypeList() local
566 if (curr_block != nullptr && in SortTypeList()
567 curr_block->GetContainingInlinedBlock() != nullptr) in SortTypeList()
572 while (curr_block != nullptr && !isInlinedblock) { in SortTypeList()
574 [curr_block, &type_list](const lldb::TypeSP &type_sp) -> bool { in SortTypeList()
576 if (scs && curr_block == scs->CalculateSymbolContextBlock()) in SortTypeList()
587 curr_block = curr_block->GetParent(); in SortTypeList()