Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/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.c826 for (i = 0; i < vdecl->nelems; i++) { in update_vertex_elements()
3214 for (i = 0; i < vdecl->nelems; i++) { in update_vertex_elements_sw()
Dnine_ff.c1583 for (i = 0; i < context->vdecl->nelems; i++) { in nine_ff_get_vs()
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor.cc185 Status EncodePyBytesArray(PyArrayObject* array, tensorflow::int64 nelems, in EncodePyBytesArray() argument
196 char* data_start = base + sizeof(tensorflow::uint64) * nelems; in EncodePyBytesArray()
213 Status CopyTF_TensorStringsToPyArray(const TF_Tensor* src, uint64 nelems, in CopyTF_TensorStringsToPyArray() argument
222 const size_t offsets_size = sizeof(uint64) * nelems; in CopyTF_TensorStringsToPyArray()
230 " bytes of encoded strings for the tensor containing ", nelems, in CopyTF_TensorStringsToPyArray()
236 for (int64 i = 0; i < nelems; ++i) { in CopyTF_TensorStringsToPyArray()
266 const TF_Tensor* tensor, tensorflow::int64* nelems) { in GetPyArrayDimensionsForTensor() argument
271 *nelems = dims[0]; in GetPyArrayDimensionsForTensor()
273 *nelems = 1; in GetPyArrayDimensionsForTensor()
276 *nelems *= dims[i]; in GetPyArrayDimensionsForTensor()
[all …]
/external/elfutils/lib/
Dfixedsizehash.h94 CONCAT(PREFIX,fshash_init) (size_t nelems) in CONCAT()
101 if (nelems >= (max_size_t / 3) * 2) in CONCAT()
108 nelems = next_prime (MAX ((nelems * 3) / 2, 10)); in CONCAT()
113 + (nelems + 1) * sizeof (struct CONCAT(PREFIX,fshashent)), 1); in CONCAT()
117 result->nslots = nelems; in CONCAT()
/external/tensorflow/tensorflow/core/kernels/
Dmkl_reshape_op.cc169 const int64 nelems = input_in_mkl_format in Compute() local
204 const int64 missing = nelems / product; in Compute()
206 context, product * missing == nelems, in Compute()
208 "Input to reshape is a tensor with ", nelems, in Compute()
214 context, shape.num_elements() == nelems, in Compute()
215 errors::InvalidArgument("Input to reshape is a tensor with ", nelems, in Compute()
/external/libcxxabi/src/
Dfallback_malloc.cpp98 const size_t nelems = alloc_size(len); in fallback_malloc() local
108 if (p->len > nelems) { // chunk is larger, shorten, and return the tail in fallback_malloc()
111 p->len = static_cast<heap_size>(p->len - nelems); in fallback_malloc()
114 q->len = static_cast<heap_size>(nelems); in fallback_malloc()
118 if (p->len == nelems) { // exact size match in fallback_malloc()
/external/syslinux/com32/lua/src/
Dlfunc.h22 LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems);
23 LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems);
Dlmem.h40 #define luaM_growvector(L,v,nelems,size,t,limit,e) \ argument
41 if ((nelems)+1 > (size)) \
Dlcode.h80 LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore);
Dlcode.c867 void luaK_setlist (FuncState *fs, int base, int nelems, int tostore) { in luaK_setlist() argument
868 int c = (nelems - 1)/LFIELDS_PER_FLUSH + 1; in luaK_setlist()
/external/selinux/libsepol/cil/src/
Dcil_symtab.c160 symtab->nelems = 0; in cil_complex_symtab_init()
218 symtab->nelems++; in cil_complex_symtab_insert()
283 symtab->nelems = 0; in cil_complex_symtab_destroy()
Dcil_symtab.h68 uint32_t nelems; member
/external/adhd/cras/src/tests/
Dalsa_jack_unittest.cc208 size_t nelems, in run_test_with_elem_list() argument
215 for (unsigned int i = 1; i < nelems; i++) in run_test_with_elem_list()
239 EXPECT_GE(snd_hctl_elem_next_called, nelems + nhdmi_jacks); in run_test_with_elem_list()
240 EXPECT_GE(snd_hctl_elem_get_name_called, nelems + njacks); in run_test_with_elem_list()
253 size_t nelems, in run_test_with_section() argument
262 for (size_t i = 0; i < nelems; i++) { in run_test_with_section()
/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.h43 unsigned int nelems; member
Dblkparse.c1787 if (!pci->nelems) in show_device_and_cpu_stats()
2081 pci->nelems++; in show_entries_rb()
2464 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()
/external/tensorflow/tensorflow/c/
Dc_api.cc519 tensorflow::int64 nelems = 1; in EmptyTensor() local
523 nelems *= shape.dim_size(i); in EmptyTensor()
525 CHECK_EQ(nelems, 0); in EmptyTensor()
/external/error_prone/javac/
Djavac-9+181-r4173-1.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...
/external/annotation-tools/annotation-file-utilities/
Dannotation-file-utilities.jarMETA-INF/ META-INF/MANIFEST.MF annotations/ annotations/el/ annotations/ ...