/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
copy.py | 145 def deepcopy(x, memo=None, _nil=[]):
151 if memo is None:
152 memo = {}
155 y = memo.get(d, _nil)
163 y = copier(x, memo)
170 y = _deepcopy_atomic(x, memo)
174 y = copier(memo)
190 y = _reconstruct(x, rv, 1, memo)
192 memo[d] = y
193 _keep_alive(x, memo) # Make sure x lives at least as long as d [all...] |
weakref.py | 118 def __deepcopy__(self, memo):
124 new[deepcopy(key, memo)] = o
333 def __deepcopy__(self, memo):
339 new[o] = deepcopy(value, memo)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
copy.py | 145 def deepcopy(x, memo=None, _nil=[]):
151 if memo is None:
152 memo = {}
155 y = memo.get(d, _nil)
163 y = copier(x, memo)
170 y = _deepcopy_atomic(x, memo)
174 y = copier(memo)
190 y = _reconstruct(x, rv, 1, memo)
192 memo[d] = y
193 _keep_alive(x, memo) # Make sure x lives at least as long as d [all...] |
pickle.py | 128 GET = 'g' # push item from memo on stack; index is string arg
131 LONG_BINGET = 'j' # push item from memo on stack; index is 4-byte arg
135 PUT = 'p' # store stack top in memo; index is string arg
204 self.memo = {}
210 """Clears the pickler's "memo".
212 The memo is the data structure that remembers which objects the
218 self.memo.clear()
228 """Store an object in the memo."""
230 # The Pickler memo is a dictionary mapping object ids to 2-tuples
231 # that contain the Unpickler memo key and the object being memoized. [all...] |
weakref.py | 92 def __deepcopy__(self, memo):
98 new[deepcopy(key, memo)] = o
274 def __deepcopy__(self, memo):
280 new[o] = deepcopy(value, memo)
|
/external/python/cpython2/Lib/ |
copy.py | 145 def deepcopy(x, memo=None, _nil=[]): 151 if memo is None: 152 memo = {} 155 y = memo.get(d, _nil) 163 y = copier(x, memo) 170 y = _deepcopy_atomic(x, memo) 174 y = copier(memo) 190 y = _reconstruct(x, rv, 1, memo) 192 memo[d] = y 193 _keep_alive(x, memo) # Make sure x lives at least as long as [all...] |
pickle.py | 128 GET = 'g' # push item from memo on stack; index is string arg 131 LONG_BINGET = 'j' # push item from memo on stack; index is 4-byte arg 135 PUT = 'p' # store stack top in memo; index is string arg 204 self.memo = {} 210 """Clears the pickler's "memo". 212 The memo is the data structure that remembers which objects the 218 self.memo.clear() 228 """Store an object in the memo.""" 230 # The Pickler memo is a dictionary mapping object ids to 2-tuples 231 # that contain the Unpickler memo key and the object being memoized [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
copy.py | 145 def deepcopy(x, memo=None, _nil=[]): 151 if memo is None: 152 memo = {} 155 y = memo.get(d, _nil) 163 y = copier(x, memo) 170 y = _deepcopy_atomic(x, memo) 174 y = copier(memo) 190 y = _reconstruct(x, rv, 1, memo) 192 memo[d] = y 193 _keep_alive(x, memo) # Make sure x lives at least as long as [all...] |
pickle.py | 128 GET = 'g' # push item from memo on stack; index is string arg 131 LONG_BINGET = 'j' # push item from memo on stack; index is 4-byte arg 135 PUT = 'p' # store stack top in memo; index is string arg 204 self.memo = {} 210 """Clears the pickler's "memo". 212 The memo is the data structure that remembers which objects the 218 self.memo.clear() 228 """Store an object in the memo.""" 230 # The Pickler memo is a dictionary mapping object ids to 2-tuples 231 # that contain the Unpickler memo key and the object being memoized [all...] |
weakref.py | 92 def __deepcopy__(self, memo): 98 new[deepcopy(key, memo)] = o 274 def __deepcopy__(self, memo): 280 new[o] = deepcopy(value, memo)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
copy.py | 145 def deepcopy(x, memo=None, _nil=[]): 151 if memo is None: 152 memo = {} 155 y = memo.get(d, _nil) 163 y = copier(x, memo) 170 y = _deepcopy_atomic(x, memo) 174 y = copier(memo) 190 y = _reconstruct(x, rv, 1, memo) 192 memo[d] = y 193 _keep_alive(x, memo) # Make sure x lives at least as long as [all...] |
pickle.py | 128 GET = 'g' # push item from memo on stack; index is string arg 131 LONG_BINGET = 'j' # push item from memo on stack; index is 4-byte arg 135 PUT = 'p' # store stack top in memo; index is string arg 204 self.memo = {} 210 """Clears the pickler's "memo". 212 The memo is the data structure that remembers which objects the 218 self.memo.clear() 228 """Store an object in the memo.""" 230 # The Pickler memo is a dictionary mapping object ids to 2-tuples 231 # that contain the Unpickler memo key and the object being memoized [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
copy.py | 145 def deepcopy(x, memo=None, _nil=[]): 151 if memo is None: 152 memo = {} 155 y = memo.get(d, _nil) 163 y = copier(x, memo) 170 y = _deepcopy_atomic(x, memo) 174 y = copier(memo) 190 y = _reconstruct(x, rv, 1, memo) 192 memo[d] = y 193 _keep_alive(x, memo) # Make sure x lives at least as long as [all...] |
pickle.py | 128 GET = 'g' # push item from memo on stack; index is string arg 131 LONG_BINGET = 'j' # push item from memo on stack; index is 4-byte arg 135 PUT = 'p' # store stack top in memo; index is string arg 204 self.memo = {} 210 """Clears the pickler's "memo". 212 The memo is the data structure that remembers which objects the 218 self.memo.clear() 228 """Store an object in the memo.""" 230 # The Pickler memo is a dictionary mapping object ids to 2-tuples 231 # that contain the Unpickler memo key and the object being memoized [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
copy.py | 145 def deepcopy(x, memo=None, _nil=[]): 151 if memo is None: 152 memo = {} 155 y = memo.get(d, _nil) 163 y = copier(x, memo) 170 y = _deepcopy_atomic(x, memo) 174 y = copier(memo) 190 y = _reconstruct(x, rv, 1, memo) 192 memo[d] = y 193 _keep_alive(x, memo) # Make sure x lives at least as long as [all...] |
pickle.py | 128 GET = 'g' # push item from memo on stack; index is string arg 131 LONG_BINGET = 'j' # push item from memo on stack; index is 4-byte arg 135 PUT = 'p' # store stack top in memo; index is string arg 204 self.memo = {} 210 """Clears the pickler's "memo". 212 The memo is the data structure that remembers which objects the 218 self.memo.clear() 228 """Store an object in the memo.""" 230 # The Pickler memo is a dictionary mapping object ids to 2-tuples 231 # that contain the Unpickler memo key and the object being memoized [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/ |
symbol.py | 60 def __deepcopy__(self, memo): 66 memo[id(self)] = newobj
|
/frameworks/av/include/media/ |
Interpolator.h | 101 const auto &memo = mMemo[low->first]; local 102 return low->second + std::get<0>(memo) * t 103 + (std::get<1>(memo) + std::get<2>(memo) * t) * t2;
|
/external/libvorbis/lib/ |
floor0.c | 194 void *memo,float *out){ 200 if(memo){ 201 float *lsp=(float *)memo;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
cPickle.c | 336 PyObject *memo;
member in struct:Picklerobject 347 int fast; /* Fast mode doesn't save in memo, don't use if circ ref */
368 PyObject *memo;
member in struct:Unpicklerobject 752 if (!( mv = PyDict_GetItem(self->memo, id))) {
761 PyErr_SetString(PicklingError, "no int where int expected in memo");
821 if ((p = PyDict_Size(self->memo)) < 0)
824 /* Make sure memo keys are positive! */
846 if (PyDict_SetItem(self->memo, py_ob_id, t) < 0)
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
cPickle.c | 338 PyObject *memo;
member in struct:Picklerobject 349 int fast; /* Fast mode doesn't save in memo, don't use if circ ref */
370 PyObject *memo;
member in struct:Unpicklerobject 722 if (!( mv = PyDict_GetItem(self->memo, id))) {
731 PyErr_SetString(PicklingError, "no int where int expected in memo");
791 if ((p = PyDict_Size(self->memo)) < 0)
794 /* Make sure memo keys are positive! */
816 if (PyDict_SetItem(self->memo, py_ob_id, t) < 0)
[all...] |
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
util.py | 102 memo = lambda *a, **kw: result 103 memo.__name__ = self.__name__ 104 memo.__doc__ = self.__doc__ 105 obj.__dict__[self.__name__] = memo
|
/external/nanopb-c/generator/google/protobuf/ |
message.py | 70 def __deepcopy__(self, memo=None):
|
/external/protobuf/python/google/protobuf/ |
message.py | 69 def __deepcopy__(self, memo=None):
|
/external/python/cpython2/Modules/ |
cPickle.c | 336 PyObject *memo; member in struct:Picklerobject 347 int fast; /* Fast mode doesn't save in memo, don't use if circ ref */ 368 PyObject *memo; member in struct:Unpicklerobject 750 if (!( mv = PyDict_GetItem(self->memo, id))) { 759 PyErr_SetString(PicklingError, "no int where int expected in memo"); 819 if ((p = PyDict_Size(self->memo)) < 0) 822 /* Make sure memo keys are positive! */ 844 if (PyDict_SetItem(self->memo, py_ob_id, t) < 0) [all...] |