/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_popen2.py | 65 got = r.read() 66 self.assertEqual(expected_out, got.strip(), "wrote %r read %r" % 67 (teststr, got)) 70 got = e.read() 71 self.assertFalse(got, "unexpected %r on stderr" % got) 92 got = r.read() 93 self.assertEqual(got, self.teststr + "\n") 105 got = r.read() 106 self.assertEqual(got, self.teststr + "\n") 107 got = e.read() [all …]
|
D | test_marshal.py | 17 got = marshal.loads(s) 18 self.assertEqual(expected, got) 20 got = marshal.load(file(test_support.TESTFN, "rb")) 21 self.assertEqual(expected, got) 42 got = marshal.loads(s) 43 self.assertEqual(base, got) 68 got = marshal.loads(s) 69 self.assertEqual(f, got) 71 got = marshal.load(file(test_support.TESTFN, "rb")) 72 self.assertEqual(f, got) [all …]
|
D | test_gc.py | 397 got = gc.get_referents(alist) 398 got.sort() 399 self.assertEqual(got, alist) 402 got = gc.get_referents(atuple) 403 got.sort() 404 self.assertEqual(got, alist) 408 got = gc.get_referents(adict) 409 got.sort() 410 self.assertEqual(got, expected) 412 got = gc.get_referents([1, 2], {3: 4}, (0, 0, 0)) [all …]
|
D | test_popen.py | 22 got = eval(data)[1:] # strip off argv[0] 23 self.assertEqual(got, expected)
|
D | test_struct.py | 40 got = struct.pack(format, number) 46 self.assertEqual(got, expected) 234 got = pack(format, x) 235 self.assertEqual(got, expected) 238 retrieved = unpack(format, got)[0] 243 '\x01' + got) 329 got = struct.pack(self.format, nonint) 335 self.assertEqual(got, expected) 374 got = struct.pack(code, input) 375 self.assertEqual(got, expected) [all …]
|
D | test_long_future.py | 115 got = repr(a / b) 117 got = 'overflow' 119 got = 'zerodivision' 121 self.assertEqual(expected, got, "Incorrectly rounded division {}/{}: " 122 "expected {}, got {}".format(a, b, expected, got))
|
D | test_strtod.py | 97 got = '-inf' if s[0] == '-' else 'inf' 99 got = 'memory error' 101 got = fs.hex() 103 self.assertEqual(expected, got, 105 "expected {}, got {}".format(s, expected, got))
|
D | test_long.py | 286 got = mapper(x) 289 mapper.__name__, got, expected, x) 290 self.assertEqual(got, expected, msg) 291 self.assertEqual(long(got, 0), x, Frm('long("%s", 0) != %r', got, x)) 294 got = str(x) 297 mapper.__name__, got, expected, x) 298 self.assertEqual(got, expected, msg) 630 self.assertEqual(got, expected, 631 Frm("for %r expected %r got %r", args, expected, got)) 637 got = -x [all …]
|
D | test_xpickle.py | 144 got = self.loads(pickle) 145 self.assertEqual(value, got) 150 got = self.loads(pickle) 151 self.assertEqual(value, got)
|
D | test_datetime.py | 1078 got = base.replace(**{name: newval}) 1079 self.assertEqual(expected, got) 1474 def verify_field_equality(self, expected, got): argument 1475 self.assertEqual(expected.tm_year, got.year) 1476 self.assertEqual(expected.tm_mon, got.month) 1477 self.assertEqual(expected.tm_mday, got.day) 1478 self.assertEqual(expected.tm_hour, got.hour) 1479 self.assertEqual(expected.tm_min, got.minute) 1480 self.assertEqual(expected.tm_sec, got.second) 1487 got = self.theclass.fromtimestamp(ts) [all …]
|
D | test_dumbdbm.py | 161 got = f.items() 162 got.sort() 163 self.assertEqual(expected, got)
|
D | test_dis.py | 92 got = s.getvalue() 94 lines = got.split('\n')
|
D | pickletester.py | 433 got = self.loads(s) 434 self.assertEqual(expected, got) 439 got = self.loads(canned) 440 self.assertEqual(expected, got) 455 got = filelike.getvalue() 456 self.assertEqual(expected, got) 558 got = self.loads(data) 559 self.assertEqual(got, maxint64) 573 got = self.loads(pickle) 574 self.assertEqual(n, got) [all …]
|
D | test_math.py | 51 def ulps_check(expected, got, ulps=20): argument 57 ulps_error = to_ulps(got) - to_ulps(expected) 63 def acc_check(expected, got, rel_err=2e-15, abs_err = 5e-323): argument 71 if math.isinf(expected) and got == expected: 74 error = got - expected 975 got = func(arg) 977 got = 'ValueError' 979 got = 'OverflowError' 982 if isinstance(got, float) and isinstance(expected, float): 983 if math.isnan(expected) and math.isnan(got): [all …]
|
D | test_pprint.py | 129 got = f(simple) 130 self.assertEqual(native, got, 132 (native, got, function))
|
D | test_functools.py | 107 got, empty = p('x') 108 self.assertTrue(expected == got and empty == {}) 115 empty, got = p(x=None) 116 self.assertTrue(expected == got and empty == ())
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
D | test_install.py | 38 def check_path(got, expected): argument 39 got = os.path.normpath(got) 41 self.assertEqual(got, expected)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | doctest.py | 272 def _ellipsis_match(want, got): argument 279 return want == got 286 startpos, endpos = 0, len(got) 289 if got.startswith(w): 296 if got.endswith(w): 314 startpos = got.find(w, startpos, endpos) 1154 def report_success(self, out, test, example, got): argument 1162 def report_failure(self, out, test, example, got): argument 1167 self._checker.output_difference(example, got, self.optionflags)) 1263 got = self._fakeout.getvalue() # the actual output [all …]
|
/device/linaro/bootloader/edk2/ArmVirtPkg/PrePi/Scripts/ |
D | PrePi-PIE.lds | 22 *(.got .got*)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
D | gzread.c | 54 unsigned got; local 69 state->size - strm->avail_in, &got) == -1) 71 strm->avail_in += got; 293 unsigned got, n; local 327 got = 0; 373 got += n; 378 return (int)got;
|
D | gzwrite.c | 74 int ret, got; local 84 got = write(state->fd, strm->next_in, strm->avail_in); 85 if (got < 0 || (unsigned)got != strm->avail_in) { 101 if (have && ((got = write(state->fd, state->x.next, have)) < 0 || 102 (unsigned)got != have)) {
|
D | inflate.c | 1359 unsigned got; local 1362 got = *have; 1364 while (next < len && got < 4) { 1365 if ((int)(buf[next]) == (got < 2 ? 0 : 0xff)) 1366 got++; 1368 got = 0; 1370 got = 4 - got; 1373 *have = got;
|
/device/linaro/bootloader/edk2/BaseTools/Scripts/ |
D | GccBase.lds | 32 *(.got .got.*)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/ |
D | test_refactor.py | 205 got.append(f) 209 got = [] 219 self.assertEqual(got,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
D | inflate.c | 1244 unsigned got; local 1247 got = *have; 1249 while (next < len && got < 4) { 1250 if ((int)(buf[next]) == (got < 2 ? 0 : 0xff)) 1251 got++; 1253 got = 0; 1255 got = 4 - got; 1258 *have = got;
|