Home
last modified time | relevance | path

Searched refs:u2 (Results 1 – 21 of 21) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dseq_tests.py99 u2 = self.type2test(l2)
104 uu2 = self.type2test(u2)
249 u2 = self.type2test([0, 1])
252 self.assertEqual(u1 + self.type2test([1]), u2)
254 self.assertEqual(self.type2test(), u2*0)
255 self.assertEqual(self.type2test(), 0*u2)
256 self.assertEqual(self.type2test(), u2*0L)
257 self.assertEqual(self.type2test(), 0L*u2)
258 self.assertEqual(u2, u2*1)
259 self.assertEqual(u2, 1*u2)
[all …]
Dtest_userdict.py21 u2 = UserDict.IterableUserDict(d2)
26 uu2 = UserDict.UserDict(u2)
43 self.assertIsInstance(u2.fromkeys('one two'.split()), UserDict.IterableUserDict)
48 self.assertEqual(repr(u2), repr(d2))
51 all = [d0, d1, d2, u, u0, u1, u2, uu, uu0, uu1, uu2]
57 self.assertEqual(u2["one"], 1)
61 u3 = UserDict.UserDict(u2)
74 u2a = u2.copy()
75 self.assertEqual(u2a, u2)
83 m2 = MyUserDict(u2)
[all …]
Dtest_userlist.py21 u2 = u + "eggs"
22 self.assertEqual(u2, list("spameggs"))
26 u2 = "spam" + u
27 self.assertEqual(u2, list("spameggs"))
28 u2 = u.__radd__(UserList("spam"))
29 self.assertEqual(u2, list("spameggs"))
Dtest_tuple.py34 u2 = u
36 self.assertTrue(u is not u2)
41 u2 = u
43 self.assertTrue(u is not u2)
Dtest_glob.py61 u2 = glob.glob(u'./*')
63 self.assertEqual(set(type(r) for r in u2), uniset)
Dtest_xpickle.py165 u2 = self.loads(p)
166 self.assertEqual(u2, u)
Dlist_tests.py413 u2 = u[:]
417 self.assertEqual(u, u2)
467 u2 = u
469 self.assertIs(u, u2)
Dpickletester.py534 u2 = self.loads(p)
535 self.assertEqual(u2, u)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/
Dcomparecodecs.py39 u2 = c.decode(encoding2)
41 u2 = u'<undefined>'
42 if u1 != u2:
44 (i, u1, u2)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Drandom.py396 u2 = 1.0 - random()
397 z = NV_MAGICCONST*(u1-0.5)/u2
399 if zz <= -_log(u2):
473 u2 = random()
475 if u2 < c * (2.0 - c) or u2 <= c * _exp(1.0 - c):
523 u2 = 1.0 - random()
526 z = u1*u1*u2
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Drandom.py402 u2 = 1.0 - random()
403 z = NV_MAGICCONST*(u1-0.5)/u2
405 if zz <= -_log(u2):
474 u2 = random()
475 if u2 < 1.0 - d * d or u2 <= (1.0 - d) * _exp(d):
525 u2 = 1.0 - random()
528 z = u1*u1*u2
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/
DBasePeCoff.c1615 if (ResourceDirectoryEntry->u2.s.DataIsDirectory) { in PeCoffLoaderLoadImage()
1619 if (ResourceDirectoryEntry->u2.s.OffsetToDirectory >= DirectoryEntry->Size) { in PeCoffLoaderLoadImage()
1623 …rectory = (EFI_IMAGE_RESOURCE_DIRECTORY *) (Base + ResourceDirectoryEntry->u2.s.OffsetToDirectory); in PeCoffLoaderLoadImage()
1624 … Offset = ResourceDirectoryEntry->u2.s.OffsetToDirectory + sizeof (EFI_IMAGE_RESOURCE_DIRECTORY) + in PeCoffLoaderLoadImage()
1632 if (ResourceDirectoryEntry->u2.s.DataIsDirectory) { in PeCoffLoaderLoadImage()
1636 if (ResourceDirectoryEntry->u2.s.OffsetToDirectory >= DirectoryEntry->Size) { in PeCoffLoaderLoadImage()
1640 …rectory = (EFI_IMAGE_RESOURCE_DIRECTORY *) (Base + ResourceDirectoryEntry->u2.s.OffsetToDirectory); in PeCoffLoaderLoadImage()
1641 … Offset = ResourceDirectoryEntry->u2.s.OffsetToDirectory + sizeof (EFI_IMAGE_RESOURCE_DIRECTORY) + in PeCoffLoaderLoadImage()
1654 if (!ResourceDirectoryEntry->u2.s.DataIsDirectory) { in PeCoffLoaderLoadImage()
1655 if (ResourceDirectoryEntry->u2.OffsetToData >= DirectoryEntry->Size) { in PeCoffLoaderLoadImage()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/
Dmultibytecodec.h29 ucs2_t u2[4]; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/
Dmultibytecodec.h29 ucs2_t u2[4]; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/
DPeCoffLoader.c1414 if (ResourceDirectoryEntry->u2.s.DataIsDirectory) { in PeCoffLoaderLoadImage()
1418 …rectory = (EFI_IMAGE_RESOURCE_DIRECTORY *) (Base + ResourceDirectoryEntry->u2.s.OffsetToDirectory); in PeCoffLoaderLoadImage()
1421 if (ResourceDirectoryEntry->u2.s.DataIsDirectory) { in PeCoffLoaderLoadImage()
1425 …rectory = (EFI_IMAGE_RESOURCE_DIRECTORY *) (Base + ResourceDirectoryEntry->u2.s.OffsetToDirectory); in PeCoffLoaderLoadImage()
1433 if (!ResourceDirectoryEntry->u2.s.DataIsDirectory) { in PeCoffLoaderLoadImage()
1434 …urceDataEntry = (EFI_IMAGE_RESOURCE_DATA_ENTRY *) (Base + ResourceDirectoryEntry->u2.OffsetToData); in PeCoffLoaderLoadImage()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
DGenFw.c474 if (ResourceDirectoryEntry->u2.s.DataIsDirectory) { in SetHiiResourceHeader()
478 …y = (EFI_IMAGE_RESOURCE_DIRECTORY *) (HiiBinData + ResourceDirectoryEntry->u2.s.OffsetToDirectory); in SetHiiResourceHeader()
481 if (ResourceDirectoryEntry->u2.s.DataIsDirectory) { in SetHiiResourceHeader()
485 …y = (EFI_IMAGE_RESOURCE_DIRECTORY *) (HiiBinData + ResourceDirectoryEntry->u2.s.OffsetToDirectory); in SetHiiResourceHeader()
493 if (!ResourceDirectoryEntry->u2.s.DataIsDirectory) { in SetHiiResourceHeader()
494 …taEntry = (EFI_IMAGE_RESOURCE_DATA_ENTRY *) (HiiBinData + ResourceDirectoryEntry->u2.OffsetToData); in SetHiiResourceHeader()
724 TypeResourceDirectoryEntry->u2.s.DataIsDirectory = 1; in CreateHiiResouceSectionHeader()
725 TypeResourceDirectoryEntry->u2.s.OffsetToDirectory = HiiSectionOffset; in CreateHiiResouceSectionHeader()
735 NameResourceDirectoryEntry->u2.s.DataIsDirectory = 1; in CreateHiiResouceSectionHeader()
736 NameResourceDirectoryEntry->u2.s.OffsetToDirectory = HiiSectionOffset; in CreateHiiResouceSectionHeader()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/
DEfiImage.h653 } u2; member
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DPeImage.h694 } u2; member
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/
DPeImage.h708 } u2; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dunicodeobject.c5896 Py_UNICODE u1, u2; in replace() local
5904 u2 = str2->str[0]; in replace()
5909 u->str[i] = u2; in replace()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dunicodeobject.c5801 Py_UNICODE u1, u2; in replace() local
5809 u2 = str2->str[0]; in replace()
5814 u->str[i] = u2; in replace()