• Home
  • Raw
  • Download

Lines Matching refs:Py_BuildValue

1024     res = Py_BuildValue(fmt, return_none, NULL, arg);  in test_buildvalue_N_error()
1037 res = Py_BuildValue(fmt, raise_error, NULL, arg); in test_buildvalue_N_error()
1064 res = Py_BuildValue("N", arg); in test_buildvalue_N()
1177 return Py_BuildValue("iii", a, b, c); in getargs_tuple()
1192 return Py_BuildValue("iiiiiiiiii", in getargs_keywords()
1209 return Py_BuildValue("iii", required, optional, keyword_only); in getargs_keyword_only()
1224 return Py_BuildValue("iii", required, optional, keyword); in getargs_positional_only_and_keywords()
2019 return Py_BuildValue("(Nn)", result, size); in unicode_aswidechar()
2040 return Py_BuildValue("(Nn)", result, size); in unicode_aswidecharstring()
2112 return Py_BuildValue("(Nn)", result, utf8_len); in unicode_asutf8andsize()
2162 return Py_BuildValue("(Nn)", to_copy, copied); in unicode_copycharacters()
2803 return Py_BuildValue("(lll)", year, month, day); in test_PyDateTime_GET()
2817 return Py_BuildValue("(llllO)", hour, minute, second, microsecond, tzinfo); in test_PyDateTime_DATE_GET()
2831 return Py_BuildValue("(llllO)", hour, minute, second, microsecond, tzinfo); in test_PyDateTime_TIME_GET()
2843 return Py_BuildValue("(lll)", days, seconds, microseconds); in test_PyDateTime_DELTA_GET()
3688 return Py_BuildValue("Nl", _PyLong_FromTime_t(sec), usec); in test_pytime_object_to_timeval()
3704 return Py_BuildValue("Nl", _PyLong_FromTime_t(sec), nsec); in test_pytime_object_to_timespec()
4497 return Py_BuildValue("il", value, pos); in pymarshal_read_short_from_file()
4522 return Py_BuildValue("ll", value, pos); in pymarshal_read_long_from_file()
4546 return Py_BuildValue("Nl", obj, pos); in pymarshal_read_last_object_from_file()
4570 return Py_BuildValue("Nl", obj, pos); in pymarshal_read_object_from_file()
4673 return Py_BuildValue("Nl", seconds, tv.tv_usec); in test_PyTime_AsTimeval()
4693 return Py_BuildValue("Nl", _PyLong_FromTime_t(ts.tv_sec), ts.tv_nsec); in test_PyTime_AsTimespec()
5412 return Py_BuildValue("NO", _null_to_none(self), args); in meth_varargs()
5418 return Py_BuildValue("NON", _null_to_none(self), args, _null_to_none(kwargs)); in meth_varargs_keywords()
5424 return Py_BuildValue("NO", _null_to_none(self), obj); in meth_o()
5450 return Py_BuildValue( in meth_fastcall()
5465 return Py_BuildValue("NNN", _null_to_none(self), pyargs, pykwargs); in meth_fastcall_keywords()
6056 return Py_BuildValue("(sOO)", "matmul", self, other); in matmulType_matmul()
6062 return Py_BuildValue("(sOO)", "imatmul", self, other); in matmulType_imatmul()
6159 return Py_BuildValue("OO", other, mod); in ipowType_ipow()
7372 #undef Py_BuildValue
7373 PyAPI_FUNC(PyObject *) Py_BuildValue(const char *, ...);
7383 res = Py_BuildValue("(s#O)", str, 1, Py_None); in test_buildvalue_issue38913()
7390 res = Py_BuildValue("(z#O)", str, 1, Py_None); in test_buildvalue_issue38913()
7397 res = Py_BuildValue("(y#O)", str, 1, Py_None); in test_buildvalue_issue38913()
7404 res = Py_BuildValue("(u#O)", unicode, 1, Py_None); in test_buildvalue_issue38913()