Home
last modified time | relevance | path

Searched refs:DateTimeType (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/testing/fuzzers/
Dpdf_cfgas_stringformatter_fuzzer.cc23 const CFGAS_StringFormatter::DateTimeType kTypes[] = {
24 CFGAS_StringFormatter::DateTimeType::kDate,
25 CFGAS_StringFormatter::DateTimeType::kTime,
26 CFGAS_StringFormatter::DateTimeType::kDateTime,
27 CFGAS_StringFormatter::DateTimeType::kTimeDate};
/external/pdfium/xfa/fgas/crt/
Dcfgas_stringformatter.h38 enum class DateTimeType { enum
59 DateTimeType eDateTimeType,
70 DateTimeType eDateTimeType,
81 DateTimeType GetDateTimeFormat(LocaleMgrIface* pLocaleMgr,
Dcfgas_stringformatter.cpp710 bool HasDate(CFGAS_StringFormatter::DateTimeType type) { in HasDate()
711 return type == CFGAS_StringFormatter::DateTimeType::kDate || in HasDate()
712 type == CFGAS_StringFormatter::DateTimeType::kDateTime || in HasDate()
713 type == CFGAS_StringFormatter::DateTimeType::kTimeDate; in HasDate()
716 bool HasTime(CFGAS_StringFormatter::DateTimeType type) { in HasTime()
717 return type == CFGAS_StringFormatter::DateTimeType::kTime || in HasTime()
718 type == CFGAS_StringFormatter::DateTimeType::kDateTime || in HasTime()
719 type == CFGAS_StringFormatter::DateTimeType::kTimeDate; in HasTime()
722 CFGAS_StringFormatter::DateTimeType AddDateToDatelessType( in AddDateToDatelessType()
723 CFGAS_StringFormatter::DateTimeType type) { in AddDateToDatelessType()
[all …]
Dcfgas_stringformatter_unittest.cpp97 CFGAS_StringFormatter::DateTimeType::kDate, in TEST_F()
148 CFGAS_StringFormatter::DateTimeType::kTime, in TEST_F()
181 CFGAS_StringFormatter::DateTimeType::kDateTime, &result)); in TEST_F()
210 CFGAS_StringFormatter::DateTimeType::kTimeDate, &result)); in TEST_F()
271 CFGAS_StringFormatter::DateTimeType::kDate, in TEST_F()
/external/python/cpython3/Include/
Ddatetime.h161 PyTypeObject *DateTimeType; member
209 #define PyDateTime_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DateTimeType)
210 #define PyDateTime_CheckExact(op) Py_IS_TYPE(op, PyDateTimeAPI->DateTimeType)
228 min, sec, usec, Py_None, PyDateTimeAPI->DateTimeType)
232 min, sec, usec, Py_None, fold, PyDateTimeAPI->DateTimeType)
255 (PyObject*) (PyDateTimeAPI->DateTimeType), args, NULL)
/external/python/cpython2/Include/
Ddatetime.h143 PyTypeObject *DateTimeType; member
197 #define PyDateTime_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DateTimeType)
198 #define PyDateTime_CheckExact(op) (Py_TYPE(op) == PyDateTimeAPI->DateTimeType)
215 min, sec, usec, Py_None, PyDateTimeAPI->DateTimeType)
228 (PyObject*) (PyDateTimeAPI->DateTimeType), args, NULL)
/external/pdfium/xfa/fxfa/parser/
Dcxfa_localevalue.cpp175 m_pLocaleMgr, wsValue, CFGAS_StringFormatter::DateTimeType::kDate, in ValidateValue()
180 CFGAS_StringFormatter::DateTimeType::kDate, &wsOutput); in ValidateValue()
188 m_pLocaleMgr, wsValue, CFGAS_StringFormatter::DateTimeType::kTime, in ValidateValue()
192 m_pLocaleMgr, wsValue, CFGAS_StringFormatter::DateTimeType::kTime, in ValidateValue()
201 CFGAS_StringFormatter::DateTimeType::kDateTime, &dt); in ValidateValue()
205 CFGAS_StringFormatter::DateTimeType::kDateTime, &wsOutput); in ValidateValue()
317 CFGAS_StringFormatter::DateTimeType::kDate, in FormatSinglePattern()
322 CFGAS_StringFormatter::DateTimeType::kTime, in FormatSinglePattern()
328 CFGAS_StringFormatter::DateTimeType::kDateTime, &wsResult); in FormatSinglePattern()
605 m_pLocaleMgr, wsValue, CFGAS_StringFormatter::DateTimeType::kDate, in ParsePatternValue()
[all …]
/external/python/cpython3/Modules/
D_testcapimodule.c2614 PyDateTimeAPI->DateTimeType); in get_datetime_fromdateandtime()
2647 PyDateTimeAPI->DateTimeType); in get_datetime_fromdateandtimeandfold()
2786 (PyObject *)PyDateTimeAPI->DateTimeType, tsargs, NULL in get_datetime_fromtimestamp()
D_datetimemodule.c6488 capi->DateTimeType = &PyDateTime_DateTimeType; in get_datetime_capi()