/external/mesa3d/src/gallium/state_trackers/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()
|
D | nine_state.c | 826 for (i = 0; i < vdecl->nelems; i++) { in update_vertex_elements() 3214 for (i = 0; i < vdecl->nelems; i++) { in update_vertex_elements_sw()
|
D | nine_ff.c | 1583 for (i = 0; i < context->vdecl->nelems; i++) { in nine_ff_get_vs()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | ndarray_tensor.cc | 185 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/ |
D | fixedsizehash.h | 94 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/ |
D | mkl_reshape_op.cc | 169 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/ |
D | fallback_malloc.cpp | 98 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/ |
D | lfunc.h | 22 LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems); 23 LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems);
|
D | lmem.h | 40 #define luaM_growvector(L,v,nelems,size,t,limit,e) \ argument 41 if ((nelems)+1 > (size)) \
|
D | lcode.h | 80 LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore);
|
D | lcode.c | 867 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/ |
D | cil_symtab.c | 160 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()
|
D | cil_symtab.h | 68 uint32_t nelems; member
|
/external/adhd/cras/src/tests/ |
D | alsa_jack_unittest.cc | 208 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/ |
D | dnsextd.h | 142 mDNSs32 nelems; // elements in table member
|
D | dnsextd.c | 845 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/ |
D | blktrace.h | 43 unsigned int nelems; member
|
D | blkparse.c | 1787 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/ |
D | tensor_jni.cc | 116 const int nelems = env->GetArrayLength(array); in write1DArray() local 123 size_t to_copy = nelems * elemByteSize(dtype); \ in write1DArray()
|
/external/tensorflow/tensorflow/c/ |
D | c_api.cc | 519 tensorflow::int64 nelems = 1; in EmptyTensor() local 523 nelems *= shape.dim_size(i); in EmptyTensor() 525 CHECK_EQ(nelems, 0); in EmptyTensor()
|