Home
last modified time | relevance | path

Searched refs:test_block (Results 1 – 10 of 10) sorted by relevance

/external/selinux/libsepol/cil/test/unit/
Dtest_cil_symtab.c42 struct cil_block *test_block = malloc(sizeof(*test_block)); in test_cil_symtab_insert() local
53 cil_symtab_array_init(test_block->symtab, cil_sym_sizes[CIL_SYM_ARRAY_BLOCK]); in test_cil_symtab_insert()
55 test_block->is_abstract = 0; in test_cil_symtab_insert()
59 …insert(test_symtab, (hashtab_key_t)test_name, (struct cil_symtab_datum*)test_block, test_ast_node); in test_cil_symtab_insert()
/external/valgrind/tests/
Dpower_insn_available.c44 char *test_block = NULL; in dcbzl_available() local
49 err = posix_memalign ((void **)&test_block, MAX_DCBZL_SZB, 4 * MAX_DCBZL_SZB); in dcbzl_available()
55 rb = test_block; in dcbzl_available()
65 free(test_block); in dcbzl_available()
/external/valgrind/none/tests/ppc64/
Ddata-cache-instructions.c19 char *test_block = NULL; in query_block_size() local
24 err = posix_memalign ((void **)&test_block, MAX_DCBZL_SZB, test_block_size); in query_block_size()
30 rb = test_block; in query_block_size()
39 free(test_block); in query_block_size()
/external/valgrind/none/tests/ppc32/
Ddata-cache-instructions.c19 char *test_block = NULL; in query_block_size() local
24 err = posix_memalign ((void **)&test_block, MAX_DCBZL_SZB, test_block_size); in query_block_size()
30 rb = test_block; in query_block_size()
39 free(test_block); in query_block_size()
/external/e2fsprogs/e2fsck/
Dpass1b.c92 static int check_if_fs_block(e2fsck_t ctx, blk64_t test_block);
880 static int check_if_fs_block(e2fsck_t ctx, blk64_t test_block) in check_if_fs_block() argument
891 if (test_block >= first_block && in check_if_fs_block()
892 (test_block <= first_block + fs->desc_blocks)) in check_if_fs_block()
898 (test_block >= ext2fs_inode_table_loc(fs, i)) && in check_if_fs_block()
899 (test_block < (ext2fs_inode_table_loc(fs, i) + in check_if_fs_block()
904 if ((test_block == ext2fs_block_bitmap_loc(fs, i)) || in check_if_fs_block()
905 (test_block == ext2fs_inode_bitmap_loc(fs, i))) in check_if_fs_block()
/external/clang/test/SemaCXX/
Dprintf-block.cpp14 void test_block() { in test_block() function
/external/valgrind/coregrind/
Dm_machine.c542 char test_block[4*MAX_DCBZL_SZB]; in find_ppc_dcbz_sz() local
543 char *aligned = test_block; in find_ppc_dcbz_sz()
548 vg_assert((aligned + MAX_DCBZL_SZB) <= &test_block[sizeof(test_block)]); in find_ppc_dcbz_sz()
552 VG_(memset)(test_block, 0xff, sizeof(test_block)); in find_ppc_dcbz_sz()
557 for (dcbz_szB = 0, i = 0; i < sizeof(test_block); ++i) { in find_ppc_dcbz_sz()
558 if (!test_block[i]) in find_ppc_dcbz_sz()
568 VG_(memset)(test_block, 0xff, sizeof(test_block)); in find_ppc_dcbz_sz()
575 for (dcbzl_szB = 0, i = 0; i < sizeof(test_block); ++i) { in find_ppc_dcbz_sz()
576 if (!test_block[i]) in find_ppc_dcbz_sz()
/external/clang/test/CodeGen/
Dblocks-opencl.cl11 kernel void test_block()
/external/e2fsprogs/lib/ext2fs/
Dtst_bitmaps_cmd.ct22 test_block, testb;
/external/eigen/test/
Dblock.cpp234 void test_block() in test_block() function