/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/ |
D | mutation_inside_cyclegc.py | 19 del lst[:] 25 lst = [str(i)] variable 30 while lst: 31 keepalive.append(lst[:])
|
D | borrowed_ref_2.py | 32 lst = [None] * 1000000 variable 37 lst[i] = c.g # consume the free list of instancemethod objects
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_index.py | 151 lst = list('ab!cdefghi!j') 152 del lst[self.o] 153 del lst[self.n] 154 lst[self.o] = 'X' 155 lst[self.n] = 'Y' 156 self.assertEqual(lst, list('abYdefghXj')) 158 lst = [5, 6, 7, 8, 9, 10, 11] 159 lst.__setitem__(self.n, "here") 160 self.assertEqual(lst, [5, 6, "here", 8, 9, 10, 11]) 161 lst.__delitem__(self.n) [all …]
|
D | test_list.py | 55 lst = [4, 5, 6, 7] 56 n = int((sys.maxint*2+2) // len(lst)) 59 self.assertRaises((MemoryError, OverflowError), mul, lst, n) 60 self.assertRaises((MemoryError, OverflowError), imul, lst, n)
|
D | test_dircache.py | 64 lst = ['A', 'test2', 'test_nonexistent'] 65 dircache.annotate(self.tempdir, lst) 66 self.assertEqual(lst, ['A/', 'test2', 'test_nonexistent'])
|
D | test_operator.py | 7 def __init__(self, lst): argument 8 self.lst = lst 10 return len(self.lst) 12 return self.lst[i] 14 return self.lst + other.lst 16 return self.lst * other 18 return other * self.lst 21 def __init__(self, lst): argument 22 self.lst = lst 24 return len(self.lst) [all …]
|
D | profilee.py | 80 lst = [] 81 lst.append(42) # 0
|
D | test_pkg.py | 23 def fixdir(lst): argument 24 if "__builtins__" in lst: 25 lst.remove("__builtins__") 26 return lst
|
D | test_marshal.py | 172 lst = self.d.items() 173 new = marshal.loads(marshal.dumps(lst)) 174 self.assertEqual(lst, new) 175 marshal.dump(lst, file(test_support.TESTFN, "wb")) 177 self.assertEqual(lst, new)
|
D | test_py3kwarn.py | 174 lst = range(5) 178 self.assertWarning(lst.sort(cmp=cmp), w, expected) 180 self.assertWarning(sorted(lst, cmp=cmp), w, expected) 182 self.assertWarning(lst.sort(cmp), w, expected) 184 self.assertWarning(sorted(lst, cmp), w, expected)
|
D | test_bisect.py | 205 lst = List() 206 self.module.insort_left(lst, 10) 207 self.module.insort_right(lst, 5) 208 self.assertEqual([5, 10], lst.data)
|
D | test_traceback.py | 117 lst = traceback.format_exception_only(e.__class__, e) 118 self.assertEqual(lst, ['KeyboardInterrupt\n'])
|
D | test_scope.py | 308 def makeReturner(*lst): argument 310 return lst
|
D | test_bytes.py | 272 for lst in [[b"abc"], [b"a", b"bc"], [b"ab", b"c"], [b"a", b"b", b"c"]]: 273 lst = list(map(self.type2test, lst)) 274 self.assertEqual(self.type2test(b"").join(lst), b"abc") 275 self.assertEqual(self.type2test(b"").join(tuple(lst)), b"abc") 276 self.assertEqual(self.type2test(b"").join(iter(lst)), b"abc")
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/ |
D | test_check_circular.py | 14 lst = [] 15 lst.append(lst) 16 self.assertRaises(ValueError, self.dumps, lst)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/ |
D | test_check_circular.py | 14 lst = [] 15 lst.append(lst) 16 self.assertRaises(ValueError, self.dumps, lst)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/ |
D | bgenGenerator.py | 191 fmt, lst = self.getargsFormatArgs(sep) 192 Output("if (!PyArg_ParseTuple(_args, \"%s\"%s))", fmt, lst) 204 lst = "" 213 lst = lst + sep + args 214 return fmt, lst 252 fmt, lst = self.mkvalueFormatArgs(sep) 257 Output("_res = Py_BuildValue(\"%s\"%s);", fmt, lst) 267 lst = "" 274 lst = lst + sep + arg.mkvalueArgs() 275 return fmt, lst
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | rfc822.py | 139 self.headers = lst = [] 166 lst.append(line) 179 lst.append(line) 239 lst = [] 247 lst.append(line) 248 return lst 258 lst = [] 267 lst.append(line) 268 return lst 279 lst = self.getfirstmatchingheader(name) [all …]
|
D | plistlib.py | 192 lst = [] 197 lst.append(int(val)) 198 return datetime.datetime(*lst)
|
D | SimpleXMLRPCServer.py | 147 def remove_duplicates(lst): argument 155 for x in lst:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/ |
D | encoder.py | 282 def _iterencode_list(lst, _current_indent_level): argument 283 if not lst: 287 markerid = id(lst) 290 markers[markerid] = lst 301 for value in lst:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/ |
D | encoder.py | 288 def _iterencode_list(lst, _current_indent_level): argument 289 if not lst: 293 markerid = id(lst) 296 markers[markerid] = lst 307 for value in lst:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/ |
D | util.py | 78 for lst in expected, actual: 81 lst.remove(item)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | lauxlib.c | 321 const char *const lst[]) { in luaL_checkoption() argument 325 for (i=0; lst[i]; i++) in luaL_checkoption() 326 if (strcmp(lst[i], name) == 0) in luaL_checkoption()
|
/device/linaro/bootloader/edk2/StdLib/Include/Lua/ |
D | lauxlib.h | 63 const char *const lst[]);
|