/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | vertexdeclaration9.c | 177 unsigned i, nelems; in NineVertexDeclaration9_ctor() local 181 for (nelems = 0; in NineVertexDeclaration9_ctor() 182 pElements[nelems].Stream != 0xFF; in NineVertexDeclaration9_ctor() 183 ++nelems) { in NineVertexDeclaration9_ctor() 184 user_assert(pElements[nelems].Type != D3DDECLTYPE_UNUSED, E_FAIL); in NineVertexDeclaration9_ctor() 185 user_assert(!(pElements[nelems].Offset & 3), E_FAIL); in NineVertexDeclaration9_ctor() 189 user_assert(nelems <= caps->MaxStreams, D3DERR_INVALIDCALL); in NineVertexDeclaration9_ctor() 194 This->nelems = nelems; in NineVertexDeclaration9_ctor() 195 This->decls = CALLOC(This->nelems in NineVertexDeclaration9_ctor() 282 unsigned texcount, i, betas, nelems = 0; NineVertexDeclaration9_new_from_fvf() local [all...] |
H A D | vertexdeclaration9.h | 42 unsigned nelems; member
|
H A D | nine_ff.h | 73 for (i = 0; i < context->vdecl->nelems; i++) { in nine_ff_get_projected_key()
|
H A D | nine_state.c | 857 for (i = 0; i < vdecl->nelems; i++) { in update_vertex_elements() 3066 for (i = 0; i < vdecl->nelems; i++) { in update_vertex_elements_sw()
|
H A D | nine_ff.c | 1594 for (i = 0; i < context->vdecl->nelems; i++) { in nine_ff_get_vs()
|
/third_party/libinput/src/ |
H A D | util-strings.c | 119 size_t l, nelems = 0; in strv_from_string() local 121 nelems++; in strv_from_string() 123 if (nelems == 0) { in strv_from_string() 128 size_t strv_len = nelems + 1; /* NULL-terminated */ in strv_from_string() 145 *num_elements = nelems; in strv_from_string()
|
/third_party/elfutils/lib/ |
H A D | fixedsizehash.h | 93 CONCAT(PREFIX,fshash_init) (size_t nelems) in CONCAT() 100 if (nelems >= (max_size_t / 3) * 2) in CONCAT() 107 nelems = next_prime (MAX ((nelems * 3) / 2, 10)); in CONCAT() 112 + (nelems + 1) * sizeof (struct CONCAT(PREFIX,fshashent)), 1); in CONCAT() 116 result->nslots = nelems; in CONCAT()
|
/third_party/mesa3d/src/asahi/lib/ |
H A D | pool.h | 87 unsigned nelems; member 94 .nelems = count, \ 114 size += descs[i].size * descs[i].nelems; in agx_pool_alloc_descs()
|
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_pool.h | 91 unsigned nelems; member 98 .nelems = count, \ 118 size += descs[i].size * descs[i].nelems; in pan_pool_alloc_descs()
|
/third_party/openssl/test/ |
H A D | asn1_encode_test.c | 732 size_t nelems; in test_intern() local 739 nelems = package->encode_expectations_size in test_intern() 741 OPENSSL_assert(nelems == in test_intern() 743 for (i = 0; i < nelems; i++) { in test_intern() 795 nelems = package->encdec_data_size / package->encdec_data_elem_size; in test_intern() 796 for (i = 0; i < nelems; i++) { in test_intern()
|
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_symtab.c | 162 symtab->nelems = 0; in cil_complex_symtab_init() 221 symtab->nelems++; in cil_complex_symtab_insert() 286 symtab->nelems = 0; in cil_complex_symtab_destroy()
|
H A D | cil_symtab.h | 68 uint32_t nelems; member
|
/third_party/libbpf/include/uapi/linux/ |
H A D | btf.h | 114 __u32 nelems; member
|
/third_party/libabigail/src/ |
H A D | abg-ctf-reader.cc | 1175 /// @param nelems the elements number of the array. 1180 ctf_id_t index, uint64_t nelems) in build_array_ctf_range() 1194 upper_bound.set_unsigned(nelems > 0 ? nelems - 1 : 0U); in build_array_ctf_range() 1197 if (upper_bound.get_unsigned_value() == 0 && nelems == 0) in build_array_ctf_range() 1244 uint64_t nelems = ctf_ainfo.ctr_nelems; in process_ctf_array_type() local 1284 ctf_index_type, nelems); in process_ctf_array_type() 1179 build_array_ctf_range(reader *rdr, ctf_dict_t *dic, ctf_id_t index, uint64_t nelems) build_array_ctf_range() argument
|
/third_party/libbpf/src/ |
H A D | relo_core.c | 78 if (!acc->name || arr->nelems > 0) in is_flex_arr() 374 if (!flex && access_idx >= a->nelems) in bpf_core_parse_spec() 650 if (!flex && local_acc->idx >= a->nelems) in bpf_core_spec_match() 1650 if (local_array->nelems != targ_array->nelems) in __bpf_core_types_match()
|
H A D | btf.c | 382 a->nelems = bswap_32(a->nelems); in btf_bswap_type_rest() 771 __u32 nelems = 1; in btf__resolve_size() local 801 if (nelems && array->nelems > UINT32_MAX / nelems) in btf__resolve_size() 803 nelems *= array->nelems; in btf__resolve_size() 816 if (nelems && size > UINT32_MAX / nelems) in btf__resolve_size() [all...] |
H A D | btf_dump.c | 1517 btf_dump_printf(d, "[%u]", a->nelems); in btf_dump_emit_type_chain() 1533 btf_dump_printf(d, "[%u]", a->nelems); in btf_dump_emit_type_chain() 2069 for (i = 0; i < array->nelems; i++, data += elem_size) { in btf_dump_array_data() 2362 for (i = 0; i < array->nelems; i++) { in btf_dump_type_data_check_zero()
|
H A D | libbpf.c | 2257 *res = arr_info->nelems; 2445 if (!btf_is_array(t) || btf_array(t)->nelems) { 4061 if (btf_array(t)->nelems == 0)
|