Home
last modified time | relevance | path

Searched refs:usecond (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Include/
Ddatetime.h240 #define PyTime_FromTime(hour, minute, second, usecond) \ argument
241 PyDateTimeAPI->Time_FromTime(hour, minute, second, usecond, \
244 #define PyTime_FromTimeAndFold(hour, minute, second, usecond, fold) \ argument
245 PyDateTimeAPI->Time_FromTimeAndFold(hour, minute, second, usecond, \
/external/python/cpython2/Include/
Ddatetime.h217 #define PyTime_FromTime(hour, minute, second, usecond) \ argument
218 PyDateTimeAPI->Time_FromTime(hour, minute, second, usecond, \
/external/python/cpython3/Modules/
D_datetimemodule.c884 int second, int usecond, PyObject *tzinfo, int fold, PyTypeObject *type) in new_datetime_ex2() argument
892 if (check_time_args(hour, minute, second, usecond, fold) < 0) { in new_datetime_ex2()
906 DATE_SET_MICROSECOND(self, usecond); in new_datetime_ex2()
918 int second, int usecond, PyObject *tzinfo, PyTypeObject *type) in new_datetime_ex() argument
920 return new_datetime_ex2(year, month, day, hour, minute, second, usecond, in new_datetime_ex()
930 int second, int usecond, PyObject *tzinfo, in new_datetime_subclass_fold_ex() argument
935 dt = new_datetime(year, month, day, hour, minute, second, usecond, in new_datetime_subclass_fold_ex()
946 usecond, in new_datetime_subclass_fold_ex()
955 int second, int usecond, PyObject *tzinfo, in new_datetime_subclass_ex() argument
958 second, usecond, tzinfo, 0, in new_datetime_subclass_ex()
[all …]
/external/python/cpython2/Modules/
Ddatetimemodule.c672 int second, int usecond, PyObject *tzinfo, PyTypeObject *type) in new_datetime_ex() argument
684 DATE_SET_MICROSECOND(self, usecond); in new_datetime_ex()
699 new_time_ex(int hour, int minute, int second, int usecond, in new_time_ex() argument
712 TIME_SET_MICROSECOND(self, usecond); in new_time_ex()
3153 int usecond = 0; in time_new() local
3191 &hour, &minute, &second, &usecond, in time_new()
3193 if (check_time_args(hour, minute, second, usecond) < 0) in time_new()
3197 self = new_time_ex(hour, minute, second, usecond, tzinfo, in time_new()
3682 int usecond = 0; in datetime_new() local
3721 &second, &usecond, &tzinfo)) { in datetime_new()
[all …]
/external/python/cpython2/Doc/c-api/
Ddatetime.rst108 …teTime_FromDateAndTime(int year, int month, int day, int hour, int minute, int second, int usecond)
116 .. c:function:: PyObject* PyTime_FromTime(int hour, int minute, int second, int usecond)
/external/python/cpython3/Doc/c-api/
Ddatetime.rst95 …teTime_FromDateAndTime(int year, int month, int day, int hour, int minute, int second, int usecond)
101 .. c:function:: PyObject* PyTime_FromTime(int hour, int minute, int second, int usecond)
/external/python/cpython2/Doc/data/
Drefcounts.dat170 PyDateTime_FromDateAndTime:int:usecond::
1363 PyTime_FromTime:int:usecond::
/external/python/cpython3/Doc/data/
Drefcounts.dat414 PyDateTime_FromDateAndTime:int:usecond::
2211 PyTime_FromTime:int:usecond::