/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | colorsys.py | 94 m2 = l * (1.0+s) 96 m2 = l+s-(l*s) 97 m1 = 2.0*l - m2 98 return (_v(m1, m2, h+ONE_THIRD), _v(m1, m2, h), _v(m1, m2, h-ONE_THIRD)) 100 def _v(m1, m2, hue): argument 103 return m1 + (m2-m1)*hue*6.0 105 return m2 107 return m1 + (m2-m1)*(TWO_THIRD-hue)*6.0
|
D | doctest.py | 1292 m2 = re.match(r'(?:[^:]*\.)?([^:]*:)', exc_msg) 1293 if m1 and m2 and check(m1.group(1), m2.group(1),
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/ |
D | makeconfig.py | 10 m2 = re.compile('-- ADDMODULE MARKER 2 --') 25 elif m2 and m2.search(line): 26 m2 = None 34 elif m2:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/metaclasses/ |
D | Trace.py | 117 def m2(self, y): return self.x + y member in _test.C 120 def m2(self, y): print "D.m2(%r)" % (y,); return C.m2(self, y) member in _test.D 127 print x.m2(33) 129 print x.m2(4000) 133 print C.m2 135 print D.m2 140 print y.m2(100)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/newmetaclasses/ |
D | Eiffel.py | 97 def m2(self, arg): member in _test.Test 108 def m2(self, arg): member in _test.Sub 116 t.m2(1) 118 t.m2(0) 126 s.m2(1) 132 s.m2(10) 137 s.m2(5)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_md5.py | 53 m2 = md5() 54 m2.update(aas + bees + cees) 55 self.assertEqual(m1.digest(), m2.digest())
|
D | test_userdict.py | 83 m2 = MyUserDict(u2) 84 m2a = m2.copy() 85 self.assertEqual(m2a, m2) 88 m2['foo'] = 'bar' 89 self.assertNotEqual(m2a, m2)
|
D | test_mmap.py | 587 m2 = mmap.mmap(-1, len(data2), tagname="foo") 588 m2[:] = data2 590 self.assertEqual(m2[:], data2) 591 m2.close() 597 m2 = mmap.mmap(-1, len(data2), tagname="boo") 598 m2[:] = data2 600 self.assertEqual(m2[:], data2) 601 m2.close()
|
D | test_hashlib.py | 153 m2 = hashlib.new(name) 154 m2.update(abcs) 155 self.assertEqual(m1.digest(), m2.digest(), name+' update problem.')
|
/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/ |
D | dtoa.c | 128 j, jj1, k, k0, k_check, leftright, m2, m5, s2, s5, local 492 m2 = b2; 511 if (m2 > 0 && s2 > 0) { 512 i = m2 < s2 ? m2 : s2; 514 m2 -= i; 585 m2 += i; 591 m2 += i; 631 if (m2 > 0) { 632 mhi = lshift(mhi, m2);
|
D | gdtoa.c | 168 int j, jj1, k, k0, k_check, kind, leftright, m2, m5, nbits; in gdtoa() local 510 m2 = b2; in gdtoa() 531 m2 -= i; in gdtoa() 539 if (m2 > 0 && s2 > 0) { in gdtoa() 540 i = m2 < s2 ? m2 : s2; in gdtoa() 542 m2 -= i; in gdtoa() 607 m2 += i; in gdtoa() 613 m2 += i; in gdtoa() 649 if (m2 > 0) { in gdtoa() 650 mhi = lshift(mhi, m2); in gdtoa()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenPatchPcdTable/ |
D | GenPatchPcdTable.py | 144 m2 = re.match('^[_]+gPcd_BinaryPatch_([\w]+)', sym_name) 145 if m2 != None: 149 bPcds.append([m2.groups(0)[0], sec[3], sym_offset, vir_addr, sec_no])
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | dtoa.c | 2383 j, j1, k, k0, k_check, leftright, m2, m5, s2, s5, in _Py_dg_dtoa() local 2673 m2 = b2; in _Py_dg_dtoa() 2685 if (m2 > 0 && s2 > 0) { in _Py_dg_dtoa() 2686 i = m2 < s2 ? m2 : s2; in _Py_dg_dtoa() 2688 m2 -= i; in _Py_dg_dtoa() 2749 m2 += i; in _Py_dg_dtoa() 2795 if (m2 > 0) { in _Py_dg_dtoa() 2796 mhi = lshift(mhi, m2); in _Py_dg_dtoa()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | dtoa.c | 2352 j, j1, k, k0, k_check, leftright, m2, m5, s2, s5, in _Py_dg_dtoa() local 2642 m2 = b2; in _Py_dg_dtoa() 2654 if (m2 > 0 && s2 > 0) { in _Py_dg_dtoa() 2655 i = m2 < s2 ? m2 : s2; in _Py_dg_dtoa() 2657 m2 -= i; in _Py_dg_dtoa() 2718 m2 += i; in _Py_dg_dtoa() 2764 if (m2 > 0) { in _Py_dg_dtoa() 2765 mhi = lshift(mhi, m2); in _Py_dg_dtoa()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Efi/ |
D | edk2module.c | 3783 char *m1, *m2; in _PyPopen() local 3788 m2 = "w"; in _PyPopen() 3791 m2 = "wb"; in _PyPopen() 3795 f1 = _fdopen(fd1, m2); in _PyPopen() 3798 p1 = PyFile_FromFile(f1, cmdstring, m2, _PyPclose); in _PyPopen() 3815 char *m1, *m2; in _PyPopen() local 3820 m2 = "w"; in _PyPopen() 3823 m2 = "wb"; in _PyPopen() 3827 f1 = _fdopen(fd1, m2); in _PyPopen() 3832 p1 = PyFile_FromFile(f1, cmdstring, m2, _PyPclose); in _PyPopen()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | flmodule.c | 1961 char *m1, *m2, *m3, *b1, *b2, *b3; in forms_show_choice() local 1990 if (!PyArg_Parse(args, format, &m1, &m2, &m3, &b1, &b2, &b3)) in forms_show_choice() 1994 rv = fl_show_choice(m1, m2, m3, nb, b1, b2, b3); in forms_show_choice()
|
D | posixmodule.c | 5373 char *m1, *m2; in _PyPopen() local 5378 m2 = "w"; in _PyPopen() 5381 m2 = "wb"; in _PyPopen() 5385 f1 = _fdopen(fd1, m2); in _PyPopen() 5388 p1 = PyFile_FromFile(f1, cmdstring, m2, _PyPclose); in _PyPopen() 5405 char *m1, *m2; in _PyPopen() local 5410 m2 = "w"; in _PyPopen() 5413 m2 = "wb"; in _PyPopen() 5417 f1 = _fdopen(fd1, m2); in _PyPopen() 5422 p1 = PyFile_FromFile(f1, cmdstring, m2, _PyPclose); in _PyPopen()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
D | Misc.py | 151 m2 = re.match('^[_]*(%s)' % varname, sym_name) 152 if m2 != None:
|