Home
last modified time | relevance | path

Searched refs:fget (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
Dutil.py73 def __init__(self, fget, doc=None): argument
74 self.fget = fget
75 self.__doc__ = doc or fget.__doc__
76 self.__name__ = fget.__name__
81 obj.__dict__[self.__name__] = result = self.fget(obj)
92 def __init__(self, fget, doc=None): argument
93 self.fget = fget
94 self.__doc__ = doc or fget.__doc__
95 self.__name__ = fget.__name__
101 result = self.fget(obj, *args, **kw)
/external/kmod/libkmod/python/kmod/
Dmodule.pyx49 name = property(fget=_name_get)
54 path = property(fget=_path_get)
59 options = property(fget=_options_get)
64 install_commands = property(fget=_install_commands_get)
69 remove_commands = property(fget=_remove_commands_get)
73 refcnt = property(fget=_refcnt_get)
77 size = property(fget=_size_get)
98 info = property(fget=_info_get)
116 versions = property(fget=_versions_get)
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/
Dp11.cpp38 int &f(char const* name, Get fget, char const* docstr = 0);
41 float &f(char const* name, Get fget, Set fset, char const* docstr = 0);
/external/python/cpython2/Doc/howto/
Ddescriptor.rst199 property(fget=None, fset=None, fdel=None, doc=None) -> property attribute
215 def __init__(self, fget=None, fset=None, fdel=None, doc=None):
216 self.fget = fget
219 if doc is None and fget is not None:
220 doc = fget.__doc__
226 if self.fget is None:
228 return self.fget(obj)
240 def getter(self, fget):
241 return type(self)(fget, self.fset, self.fdel, self.__doc__)
244 return type(self)(self.fget, fset, self.fdel, self.__doc__)
[all …]
/external/python/cpython2/Lib/test/
Dpydocfodder.py117 A_property = property(fdel=_delx, fget=_getx, fset=_setx,
Dtest_builtin.py1397 __dict__ = property(fget=getDict)
Dtest_descr.py2053 self.assertIs(raw.fget, C.__dict__['getx'])
/external/libnl/python/netlink/
Dutil.py88 d = getattr(value.fget, 'formatinfo', dict())
/external/selinux/python/sepolgen/src/sepolgen/
Dinterfaces.py54 num = property(fget=lambda self: int(self.name[1:]))
/external/python/cpython2/Doc/library/
Dabc.rst168 .. function:: abstractproperty([fget[, fset[, fdel[, doc]]]])
Dfunctions.rst1001 .. class:: property([fget[, fset[, fdel[, doc]]]])
1006 *fget* is a function for getting an attribute value. *fset* is a function
1031 property will copy *fget*'s docstring (if it exists). This makes it possible to
1073 The returned property object also has the attributes ``fget``, ``fset``, and
1079 Use *fget*'s docstring if no *doc* given.
/external/protobuf/objectivec/DevTools/
Dpddm.py474 captured_lines = SourceFile.SectionBase.lines.fget(self)
/external/python/cpython2/Misc/
DHISTORY6678 - property() now takes 4 keyword arguments: fget, fset, fdel and doc.
6679 These map to read-only attributes 'fget', 'fset', 'fdel', and '__doc__'
6680 in the constructed property object. fget, fset and fdel weren't