Home
last modified time | relevance | path

Searched refs:num_decls (Results 1 – 6 of 6) sorted by relevance

/external/igt-gpu-tools/tools/null_state_gen/
Dintel_renderstate_gen9.c127 const int num_decls = 128; in gen8_emit_so_decl_list() local
131 (((2 * num_decls) + 3) - 2) /* DWORD count - 2 */); in gen8_emit_so_decl_list()
133 OUT_BATCH(num_decls); in gen8_emit_so_decl_list()
135 for (i = 0; i < num_decls; i++) { in gen8_emit_so_decl_list()
Dintel_renderstate_gen8.c128 const int num_decls = 128; in gen8_emit_so_decl_list() local
131 OUT_BATCH(GEN8_3DSTATE_SO_DECL_LIST | ((2 * num_decls) + 1)); in gen8_emit_so_decl_list()
133 OUT_BATCH(num_decls); in gen8_emit_so_decl_list()
135 for (i = 0; i < num_decls; i++) { in gen8_emit_so_decl_list()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_swtnl_state.c190 const SVGA3dVertexDecl *vdecl, unsigned num_decls) in svga_vdecl_to_input_element() argument
196 assert(num_decls <= PIPE_MAX_ATTRIBS); in svga_vdecl_to_input_element()
199 for (i = 0; i < num_decls; i++) { in svga_vdecl_to_input_element()
210 SVGA_RETRY(svga, SVGA3D_vgpu10_DefineElementLayout(svga->swc, num_decls, id, in svga_vdecl_to_input_element()
/external/selinux/libsepol/src/
Dlink.c43 uint32_t num_decls; member
2280 uint32_t items, num_decls = 0; in prepare_module() local
2311 if (decl->decl_id > num_decls) { in prepare_module()
2312 num_decls = decl->decl_id; in prepare_module()
2316 num_decls++; in prepare_module()
2317 if ((module->avdecl_map = calloc(num_decls, sizeof(uint32_t))) == NULL) { in prepare_module()
2321 module->num_decls = num_decls; in prepare_module()
2570 num_mod_decls += modules[i]->num_decls; in link_modules()
Dpolicydb.c1171 unsigned int num_decls = 0; in policydb_index_decls() local
1178 num_decls++; in policydb_index_decls()
1183 calloc(num_decls, sizeof(*(p->decl_val_to_struct))); in policydb_index_decls()
1191 if (decl->decl_id < 1 || decl->decl_id > num_decls) { in policydb_index_decls()
3834 uint32_t num_decls; in avrule_block_read() local
3847 num_decls = le32_to_cpu(buf[0]); in avrule_block_read()
3848 while (num_decls > 0) { in avrule_block_read()
3877 num_decls--; in avrule_block_read()
Dwrite.c2015 uint32_t num_decls = 0; in avrule_block_write() local
2019 num_decls++; in avrule_block_write()
2021 buf[0] = cpu_to_le32(num_decls); in avrule_block_write()