Home
last modified time | relevance | path

Searched refs:capname (Results 1 – 10 of 10) sorted by relevance

/external/selinux/checkpolicy/test/
Ddispol.c280 const char *capname; in display_policycaps() local
287 capname = sepol_polcap_getname(i); in display_policycaps()
288 if (capname == NULL) { in display_policycaps()
290 capname = buf; in display_policycaps()
292 fprintf(fp, "\t%s\n", capname); in display_policycaps()
Ddismod.c823 const char *capname; in display_policycaps() local
830 capname = sepol_polcap_getname(i); in display_policycaps()
831 if (capname == NULL) { in display_policycaps()
833 capname = buf; in display_policycaps()
835 fprintf(fp, "\t%s\n", capname); in display_policycaps()
/external/autotest/client/site_tests/network_EthCaps/
Dnetwork_EthCaps.py135 capname = 'Supports Wake-on'
136 if self._caps[capname][0].find('g') != -1:
/external/python/cpython2/Modules/
D_cursesmodule.c2517 char *capname; in PyCurses_tigetflag() local
2521 if (!PyArg_ParseTuple(args, "s", &capname)) in PyCurses_tigetflag()
2524 return PyInt_FromLong( (long) tigetflag( capname ) ); in PyCurses_tigetflag()
2530 char *capname; in PyCurses_tigetnum() local
2534 if (!PyArg_ParseTuple(args, "s", &capname)) in PyCurses_tigetnum()
2537 return PyInt_FromLong( (long) tigetnum( capname ) ); in PyCurses_tigetnum()
2543 char *capname; in PyCurses_tigetstr() local
2547 if (!PyArg_ParseTuple(args, "s", &capname)) in PyCurses_tigetstr()
2550 capname = tigetstr( capname ); in PyCurses_tigetstr()
2551 if (capname == 0 || capname == (char*) -1) { in PyCurses_tigetstr()
[all …]
/external/python/cpython3/Modules/
D_cursesmodule.c2997 char *capname; in PyCurses_tigetflag() local
3001 if (!PyArg_ParseTuple(args, "s", &capname)) in PyCurses_tigetflag()
3004 return PyLong_FromLong( (long) tigetflag( capname ) ); in PyCurses_tigetflag()
3010 char *capname; in PyCurses_tigetnum() local
3014 if (!PyArg_ParseTuple(args, "s", &capname)) in PyCurses_tigetnum()
3017 return PyLong_FromLong( (long) tigetnum( capname ) ); in PyCurses_tigetnum()
3023 char *capname; in PyCurses_tigetstr() local
3027 if (!PyArg_ParseTuple(args, "s", &capname)) in PyCurses_tigetstr()
3030 capname = tigetstr( capname ); in PyCurses_tigetstr()
3031 if (capname == NULL || capname == (char*) -1) { in PyCurses_tigetstr()
[all …]
/external/python/cpython2/Doc/library/
Dcurses.rst546 .. function:: tigetflag(capname)
549 capability name *capname*. The value ``-1`` is returned if *capname* is not a
554 .. function:: tigetnum(capname)
557 capability name *capname*. The value ``-2`` is returned if *capname* is not a
562 .. function:: tigetstr(capname)
565 capability name *capname*. ``None`` is returned if *capname* is not a string
/external/python/cpython3/Doc/library/
Dcurses.rst556 .. function:: tigetflag(capname)
559 capability name *capname* as an integer. Return the value ``-1`` if *capname* is not a
564 .. function:: tigetnum(capname)
567 capability name *capname* as an integer. Return the value ``-2`` if *capname* is not a
572 .. function:: tigetstr(capname)
575 capability name *capname* as a bytes object. Return ``None`` if *capname*
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DProcess.inc326 extern "C" int tigetnum(char *capname);
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DProcess.inc337 extern "C" int tigetnum(char *capname);
/external/llvm/lib/Support/Unix/
DProcess.inc346 extern "C" int tigetnum(char *capname);