Home
last modified time | relevance | path

Searched refs:setint (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Modules/
Dmmapmodule.c1513 setint(PyObject *d, const char *name, long value) in setint() function
1552 setint(dict, "PROT_EXEC", PROT_EXEC); in PyInit_mmap()
1555 setint(dict, "PROT_READ", PROT_READ); in PyInit_mmap()
1558 setint(dict, "PROT_WRITE", PROT_WRITE); in PyInit_mmap()
1562 setint(dict, "MAP_SHARED", MAP_SHARED); in PyInit_mmap()
1565 setint(dict, "MAP_PRIVATE", MAP_PRIVATE); in PyInit_mmap()
1568 setint(dict, "MAP_DENYWRITE", MAP_DENYWRITE); in PyInit_mmap()
1571 setint(dict, "MAP_EXECUTABLE", MAP_EXECUTABLE); in PyInit_mmap()
1574 setint(dict, "MAP_ANON", MAP_ANONYMOUS); in PyInit_mmap()
1575 setint(dict, "MAP_ANONYMOUS", MAP_ANONYMOUS); in PyInit_mmap()
[all …]
/external/python/cpython2/Modules/
Dmmapmodule.c1436 setint(PyObject *d, const char *name, long value) in setint() function
1465 setint(dict, "PROT_EXEC", PROT_EXEC); in initmmap()
1468 setint(dict, "PROT_READ", PROT_READ); in initmmap()
1471 setint(dict, "PROT_WRITE", PROT_WRITE); in initmmap()
1475 setint(dict, "MAP_SHARED", MAP_SHARED); in initmmap()
1478 setint(dict, "MAP_PRIVATE", MAP_PRIVATE); in initmmap()
1481 setint(dict, "MAP_DENYWRITE", MAP_DENYWRITE); in initmmap()
1484 setint(dict, "MAP_EXECUTABLE", MAP_EXECUTABLE); in initmmap()
1487 setint(dict, "MAP_ANON", MAP_ANONYMOUS); in initmmap()
1488 setint(dict, "MAP_ANONYMOUS", MAP_ANONYMOUS); in initmmap()
[all …]
/external/python/cpython2/Python/
Dimport.c3338 setint(PyObject *d, char *name, int value) in setint() function
3452 if (setint(d, "SEARCH_ERROR", SEARCH_ERROR) < 0) goto failure; in initimp()
3453 if (setint(d, "PY_SOURCE", PY_SOURCE) < 0) goto failure; in initimp()
3454 if (setint(d, "PY_COMPILED", PY_COMPILED) < 0) goto failure; in initimp()
3455 if (setint(d, "C_EXTENSION", C_EXTENSION) < 0) goto failure; in initimp()
3456 if (setint(d, "PY_RESOURCE", PY_RESOURCE) < 0) goto failure; in initimp()
3457 if (setint(d, "PKG_DIRECTORY", PKG_DIRECTORY) < 0) goto failure; in initimp()
3458 if (setint(d, "C_BUILTIN", C_BUILTIN) < 0) goto failure; in initimp()
3459 if (setint(d, "PY_FROZEN", PY_FROZEN) < 0) goto failure; in initimp()
3460 if (setint(d, "PY_CODERESOURCE", PY_CODERESOURCE) < 0) goto failure; in initimp()
[all …]
/external/mksh/src/
Dexpr.c251 setint(vasn, vl->val.i); in do_ppmm()
543 setint(vasn, vr->val.i); in evalexpr()
Dvar.c511 setint(struct tbl *vq, mksh_ari_t n) in setint() function
Dsh.h2748 void setint(struct tbl *, mksh_ari_t);