Searched refs:num_decls (Results 1 – 7 of 7) sorted by relevance
/external/igt-gpu-tools/tools/null_state_gen/ |
D | intel_renderstate_gen8.c | 128 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()
|
D | intel_renderstate_gen9.c | 127 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()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_swtnl_state.c | 190 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/ |
D | link.c | 44 uint32_t num_decls; member 2282 uint32_t items, num_decls = 0; in prepare_module() local 2313 if (decl->decl_id > num_decls) { in prepare_module() 2314 num_decls = decl->decl_id; in prepare_module() 2318 num_decls++; in prepare_module() 2319 if ((module->avdecl_map = calloc(num_decls, sizeof(uint32_t))) == NULL) { in prepare_module() 2323 module->num_decls = num_decls; in prepare_module() 2572 num_mod_decls += modules[i]->num_decls; in link_modules()
|
D | policydb_validate.c | 206 unsigned int num_decls = 0; in validate_scopes() local 210 num_decls++; in validate_scopes() 215 if (hashtab_map(scopes[i].table, validate_scope, &num_decls)) in validate_scopes()
|
D | policydb.c | 1174 unsigned int num_decls = 0; in policydb_index_decls() local 1181 num_decls++; in policydb_index_decls() 1186 calloc(num_decls, sizeof(*(p->decl_val_to_struct))); in policydb_index_decls() 1194 if (!value_isvalid(decl->decl_id, num_decls)) { in policydb_index_decls() 4027 uint32_t num_decls; in avrule_block_read() local 4040 num_decls = le32_to_cpu(buf[0]); in avrule_block_read() 4041 while (num_decls > 0) { in avrule_block_read() 4070 num_decls--; in avrule_block_read()
|
D | write.c | 2084 uint32_t num_decls = 0; in avrule_block_write() local 2088 num_decls++; in avrule_block_write() 2090 buf[0] = cpu_to_le32(num_decls); in avrule_block_write()
|