/external/tensorflow/tensorflow/core/kernels/ |
H A D | tile_functor_cpu.cc | 30 const int64 nelem = out->NumElements(); local 36 for (int64 o_idx = 0; o_idx < nelem; ++o_idx) {
|
H A D | inplace_ops_functor_gpu.cu.cc | 45 const int64 nelem = value.NumElements(); local 46 CudaLaunchConfig cfg = GetCudaLaunchConfig(nelem, d);
|
H A D | transpose_functor_gpu.cu.cc | 60 const int64 nelem = in.NumElements(); local 61 CHECK_LT(nelem, kint32max) << "Tensor too large to transpose on GPU"; 82 CudaLaunchConfig cfg = GetCudaLaunchConfig(nelem, d);
|
/external/python/cpython2/Modules/ |
H A D | bsddbmodule.c | 54 int bsize, int ffactor, int nelem, int cachesize, 65 info.nelem = nelem; 687 int nelem = 0; local 694 &bsize, &ffactor, &nelem, &cachesize, 726 bsize, ffactor, nelem, cachesize, hash, lorder); 53 newdbhashobject(char *file, int flags, int mode, int bsize, int ffactor, int nelem, int cachesize, int hash, int lorder) argument
|
H A D | _bsddb.c | 3013 int err, nelem; local 3015 if (!PyArg_ParseTuple(args,"i:set_h_nelem", &nelem)) 3020 err = self->db->set_h_nelem(self->db, nelem); 3030 u_int32_t nelem; local 3035 err = self->db->get_h_nelem(self->db, &nelem); 3038 return NUMBER_FromLong(nelem);
|
/external/one-true-awk/ |
H A D | awk.h | 89 int nelem; /* elements in table right now */ member in struct:Array
|
/external/python/cpython3/Modules/ |
H A D | _tracemalloc.c | 670 tracemalloc_alloc(int use_calloc, void *ctx, size_t nelem, size_t elsize) argument 675 assert(elsize == 0 || nelem <= SIZE_MAX / elsize); 678 ptr = alloc->calloc(alloc->ctx, nelem, elsize); 680 ptr = alloc->malloc(alloc->ctx, nelem * elsize); 685 if (ADD_TRACE(ptr, nelem * elsize) < 0) { 767 tracemalloc_alloc_gil(int use_calloc, void *ctx, size_t nelem, size_t elsize) argument 774 return alloc->calloc(alloc->ctx, nelem, elsize); 776 return alloc->malloc(alloc->ctx, nelem * elsize); 784 ptr = tracemalloc_alloc(use_calloc, ctx, nelem, elsize); 799 tracemalloc_calloc_gil(void *ctx, size_t nelem, size_ argument 840 tracemalloc_raw_alloc(int use_calloc, void *ctx, size_t nelem, size_t elsize) argument 881 tracemalloc_raw_calloc(void *ctx, size_t nelem, size_t elsize) argument [all...] |
H A D | _testcapimodule.c | 3271 static void* hook_calloc (void* ctx, size_t nelem, size_t elsize) argument 3274 hook->calloc_nelem = nelem; 3276 return hook->alloc.calloc(hook->alloc.ctx, nelem, elsize); 3301 size_t size, size2, nelem, elsize; local 3365 nelem = 2; 3369 case PYMEM_DOMAIN_RAW: ptr = PyMem_RawCalloc(nelem, elsize); break; 3370 case PYMEM_DOMAIN_MEM: ptr = PyMem_Calloc(nelem, elsize); break; 3371 case PYMEM_DOMAIN_OBJ: ptr = PyObject_Calloc(nelem, elsize); break; 3380 if (hook.calloc_nelem != nelem || hook.calloc_elsize != elsize) { 3381 error_msg = "calloc invalid nelem o [all...] |
/external/python/cpython3/Objects/ |
H A D | obmalloc.c | 17 static void* _PyMem_DebugRawCalloc(void *ctx, size_t nelem, size_t elsize); 22 static void* _PyMem_DebugCalloc(void *ctx, size_t nelem, size_t elsize); 58 static void* _PyObject_Calloc(void *ctx, size_t nelem, size_t elsize); 77 _PyMem_RawCalloc(void *ctx, size_t nelem, size_t elsize) argument 83 if (nelem == 0 || elsize == 0) { 84 nelem = 1; 87 return calloc(nelem, elsize); 390 PyMem_RawCalloc(size_t nelem, size_t elsize) argument 393 if (elsize != 0 && nelem > (size_t)PY_SSIZE_T_MAX / elsize) 395 return _PyMem_Raw.calloc(_PyMem_Raw.ctx, nelem, elsiz 422 PyMem_Calloc(size_t nelem, size_t elsize) argument 483 PyObject_Calloc(size_t nelem, size_t elsize) argument 1220 _PyObject_Alloc(int use_calloc, void *ctx, size_t nelem, size_t elsize) argument 1441 _PyObject_Calloc(void *ctx, size_t nelem, size_t elsize) argument 1883 _PyMem_DebugRawCalloc(void *ctx, size_t nelem, size_t elsize) argument 1985 _PyMem_DebugCalloc(void *ctx, size_t nelem, size_t elsize) argument [all...] |
/external/dlmalloc/ |
H A D | malloc.c | 5126 static size_t internal_bulk_free(mstate m, void* array[], size_t nelem) { argument 5130 void** fence = &(array[nelem]); 5352 size_t dlbulk_free(void* array[], size_t nelem) { argument 5353 return internal_bulk_free(gm, array, nelem); 5882 size_t mspace_bulk_free(mspace msp, void* array[], size_t nelem) { argument 5883 return internal_bulk_free((mstate)msp, array, nelem);
|