/external/libutf/ |
D | runetypebody.h | 22 p = rbsearch(c, __isspacer, nelem(__isspacer)/2, 2); in isspacerune() 78 p = rbsearch(c, __isdigitr, nelem(__isdigitr)/2, 2); in isdigitrune() 581 p = rbsearch(c, __isalphar, nelem(__isalphar)/2, 2); in isalpharune() 584 p = rbsearch(c, __isalphas, nelem(__isalphas), 1); in isalpharune() 753 p = rbsearch(c, __isupperr, nelem(__isupperr)/2, 2); in isupperrune() 756 p = rbsearch(c, __isupperp, nelem(__isupperp)/2, 2); in isupperrune() 759 p = rbsearch(c, __isuppers, nelem(__isuppers), 1); in isupperrune() 936 p = rbsearch(c, __islowerr, nelem(__islowerr)/2, 2); in islowerrune() 939 p = rbsearch(c, __islowerp, nelem(__islowerp)/2, 2); in islowerrune() 942 p = rbsearch(c, __islowers, nelem(__islowers), 1); in islowerrune() [all …]
|
D | utfdef.h | 13 #define nelem(x) (sizeof(x)/sizeof((x)[0])) macro
|
D | runetype.c | 64 p = rbsearch(c, __isideographicr, nelem(__isideographicr)/2, 2); in isideographicrune()
|
/external/python/cpython3/Modules/ |
D | _tracemalloc.c | 665 tracemalloc_alloc(int use_calloc, void *ctx, size_t nelem, size_t elsize) in tracemalloc_alloc() argument 670 assert(elsize == 0 || nelem <= SIZE_MAX / elsize); in tracemalloc_alloc() 673 ptr = alloc->calloc(alloc->ctx, nelem, elsize); in tracemalloc_alloc() 675 ptr = alloc->malloc(alloc->ctx, nelem * elsize); in tracemalloc_alloc() 680 if (ADD_TRACE(ptr, nelem * elsize) < 0) { in tracemalloc_alloc() 762 tracemalloc_alloc_gil(int use_calloc, void *ctx, size_t nelem, size_t elsize) in tracemalloc_alloc_gil() argument 769 return alloc->calloc(alloc->ctx, nelem, elsize); in tracemalloc_alloc_gil() 771 return alloc->malloc(alloc->ctx, nelem * elsize); in tracemalloc_alloc_gil() 779 ptr = tracemalloc_alloc(use_calloc, ctx, nelem, elsize); in tracemalloc_alloc_gil() 794 tracemalloc_calloc_gil(void *ctx, size_t nelem, size_t elsize) in tracemalloc_calloc_gil() argument [all …]
|
D | _testcapimodule.c | 3393 static void* hook_calloc(void* ctx, size_t nelem, size_t elsize) in hook_calloc() argument 3397 hook->calloc_nelem = nelem; in hook_calloc() 3399 return hook->alloc.calloc(hook->alloc.ctx, nelem, elsize); in hook_calloc() 3426 size_t size, size2, nelem, elsize; in test_setallocators() local 3501 nelem = 2; in test_setallocators() 3505 case PYMEM_DOMAIN_RAW: ptr = PyMem_RawCalloc(nelem, elsize); break; in test_setallocators() 3506 case PYMEM_DOMAIN_MEM: ptr = PyMem_Calloc(nelem, elsize); break; in test_setallocators() 3507 case PYMEM_DOMAIN_OBJ: ptr = PyObject_Calloc(nelem, elsize); break; in test_setallocators() 3516 if (hook.calloc_nelem != nelem || hook.calloc_elsize != elsize) { in test_setallocators() 3604 hook_fcalloc(void *ctx, size_t nelem, size_t elsize) in hook_fcalloc() argument [all …]
|
/external/python/cpython3/Objects/ |
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); 77 static void* _PyObject_Calloc(void *ctx, size_t nelem, size_t elsize); 96 _PyMem_RawCalloc(void *ctx, size_t nelem, size_t elsize) in _PyMem_RawCalloc() argument 102 if (nelem == 0 || elsize == 0) { in _PyMem_RawCalloc() 103 nelem = 1; in _PyMem_RawCalloc() 106 return calloc(nelem, elsize); in _PyMem_RawCalloc() 524 PyMem_RawCalloc(size_t nelem, size_t elsize) in PyMem_RawCalloc() argument 527 if (elsize != 0 && nelem > (size_t)PY_SSIZE_T_MAX / elsize) in PyMem_RawCalloc() 529 return _PyMem_Raw.calloc(_PyMem_Raw.ctx, nelem, elsize); in PyMem_RawCalloc() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | inplace_ops_functor_gpu.cu.cc | 45 const int64 nelem = value.NumElements(); in DoParallelConcatUpdate() local 46 CudaLaunchConfig cfg = GetCudaLaunchConfig(nelem, d); in DoParallelConcatUpdate() 108 const int64 nelem = v.NumElements(); in DoInplaceOp() local 109 CudaLaunchConfig cfg = GetCudaLaunchConfig(nelem, d); in DoInplaceOp() 143 const int64 nelem = v.NumElements(); in DoInplaceOp() local 144 CudaLaunchConfig cfg = GetCudaLaunchConfig(nelem, d); in DoInplaceOp()
|
D | tile_functor_cpu.cc | 30 const int64 nelem = out->NumElements(); in TileSimple() local 36 for (int64 o_idx = 0; o_idx < nelem; ++o_idx) { in TileSimple()
|
D | transpose_functor_gpu.cu.cc | 60 const int64 nelem = in.NumElements(); in TransposeSimple() local 61 CHECK_LT(nelem, kint32max) << "Tensor too large to transpose on GPU"; in TransposeSimple() 82 CudaLaunchConfig cfg = GetCudaLaunchConfig(nelem, d); in TransposeSimple()
|
/external/python/cpython2/Lib/bsddb/test/ |
D | test_db.py | 72 for nelem in [1, 2, 4] : 73 nelem = nelem*1024*1024 # Millions 74 self.db.set_h_nelem(nelem) 75 self.assertEqual(nelem, self.db.get_h_nelem())
|
/external/python/cpython3/Include/ |
D | pymem.h | 16 PyAPI_FUNC(void *) PyMem_RawCalloc(size_t nelem, size_t elsize); 103 PyAPI_FUNC(void *) PyMem_Calloc(size_t nelem, size_t elsize); 187 void* (*calloc) (void *ctx, size_t nelem, size_t elsize);
|
D | objimpl.h | 99 PyAPI_FUNC(void *) PyObject_Calloc(size_t nelem, size_t elsize);
|
/external/u-boot/arch/arm/mach-socfpga/ |
D | wrap_sdram_config.c | 293 void socfpga_get_seq_ac_init(const u32 **init, unsigned int *nelem) in socfpga_get_seq_ac_init() argument 296 *nelem = ARRAY_SIZE(ac_rom_init); in socfpga_get_seq_ac_init() 299 void socfpga_get_seq_inst_init(const u32 **init, unsigned int *nelem) in socfpga_get_seq_inst_init() argument 302 *nelem = ARRAY_SIZE(inst_rom_init); in socfpga_get_seq_inst_init()
|
/external/one-true-awk/ |
D | tran.c | 171 ap->nelem = 0; in makesymtab() 195 tp->nelem--; in freesymtab() 199 if (tp->nelem != 0) in freesymtab() 223 tp->nelem--; in freeelem() 247 tp->nelem++; in setsymtab() 248 if (tp->nelem > FULLTAB * tp->size) in setsymtab()
|
D | awk.h | 90 int nelem; /* elements in table right now */ member
|
/external/python/cpython2/Lib/test/ |
D | test_minidom.py | 78 nelem = dom.createElement("element") 79 root.insertBefore(nelem, elem) 82 and root.childNodes[0] is nelem 83 and root.childNodes.item(0) is nelem 86 and root.firstChild is nelem 90 nelem = dom.createElement("element") 91 root.insertBefore(nelem, None) 96 and root.childNodes[2] is nelem 97 and root.childNodes.item(2) is nelem 98 and root.lastChild is nelem [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_minidom.py | 87 nelem = dom.createElement("element") 88 root.insertBefore(nelem, elem) 91 and root.childNodes[0] is nelem 92 and root.childNodes.item(0) is nelem 95 and root.firstChild is nelem 99 nelem = dom.createElement("element") 100 root.insertBefore(nelem, None) 105 and root.childNodes[2] is nelem 106 and root.childNodes.item(2) is nelem 107 and root.lastChild is nelem [all …]
|
/external/python/cpython2/Modules/ |
D | bsddbmodule.c | 54 int bsize, int ffactor, int nelem, int cachesize, in newdbhashobject() argument 65 info.nelem = nelem; in newdbhashobject() 687 int nelem = 0; in bsdhashopen() local 694 &bsize, &ffactor, &nelem, &cachesize, in bsdhashopen() 726 bsize, ffactor, nelem, cachesize, hash, lorder); in bsdhashopen()
|
/external/python/cpython2/Lib/bsddb/ |
D | __init__.py | 353 def hashopen(file, flag='c', mode=0666, pgsize=None, ffactor=None, nelem=None, argument 363 if nelem is not None: d.set_h_nelem(nelem)
|
/external/u-boot/arch/arm/mach-socfpga/include/mach/ |
D | sdram_gen5.h | 16 void socfpga_get_seq_ac_init(const u32 **init, unsigned int *nelem); 17 void socfpga_get_seq_inst_init(const u32 **init, unsigned int *nelem);
|
/external/libcxx/utils/google-benchmark/src/ |
D | sysinfo.cc | 617 const int nelem = getloadavg(res.data(), kMaxSamples); in GetLoadAvg() local 618 if (nelem < 1) { in GetLoadAvg() 621 res.resize(nelem); in GetLoadAvg()
|
/external/google-benchmark/src/ |
D | sysinfo.cc | 666 const int nelem = getloadavg(res.data(), kMaxSamples); in GetLoadAvg() local 667 if (nelem < 1) { in GetLoadAvg() 670 res.resize(nelem); in GetLoadAvg()
|
/external/python/cpython3/Doc/c-api/ |
D | memory.rst | 120 .. c:function:: void* PyMem_RawCalloc(size_t nelem, size_t elsize) 122 Allocates *nelem* elements each whose size in bytes is *elsize* and returns 191 .. c:function:: void* PyMem_Calloc(size_t nelem, size_t elsize) 193 Allocates *nelem* elements each whose size in bytes is *elsize* and returns 293 .. c:function:: void* PyObject_Calloc(size_t nelem, size_t elsize) 295 Allocates *nelem* elements each whose size in bytes is *elsize* and returns 374 …| ``void* calloc(void *ctx, size_t nelem, size_t elsize)`` | allocate a memory block initialized …
|
/external/grpc-grpc/src/core/ext/transport/inproc/ |
D | inproc_transport.cc | 213 grpc_linked_mdelem* nelem = static_cast<grpc_linked_mdelem*>( in fill_in_metadata() local 214 gpr_arena_alloc(s->arena, sizeof(*nelem))); in fill_in_metadata() 215 nelem->md = in fill_in_metadata() 219 error = grpc_metadata_batch_link_tail(out_md, nelem); in fill_in_metadata()
|
/external/u-boot/drivers/ddr/altera/ |
D | sequencer.c | 3582 unsigned int nelem = 0; in hc_initialize_rom_data() local 3586 socfpga_get_seq_inst_init(&rom_init, &nelem); in hc_initialize_rom_data() 3588 for (i = 0; i < nelem; i++) in hc_initialize_rom_data() 3591 socfpga_get_seq_ac_init(&rom_init, &nelem); in hc_initialize_rom_data() 3593 for (i = 0; i < nelem; i++) in hc_initialize_rom_data()
|