Searched refs:cal (Results 1 - 7 of 7) sorted by relevance

/PHP_5_6/ext/intl/calendar/
H A Dcalendar_class.cpp154 const Calendar *cal; local
161 cal = co->ucal;
163 if (cal == NULL) {
171 const_cast<char*>(cal->getType()), 1);
179 timezone_object_construct(&cal->getTimeZone(), &ztz , 0 TSRMLS_CC);
191 Locale locale = cal->getLocale(ULOC_VALID_LOCALE, uec);
209 int32_t res = cal->get(debug_info_fields[i].field, uec);
H A Dcalendar_methods.cpp76 Calendar *cal = Calendar::createInstance(timeZone, local
78 if (cal == NULL) {
84 calendar_object_create(return_value, cal TSRMLS_CC);
1150 Calendar *cal; local
1205 cal = Calendar::createInstance(timeZone,
1207 if (cal == NULL) {
1213 cal->setTime(((UDate)Z_LVAL_P(zv_timestamp)) * 1000., status);
1215 /* time zone was adopted by cal; should not be deleted here */
1216 delete cal;
1222 calendar_object_create(return_value, cal TSRMLS_C
[all...]
/PHP_5_6/ext/intl/dateformat/
H A Ddateformat_attrcpp.cpp183 const Calendar *cal = fetch_datefmt(dfo)->getCalendar(); local
184 if (cal == NULL) {
188 Calendar *cal_clone = cal->clone();
219 Calendar *cal; local
228 "datefmt_set_calendar", INTL_DATA_ERROR_P(dfo), cal, cal_type,
240 delete cal;
243 cal->adoptTimeZone(old_timezone);
245 cal = cal->clone();
246 if (cal
[all...]
H A Ddateformat_format_object.cpp72 Calendar *cal = NULL; local
156 cal = obj_cal->clone();
162 cal = new GregorianCalendar(Locale::createFromName(locale_str), status);
204 //must be in this order (or have the cal adopt the tz)
205 df->adoptCalendar(cal);
206 cal = NULL;
229 delete cal;
H A Ddateformat_helpers.cpp35 Calendar*& cal,
45 cal = new GregorianCalendar(locale, status);
63 cal = Calendar::createInstance(locale, status);
65 cal = new GregorianCalendar(locale, status);
75 cal = calendar_fetch_native_calendar(calendar_zv TSRMLS_CC);
76 if (cal == NULL) {
95 if (cal == NULL && !U_FAILURE(status)) {
31 datefmt_process_calendar_arg(zval* calendar_zv, Locale const& locale, const char *func_name, intl_error *err, Calendar*& cal, long& cal_int_type, bool& calendar_owned TSRMLS_DC) argument
H A Ddateformat_helpers.h34 Calendar*& cal,
/PHP_5_6/ext/calendar/
H A Dcalendar.c263 static void _php_cal_info(int cal, zval **ret) argument
269 calendar = &cal_conversion_table[cal];
293 long cal = -1; local
296 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &cal) == FAILURE) {
300 if (cal == -1) {
315 if (cal != -1 && (cal < 0 || cal >= CAL_NUM_CALS)) {
316 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid calendar ID %ld.", cal);
320 _php_cal_info(cal,
329 long cal, month, year; local
373 long cal, month, day, year; local
392 long jd, cal; local
[all...]

Completed in 14 milliseconds