Home
last modified time | relevance | path

Searched refs:Py_BuildValue (Results 1 – 25 of 127) sorted by relevance

123456

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dpuremodule.c71 return Py_BuildValue("i", status); in call_voidarg_function()
84 return Py_BuildValue("i", status); in call_stringarg_function()
112 return Py_BuildValue("i", status); in call_stringorint_function()
129 return Py_BuildValue("i", status); in call_printfish_function()
142 return Py_BuildValue("i", id); in call_intasaddr_function()
157 return Py_BuildValue("i", status); in call_stringandint_function()
325 return Py_BuildValue("l", (long)data); in pure_purify_get_user_data()
347 PyObject* memobj = Py_BuildValue("lil", memrep, user_size, in map_pool_callback()
386 PyObject* intobj = Py_BuildValue("i", id); in PurifyMapPoolIdCallback()
470 return Py_BuildValue("i", status); in pure_purify_name_thread()
[all …]
Dcryptmodule.c27 return Py_BuildValue("s", crypt(word, salt)); in crypt_crypt()
Dresource.c135 return Py_BuildValue("LL", in resource_getrlimit()
140 return Py_BuildValue("ll", (long) rl.rlim_cur, (long) rl.rlim_max); in resource_getrlimit()
210 return Py_BuildValue("i", pagesize); in resource_getpagesize()
Dtimemodule.c726 Py_BuildValue("(zz)", tzname[0], tzname[1])); in inittimezone()
753 Py_BuildValue("(zz)", in inittimezone()
761 Py_BuildValue("(zz)", in inittimezone()
773 Py_BuildValue("(zz)", _tzname[0], _tzname[1])); in inittimezone()
Dsocketmodule.c521 v = Py_BuildValue("(is)", myerrorcode, outbuf); in set_error()
534 v = Py_BuildValue("(is)", errno, _inet_err()); in set_error()
553 v = Py_BuildValue("(is)", h_error, (char *)hstrerror(h_error)); in set_herror()
555 v = Py_BuildValue("(is)", h_error, "host not found"); in set_herror()
578 v = Py_BuildValue("(is)", error, gai_strerror(error)); in set_gaierror()
580 v = Py_BuildValue("(is)", error, "getaddrinfo failed"); in set_gaierror()
994 ret = Py_BuildValue("Oi", addrobj, ntohs(a->sin_port)); in makesockaddr()
1023 return Py_BuildValue("II", a->nl_pid, a->nl_groups); in makesockaddr()
1035 ret = Py_BuildValue("Oiii", in makesockaddr()
1056 ret = Py_BuildValue("Oi", in makesockaddr()
[all …]
Dpyexpat.c314 arg = Py_BuildValue("(OOO)", type, value, traceback); in trace_frame_exc()
559 args = Py_BuildValue("(NN)", args, container); in my_StartElementHandler()
590 args = Py_BuildValue PARAM_FORMAT ;\
704 result = Py_BuildValue("(iiO&N)", in conv_content_model()
743 args = Py_BuildValue("NN", nameobj, modelobj); in my_ElementDeclHandler()
1026 return Py_BuildValue("z", XML_GetBase(self->itself)); in xmlparse_GetBase()
1776 return Py_BuildValue("z", XML_ErrorString((int)code)); in pyexpat_ErrorString()
1865 Py_BuildValue("(iii)", info.major, in MODULE_INITFUNC()
1914 PyObject *item = Py_BuildValue("si", features[i].name, in MODULE_INITFUNC()
D_localemodule.c399 return Py_BuildValue("ss", locale, encoding); in PyLocale_getdefaultlocale()
410 return Py_BuildValue("ss", locale, encoding); in PyLocale_getdefaultlocale()
415 return Py_BuildValue("Os", Py_None, encoding); in PyLocale_getdefaultlocale()
Dposixmodule.c674 v = Py_BuildValue("(is)", code, text); in os2_error()
2721 return Py_BuildValue("(sssss)", in posix_uname()
3259 return Py_BuildValue("l", (long) spawnval); in posix_spawnv()
3261 return Py_BuildValue("L", (PY_LONG_LONG) spawnval); in posix_spawnv()
3401 res = Py_BuildValue("l", (long) spawnval); in posix_spawnve()
3403 res = Py_BuildValue("L", (PY_LONG_LONG) spawnval); in posix_spawnve()
3495 return Py_BuildValue("l", (long) spawnval); in posix_spawnvp()
3628 res = Py_BuildValue("l", (long) spawnval); in posix_spawnvpe()
3799 return Py_BuildValue("(ii)", master_fd, slave_fd); in posix_openpty()
3834 return Py_BuildValue("(Ni)", PyLong_FromPid(pid), master_fd); in posix_forkpty()
[all …]
Ddatetimemodule.c2095 return Py_BuildValue("iii", GET_TD_DAYS(self), in delta_getstate()
2127 return Py_BuildValue("ON", Py_TYPE(self), delta_getstate(self)); in delta_reduce()
2600 return Py_BuildValue("iii", year, week + 1, day + 1); in date_isocalendar()
2653 tuple = Py_BuildValue("iii", year, month, day); in date_replace()
2697 return Py_BuildValue( in date_getstate()
2706 return Py_BuildValue("(ON)", Py_TYPE(self), date_getstate(self)); in date_reduce()
3011 return Py_BuildValue("(ON)", Py_TYPE(self), args); in tzinfo_reduce()
3014 return Py_BuildValue("(ONN)", Py_TYPE(self), args, state); in tzinfo_reduce()
3317 tuple = Py_BuildValue("iiiiiiiii", in time_strftime()
3428 temp = Py_BuildValue("iiii", in time_hash()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dmactoolboxglue.c95 v = Py_BuildValue("(is)", err, msg); in PyErr_Mac()
186 return Py_BuildValue("(hhhh)", t.majorRev, t.minorAndBugRev, t.stage, t.nonRelRev); in PyMac_BuildNumVersion()
242 return Py_BuildValue("(hhhh)", r->left, r->top, r->right, r->bottom); in PyMac_BuildRect()
260 return Py_BuildValue("(hh)", p.h, p.v); in PyMac_BuildPoint()
282 return Py_BuildValue("(hll(hh)h)", in PyMac_BuildEventRecord()
311 return Py_BuildValue("d", d); in PyMac_BuildFixed()
335 return Py_BuildValue("(ll)", w->hi, w->lo); in PyMac_Buildwide()
Dcodecs.c492 return Py_BuildValue("(u#n)", &end, 0, end); in PyCodec_IgnoreErrors()
516 restuple = Py_BuildValue("(On)", res, end); in PyCodec_ReplaceErrors()
524 return Py_BuildValue("(u#n)", &res, 1, end); in PyCodec_ReplaceErrors()
539 restuple = Py_BuildValue("(On)", res, end); in PyCodec_ReplaceErrors()
645 restuple = Py_BuildValue("(On)", res, end); in PyCodec_XMLCharRefReplaceErrors()
722 restuple = Py_BuildValue("(On)", res, end); in PyCodec_BackslashReplaceErrors()
Derrors.c359 v = Py_BuildValue("(isO)", i, s, filenameObject); in PyErr_SetFromErrnoWithFilenameObject()
361 v = Py_BuildValue("(is)", i, s); in PyErr_SetFromErrnoWithFilenameObject()
439 v = Py_BuildValue("(isO)", err, s, filenameObject); in PyErr_SetExcFromWindowsErrWithFilenameObject()
441 v = Py_BuildValue("(is)", err, s); in PyErr_SetExcFromWindowsErrWithFilenameObject()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
Dmicroprotocols.c62 key = Py_BuildValue("(OO)", (PyObject*)type, proto); in pysqlite_microprotocols_add()
85 key = Py_BuildValue("(OO)", (PyObject*)obj->ob_type, proto); in pysqlite_microprotocols_adapt()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dmodsupport.h20 #define Py_BuildValue _Py_BuildValue_SizeT macro
31 PyAPI_FUNC(PyObject *) Py_BuildValue(const char *, ...);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dmodsupport.h20 #define Py_BuildValue _Py_BuildValue_SizeT macro
31 PyAPI_FUNC(PyObject *) Py_BuildValue(const char *, ...);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dcodecs.c492 return Py_BuildValue("(u#n)", &end, 0, end); in PyCodec_IgnoreErrors()
516 restuple = Py_BuildValue("(On)", res, end); in PyCodec_ReplaceErrors()
524 return Py_BuildValue("(u#n)", &res, (Py_ssize_t)1, end); in PyCodec_ReplaceErrors()
539 restuple = Py_BuildValue("(On)", res, end); in PyCodec_ReplaceErrors()
658 restuple = Py_BuildValue("(On)", res, end); in PyCodec_XMLCharRefReplaceErrors()
739 restuple = Py_BuildValue("(On)", res, end); in PyCodec_BackslashReplaceErrors()
Derrors.c381 v = Py_BuildValue("(isO)", i, s, filenameObject); in PyErr_SetFromErrnoWithFilenameObject()
383 v = Py_BuildValue("(is)", i, s); in PyErr_SetFromErrnoWithFilenameObject()
461 v = Py_BuildValue("(isO)", err, s, filenameObject); in PyErr_SetExcFromWindowsErrWithFilenameObject()
463 v = Py_BuildValue("(is)", err, s); in PyErr_SetExcFromWindowsErrWithFilenameObject()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
Dedk2module.c1663 return Py_BuildValue("l", (long) spawnval); in edk2_spawnv()
1665 return Py_BuildValue("L", (PY_LONG_LONG) spawnval); in edk2_spawnv()
1805 res = Py_BuildValue("l", (long) spawnval); in edk2_spawnve()
1807 res = Py_BuildValue("L", (PY_LONG_LONG) spawnval); in edk2_spawnve()
1899 return Py_BuildValue("l", (long) spawnval); in edk2_spawnvp()
2032 res = Py_BuildValue("l", (long) spawnval); in edk2_spawnvpe()
2203 return Py_BuildValue("(ii)", master_fd, slave_fd); in edk2_openpty()
2238 return Py_BuildValue("(Ni)", PyLong_FromPid(pid), master_fd); in edk2_forkpty()
2430 return Py_BuildValue("NiN", PyLong_FromPid(pid), status, result); in wait_helper()
2505 return Py_BuildValue("Ni", PyLong_FromPid(pid), WAIT_STATUS_INT(status)); in edk2_waitpid()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dtimemodule.c726 Py_BuildValue("(zz)", tzname[0], tzname[1])); in inittimezone()
753 Py_BuildValue("(zz)", in inittimezone()
761 Py_BuildValue("(zz)", in inittimezone()
773 Py_BuildValue("(zz)", _tzname[0], _tzname[1])); in inittimezone()
Dsocketmodule.c533 v = Py_BuildValue("(is)", myerrorcode, outbuf); in set_error()
546 v = Py_BuildValue("(is)", errno, _inet_err()); in set_error()
565 v = Py_BuildValue("(is)", h_error, (char *)hstrerror(h_error)); in set_herror()
567 v = Py_BuildValue("(is)", h_error, "host not found"); in set_herror()
590 v = Py_BuildValue("(is)", error, gai_strerror(error)); in set_gaierror()
592 v = Py_BuildValue("(is)", error, "getaddrinfo failed"); in set_gaierror()
1052 ret = Py_BuildValue("Oi", addrobj, ntohs(a->sin_port)); in makesockaddr()
1081 return Py_BuildValue("II", a->nl_pid, a->nl_groups); in makesockaddr()
1093 ret = Py_BuildValue("OiII", in makesockaddr()
1114 ret = Py_BuildValue("Oi", in makesockaddr()
[all …]
Dpyexpat.c314 arg = Py_BuildValue("(OOO)", type, value, traceback); in trace_frame_exc()
559 args = Py_BuildValue("(NN)", args, container); in my_StartElementHandler()
590 args = Py_BuildValue PARAM_FORMAT ;\
704 result = Py_BuildValue("(iiO&N)", in conv_content_model()
743 args = Py_BuildValue("NN", nameobj, modelobj); in my_ElementDeclHandler()
1026 return Py_BuildValue("z", XML_GetBase(self->itself)); in xmlparse_GetBase()
1796 return Py_BuildValue("z", XML_ErrorString((int)code)); in pyexpat_ErrorString()
1885 Py_BuildValue("(iii)", info.major, in MODULE_INITFUNC()
1934 PyObject *item = Py_BuildValue("si", features[i].name, in MODULE_INITFUNC()
D_localemodule.c399 return Py_BuildValue("ss", locale, encoding); in PyLocale_getdefaultlocale()
410 return Py_BuildValue("ss", locale, encoding); in PyLocale_getdefaultlocale()
415 return Py_BuildValue("Os", Py_None, encoding); in PyLocale_getdefaultlocale()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dsliceobject.c267 return Py_BuildValue("(nnn)", start, stop, step); in slice_indices()
281 return Py_BuildValue("O(OOO)", Py_TYPE(self), self->start, self->stop, self->step); in slice_reduce()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dsliceobject.c268 return Py_BuildValue("(nnn)", start, stop, step); in slice_indices()
282 return Py_BuildValue("O(OOO)", Py_TYPE(self), self->start, self->stop, self->step); in slice_reduce()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Efi/
Dedk2module.c1717 return Py_BuildValue("l", (long) spawnval); in posix_spawnv()
1719 return Py_BuildValue("L", (PY_LONG_LONG) spawnval); in posix_spawnv()
1859 res = Py_BuildValue("l", (long) spawnval); in posix_spawnve()
1861 res = Py_BuildValue("L", (PY_LONG_LONG) spawnval); in posix_spawnve()
1953 return Py_BuildValue("l", (long) spawnval); in posix_spawnvp()
2086 res = Py_BuildValue("l", (long) spawnval); in posix_spawnvpe()
2257 return Py_BuildValue("(ii)", master_fd, slave_fd); in posix_openpty()
2292 return Py_BuildValue("(Ni)", PyLong_FromPid(pid), master_fd); in posix_forkpty()
4398 return Py_BuildValue("NiN", PyLong_FromPid(pid), status, result); in wait_helper()
4473 return Py_BuildValue("Ni", PyLong_FromPid(pid), WAIT_STATUS_INT(status)); in posix_waitpid()
[all …]

123456