Home
last modified time | relevance | path

Searched refs:nfree (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Objects/
Dfuncobject.c237 Py_ssize_t nfree, nclosure; in func_set_code() local
248 nfree = PyCode_GetNumFree((PyCodeObject *)value); in func_set_code()
251 if (nclosure != nfree) { in func_set_code()
256 nclosure, nfree); in func_set_code()
371 Py_ssize_t nfree, nclosure; in func_new() local
391 nfree = PyTuple_GET_SIZE(code->co_freevars); in func_new()
393 if (nfree && closure == Py_None) { in func_new()
407 if (nfree != nclosure) in func_new()
411 nfree, nclosure); in func_new()
Dfileobject.c1278 size_t nfree; /* # of free buffer slots; pvend-pvfree */ in getline_via_fgets() local
1291 nfree = pvend - pvfree; in getline_via_fgets()
1292 memset(pvfree, '\n', nfree); in getline_via_fgets()
1293 assert(nfree < INT_MAX); /* Should be atmost MAXBUFSIZE */ in getline_via_fgets()
1294 p = fgets(pvfree, (int)nfree, fp); in getline_via_fgets()
1305 p = memchr(pvfree, '\n', nfree); in getline_via_fgets()
1366 nfree = pvend - pvfree; in getline_via_fgets()
1367 memset(pvfree, '\n', nfree); in getline_via_fgets()
1368 assert(nfree < INT_MAX); in getline_via_fgets()
1369 p = fgets(pvfree, (int)nfree, fp); in getline_via_fgets()
[all …]
/external/python/cpython3/Objects/
Dfuncobject.c254 Py_ssize_t nfree, nclosure; in func_set_code() local
263 nfree = PyCode_GetNumFree((PyCodeObject *)value); in func_set_code()
266 if (nclosure != nfree) { in func_set_code()
271 nclosure, nfree); in func_set_code()
461 Py_ssize_t nfree, nclosure; in func_new_impl() local
473 nfree = PyTuple_GET_SIZE(code->co_freevars); in func_new_impl()
475 if (nfree && closure == Py_None) { in func_new_impl()
489 if (nfree != nclosure) in func_new_impl()
492 code->co_name, nfree, nclosure); in func_new_impl()
/external/e2fsprogs/e2fsck/
Dmtrace.h130 size_t nfree; /* Free fragments in a fragmented block. */ member
/external/jemalloc_new/include/jemalloc/internal/
Dextent_inlines.h243 extent_nfree_set(extent_t *extent, unsigned nfree) { in extent_nfree_set() argument
246 ((uint64_t)nfree << EXTENT_BITS_NFREE_SHIFT); in extent_nfree_set()
/external/jemalloc/src/
Darena.c287 assert(run->nfree > 0); in arena_run_reg_alloc()
295 run->nfree--; in arena_run_reg_alloc()
309 assert(run->nfree < bin_info->nregs); in arena_run_reg_dalloc()
322 run->nfree++; in arena_run_reg_dalloc()
2327 run->nfree = bin_info->nregs; in arena_bin_nonfull_run_get()
2365 if (bin->runcur != NULL && bin->runcur->nfree > 0) { in arena_bin_malloc_hard()
2371 assert(bin->runcur->nfree > 0); in arena_bin_malloc_hard()
2385 if (run->nfree == bin_info->nregs) { in arena_bin_malloc_hard()
2399 assert(bin->runcur->nfree > 0); in arena_bin_malloc_hard()
2421 if ((run = bin->runcur) != NULL && run->nfree > 0) in arena_tcache_fill_small()
[all …]
/external/blktrace/btreplay/
Dbtreplay.c1171 int nfree = 0; in nfree_current() local
1174 while (!is_send_done(tip) && ((nfree = tip->naios_free) == 0)) { in nfree_current()
1184 return nfree; in nfree_current()
/external/mksh/src/
Dmain.c1762 tp->nfree = (tp->tshift == 30) ? 0x3FFF0000UL : in tgrow()
1785 tp->nfree--; in tgrow()
1839 if (tp->nfree == 0) { in ktenter()
1858 tp->nfree--; in ktenter()
Dsh.h1679 size_t nfree; /* free table entries */ member
/external/jemalloc_new/src/
Darena.c1545 unsigned nfree = extent_nfree_get(slab); in arena_dalloc_bin_locked_impl() local
1546 if (nfree == bin_info->nregs) { in arena_dalloc_bin_locked_impl()
1549 } else if (nfree == 1 && slab != bin->slabcur) { in arena_dalloc_bin_locked_impl()
/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c2893 size_t nfree = SIZE_T_ONE; /* top always free */ in internal_mallinfo() local
2905 ++nfree; in internal_mallinfo()
2913 nm.ordblks = nfree; in internal_mallinfo()
/external/libffi/src/
Ddlmalloc.c2888 size_t nfree = SIZE_T_ONE; /* top always free */ in internal_mallinfo() local
2900 ++nfree; in internal_mallinfo()
2908 nm.ordblks = nfree; in internal_mallinfo()
/external/jemalloc/include/jemalloc/internal/
Darena.h75 unsigned nfree; member
/external/dlmalloc/
Dmalloc.c3507 size_t nfree = SIZE_T_ONE; /* top always free */ in internal_mallinfo() local
3519 ++nfree; in internal_mallinfo()
3527 nm.ordblks = nfree; in internal_mallinfo()