/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/fonttools/Lib/fontTools/ttLib/tables/ |
D | V_O_R_G_.py | 33 names = map(operator.getitem, [glyphOrder]*self.numVertOriginYMetrics, gids) 47 gids = map(operator.getitem, [nameMap]*lenRecords, names) 50 gids = map(operator.getitem, [nameMap]*lenRecords, names)
|
D | _c_m_a_p.py | 374 names = list(map(operator.getitem, [glyphOrder]*lenCmap, gids )) 393 gids = list(map(operator.getitem, [nameMap]*lenCharCodes, names)) 397 gids = list(map(operator.getitem, [nameMap]*lenCharCodes, names)) 693 names = list(map(operator.getitem, [glyphOrder]*lenCmap, gids )) 711 names = list(map(operator.getitem, [self.cmap]*lenCharCodes, charCodes)) 714 gids = list(map(operator.getitem, [nameMap]*lenCharCodes, names)) 718 gids = list(map(operator.getitem, [nameMap]*lenCharCodes, names)) 838 names = list(map(operator.getitem, [glyphOrder]*lenArray, glyphIndexArray )) 922 names = list(map(operator.getitem, [glyphOrder]*lenCmap, gids )) 936 gids = list(map(operator.getitem, [nameMap]*lenCharCodes, names)) [all …]
|
D | C_O_L_R_.py | 47 names = list(map(operator.getitem, [glyphOrder]*numBaseGlyphRecords, gids))
|
/external/python/cpython3/Lib/ |
D | operator.py | 169 def getitem(a, b): function 449 __getitem__ = getitem
|
/external/python/cpython2/Modules/ |
D | posixmodule.c | 3157 PyObject *(*getitem)(PyObject *, Py_ssize_t); in posix_execv() local 3168 getitem = PyList_GetItem; in posix_execv() 3172 getitem = PyTuple_GetItem; in posix_execv() 3191 if (!PyArg_Parse((*getitem)(argv, i), "et", in posix_execv() 3231 PyObject *(*getitem)(PyObject *, Py_ssize_t); in posix_execve() local 3244 getitem = PyList_GetItem; in posix_execve() 3248 getitem = PyTuple_GetItem; in posix_execve() 3267 if (!PyArg_Parse((*getitem)(argv, i), in posix_execve() 3376 PyObject *(*getitem)(PyObject *, Py_ssize_t); in posix_spawnv() local 3387 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() 2192 PyObject * (*getitem)(struct arrayobject *, Py_ssize_t); member 2216 it->getitem = ao->ob_descr->getitem; in array_iter() 2226 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/libmojo/third_party/jinja2/ |
D | sandbox.py | 304 def getitem(self, obj, argument): member in SandboxedEnvironment
|
D | filters.py | 62 return lambda x: environment.getitem(x, attribute) 68 item = environment.getitem(item, part)
|
D | nodes.py | 642 return self.environment.getitem(self.node.as_const(eval_ctx),
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 82 def getitem(s, name): function 90 mock.__getitem__ = getitem
|
/external/protobuf/python/ |
D | mox.py | 475 getitem = self._class_to_mock.__dict__.get('__getitem__', None) 478 if getitem is None:
|
/external/python/cpython3/Modules/ |
D | arraymodule.c | 32 PyObject * (*getitem)(struct arrayobject *, Py_ssize_t); member 54 PyObject* (*getitem)(struct arrayobject *, Py_ssize_t); member 581 return (*ap->ob_descr->getitem)(ap, i); in getarrayitem() 2828 it->getitem = ao->ob_descr->getitem; in array_iter() 2846 return (*it->getitem)(ao, it->index++); in arrayiter_next()
|
/external/python/cpython3/Doc/library/ |
D | operator.rst | 223 .. function:: getitem(a, b) 394 | Indexing | ``obj[k]`` | ``getitem(obj, k)`` | 416 | Slicing | ``seq[i:j]`` | ``getitem(seq, slice(i, j))`` |
|
/external/python/cpython3/Lib/test/ |
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_bigmem.py | 527 self.assertRaises(IndexError, operator.getitem, s, len(s)) 528 self.assertRaises(IndexError, operator.getitem, s, len(s) + 1) 529 self.assertRaises(IndexError, operator.getitem, s, len(s) + 1<<31) 877 self.assertRaises(IndexError, operator.getitem, t, size) 1025 self.assertRaises(IndexError, operator.getitem, l, size)
|
D | test_dbm_dumb.py | 212 partial(operator.getitem, f),
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | bfloat16.cc | 546 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))
|