/external/python/cpython3/Lib/ctypes/test/ |
D | test_slicing.py | 77 self.assertRaises(ValueError, operator.getitem, 79 self.assertRaises(ValueError, operator.getitem, 81 self.assertRaises(ValueError, operator.getitem, 83 self.assertRaises(ValueError, operator.getitem,
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_slicing.py | 81 self.assertRaises(ValueError, operator.getitem, 83 self.assertRaises(ValueError, operator.getitem, 85 self.assertRaises(ValueError, operator.getitem, 87 self.assertRaises(ValueError, operator.getitem,
|
/external/python/cffi/demo/ |
D | pyobj.py | 66 def getitem(p_list, index): function
|
/external/libchrome/third_party/jinja2/ |
D | sandbox.py | 359 def getitem(self, obj, argument): member in SandboxedEnvironment 462 obj = self._env.getitem(obj, i)
|
D | nodes.py | 711 return self.environment.getitem(self.node.as_const(eval_ctx),
|
/external/python/cpython3/Lib/ |
D | operator.py | 169 def getitem(a, b): function 445 __getitem__ = getitem
|
/external/python/cpython2/Modules/ |
D | posixmodule.c | 3163 PyObject *(*getitem)(PyObject *, Py_ssize_t); in posix_execv() local 3174 getitem = PyList_GetItem; in posix_execv() 3178 getitem = PyTuple_GetItem; in posix_execv() 3197 if (!PyArg_Parse((*getitem)(argv, i), "et", in posix_execv() 3237 PyObject *(*getitem)(PyObject *, Py_ssize_t); in posix_execve() local 3250 getitem = PyList_GetItem; in posix_execve() 3254 getitem = PyTuple_GetItem; in posix_execve() 3273 if (!PyArg_Parse((*getitem)(argv, i), in posix_execve() 3388 PyObject *(*getitem)(PyObject *, Py_ssize_t); in posix_spawnv() local 3399 getitem = PyList_GetItem; in posix_spawnv() [all …]
|
D | cstubs | 103 PyObject * (*getitem)(PyObject *, int); 110 getitem = PyList_GetItem; 114 getitem = PyTuple_GetItem; 126 w = (*getitem)(v, 0); 150 w = (*getitem)(v, i); 206 PyObject * (*getitem)(PyObject *, int); 213 getitem = PyList_GetItem; 217 getitem = PyTuple_GetItem; 225 w = (*getitem)(v, i);
|
D | arraymodule.c | 27 PyObject * (*getitem)(struct arrayobject *, Py_ssize_t); member 459 return (*ap->ob_descr->getitem)(ap, i); in getarrayitem() 2193 PyObject * (*getitem)(struct arrayobject *, Py_ssize_t); member 2217 it->getitem = ao->ob_descr->getitem; in array_iter() 2227 return (*it->getitem)(it->ao, it->index++); in arrayiter_next()
|
D | glmodule.c | 97 PyObject * (*getitem)(PyObject *, int); in gl_varray() local 104 getitem = PyList_GetItem; in gl_varray() 108 getitem = PyTuple_GetItem; in gl_varray() 120 w = (*getitem)(v, 0); in gl_varray() 144 w = (*getitem)(v, i); in gl_varray() 192 PyObject * (*getitem)(PyObject *, int); in gen_nvarray() local 199 getitem = PyList_GetItem; in gen_nvarray() 203 getitem = PyTuple_GetItem; in gen_nvarray() 211 w = (*getitem)(v, i); in gen_nvarray()
|
/external/python/cpython2/Doc/library/ |
D | operator.rst | 248 .. function:: getitem(a, b) 260 This function is removed in Python 3.x. Use :func:`getitem` with a slice 650 | Indexing | ``obj[k]`` | ``getitem(obj, k)`` | 672 | Slicing | ``seq[i:j]`` | ``getitem(seq, slice(i, j))`` |
|
/external/python/cpython2/Lib/test/ |
D | test_bigmem.py | 582 self.assertRaises(IndexError, operator.getitem, s, len(s)) 583 self.assertRaises(IndexError, operator.getitem, s, len(s) + 1) 584 self.assertRaises(IndexError, operator.getitem, s, len(s) + 1<<31) 690 self.assertRaises(IndexError, operator.getitem, t, size) 836 self.assertRaises(IndexError, operator.getitem, l, size)
|
D | test_operator.py | 167 self.assertRaises(TypeError, operator.getitem) 168 self.assertRaises(TypeError, operator.getitem, a, None) 169 self.assertTrue(operator.getitem(a, 2) == 2)
|
/external/protobuf/python/ |
D | mox.py | 475 getitem = self._class_to_mock.__dict__.get('__getitem__', None) 478 if getitem is None:
|
/external/python/cpython3/Doc/library/ |
D | operator.rst | 224 .. function:: getitem(a, b) 400 | Indexing | ``obj[k]`` | ``getitem(obj, k)`` | 422 | Slicing | ``seq[i:j]`` | ``getitem(seq, slice(i, j))`` |
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 85 def getitem(s, name): function 93 mock.__getitem__ = getitem
|
/external/python/mock/mock/tests/ |
D | testmagicmethods.py | 111 def getitem(s, name): function 119 mock.__getitem__ = getitem
|
/external/python/cpython3/Lib/test/ |
D | test_bigmem.py | 528 self.assertRaises(IndexError, operator.getitem, s, len(s)) 529 self.assertRaises(IndexError, operator.getitem, s, len(s) + 1) 530 self.assertRaises(IndexError, operator.getitem, s, len(s) + 1<<31) 878 self.assertRaises(IndexError, operator.getitem, t, size) 1022 self.assertRaises(IndexError, operator.getitem, l, size)
|
D | test_operator.py | 171 self.assertRaises(TypeError, operator.getitem) 172 self.assertRaises(TypeError, operator.getitem, a, None) 173 self.assertEqual(operator.getitem(a, 2), 2)
|
D | test_dbm_dumb.py | 208 partial(operator.getitem, f),
|
/external/python/cpython3/Modules/ |
D | arraymodule.c | 32 PyObject * (*getitem)(struct arrayobject *, Py_ssize_t); member 55 PyObject* (*getitem)(struct arrayobject *, Py_ssize_t); member 620 return (*ap->ob_descr->getitem)(ap, i); in getarrayitem() 2903 it->getitem = ao->ob_descr->getitem; in array_iter() 2921 return (*it->getitem)(ao, it->index++); in arrayiter_next()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | bfloat16.cc | 558 NPyBfloat16_ArrFuncs.getitem = NPyBfloat16_GetItem; in Initialize()
|
/external/python/cpython2/Lib/plat-mac/ |
D | gensuitemodule.py | 341 def getlist(f, description, getitem): argument 345 list.append(generic(getitem, f))
|
/external/scapy/scapy/modules/ |
D | six.py | 639 indexbytes = operator.getitem
|
/external/python/six/ |
D | six.py | 635 indexbytes = operator.getitem
|