/external/python/cpython2/Lib/test/ |
test_array.py | 17 def __init__(self, typecode, newarg=None): 18 array.array.__init__(self, typecode) 57 # typecode: the typecode to test 68 # Return a typecode that is different from our own 69 return typecodes[(typecodes.index(self.typecode)+1) % len(typecodes)] 72 a = array.array(self.typecode) 73 self.assertEqual(a.typecode, self.typecode) 75 self.assertRaises(TypeError, array.array, self.typecode, None 823 typecode = 'c' variable in class:CharacterTest 863 typecode = 'u' variable in class:CharacterTest.UnicodeTest 1027 typecode = 'b' variable in class:ByteTest 1032 typecode = 'B' variable in class:UnsignedByteTest 1037 typecode = 'h' variable in class:ShortTest 1042 typecode = 'H' variable in class:UnsignedShortTest 1047 typecode = 'i' variable in class:IntTest 1052 typecode = 'I' variable in class:UnsignedIntTest 1057 typecode = 'l' variable in class:LongTest 1062 typecode = 'L' variable in class:UnsignedLongTest 1103 typecode = 'f' variable in class:FloatTest 1108 typecode = 'd' variable in class:DoubleTest [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_array.py | 17 def __init__(self, typecode, newarg=None): 18 array.array.__init__(self, typecode) 35 # typecode: the typecode to test 46 # Return a typecode that is different from our own 47 return typecodes[(typecodes.index(self.typecode)+1) % len(typecodes)] 50 a = array.array(self.typecode) 51 self.assertEqual(a.typecode, self.typecode) 53 self.assertRaises(TypeError, array.array, self.typecode, None 800 typecode = 'c' variable in class:CharacterTest 839 typecode = 'u' variable in class:CharacterTest.UnicodeTest 1003 typecode = 'b' variable in class:ByteTest 1008 typecode = 'B' variable in class:UnsignedByteTest 1013 typecode = 'h' variable in class:ShortTest 1018 typecode = 'H' variable in class:UnsignedShortTest 1023 typecode = 'i' variable in class:IntTest 1028 typecode = 'I' variable in class:UnsignedIntTest 1033 typecode = 'l' variable in class:LongTest 1038 typecode = 'L' variable in class:UnsignedLongTest 1068 typecode = 'f' variable in class:FloatTest 1073 typecode = 'd' variable in class:DoubleTest [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_array.py | 17 def __init__(self, typecode, newarg=None): 18 array.array.__init__(self, typecode) 35 # typecode: the typecode to test 46 # Return a typecode that is different from our own 47 return typecodes[(typecodes.index(self.typecode)+1) % len(typecodes)] 50 a = array.array(self.typecode) 51 self.assertEqual(a.typecode, self.typecode) 53 self.assertRaises(TypeError, array.array, self.typecode, None 800 typecode = 'c' variable in class:CharacterTest 839 typecode = 'u' variable in class:CharacterTest.UnicodeTest 1003 typecode = 'b' variable in class:ByteTest 1008 typecode = 'B' variable in class:UnsignedByteTest 1013 typecode = 'h' variable in class:ShortTest 1018 typecode = 'H' variable in class:UnsignedShortTest 1023 typecode = 'i' variable in class:IntTest 1028 typecode = 'I' variable in class:UnsignedIntTest 1033 typecode = 'l' variable in class:LongTest 1038 typecode = 'L' variable in class:UnsignedLongTest 1068 typecode = 'f' variable in class:FloatTest 1073 typecode = 'd' variable in class:DoubleTest [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_array.py | 17 def __init__(self, typecode, newarg=None): 18 array.array.__init__(self, typecode) 35 # typecode: the typecode to test 46 # Return a typecode that is different from our own 47 return typecodes[(typecodes.index(self.typecode)+1) % len(typecodes)] 50 a = array.array(self.typecode) 51 self.assertEqual(a.typecode, self.typecode) 53 self.assertRaises(TypeError, array.array, self.typecode, None 800 typecode = 'c' variable in class:CharacterTest 839 typecode = 'u' variable in class:CharacterTest.UnicodeTest 1003 typecode = 'b' variable in class:ByteTest 1008 typecode = 'B' variable in class:UnsignedByteTest 1013 typecode = 'h' variable in class:ShortTest 1018 typecode = 'H' variable in class:UnsignedShortTest 1023 typecode = 'i' variable in class:IntTest 1028 typecode = 'I' variable in class:UnsignedIntTest 1033 typecode = 'l' variable in class:LongTest 1038 typecode = 'L' variable in class:UnsignedLongTest 1068 typecode = 'f' variable in class:FloatTest 1073 typecode = 'd' variable in class:DoubleTest [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_array.py | 17 def __init__(self, typecode, newarg=None): 18 array.array.__init__(self, typecode) 35 # typecode: the typecode to test 46 # Return a typecode that is different from our own 47 return typecodes[(typecodes.index(self.typecode)+1) % len(typecodes)] 50 a = array.array(self.typecode) 51 self.assertEqual(a.typecode, self.typecode) 53 self.assertRaises(TypeError, array.array, self.typecode, None 800 typecode = 'c' variable in class:CharacterTest 839 typecode = 'u' variable in class:CharacterTest.UnicodeTest 1003 typecode = 'b' variable in class:ByteTest 1008 typecode = 'B' variable in class:UnsignedByteTest 1013 typecode = 'h' variable in class:ShortTest 1018 typecode = 'H' variable in class:UnsignedShortTest 1023 typecode = 'i' variable in class:IntTest 1028 typecode = 'I' variable in class:UnsignedIntTest 1033 typecode = 'l' variable in class:LongTest 1038 typecode = 'L' variable in class:UnsignedLongTest 1068 typecode = 'f' variable in class:FloatTest 1073 typecode = 'd' variable in class:DoubleTest [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_array.py | 16 def __init__(self, typecode, newarg=None):
17 array.array.__init__(self, typecode)
34 # typecode: the typecode to test
45 # Return a typecode that is different from our own
46 return typecodes[(typecodes.index(self.typecode)+1) % len(typecodes)]
49 a = array.array(self.typecode)
50 self.assertEqual(a.typecode, self.typecode)
52 self.assertRaises(TypeError, array.array, self.typecode, None) 797 typecode = 'c' variable in class:CharacterTest 836 typecode = 'u' variable in class:CharacterTest.UnicodeTest 987 typecode = 'b' variable in class:ByteTest 992 typecode = 'B' variable in class:UnsignedByteTest 997 typecode = 'h' variable in class:ShortTest 1002 typecode = 'H' variable in class:UnsignedShortTest 1007 typecode = 'i' variable in class:IntTest 1012 typecode = 'I' variable in class:UnsignedIntTest 1017 typecode = 'l' variable in class:LongTest 1022 typecode = 'L' variable in class:UnsignedLongTest 1052 typecode = 'f' variable in class:FloatTest 1057 typecode = 'd' variable in class:DoubleTest [all...] |
/external/python/cpython2/Lib/multiprocessing/dummy/ |
__init__.py | 128 def Array(typecode, sequence, lock=True): 129 return array.array(typecode, sequence) 132 def __init__(self, typecode, value, lock=True): 133 self._typecode = typecode
|
/prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/dummy/ |
__init__.py | 128 def Array(typecode, sequence, lock=True): 129 return array.array(typecode, sequence) 132 def __init__(self, typecode, value, lock=True): 133 self._typecode = typecode
|
/prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/dummy/ |
__init__.py | 128 def Array(typecode, sequence, lock=True): 129 return array.array(typecode, sequence) 132 def __init__(self, typecode, value, lock=True): 133 self._typecode = typecode
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/dummy/ |
__init__.py | 128 def Array(typecode, sequence, lock=True): 129 return array.array(typecode, sequence) 132 def __init__(self, typecode, value, lock=True): 133 self._typecode = typecode
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/dummy/ |
__init__.py | 128 def Array(typecode, sequence, lock=True): 129 return array.array(typecode, sequence) 132 def __init__(self, typecode, value, lock=True): 133 self._typecode = typecode
|
/external/python/cpython2/Modules/ |
arraymodule.c | 25 int typecode; member in struct:arraydescr 1657 char buf[256], typecode; local 1959 PyObject *initial = NULL, *it = NULL, *typecode = NULL; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
arraymodule.c | 25 int typecode;
member in struct:arraydescr 1630 char buf[256], typecode; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
arraymodule.c | 25 int typecode;
member in struct:arraydescr 1615 char buf[256], typecode; local [all...] |
/external/python/cpython2/Lib/plat-mac/ |
aepack.py | 362 def mktype(typecode, modulename=None): 366 classtype = codenamemapper.get(typecode, None) 369 return aetypes.mktype(typecode)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/ |
aepack.py | 362 def mktype(typecode, modulename=None): 366 classtype = codenamemapper.get(typecode, None) 369 return aetypes.mktype(typecode)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
aepack.py | 362 def mktype(typecode, modulename=None): 366 classtype = codenamemapper.get(typecode, None) 369 return aetypes.mktype(typecode)
|
/external/python/cpython2/Lib/ctypes/ |
__init__.py | 144 def _check_size(typ, typecode=None): 148 if typecode is None: 150 typecode = typ._type_ 151 actual, required = sizeof(typ), calcsize(typecode)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/ |
__init__.py | 147 def _check_size(typ, typecode=None): 151 if typecode is None: 153 typecode = typ._type_ 154 actual, required = sizeof(typ), calcsize(typecode)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/ |
__init__.py | 147 def _check_size(typ, typecode=None): 151 if typecode is None: 153 typecode = typ._type_ 154 actual, required = sizeof(typ), calcsize(typecode)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/ |
__init__.py | 147 def _check_size(typ, typecode=None): 151 if typecode is None: 153 typecode = typ._type_ 154 actual, required = sizeof(typ), calcsize(typecode)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/ |
__init__.py | 147 def _check_size(typ, typecode=None): 151 if typecode is None: 153 typecode = typ._type_ 154 actual, required = sizeof(typ), calcsize(typecode)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
repr.py | 61 header = "array('%s', [" % x.typecode
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
repr.py | 61 header = "array('%s', [" % x.typecode
|
/external/python/cpython2/Lib/ |
repr.py | 61 header = "array('%s', [" % x.typecode
|