Home
last modified time | relevance | path

Searched refs:in_dict (Results 1 – 16 of 16) 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/mock/mock/
Dmock.py1731 def __init__(self, in_dict, values=(), clear=False, **kwargs): argument
1732 self.in_dict = in_dict
1759 decorator = _patch_dict(self.in_dict, self.values, self.clear)
1772 if isinstance(self.in_dict, basestring):
1773 self.in_dict = _importer(self.in_dict)
1774 in_dict = self.in_dict
1778 original = in_dict.copy()
1783 for key in in_dict:
1784 original[key] = in_dict[key]
1788 _clear_dict(in_dict)
[all …]
/external/python/cpython3/Lib/unittest/
Dmock.py1753 def __init__(self, in_dict, values=(), clear=False, **kwargs): argument
1754 self.in_dict = in_dict
1781 decorator = _patch_dict(self.in_dict, self.values, self.clear)
1790 return self.in_dict
1795 if isinstance(self.in_dict, str):
1796 self.in_dict = _importer(self.in_dict)
1797 in_dict = self.in_dict
1801 original = in_dict.copy()
1806 for key in in_dict:
1807 original[key] = in_dict[key]
[all …]
/external/freetype/src/psaux/
Dcffdecode.h54 FT_Bool in_dict );
Dcffdecode.c499 FT_Bool in_dict ) in cff_decoder_parse_charstrings() argument
836 if ( in_dict ) in cff_decoder_parse_charstrings()
918 set_width_ok = in_dict in cff_decoder_parse_charstrings()
1636 if ( in_dict ) in cff_decoder_parse_charstrings()
1728 FT_UInt32* randval = in_dict ? &decoder->cff->top_font.random in cff_decoder_parse_charstrings()
/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/python/cpython2/Include/
Dclassobject.h27 PyObject *in_dict; /* A dictionary */ member
/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/autotest/client/cros/networking/
Dshill_proxy.py270 def service_properties_to_dbus_types(in_dict): argument
278 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.h1237 FT_Bool in_dict );
/external/marisa-trie/bindings/python/
Dmarisa-swig_wrap.cxx2352 inst->in_dict = PyDict_New(); in SWIG_Python_NewShadowInstance()
2353 if (inst->in_dict == NULL) { in SWIG_Python_NewShadowInstance()
2363 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this); in SWIG_Python_NewShadowInstance()
/external/python/cpython3/Doc/library/
Dunittest.mock.rst1573 .. function:: patch.dict(in_dict, values=(), clear=False, **kwargs)
1578 *in_dict* can be a dictionary or a mapping like container. If it is a
1582 *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 */