/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/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.__operators__.pbtxt | 12 name: "getitem"
|
/external/python/jinja/src/jinja2/ |
D | sandbox.py | 300 def getitem(self, obj, argument): member in SandboxedEnvironment 406 obj = self._env.getitem(obj, i)
|
D | filters.py | 68 item = environment.getitem(item, part) 104 item_i = environment.getitem(item_i, part)
|
/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)
|
/external/python/cpython3/Lib/ |
D | operator.py | 169 def getitem(a, b): function 445 __getitem__ = getitem
|
D | typing.py | 314 def __init__(self, getitem): argument 315 self._getitem = getitem 316 self._name = getitem.__name__ 317 self.__doc__ = getitem.__doc__ 779 return operator.getitem, (origin, args) 849 return operator.getitem, (Callable, args) 1234 return operator.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()
|
/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/Modules/ |
D | arraymodule.c | 32 PyObject * (*getitem)(struct arrayobject *, Py_ssize_t); member 55 PyObject* (*getitem)(struct arrayobject *, Py_ssize_t); member 625 return (*ap->ob_descr->getitem)(ap, i); in getarrayitem() 2858 it->getitem = ao->ob_descr->getitem; in array_iter() 2876 return (*it->getitem)(ao, it->index++); in arrayiter_next()
|
/external/python/mock/mock/tests/ |
D | testmagicmethods.py | 111 def getitem(s, name): function 119 mock.__getitem__ = getitem
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 84 def getitem(s, name): function 92 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 | 176 self.assertRaises(TypeError, operator.getitem) 177 self.assertRaises(TypeError, operator.getitem, a, None) 178 self.assertEqual(operator.getitem(a, 2), 2)
|
D | test_dbm_dumb.py | 208 partial(operator.getitem, f),
|
/external/tensorflow/tensorflow/python/ops/numpy_ops/ |
D | np_utils.py | 633 def getitem(a, slice_spec): function
|
D | np_array_ops.py | 307 np_utils.less_equal(k, -1 * np_utils.getitem(v_shape, 0)), 308 np_utils.greater_equal(k, np_utils.getitem(v_shape, 1)), 341 np_utils.less_equal(offset, -1 * np_utils.getitem(a_shape, -2)), 342 np_utils.greater_equal(offset, np_utils.getitem(a_shape, -1)),
|