Home
last modified time | relevance | path

Searched refs:m2 (Results 1 – 18 of 18) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dcolorsys.py94 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
Ddoctest.py1292 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/
Dmakeconfig.py10 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/
DTrace.py117 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/
DEiffel.py97 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/
Dtest_md5.py53 m2 = md5()
54 m2.update(aas + bees + cees)
55 self.assertEqual(m1.digest(), m2.digest())
Dtest_userdict.py83 m2 = MyUserDict(u2)
84 m2a = m2.copy()
85 self.assertEqual(m2a, m2)
88 m2['foo'] = 'bar'
89 self.assertNotEqual(m2a, m2)
Dtest_mmap.py587 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()
Dtest_hashlib.py153 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/
Ddtoa.c128 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);
Dgdtoa.c168 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/
DGenPatchPcdTable.py144 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/
Ddtoa.c2383 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/
Ddtoa.c2352 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/
Dedk2module.c3783 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/
Dflmodule.c1961 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()
Dposixmodule.c5373 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/
DMisc.py151 m2 = re.match('^[_]*(%s)' % varname, sym_name)
152 if m2 != None: