Home
last modified time | relevance | path

Searched refs:dtpgo (Results 1 – 2 of 2) sorted by relevance

/php-src/ext/intl/dateformat/
H A Ddatepatterngenerator_class.h44 #define DTPATTERNGEN_ERROR(dtpgo) (dtpgo)->err argument
45 #define DTPATTERNGEN_ERROR_P(dtpgo) &(DTPATTERNGEN_ERROR(dtpgo)) argument
47 #define DTPATTERNGEN_ERROR_CODE(dtpgo) INTL_ERROR_CODE(DTPATTERNGEN_ERROR(dtpgo)) argument
48 #define DTPATTERNGEN_ERROR_CODE_P(dtpgo) &(INTL_ERROR_CODE(DTPATTERNGEN_ERROR(dtpgo))) argument
50 …efine DTPATTERNGEN_METHOD_INIT_VARS INTL_METHOD_INIT_VARS(IntlDatePatternGenerator, dtpgo)
51 …TPATTERNGEN_METHOD_FETCH_OBJECT_NO_CHECK INTL_METHOD_FETCH_OBJECT(INTL_DATEPATTERNGENERATOR, dtpgo)
54 if (dtpgo->dtpg == NULL) \
H A Ddatepatterngenerator_methods.cpp37 IntlDatePatternGenerator_object* dtpgo; in dtpg_ctor() local
54 if (dtpgo->dtpg != NULL) { in dtpg_ctor()
65 dtpgo->dtpg = DateTimePatternGenerator::createInstance( in dtpg_ctor()
67 DTPATTERNGEN_ERROR_CODE(dtpgo)); in dtpg_ctor()
69 if (U_FAILURE(DTPATTERNGEN_ERROR_CODE(dtpgo))) { in dtpg_ctor()
70 intl_error_set(NULL, DTPATTERNGEN_ERROR_CODE(dtpgo), in dtpg_ctor()
130 …UnicodeString skeleton = dtpgo->dtpg->getSkeleton(skeleton_uncleaned, DTPATTERNGEN_ERROR_CODE(dtpg… in PHP_METHOD()
132 INTL_METHOD_CHECK_STATUS(dtpgo, "Error getting cleaned skeleton"); in PHP_METHOD()
134 UnicodeString result = dtpgo->dtpg->getBestPattern(skeleton, DTPATTERNGEN_ERROR_CODE(dtpgo)); in PHP_METHOD()
136 INTL_METHOD_CHECK_STATUS(dtpgo, "Error retrieving pattern"); in PHP_METHOD()
[all …]

Completed in 5 milliseconds