Home
last modified time | relevance | path

Searched refs:setsize (Results 1 – 8 of 8) sorted by relevance

/external/mtools/
Dmdoctorfat.c39 int setsize; member
53 if(arg->setsize) in dos_doctorfat()
95 arg.setsize = 0; in mdoctorfat()
114 arg.setsize=1; in mdoctorfat()
Dmpartition.c255 static int setsize(unsigned long capacity,unsigned int *cyls, in setsize() function
298 r = setsize(capacity,cyls,hds,secs); in setsize0()
/external/python/cpython2/Lib/
Drandom.py329 setsize = 21 # size of a small set minus size of an empty list
331 setsize += 4 ** _ceil(_log(k * 3, 4)) # table size for big sets
332 if n <= setsize or hasattr(population, "keys"):
/external/python/cpython3/Lib/
Drandom.py451 setsize = 21 # size of a small set minus size of an empty list
453 setsize += 4 ** _ceil(_log(k * 3, 4)) # table size for big sets
454 if n <= setsize:
/external/python/cpython2/Modules/
Dalmodule.c1609 int setsize = 32, qualsize = 0, nvals, i; in al_QueryValues() local
1624 setsize = 32; in al_QueryValues()
1625 return_set = PyMem_NEW(ALvalue, setsize); in al_QueryValues()
1632 nvals = alQueryValues(resource, param, return_set, setsize, quals, qualsize); in al_QueryValues()
1635 if (nvals > setsize) { in al_QueryValues()
1637 setsize = nvals; in al_QueryValues()
1638 PyMem_RESIZE(return_set, ALvalue, setsize); in al_QueryValues()
/external/python/cpython3/Modules/
Dposixmodule.c6907 size_t setsize; in os_sched_setaffinity_impl() local
6916 setsize = CPU_ALLOC_SIZE(ncpus); in os_sched_setaffinity_impl()
6922 CPU_ZERO_S(setsize, cpu_set); in os_sched_setaffinity_impl()
6963 memcpy(newmask, cpu_set, setsize); in os_sched_setaffinity_impl()
6965 setsize = newsetsize; in os_sched_setaffinity_impl()
6969 CPU_SET_S(cpu, setsize, cpu_set); in os_sched_setaffinity_impl()
6976 if (sched_setaffinity(pid, setsize, cpu_set)) { in os_sched_setaffinity_impl()
7006 size_t setsize; in os_sched_getaffinity_impl() local
7012 setsize = CPU_ALLOC_SIZE(ncpus); in os_sched_getaffinity_impl()
7016 if (sched_getaffinity(pid, setsize, mask) == 0) in os_sched_getaffinity_impl()
[all …]
/external/python/pycparser/utils/benchmark/inputs/
Dredis.c.ppout1779 int setsize;
1792 aeEventLoop *aeCreateEventLoop(int setsize);
1810 int aeResizeSetSize(aeEventLoop *eventLoop, int setsize);
/external/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs2421 pub fn __sched_cpucount(setsize: ::size_t, set: *const cpu_set_t) -> ::c_int; in __sched_cpucount()