/external/mesa3d/src/gallium/frontends/nine/ |
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+1, sizeof(D3DVERTEXELEMENT9)); in NineVertexDeclaration9_ctor() 196 This->elems = CALLOC(This->nelems, sizeof(struct pipe_vertex_element)); in NineVertexDeclaration9_ctor() [all …]
|
D | vertexdeclaration9.h | 42 unsigned nelems; member
|
D | nine_ff.h | 73 for (i = 0; i < context->vdecl->nelems; i++) { in nine_ff_get_projected_key()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | ndarray_tensor.cc | 264 Status EncodePyBytesArray(PyArrayObject* array, int64_t nelems, size_t* size, in EncodePyBytesArray() argument 267 *size = nelems * sizeof(tensorflow::tstring); in EncodePyBytesArray() 269 new tensorflow::tstring[nelems]); in EncodePyBytesArray() 281 Status CopyTF_TensorStringsToPyArray(const TF_Tensor* src, uint64 nelems, in CopyTF_TensorStringsToPyArray() argument 292 for (int64_t i = 0; i < static_cast<int64_t>(nelems); ++i) { in CopyTF_TensorStringsToPyArray() 316 int64_t* nelems) { in GetPyArrayDimensionsForTensor() argument 325 *nelems = dims->back(); in GetPyArrayDimensionsForTensor() 327 *nelems = 1; in GetPyArrayDimensionsForTensor() 330 *nelems *= dims->back(); in GetPyArrayDimensionsForTensor() 412 int64_t nelems = -1; in TF_TensorToMaybeAliasedPyArray() local [all …]
|
/external/elfutils/lib/ |
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()
|
/external/libcxxabi/src/ |
D | fallback_malloc.cpp | 101 const size_t nelems = alloc_size(len); in fallback_malloc() local 111 if (p->len > nelems) { // chunk is larger, shorten, and return the tail in fallback_malloc() 114 p->len = static_cast<heap_size>(p->len - nelems); in fallback_malloc() 117 q->len = static_cast<heap_size>(nelems); in fallback_malloc() 121 if (p->len == nelems) { // exact size match in fallback_malloc()
|
/external/cronet/buildtools/third_party/libc++abi/trunk/src/ |
D | fallback_malloc.cpp | 133 const size_t nelems = alloc_size(len); in fallback_malloc() local 151 size_t aligned_nelems = nelems; in fallback_malloc() 152 if (p->len > nelems) { in fallback_malloc() 153 heap_size remaining_len = static_cast<heap_size>(p->len - nelems); in fallback_malloc() 172 if (p->len >= nelems) { in fallback_malloc()
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/mhlo/transforms/ |
D | mhlo_canonicalize_reduction.cc | 163 Value nelems = one; in runOnOperation() local 166 nelems = b.create<arith::MulIOp>( in runOnOperation() 167 loc, nelems, in runOnOperation() 170 return nelems; in runOnOperation()
|
/external/lua/src/ |
D | lmem.h | 66 #define luaM_growvector(L,v,nelems,size,t,limit,e) \ argument 67 ((v)=cast(t *, luaM_growaux_(L,v,nelems,&(size),sizeof(t), \ 85 LUAI_FUNC void *luaM_growaux_ (lua_State *L, void *block, int nelems,
|
D | lmem.c | 79 void *luaM_growaux_ (lua_State *L, void *block, int nelems, int *psize, in luaM_growaux_() argument 83 if (nelems + 1 <= size) /* does one extra element still fit? */ in luaM_growaux_() 95 lua_assert(nelems + 1 <= size && size <= limit); in luaM_growaux_()
|
D | lcode.c | 1750 void luaK_setlist (FuncState *fs, int base, int nelems, int tostore) { in luaK_setlist() argument 1754 if (nelems <= MAXARG_C) in luaK_setlist() 1755 luaK_codeABC(fs, OP_SETLIST, base, tostore, nelems); in luaK_setlist() 1757 int extra = nelems / (MAXARG_C + 1); in luaK_setlist() 1758 nelems %= (MAXARG_C + 1); in luaK_setlist() 1759 luaK_codeABCk(fs, OP_SETLIST, base, tostore, nelems, 1); in luaK_setlist()
|
D | lcode.h | 99 LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore);
|
/external/tensorflow/tensorflow/core/kernels/mkl/ |
D | mkl_reshape_op.cc | 69 const int64 nelems = input_in_mkl_format ? input_shape.num_elements() in Compute() local 126 context, shape.num_elements() == nelems, in Compute() 127 errors::InvalidArgument("Input to reshape is a tensor with ", nelems, in Compute()
|
/external/selinux/libsepol/cil/src/ |
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()
|
D | cil_symtab.h | 68 uint32_t nelems; member
|
/external/tensorflow/tensorflow/c/ |
D | tf_tensor.cc | 275 int64_t nelems = 1; in EmptyTensor() local 281 nelems *= shape.dim_size(i); in EmptyTensor() 283 CHECK_EQ(nelems, 0); in EmptyTensor()
|
/external/bpftool/src/ |
D | btf_dumper.c | 191 if (!arr->nelems) in is_str_array() 208 end_s = s + arr->nelems; in is_str_array() 240 for (i = 0; i < arr->nelems; i++) { in btf_dumper_array() 627 BTF_PRINT_ARG("[%d]", array->nelems); in __btf_dumper_type_only()
|
/external/bpftool/include/uapi/linux/ |
D | btf.h | 113 __u32 nelems; member
|
/external/libbpf/include/uapi/linux/ |
D | btf.h | 113 __u32 nelems; member
|
/external/kernel-headers/original/uapi/linux/ |
D | btf.h | 114 __u32 nelems; member
|
/external/mdnsresponder/mDNSShared/ |
D | dnsextd.h | 142 mDNSs32 nelems; // elements in table member
|
/external/libbpf/src/ |
D | btf.c | 368 a->nelems = bswap_32(a->nelems); in btf_bswap_type_rest() 589 __u32 nelems = 1; in btf__resolve_size() local 618 if (nelems && array->nelems > UINT32_MAX / nelems) in btf__resolve_size() 620 nelems *= array->nelems; in btf__resolve_size() 633 if (nelems && size > UINT32_MAX / nelems) in btf__resolve_size() 636 return nelems * size; in btf__resolve_size() 1978 a->nelems = nr_elems; in btf__add_array() 3578 h = hash_combine(h, info->nelems); in btf_hash_array() 3600 info1->nelems == info2->nelems; in btf_equal_array() 3613 return btf_array(t1)->nelems == btf_array(t2)->nelems; in btf_compat_array()
|
D | relo_core.c | 78 if (!acc->name || arr->nelems > 0) in is_flex_arr() 291 if (!flex && access_idx >= a->nelems) in bpf_core_parse_spec() 556 if (!flex && local_acc->idx >= a->nelems) in bpf_core_spec_match()
|
/external/blktrace/ |
D | blktrace.h | 49 unsigned int nelems; member
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | btf_helpers.c | 120 arr->type, arr->index_type, arr->nelems); in fprintf_btf_type_raw()
|