Searched refs:getattr (Results 1 - 25 of 32) sorted by relevance

12

/vbox/src/VBox/Devices/Network/scripts/
H A DVBoxPortForwarding.py35 if option.type == "string" and getattr(self.values, option.dest) != None:
37 if option.type == "int" and getattr(self.values, option.dest) != -1:
/vbox/src/VBox/Devices/PC/ipxe/contrib/vm/
H A Dserial-console225 $termios->getattr ( fileno(STDIN) );
226 $restore_termios->getattr ( fileno(STDIN) );
/vbox/src/VBox/Main/glue/
H A Dvboxapi.py35 print_ = getattr(builtins, 'print', None)
38 print_ = getattr(__builtin__, 'print', None)
51 errors = getattr(fp, "errors", None)
213 'getattr': None,
219 """ Our getattr replacement for DispatchBaseClass. """
230 return getattr(self, k)
234 return _g_dCOMForward['getattr'](self, ComifyName(sAttr))
236 return _g_dCOMForward['getattr'](self, sAttr)
435 oAttr = getattr(oSrc, sAttr)
486 _g_dCOMForward['getattr']
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call3.d46 nfsv3:::op-getattr-start
59 nfsv3:::op-getattr-done
/vbox/src/libs/xpcom18a4/python/
H A D__init__.py149 level = int(getattr(logging, level.upper()))
H A Dcomponents.py51 iid = getattr(interfaces, iid)
120 other_iid = getattr(other, "_iidobj_", other)
H A Dxpt.py90 return getattr(self.interface_info, attr)
453 describer = getattr(interface, describer_name)
/vbox/src/libs/xpcom18a4/python/client/
H A D__init__.py374 return getattr(interface, attr)
379 ret = getattr(interface, attr)
445 ret = getattr(self.__dict__['_comobj_'], attr, None)
/vbox/src/libs/xpcom18a4/python/server/
H A Dloader.py54 return getattr(object, attr, None) is not None
H A Dmodule.py71 reg_desc = getattr(klass, "_reg_desc_", reg_contractid)
81 extra_func = getattr(klass, "_reg_registrar_", (None,None))[0]
94 extra_func = getattr(klass, "_reg_registrar_", (None,None))[1]
H A Dpolicy.py68 ret = getattr(obj, "_com_interfaces_", None)
118 self.contractID = getattr(klass, "_reg_contractid_", None)
119 self.classDescription = getattr(klass, "_reg_desc_", None)
120 self.classID = getattr(klass, "_reg_clsid_", None)
149 delegate_qi = getattr(instance, "_query_interface_", None)
178 delegate = getattr(self._obj_, "_query_interface_", None)
254 func = getattr(self._obj_, "get_" + name, None)
257 ret = getattr(self._obj_, name) # Let attribute error go here!
263 func = getattr(self._obj_, "set_" + name, None)
272 func = getattr(sel
[all...]
/vbox/src/libs/xpcom18a4/python/src/
H A DPyIClassInfo.cpp117 Py_nsIClassInfo::getattr(const char *name) function in class:Py_nsIClassInfo
157 ret = Py_nsISupports::getattr(name);
H A DPyISupports.cpp197 Py_nsISupports::getattr(const char *name) function in class:Py_nsISupports
H A DPyIVariant.cpp197 Py_nsIVariant::getattr(const char *name) function in class:Py_nsIVariant
210 ret = Py_nsISupports::getattr(name);
H A DPyXPCOM.h357 virtual PyObject *getattr(const char *name);
842 virtual PyObject *getattr(const char *name); \
H A DTypeObject.cpp92 return ((Py_nsISupports *)self)->getattr(name);
/vbox/src/libs/xpcom18a4/python/test/
H A Dtest_test_component.py86 _test_value( "getting initial attribute value (%s)" % (attr_name,), getattr(ob, attr_name), expected_init)
88 _test_value( "getting new attribute value (%s)" % (attr_name,), getattr(ob, attr_name), new_value_really)
91 _test_value( "getting back initial attribute value after change (%s)" % (attr_name,), getattr(ob, attr_name), expected_init)
141 v = getattr(ob, cname)
/vbox/src/libs/xpcom18a4/python/tools/
H A Dtracer_demo.py71 ret = getattr(self._ob, attr) # Attribute error just goes up
/vbox/src/VBox/ValidationKit/testdriver/
H A Dvboxcon.py60 return getattr(self.oWrapped, sName)
66 return getattr(self.oVBoxMgr.constants, sName);
72 return getattr(self.oVBoxMgr.constants, 'SessionState_Open');
74 return getattr(self.oVBoxMgr.constants, 'SessionState_Closed');
76 return getattr(self.oVBoxMgr.constants, 'SessionState_Closing');
/vbox/src/VBox/ValidationKit/testmanager/core/
H A Dbase.py102 oValue = getattr(self, sAttr);
119 setattr(self, sAttr, getattr(oOther, sAttr));
198 oValue = getattr(self, sAttr);
235 oValue = getattr(self, sAttr);
255 iMin = getattr(self, 'kiMin_' + sAttr, 0),
256 iMax = getattr(self, 'kiMax_' + sAttr, 0x7ffffffe));
259 lMin = getattr(self, 'klMin_' + sAttr, 0),
260 lMax = getattr(self, 'klMax_' + sAttr, None));
272 asValid = getattr(self, 'kasValidValues_' + sAttr)); # The list is required.
275 cchMin = getattr(sel
[all...]
H A Ddb.py65 return getattr(oValue, 'pydatetime', None) != None;
210 return getattr(self._oConn, 'autocommit', False);
H A Dtestbox.py380 oOldAttr = getattr(oOld, sAttr);
381 oNewAttr = getattr(oNew, sAttr);
H A Dtestcase.py1032 oOldAttr = getattr(oOld, sAttr);
1033 oNewAttr = getattr(oNew, sAttr);
1054 oOldAttr = getattr(oChildOld, sAttr);
1055 oNewAttr = getattr(oChildNew, sAttr);
/vbox/src/VBox/ValidationKit/testmanager/webui/
H A Dwuibase.py729 idGenObject = self.getIntParam(getattr(oDataType, 'ksParam_' + sGenIdAttr), 0, 0x7ffffffe, -1);
733 idObject = self.getIntParam(getattr(oDataType, 'ksParam_' + sIdAttr), 0, 0x7ffffffe, -1);
751 (aoEntries, fMore) = oLogicType(self._oDb).fetchForChangeLog(getattr(oData, sIdAttr),
814 idGenObject = self.getIntParam(getattr(oDataType, 'ksParam_' + sGenIdAttr), 0, 0x7ffffffe, -1);
818 idObject = self.getIntParam(getattr(oDataType, 'ksParam_' + sIdAttr), 0, 0x7ffffffe, -1);
H A Dwuicontentbase.py302 self._sSubmitAction = getattr(oDisp, self._sActionBase + self.kdSubmitActionMappings[sMode]);
509 sIdGenParam = getattr(self._oData, 'ksParam_' + self._oData.ksIdGenAttr);
514 dParams[getattr(self._oData, 'ksParam_' + self._oData.ksIdAttr)] = getattr(self._oData, self._oData.ksIdAttr);
516 dParams[WuiDispatcherBase.ksParamAction] = getattr(self._oDisp, self._sActionBase + 'Edit');
522 dParams[WuiDispatcherBase.ksParamAction] = getattr(self._oDisp, self._sActionBase + 'Clone');
529 sIdGenParam = getattr(self._oData, 'ksParam_' + self._oData.ksIdGenAttr);
530 dParams[sIdGenParam] = getattr(self._oData, self._oData.ksIdGenAttr);
533 dParams[getattr(self._oData, 'ksParam_' + self._oData.ksIdAttr)] = getattr(sel
[all...]

Completed in 195 milliseconds

12