Home
last modified time | relevance | path

Searched refs:descr (Results 1 – 19 of 19) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Ddescrobject.c7 descr_dealloc(PyDescrObject *descr) in descr_dealloc() argument
9 _PyObject_GC_UNTRACK(descr); in descr_dealloc()
10 Py_XDECREF(descr->d_type); in descr_dealloc()
11 Py_XDECREF(descr->d_name); in descr_dealloc()
12 PyObject_GC_Del(descr); in descr_dealloc()
16 descr_name(PyDescrObject *descr) in descr_name() argument
18 if (descr->d_name != NULL && PyString_Check(descr->d_name)) in descr_name()
19 return PyString_AS_STRING(descr->d_name); in descr_name()
25 descr_repr(PyDescrObject *descr, char *format) in descr_repr() argument
27 return PyString_FromFormat(format, descr_name(descr), in descr_repr()
[all …]
Dobject.c1323 PyObject *descr = NULL; in _PyObject_GenericGetAttrWithDict() local
1376 descr = PyDict_GetItem(dict, name); in _PyObject_GenericGetAttrWithDict()
1377 if (descr != NULL) in _PyObject_GenericGetAttrWithDict()
1382 descr = _PyType_Lookup(tp, name); in _PyObject_GenericGetAttrWithDict()
1385 Py_XINCREF(descr); in _PyObject_GenericGetAttrWithDict()
1388 if (descr != NULL && in _PyObject_GenericGetAttrWithDict()
1389 PyType_HasFeature(descr->ob_type, Py_TPFLAGS_HAVE_CLASS)) { in _PyObject_GenericGetAttrWithDict()
1390 f = descr->ob_type->tp_descr_get; in _PyObject_GenericGetAttrWithDict()
1391 if (f != NULL && PyDescr_IsData(descr)) { in _PyObject_GenericGetAttrWithDict()
1392 res = f(descr, obj, (PyObject *)obj->ob_type); in _PyObject_GenericGetAttrWithDict()
[all …]
Dtypeobject.c1799 PyObject *descr; in get_dict_descriptor() local
1806 descr = _PyType_Lookup(type, dict_str); in get_dict_descriptor()
1807 if (descr == NULL || !PyDescr_IsData(descr)) in get_dict_descriptor()
1810 return descr; in get_dict_descriptor()
1831 PyObject *descr = get_dict_descriptor(base); in subtype_dict() local
1832 if (descr == NULL) { in subtype_dict()
1836 func = descr->ob_type->tp_descr_get; in subtype_dict()
1841 return func(descr, obj, (PyObject *)(obj->ob_type)); in subtype_dict()
1867 PyObject *descr = get_dict_descriptor(base); in subtype_setdict() local
1868 if (descr == NULL) { in subtype_setdict()
[all …]
Dclassobject.c2301 PyObject *descr = NULL; in instancemethod_getattro() local
2308 descr = _PyType_Lookup(tp, name); in instancemethod_getattro()
2311 if (descr != NULL) { in instancemethod_getattro()
2312 descrgetfunc f = TP_DESCR_GET(descr->ob_type); in instancemethod_getattro()
2314 return f(descr, obj, (PyObject *)obj->ob_type); in instancemethod_getattro()
2316 Py_INCREF(descr); in instancemethod_getattro()
2317 return descr; in instancemethod_getattro()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Ddescrobject.c7 descr_dealloc(PyDescrObject *descr) in descr_dealloc() argument
9 _PyObject_GC_UNTRACK(descr); in descr_dealloc()
10 Py_XDECREF(descr->d_type); in descr_dealloc()
11 Py_XDECREF(descr->d_name); in descr_dealloc()
12 PyObject_GC_Del(descr); in descr_dealloc()
16 descr_name(PyDescrObject *descr) in descr_name() argument
18 if (descr->d_name != NULL && PyString_Check(descr->d_name)) in descr_name()
19 return PyString_AS_STRING(descr->d_name); in descr_name()
25 descr_repr(PyDescrObject *descr, char *format) in descr_repr() argument
27 return PyString_FromFormat(format, descr_name(descr), in descr_repr()
[all …]
Dobject.c1330 PyObject *descr = NULL; in _PyObject_GenericGetAttrWithDict() local
1383 descr = PyDict_GetItem(dict, name); in _PyObject_GenericGetAttrWithDict()
1384 if (descr != NULL) in _PyObject_GenericGetAttrWithDict()
1389 descr = _PyType_Lookup(tp, name); in _PyObject_GenericGetAttrWithDict()
1392 Py_XINCREF(descr); in _PyObject_GenericGetAttrWithDict()
1395 if (descr != NULL && in _PyObject_GenericGetAttrWithDict()
1396 PyType_HasFeature(descr->ob_type, Py_TPFLAGS_HAVE_CLASS)) { in _PyObject_GenericGetAttrWithDict()
1397 f = descr->ob_type->tp_descr_get; in _PyObject_GenericGetAttrWithDict()
1398 if (f != NULL && PyDescr_IsData(descr)) { in _PyObject_GenericGetAttrWithDict()
1399 res = f(descr, obj, (PyObject *)obj->ob_type); in _PyObject_GenericGetAttrWithDict()
[all …]
Dtypeobject.c1817 PyObject *descr; in get_dict_descriptor() local
1824 descr = _PyType_Lookup(type, dict_str); in get_dict_descriptor()
1825 if (descr == NULL || !PyDescr_IsData(descr)) in get_dict_descriptor()
1828 return descr; in get_dict_descriptor()
1849 PyObject *descr = get_dict_descriptor(base); in subtype_dict() local
1850 if (descr == NULL) { in subtype_dict()
1854 func = descr->ob_type->tp_descr_get; in subtype_dict()
1859 return func(descr, obj, (PyObject *)(obj->ob_type)); in subtype_dict()
1885 PyObject *descr = get_dict_descriptor(base); in subtype_setdict() local
1886 if (descr == NULL) { in subtype_setdict()
[all …]
Dclassobject.c2325 PyObject *descr = NULL; in instancemethod_getattro() local
2332 descr = _PyType_Lookup(tp, name); in instancemethod_getattro()
2335 if (descr != NULL) { in instancemethod_getattro()
2336 descrgetfunc f = TP_DESCR_GET(descr->ob_type); in instancemethod_getattro()
2338 return f(descr, obj, (PyObject *)obj->ob_type); in instancemethod_getattro()
2340 Py_INCREF(descr); in instancemethod_getattro()
2341 return descr; in instancemethod_getattro()
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dsysctl.h162 #define SYSCTL_OID(parent, nbr, name, kind, a1, a2, handler, fmt, descr) \ argument
168 #define SYSCTL_NODE(parent, nbr, name, access, handler, descr) \ argument
171 (void*)&sysctl_##parent##_##name, 0, handler, "N", descr); \
174 #define SYSCTL_OID(parent, nbr, name, kind, a1, a2, handler, fmt, descr) argument
175 #define SYSCTL_NODE(parent, nbr, name, access, handler, descr) argument
179 #define SYSCTL_STRING(parent, nbr, name, access, arg, len, descr) \ argument
181 arg, len, sysctl_handle_string, "A", descr)
184 #define SYSCTL_INT(parent, nbr, name, access, ptr, val, descr) \ argument
186 ptr, val, sysctl_handle_int, "I", descr)
189 #define SYSCTL_LONG(parent, nbr, name, access, ptr, descr) \ argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/newmetaclasses/
DEiffel.py54 def __init__(self, inst, descr): argument
56 self._descr = descr
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_pkg.py67 def mkhier(self, descr): argument
72 for name, contents in descr:
87 self.pkgname = descr[0][0]
Dtest_descr.py3001 def check(descr, what): argument
3002 self.assertEqual(descr.__doc__, what)
4185 descr = dict.__dict__["fromkeys"]
4188 self.assertEqual(descr.__get__(None, dict)(arg), res)
4189 self.assertEqual(descr.__get__({})(arg), res)
4193 descr.__get__(None, None)
4199 descr.__get__(42)
4205 descr.__get__(None, 42)
4211 descr.__get__(None, int)
4498 descr = Descr("a")
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg/
Dmain.c121 char *descr; member
197 p->descr);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Darraymodule.c416 newarrayobject(PyTypeObject *type, Py_ssize_t size, struct arraydescr *descr) in newarrayobject() argument
426 nbytes = size * descr->itemsize; in newarrayobject()
428 if (nbytes / descr->itemsize != (size_t)size) { in newarrayobject()
435 op->ob_descr = descr; in newarrayobject()
1933 struct arraydescr *descr; in array_new() local
1954 for (descr = descriptors; descr->typecode != '\0'; descr++) { in array_new()
1955 if (descr->typecode == c) { in array_new()
1965 a = newarrayobject(type, len, descr); in array_new()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Darraymodule.c416 newarrayobject(PyTypeObject *type, Py_ssize_t size, struct arraydescr *descr) in newarrayobject() argument
426 nbytes = size * descr->itemsize; in newarrayobject()
428 if (nbytes / descr->itemsize != (size_t)size) { in newarrayobject()
435 op->ob_descr = descr; in newarrayobject()
1918 struct arraydescr *descr; in array_new() local
1939 for (descr = descriptors; descr->typecode != '\0'; descr++) { in array_new()
1940 if (descr->typecode == c) { in array_new()
1950 a = newarrayobject(type, len, descr); in array_new()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/support/genmk/
Dgenmk_old.c76 char *descr; member
312 fprintf(stderr, "\t%-16s %s\n", buf, p->descr); in help()
Dgenmk.c92 char *descr; member
442 fprintf(stderr, "\t%-16s %s\n", buf, p->descr); in help()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dzipfile.py528 descr = compressor_names.get(self._compress_type)
529 if descr:
530 raise NotImplementedError("compression type %d (%s)" % (self._compress_type, descr))
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dmain.c58 char *descr; member
1023 p->descr); in help()