Home
last modified time | relevance | path

Searched refs:in_dict (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython2/Lib/test/
D_mock_backport.py1548 def __init__(self, in_dict, values=(), clear=False, **kwargs): argument
1549 if isinstance(in_dict, str):
1550 in_dict = _importer(in_dict)
1551 self.in_dict = in_dict
1578 decorator = _patch_dict(self.in_dict, self.values, self.clear)
1591 in_dict = self.in_dict
1595 original = in_dict.copy()
1600 for key in in_dict:
1601 original[key] = in_dict[key]
1605 _clear_dict(in_dict)
[all …]
/external/pdfium/third_party/pymock/
Dmock.py1600 def __init__(self, in_dict, values=(), clear=False, **kwargs): argument
1601 if isinstance(in_dict, basestring):
1602 in_dict = _importer(in_dict)
1603 self.in_dict = in_dict
1630 decorator = _patch_dict(self.in_dict, self.values, self.clear)
1643 in_dict = self.in_dict
1647 original = in_dict.copy()
1652 for key in in_dict:
1653 original[key] = in_dict[key]
1657 _clear_dict(in_dict)
[all …]
/external/python/cpython3/Lib/unittest/
Dmock.py1605 def __init__(self, in_dict, values=(), clear=False, **kwargs): argument
1606 self.in_dict = in_dict
1633 decorator = _patch_dict(self.in_dict, self.values, self.clear)
1646 if isinstance(self.in_dict, str):
1647 self.in_dict = _importer(self.in_dict)
1648 in_dict = self.in_dict
1652 original = in_dict.copy()
1657 for key in in_dict:
1658 original[key] = in_dict[key]
1662 _clear_dict(in_dict)
[all …]
/external/python/mock/mock/
Dmock.py1706 def __init__(self, in_dict, values=(), clear=False, **kwargs): argument
1707 if isinstance(in_dict, basestring):
1708 in_dict = _importer(in_dict)
1709 self.in_dict = in_dict
1736 decorator = _patch_dict(self.in_dict, self.values, self.clear)
1749 in_dict = self.in_dict
1753 original = in_dict.copy()
1758 for key in in_dict:
1759 original[key] = in_dict[key]
1763 _clear_dict(in_dict)
[all …]
/external/libchrome/base/
Dvalues.h136 explicit Value(const DictStorage& in_dict);
137 explicit Value(DictStorage&& in_dict) noexcept;
391 explicit DictionaryValue(const DictStorage& in_dict);
392 explicit DictionaryValue(DictStorage&& in_dict) noexcept;
Dvalues.cc163 Value::Value(const DictStorage& in_dict) : type_(Type::DICTIONARY), dict_() { in Value() argument
164 dict_.reserve(in_dict.size()); in Value()
165 for (const auto& it : in_dict) { in Value()
171 Value::Value(DictStorage&& in_dict) noexcept in Value() argument
172 : type_(Type::DICTIONARY), dict_(std::move(in_dict)) {} in Value()
720 DictionaryValue::DictionaryValue(const DictStorage& in_dict) : Value(in_dict) {} in DictionaryValue() argument
721 DictionaryValue::DictionaryValue(DictStorage&& in_dict) noexcept in DictionaryValue() argument
722 : Value(std::move(in_dict)) {} in DictionaryValue()
/external/freetype/src/psaux/
Dcffdecode.h55 FT_Bool in_dict );
Dcffdecode.c500 FT_Bool in_dict ) in cff_decoder_parse_charstrings() argument
834 if ( in_dict ) in cff_decoder_parse_charstrings()
907 set_width_ok = in_dict in cff_decoder_parse_charstrings()
1624 if ( in_dict ) in cff_decoder_parse_charstrings()
/external/python/cpython2/Objects/
Dclassobject.c543 inst->in_dict = dict; in PyInstance_NewRaw()
680 Py_XDECREF(inst->in_dict); in instance_dealloc()
726 Py_INCREF(inst->in_dict); in instance_getattr1()
727 return inst->in_dict; in instance_getattr1()
750 v = PyDict_GetItem(inst->in_dict, name); in instance_getattr2()
803 v = PyDict_GetItem(inst->in_dict, name); in _PyInstance_Lookup()
813 int rv = PyDict_DelItem(inst->in_dict, name); in instance_setattr1()
822 return PyDict_SetItem(inst->in_dict, name, v); in instance_setattr1()
851 tmp = inst->in_dict; in instance_setattr()
853 inst->in_dict = v; in instance_setattr()
[all …]
/external/python/cpython2/Include/
Dclassobject.h27 PyObject *in_dict; /* A dictionary */ member
/external/autotest/client/cros/networking/
Dshill_proxy.py274 def service_properties_to_dbus_types(in_dict): argument
282 for key, value in in_dict.iteritems():
/external/python/cpython2/Tools/gdb/
Dlibpython.py714 in_dict = self.pyop_field('in_dict').proxyval(visited)
717 return InstanceProxy(cl_name, in_dict, long(self._gdbval))
/external/freetype/include/freetype/internal/
Dpsaux.h1246 FT_Bool in_dict );
/external/python/cpython3/Doc/library/
Dunittest.mock.rst1289 .. function:: patch.dict(in_dict, values=(), clear=False, **kwargs)
1294 *in_dict* can be a dictionary or a mapping like container. If it is a
1298 *in_dict* can also be a string specifying the name of the dictionary, which
/external/python/cpython2/Doc/extending/
Dnewtypes.rst1498 PyObject *in_dict; /* A dictionary */