/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_defaultdict.py | 28 d2 = defaultdict(list, foo=1, bar=2) 29 self.assertEqual(d2.default_factory, list) 30 self.assertEqual(d2, {"foo": 1, "bar": 2}) 31 self.assertEqual(d2["foo"], 1) 32 self.assertEqual(d2["bar"], 2) 33 self.assertEqual(d2[42], []) 34 self.assertIn("foo", d2) 35 self.assertIn("foo", d2.keys()) 36 self.assertIn("bar", d2) 37 self.assertIn("bar", d2.keys()) [all …]
|
D | test_runpy.py | 62 d2 = _run_module_code(self.test_source, 69 self.assertIs(d2["initial"], initial) 70 self.assertEqual(d2["result"], self.expected_result) 71 self.assertEqual(d2["nested"]["x"], 1) 72 self.assertIs(d2["__name__"], name) 73 self.assertTrue(d2["run_name_in_sys_modules"]) 74 self.assertTrue(d2["module_in_sys_modules"]) 75 self.assertIs(d2["__file__"], file) 76 self.assertIs(d2["run_argv0"], file) 77 self.assertIs(d2["__loader__"], loader) [all …]
|
D | test_dictviews.py | 90 d2 = {'b': 3, 'c': 2} 93 self.assertEqual(d1.viewkeys() & d2.viewkeys(), {'b'}) 96 self.assertEqual(d1.viewkeys() & set(d2.viewkeys()), {'b'}) 100 self.assertEqual(d1.viewkeys() | d2.viewkeys(), {'a', 'b', 'c'}) 103 self.assertEqual(d1.viewkeys() | set(d2.viewkeys()), {'a', 'b', 'c'}) 108 self.assertEqual(d1.viewkeys() ^ d2.viewkeys(), {'a', 'c'}) 111 self.assertEqual(d1.viewkeys() ^ set(d2.viewkeys()), {'a', 'c'}) 117 d2 = {'a': 2, 'b': 2} 121 self.assertEqual(d1.viewitems() & d2.viewitems(), {('b', 2)}) 125 self.assertEqual(d1.viewitems() & set(d2.viewitems()), {('b', 2)}) [all …]
|
D | test_shelve.py | 64 d2 = {} 65 s = shelve.Shelf(d2, protocol=1) 71 self.assertNotEqual(d1, d2) 82 d2 = {} 83 s = shelve.Shelf(d2, protocol=2, writeback=True) 91 self.assertEqual(len(d2), 1)
|
D | test_userdict.py | 8 d2 = {"one": 1, "two": 2} variable 21 u2 = UserDict.IterableUserDict(d2) 29 self.assertEqual(UserDict.UserDict(one=1, two=2), d2) 31 self.assertEqual(UserDict.UserDict([('one',1), ('two',2)]), d2) 32 self.assertEqual(UserDict.UserDict(dict=[('one',1), ('two',2)]), d2) 48 self.assertEqual(repr(u2), repr(d2)) 51 all = [d0, d1, d2, u, u0, u1, u2, uu, uu0, uu1, uu2] 92 self.assertEqual(u2.keys(), d2.keys()) 93 self.assertEqual(u2.items(), d2.items()) 94 self.assertEqual(u2.values(), d2.values())
|
D | test_decimal.py | 912 d2 = Decimal('22.2') 915 self.assertEqual(d1+d2, Decimal('11.1')) 916 self.assertEqual(d2+d1, Decimal('11.1')) 929 d1 += d2 939 d2 = Decimal('22.2') 942 self.assertEqual(d1-d2, Decimal('-33.3')) 943 self.assertEqual(d2-d1, Decimal('33.3')) 956 d1 -= d2 966 d2 = Decimal('3') 969 self.assertEqual(d1*d2, Decimal('-15')) [all …]
|
D | test_audioop.py | 81 d2 = audioop.bias(data[1], 2, 100) 84 self.assertEqual(audioop.avg(d2, 2), 101) 90 for d2 in data: 92 wtd = len(d2)//3 93 self.assertEqual(len(audioop.lin2lin(d1, got, wtd)), len(d2)) 137 d2, state = audioop.ratecv(data[0], 1, 1, 8000, 16000, state) 138 self.assertEqual(d1 + d2, '\000\000\001\001\002\001\000\000\001\001\002')
|
D | test_compiler.py | 224 d2 = {} 225 exec code in d1, d2
|
D | test_datetime.py | 585 d2 = self.theclass.fromordinal(n) 586 self.assertEqual(d, d2) 590 d2 = self.theclass(year-1, 12, 31) 591 self.assertEqual(d, d2) 592 self.assertEqual(d2.toordinal(), n-1) 2124 d2 = base.replace(minute=11) 2125 for x in d0, d1, d2: 2126 for y in d0, d1, d2: 2138 d2 = base.replace(minute=11, tzinfo=OperandDependentOffset()) 2139 for x in d0, d1, d2: [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
D | Dict.py | 14 d2 = {} 20 d2 = {2:3,4:5,6:7} 26 d2 = {} 32 d2 = {2:3,4:5,6:7} 38 d2 = {} 44 d2 = {2:3,4:5,6:7} 50 d2 = {} 56 d2 = {2:3,4:5,6:7} 62 d2 = {} 68 d2 = {2:3,4:5,6:7}
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/ |
D | test_separators.py | 33 d2 = self.dumps(h, indent=2, sort_keys=True, separators=(' ,', ' : ')) 36 h2 = self.loads(d2) 40 self.assertEqual(d2, expect)
|
D | test_indent.py | 34 d2 = self.dumps(h, indent=2, sort_keys=True, separators=(',', ': ')) 37 h2 = self.loads(d2) 41 self.assertEqual(d2, expect)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/ |
D | test_separators.py | 33 d2 = self.dumps(h, indent=2, sort_keys=True, separators=(' ,', ' : ')) 36 h2 = self.loads(d2) 40 self.assertEqual(d2, expect)
|
D | test_indent.py | 34 d2 = self.dumps(h, indent=2, sort_keys=True, separators=(',', ': ')) 37 h2 = self.loads(d2) 41 self.assertEqual(d2, expect)
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
D | LzFind.c | 520 ptrdiff_t diff = (ptrdiff_t)0 - d2; \ 550 UInt32 h2, d2, maxLen, offset, pos; in Bt3_MatchFinder_GetMatches() local 559 d2 = pos - hash[h2]; in Bt3_MatchFinder_GetMatches() 569 if (d2 < p->cyclicBufferSize && *(cur - d2) == *cur) in Bt3_MatchFinder_GetMatches() 573 distances[1] = d2 - 1; in Bt3_MatchFinder_GetMatches() 587 UInt32 h2, h3, d2, d3, maxLen, offset, pos; in Bt4_MatchFinder_GetMatches() local 596 d2 = pos - hash[ h2]; in Bt4_MatchFinder_GetMatches() 608 if (d2 < p->cyclicBufferSize && *(cur - d2) == *cur) in Bt4_MatchFinder_GetMatches() 611 distances[1] = d2 - 1; in Bt4_MatchFinder_GetMatches() 615 if (d2 != d3 && d3 < p->cyclicBufferSize && *(cur - d3) == *cur) in Bt4_MatchFinder_GetMatches() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
D | LzFind.c | 522 ptrdiff_t diff = (ptrdiff_t)0 - d2; \ 552 UInt32 h2, d2, maxLen, offset, pos; in Bt3_MatchFinder_GetMatches() local 561 d2 = pos - hash[h2]; in Bt3_MatchFinder_GetMatches() 571 if (d2 < p->cyclicBufferSize && *(cur - d2) == *cur) in Bt3_MatchFinder_GetMatches() 575 distances[1] = d2 - 1; in Bt3_MatchFinder_GetMatches() 589 UInt32 h2, h3, d2, d3, maxLen, offset, pos; in Bt4_MatchFinder_GetMatches() local 598 d2 = pos - hash[ h2]; in Bt4_MatchFinder_GetMatches() 610 if (d2 < p->cyclicBufferSize && *(cur - d2) == *cur) in Bt4_MatchFinder_GetMatches() 613 distances[1] = d2 - 1; in Bt4_MatchFinder_GetMatches() 617 if (d2 != d3 && d3 < p->cyclicBufferSize && *(cur - d3) == *cur) in Bt4_MatchFinder_GetMatches() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
D | LzFind.c | 522 ptrdiff_t diff = (ptrdiff_t)0 - d2; \ 552 UInt32 h2, d2, maxLen, offset, pos; in Bt3_MatchFinder_GetMatches() local 561 d2 = pos - hash[h2]; in Bt3_MatchFinder_GetMatches() 571 if (d2 < p->cyclicBufferSize && *(cur - d2) == *cur) in Bt3_MatchFinder_GetMatches() 575 distances[1] = d2 - 1; in Bt3_MatchFinder_GetMatches() 589 UInt32 h2, h3, d2, d3, maxLen, offset, pos; in Bt4_MatchFinder_GetMatches() local 598 d2 = pos - hash[ h2]; in Bt4_MatchFinder_GetMatches() 610 if (d2 < p->cyclicBufferSize && *(cur - d2) == *cur) in Bt4_MatchFinder_GetMatches() 613 distances[1] = d2 - 1; in Bt4_MatchFinder_GetMatches() 617 if (d2 != d3 && d3 < p->cyclicBufferSize && *(cur - d3) == *cur) in Bt4_MatchFinder_GetMatches() [all …]
|
/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/ |
D | dtoa.c | 138 double d2, ds, eps; local 208 dval(d2) = dval(d); 209 word0(d2) &= Frac_mask1; 210 word0(d2) |= Exp_11; 212 if (( j = 11 - hi0bits(word0(d2) & Frac_mask) )!=0) 213 dval(d2) /= 1 << j; 252 dval(d2) = (double)x; 253 word0(d2) -= 31*Exp_msk1; /* adjust exponent */ 258 ds = (dval(d2)-1.5)*0.289529654602168 + 0.1760912590558 + i*0.301029995663981; 342 dval(d2) = dval(d); [all …]
|
/device/google/contexthub/util/nanoapp_sign/ |
D | test_exponent | 4 21:34:1c:0c:d2:8a:b8:77:ff:18:d7:94:8c:c0:b7: 6 cc:98:ce:19:d2:a8:e1:bd:be:ce:78:b8:1d:d0:84: 8 f2:6b:71:64:54:18:a3:d2:0a:42:c1:98:f2:36:eb:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | dtoa.c | 1383 int b2, d2, dd, i, nd, nd0, odd, p2, p5; in bigcomp() local 1429 d2 = 0; in bigcomp() 1433 d2 = -p2; in bigcomp() 1435 i = dshift(d, d2); in bigcomp() 1443 if ((d2 += i) > 0) { in bigcomp() 1444 d = lshift(d, d2); in bigcomp() 2358 U d2, eps, u; in _Py_dg_dtoa() local 2396 dval(&d2) = dval(&u); in _Py_dg_dtoa() 2397 word0(&d2) &= Frac_mask1; in _Py_dg_dtoa() 2398 word0(&d2) |= Exp_11; in _Py_dg_dtoa() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | dtoa.c | 1400 int b2, d2, dd, i, nd, nd0, odd, p2, p5; in bigcomp() local 1446 d2 = 0; in bigcomp() 1450 d2 = -p2; in bigcomp() 1452 i = dshift(d, d2); in bigcomp() 1460 if ((d2 += i) > 0) { in bigcomp() 1461 d = lshift(d, d2); in bigcomp() 2389 U d2, eps, u; in _Py_dg_dtoa() local 2427 dval(&d2) = dval(&u); in _Py_dg_dtoa() 2428 word0(&d2) &= Frac_mask1; in _Py_dg_dtoa() 2429 word0(&d2) |= Exp_11; in _Py_dg_dtoa() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffGetEntryPointLib/ |
D | BasePeCoffGetEntryPointLib.inf | 20 FILE_GUID = be490364-73d2-420d-950e-f6450ca75dfb
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ |
D | ArmVExpressSysConfigLib.inf | 20 FILE_GUID = a05b5cc0-82d2-11e0-82cb-0002a5d5c51b
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/ |
D | case.py | 821 def assertDictEqual(self, d1, d2, msg=None): argument 823 self.assertIsInstance(d2, dict, 'Second argument is not a dictionary') 825 if d1 != d2: 826 standardMsg = '%s != %s' % (safe_repr(d1, True), safe_repr(d2, True)) 829 pprint.pformat(d2).splitlines())))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | ConfigParser.py | 336 d2 = self._sections[section] 340 d2 = self._dict() 342 d.update(d2)
|