/third_party/python/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,
|
/third_party/node/tools/inspector_protocol/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),
|
D | filters.py | 77 item = environment.getitem(item, part)
|
D | environment.py | 408 def getitem(self, obj, argument): member in Environment
|
/third_party/skia/third_party/externals/jinja2/ |
D | sandbox.py | 381 def getitem(self, obj, argument): member in SandboxedEnvironment 497 obj = self._env.getitem(obj, i)
|
D | filters.py | 74 item = environment.getitem(item, part) 110 item_i = environment.getitem(item_i, part)
|
D | nodes.py | 742 return self.environment.getitem(
|
D | environment.py | 449 def getitem(self, obj, argument): member in Environment
|
/third_party/jinja2/ |
D | sandbox.py | 298 def getitem( member in SandboxedEnvironment 423 obj = self._env.getitem(obj, i)
|
D | filters.py | 70 item = environment.getitem(item, part) 112 item_i = environment.getitem(item_i, part)
|
D | nodes.py | 846 return eval_ctx.environment.getitem(
|
D | environment.py | 461 def getitem( member in Environment
|
/third_party/python/Lib/ |
D | operator.py | 169 def getitem(a, b): function 445 __getitem__ = getitem
|
D | typing.py | 365 def __init__(self, getitem): argument 366 self._getitem = getitem 367 self._name = getitem.__name__ 368 self.__doc__ = getitem.__doc__ 1088 return operator.getitem, (origin, args) 1167 return operator.getitem, (Callable, args) 1618 return operator.getitem, (
|
/third_party/protobuf/python/ |
D | mox.py | 475 getitem = self._class_to_mock.__dict__.get('__getitem__', None) 478 if getitem is None:
|
/third_party/python/Doc/library/ |
D | operator.rst | 228 .. function:: getitem(a, b) 401 | Indexing | ``obj[k]`` | ``getitem(obj, k)`` | 423 | Slicing | ``seq[i:j]`` | ``getitem(seq, slice(i, j))`` |
|
D | unittest.mock-examples.rst | 982 >>> def getitem(name): 989 >>> mock.__getitem__.side_effect = getitem 998 >>> mock.__getitem__ = Mock(side_effect=getitem) 1006 >>> mock.__getitem__.side_effect = getitem
|
/third_party/python/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 | 185 self.assertRaises(TypeError, operator.getitem) 186 self.assertRaises(TypeError, operator.getitem, a, None) 187 self.assertEqual(operator.getitem(a, 2), 2)
|
D | test_dbm_dumb.py | 210 partial(operator.getitem, f),
|
D | test_sys.py | 279 self.assertRaises(IndexError, operator.getitem, v, 5)
|
/third_party/python/Modules/ |
D | arraymodule.c | 35 PyObject * (*getitem)(struct arrayobject *, Py_ssize_t); member 56 PyObject* (*getitem)(struct arrayobject *, Py_ssize_t); member 629 return (*ap->ob_descr->getitem)(ap, i); in getarrayitem() 2889 it->getitem = ao->ob_descr->getitem; in array_iter() 2912 return (*it->getitem)(ao, it->index++); in arrayiter_next()
|
D | posixmodule.c | 6405 PyObject *(*getitem)(PyObject *, Py_ssize_t); in os_spawnv_impl() local 6412 getitem = PyList_GetItem; in os_spawnv_impl() 6416 getitem = PyTuple_GetItem; in os_spawnv_impl() 6434 if (!fsconvert_strdup((*getitem)(argv, i), in os_spawnv_impl() 6509 PyObject *(*getitem)(PyObject *, Py_ssize_t); in os_spawnve_impl() local 6518 getitem = PyList_GetItem; in os_spawnve_impl() 6522 getitem = PyTuple_GetItem; in os_spawnve_impl() 6546 if (!fsconvert_strdup((*getitem)(argv, i), in os_spawnve_impl()
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 84 def getitem(s, name): function 92 mock.__getitem__ = getitem
|