Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dgetpass.py96 pw = ""
104 pw = pw[:-1]
106 pw = pw + c
109 return pw
Durllib2.py865 user, pw = self.passwd.find_user_password(realm, host)
866 if pw is not None:
867 raw = "%s:%s" % (user, pw)
997 user, pw = self.passwd.find_user_password(realm, req.get_full_url())
1007 A1 = "%s:%s:%s" % (user, realm, pw)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dcomplexobject.c751 complex_coerce(PyObject **pv, PyObject **pw) in complex_coerce() argument
755 if (PyInt_Check(*pw)) { in complex_coerce()
756 cval.real = (double)PyInt_AsLong(*pw); in complex_coerce()
757 *pw = PyComplex_FromCComplex(cval); in complex_coerce()
761 else if (PyLong_Check(*pw)) { in complex_coerce()
762 cval.real = PyLong_AsDouble(*pw); in complex_coerce()
765 *pw = PyComplex_FromCComplex(cval); in complex_coerce()
769 else if (PyFloat_Check(*pw)) { in complex_coerce()
770 cval.real = PyFloat_AsDouble(*pw); in complex_coerce()
771 *pw = PyComplex_FromCComplex(cval); in complex_coerce()
[all …]
Dfloatobject.c950 float_coerce(PyObject **pv, PyObject **pw) in float_coerce() argument
952 if (PyInt_Check(*pw)) { in float_coerce()
953 long x = PyInt_AsLong(*pw); in float_coerce()
954 *pw = PyFloat_FromDouble((double)x); in float_coerce()
958 else if (PyLong_Check(*pw)) { in float_coerce()
959 double x = PyLong_AsDouble(*pw); in float_coerce()
962 *pw = PyFloat_FromDouble(x); in float_coerce()
966 else if (PyFloat_Check(*pw)) { in float_coerce()
968 Py_INCREF(*pw); in float_coerce()
Dobject.c1605 PyNumber_CoerceEx(PyObject **pv, PyObject **pw) in PyNumber_CoerceEx() argument
1608 register PyObject *w = *pw; in PyNumber_CoerceEx()
1620 res = (*v->ob_type->tp_as_number->nb_coerce)(pv, pw); in PyNumber_CoerceEx()
1625 res = (*w->ob_type->tp_as_number->nb_coerce)(pw, pv); in PyNumber_CoerceEx()
1638 PyNumber_Coerce(PyObject **pv, PyObject **pw) in PyNumber_Coerce() argument
1640 int err = PyNumber_CoerceEx(pv, pw); in PyNumber_Coerce()
Dintobject.c931 int_coerce(PyObject **pv, PyObject **pw) in int_coerce() argument
933 if (PyInt_Check(*pw)) { in int_coerce()
935 Py_INCREF(*pw); in int_coerce()
Dlongobject.c3921 long_coerce(PyObject **pv, PyObject **pw) in long_coerce() argument
3923 if (PyInt_Check(*pw)) { in long_coerce()
3924 *pw = PyLong_FromLong(PyInt_AS_LONG(*pw)); in long_coerce()
3925 if (*pw == NULL) in long_coerce()
3930 else if (PyLong_Check(*pw)) { in long_coerce()
3932 Py_INCREF(*pw); in long_coerce()
Dclassobject.c1522 instance_coerce(PyObject **pv, PyObject **pw) in instance_coerce() argument
1525 PyObject *w = *pw; in instance_coerce()
1569 *pw = PyTuple_GetItem(coerced, 1); in instance_coerce()
1571 Py_INCREF(*pw); in instance_coerce()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dcomplexobject.c755 complex_coerce(PyObject **pv, PyObject **pw) in complex_coerce() argument
759 if (PyInt_Check(*pw)) { in complex_coerce()
760 cval.real = (double)PyInt_AsLong(*pw); in complex_coerce()
761 *pw = PyComplex_FromCComplex(cval); in complex_coerce()
765 else if (PyLong_Check(*pw)) { in complex_coerce()
766 cval.real = PyLong_AsDouble(*pw); in complex_coerce()
769 *pw = PyComplex_FromCComplex(cval); in complex_coerce()
773 else if (PyFloat_Check(*pw)) { in complex_coerce()
774 cval.real = PyFloat_AsDouble(*pw); in complex_coerce()
775 *pw = PyComplex_FromCComplex(cval); in complex_coerce()
[all …]
Dfloatobject.c951 float_coerce(PyObject **pv, PyObject **pw) in float_coerce() argument
953 if (PyInt_Check(*pw)) { in float_coerce()
954 long x = PyInt_AsLong(*pw); in float_coerce()
955 *pw = PyFloat_FromDouble((double)x); in float_coerce()
959 else if (PyLong_Check(*pw)) { in float_coerce()
960 double x = PyLong_AsDouble(*pw); in float_coerce()
963 *pw = PyFloat_FromDouble(x); in float_coerce()
967 else if (PyFloat_Check(*pw)) { in float_coerce()
969 Py_INCREF(*pw); in float_coerce()
Dobject.c1612 PyNumber_CoerceEx(PyObject **pv, PyObject **pw) in PyNumber_CoerceEx() argument
1615 register PyObject *w = *pw; in PyNumber_CoerceEx()
1627 res = (*v->ob_type->tp_as_number->nb_coerce)(pv, pw); in PyNumber_CoerceEx()
1632 res = (*w->ob_type->tp_as_number->nb_coerce)(pw, pv); in PyNumber_CoerceEx()
1645 PyNumber_Coerce(PyObject **pv, PyObject **pw) in PyNumber_Coerce() argument
1647 int err = PyNumber_CoerceEx(pv, pw); in PyNumber_Coerce()
Dintobject.c951 int_coerce(PyObject **pv, PyObject **pw) in int_coerce() argument
953 if (PyInt_Check(*pw)) { in int_coerce()
955 Py_INCREF(*pw); in int_coerce()
Dclassobject.c1546 instance_coerce(PyObject **pv, PyObject **pw) in instance_coerce() argument
1549 PyObject *w = *pw; in instance_coerce()
1593 *pw = PyTuple_GetItem(coerced, 1); in instance_coerce()
1595 Py_INCREF(*pw); in instance_coerce()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/
Dtest_pytree.py433 pw = pytree.WildcardPattern([[pn], [pl, pl]], name="pw")
435 self.assertFalse(pw.match_seq([root], r))
437 self.assertFalse(pw.match_seq([n1], r))
439 self.assertTrue(pw.match_seq([n2], r))
448 self.assertTrue(pw.match_seq([l1, l3], r))
468 pw = pytree.WildcardPattern([[pa, pb, pc], [pd, pe],
471 self.assertEqual([x[0] for x in pw.generate_matches(leaves)],
473 pr = pytree.NodePattern(type=1000, content=[pw], name="pr")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/
Dlongobject.c3921 long_coerce(PyObject **pv, PyObject **pw) in long_coerce() argument
3923 if (PyInt_Check(*pw)) { in long_coerce()
3924 *pw = PyLong_FromLong(PyInt_AS_LONG(*pw)); in long_coerce()
3925 if (*pw == NULL) in long_coerce()
3930 else if (PyLong_Check(*pw)) { in long_coerce()
3932 Py_INCREF(*pw); in long_coerce()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Objects/
Dlongobject.c3941 long_coerce(PyObject **pv, PyObject **pw) in long_coerce() argument
3943 if (PyInt_Check(*pw)) { in long_coerce()
3944 *pw = PyLong_FromLong(PyInt_AS_LONG(*pw)); in long_coerce()
3945 if (*pw == NULL) in long_coerce()
3950 else if (PyLong_Check(*pw)) { in long_coerce()
3952 Py_INCREF(*pw); in long_coerce()
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtSimpleFileSystemDxe/
DWinNtSimpleFileSystem.c1534 WCHAR *pw; in WinNtSimpleFileSystemRead() local
1684 pw = (WCHAR *) (((CHAR8 *) Buffer) + Size); in WinNtSimpleFileSystemRead()
1687 pw[Index] = PrivateFile->FindBuf.cFileName[Index]; in WinNtSimpleFileSystemRead()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/Binary/
Dmcuimage.bin367 .2�#JR�&pw� !A�r�����+h���W�(����!�!A�r ����������O��3G�(@0F+`����*h�F