Home
last modified time | relevance | path

Searched refs:nelems (Results 1 – 25 of 28) sorted by relevance

12

/external/mesa3d/src/gallium/frontends/nine/
Dvertexdeclaration9.c177 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 …]
Dvertexdeclaration9.h42 unsigned nelems; member
Dnine_ff.h73 for (i = 0; i < context->vdecl->nelems; i++) { in nine_ff_get_projected_key()
Dnine_state.c828 for (i = 0; i < vdecl->nelems; i++) { in update_vertex_elements()
2997 for (i = 0; i < vdecl->nelems; i++) { in update_vertex_elements_sw()
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor.cc256 Status EncodePyBytesArray(PyArrayObject* array, tensorflow::int64 nelems, in EncodePyBytesArray() argument
259 *size = nelems * sizeof(tensorflow::tstring); in EncodePyBytesArray()
261 new tensorflow::tstring[nelems]); in EncodePyBytesArray()
273 Status CopyTF_TensorStringsToPyArray(const TF_Tensor* src, uint64 nelems, in CopyTF_TensorStringsToPyArray() argument
284 for (int64 i = 0; i < static_cast<int64>(nelems); ++i) { in CopyTF_TensorStringsToPyArray()
308 tensorflow::int64* nelems) { in GetPyArrayDimensionsForTensor() argument
317 *nelems = dims->back(); in GetPyArrayDimensionsForTensor()
319 *nelems = 1; in GetPyArrayDimensionsForTensor()
322 *nelems *= dims->back(); in GetPyArrayDimensionsForTensor()
405 int64 nelems = -1; in TF_TensorToMaybeAliasedPyArray() local
[all …]
/external/elfutils/lib/
Dfixedsizehash.h99 CONCAT(PREFIX,fshash_init) (size_t nelems) in CONCAT()
106 if (nelems >= (max_size_t / 3) * 2) in CONCAT()
113 nelems = next_prime (MAX ((nelems * 3) / 2, 10)); in CONCAT()
118 + (nelems + 1) * sizeof (struct CONCAT(PREFIX,fshashent)), 1); in CONCAT()
122 result->nslots = nelems; in CONCAT()
/external/libcxxabi/src/
Dfallback_malloc.cpp101 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/llvm-project/libcxxabi/src/
Dfallback_malloc.cpp103 const size_t nelems = alloc_size(len); in fallback_malloc() local
113 if (p->len > nelems) { // chunk is larger, shorten, and return the tail in fallback_malloc()
116 p->len = static_cast<heap_size>(p->len - nelems); in fallback_malloc()
119 q->len = static_cast<heap_size>(nelems); in fallback_malloc()
123 if (p->len == nelems) { // exact size match in fallback_malloc()
/external/lua/src/
Dlmem.h66 #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,
Dlmem.c79 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_()
Dlcode.h99 LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore);
Dlcode.c1750 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()
/external/llvm-project/debuginfo-tests/dexter-tests/
Doptnone-loops.cpp20 unsigned nelems) { in simple_memcpy_loop() argument
21 for (unsigned i = 0; i != nelems; ++i) in simple_memcpy_loop()
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_reshape_op.cc70 const int64 nelems = input_in_mkl_format ? input_shape.num_elements() in Compute() local
127 context, shape.num_elements() == nelems, in Compute()
128 errors::InvalidArgument("Input to reshape is a tensor with ", nelems, in Compute()
/external/selinux/libsepol/cil/src/
Dcil_symtab.c160 symtab->nelems = 0; in cil_complex_symtab_init()
219 symtab->nelems++; in cil_complex_symtab_insert()
284 symtab->nelems = 0; in cil_complex_symtab_destroy()
Dcil_symtab.h68 uint32_t nelems; member
/external/tensorflow/tensorflow/c/
Dtf_tensor.cc242 tensorflow::int64 nelems = 1; in EmptyTensor() local
246 nelems *= shape.dim_size(i); in EmptyTensor()
248 CHECK_EQ(nelems, 0); in EmptyTensor()
Dc_api.cc395 tensorflow::int64 nelems = 1; in EmptyTensor() local
399 nelems *= shape.dim_size(i); in EmptyTensor()
401 CHECK_EQ(nelems, 0); in EmptyTensor()
/external/adhd/cras/src/tests/
Dalsa_jack_unittest.cc200 size_t nelems, in run_test_with_elem_list() argument
207 for (unsigned int i = 1; i < nelems; i++) in run_test_with_elem_list()
226 EXPECT_GE(snd_hctl_elem_next_called, nelems); in run_test_with_elem_list()
227 EXPECT_GE(snd_hctl_elem_get_name_called, nelems); in run_test_with_elem_list()
242 size_t nelems, in run_test_with_section() argument
251 for (size_t i = 0; i < nelems; i++) { in run_test_with_section()
/external/kernel-headers/original/uapi/linux/
Dbtf.h107 __u32 nelems; member
/external/mdnsresponder/mDNSShared/
Ddnsextd.h142 mDNSs32 nelems; // elements in table member
Ddnsextd.c845 Log("Dumping Lease Table Contents (table contains %d resource records)", d->nelems); in PrintLeaseTable()
1145 d->nelems = 0; in InitLeaseTable()
1360 d->nelems--; in DeleteRecords()
1424 d->nelems--; in UpdateLeaseTable()
1443 if (d->nelems > d->nbuckets) in UpdateLeaseTable()
1463 d->nelems++; in UpdateLeaseTable()
/external/blktrace/
Dblktrace.h49 unsigned int nelems; member
Dblkparse.c1834 if (!pci->nelems) in show_device_and_cpu_stats()
2145 pci->nelems++; in show_entries_rb()
2534 pci->nelems++; in handle()
/external/tensorflow/tensorflow/java/src/main/native/
Dtensor_jni.cc116 const int nelems = env->GetArrayLength(array); in write1DArray() local
123 size_t to_copy = nelems * elemByteSize(dtype); \ in write1DArray()

12