Searched defs:variant (Results 1 - 4 of 4) sorted by relevance

/PHP_TRUNK/ext/intl/calendar/
H A Dcalendar_methods.cpp406 int variant; /* number of args of the set() overload */ local
419 variant = ZEND_NUM_ARGS() - (getThis() ? 0 : 1);
420 while (variant > 2 && Z_TYPE(args[variant - 1]) == IS_NULL) {
421 variant--;
424 if (variant == 4 ||
433 for (i = 0; i < variant; i++) {
442 if (variant == 2 && (arg1 < 0 || arg1 >= UCAL_FIELD_COUNT)) {
450 if (variant == 2) {
452 } else if (variant
528 int variant; local
[all...]
H A Dgregoriancalendar_methods.cpp51 int variant; local
55 // parameter number validation / variant determination
66 for (variant = ZEND_NUM_ARGS();
67 variant > 0 && Z_TYPE(args[variant - 1]) == IS_NULL;
68 variant--) {}
69 if (variant == 4) {
71 "intlgregcal_create_instance: no variant with 4 arguments "
81 if (variant <= 2) {
93 if (variant >
[all...]
/PHP_TRUNK/ext/intl/idn/
H A Didn.c265 variant = INTL_IDN_VARIANT_2003; local
271 &domain, &domain_len, &option, &variant, &idna_info) == FAILURE) {
277 if (variant != INTL_IDN_VARIANT_2003 && variant != INTL_IDN_VARIANT_UTS46) {
278 php_intl_bad_args("invalid variant, must be one of {"
283 if (variant != INTL_IDN_VARIANT_2003) {
284 php_intl_bad_args("invalid variant, PHP was compiled against "
302 if (variant == INTL_IDN_VARIANT_2003) {
312 if (variant == INTL_IDN_VARIANT_2003) {
324 /* {{{ proto int idn_to_ascii(string domain[, int options[, int variant[, arra
[all...]
/PHP_TRUNK/ext/intl/locale/
H A Dlocale_methods.c104 * except for variant */
294 /* singleton at start of script, region , variant etc.
657 * gets the variant for the $locale in $in_locale or default_locale
661 * gets the variant for the $locale in $in_locale or default_locale
805 * used for 'variant','extlang','private'
855 /* Multiple variant values as variant0, variant1 ,variant2 */
861 /* variant is not a string */
1147 char* variant = NULL; local
1173 /* Call ICU variant */
1174 variant
[all...]

Completed in 6 milliseconds