Home
last modified time | relevance | path

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

/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()
Dnine_ff.c1585 for (i = 0; i < context->vdecl->nelems; i++) { in nine_ff_get_vs()
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor.cc244 Status EncodePyBytesArray(PyArrayObject* array, tensorflow::int64 nelems, in EncodePyBytesArray() argument
256 char* data_start = base + sizeof(tensorflow::uint64) * nelems; in EncodePyBytesArray()
273 Status CopyTF_TensorStringsToPyArray(const TF_Tensor* src, uint64 nelems, in CopyTF_TensorStringsToPyArray() argument
282 const size_t offsets_size = sizeof(uint64) * nelems; in CopyTF_TensorStringsToPyArray()
290 " bytes of encoded strings for the tensor containing ", nelems, in CopyTF_TensorStringsToPyArray()
296 for (int64 i = 0; i < nelems; ++i) { in CopyTF_TensorStringsToPyArray()
327 tensorflow::int64* nelems) { in GetPyArrayDimensionsForTensor() argument
336 *nelems = dims->back(); in GetPyArrayDimensionsForTensor()
338 *nelems = 1; in GetPyArrayDimensionsForTensor()
341 *nelems *= dims->back(); in GetPyArrayDimensionsForTensor()
[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/lua/src/
Dlfunc.h51 LUAI_FUNC CClosure *luaF_newCclosure (lua_State *L, int nelems);
52 LUAI_FUNC LClosure *luaF_newLclosure (lua_State *L, int nelems);
Dlmem.h52 #define luaM_growvector(L,v,nelems,size,t,limit,e) \ argument
53 if ((nelems)+1 > (size)) \
Dlcode.h85 LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore);
Dlcode.c1189 void luaK_setlist (FuncState *fs, int base, int nelems, int tostore) { in luaK_setlist() argument
1190 int c = (nelems - 1)/LFIELDS_PER_FLUSH + 1; in luaK_setlist()
/external/tensorflow/tensorflow/core/kernels/
Dmkl_reshape_op.cc73 const int64 nelems = input_in_mkl_format ? input_shape.num_elements() in Compute() local
130 context, shape.num_elements() == nelems, in Compute()
131 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/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()
225 EXPECT_GE(snd_hctl_elem_next_called, nelems + nhdmi_jacks); in run_test_with_elem_list()
226 EXPECT_GE(snd_hctl_elem_get_name_called, nelems + njacks); in run_test_with_elem_list()
241 size_t nelems, in run_test_with_section() argument
250 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/tensorflow/tensorflow/c/
Dtf_tensor.cc271 tensorflow::int64 nelems = 1; in EmptyTensor() local
275 nelems *= shape.dim_size(i); in EmptyTensor()
277 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/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()