Lines Matching refs:what

361 	ZEND_ARG_INFO(0, what)
4722 static int check_id_allowed(char *id, zend_long what) /* {{{ */ in check_id_allowed() argument
4724 if (what & PHP_DATE_TIMEZONE_GROUP_AFRICA && strncasecmp(id, "Africa/", 7) == 0) return 1; in check_id_allowed()
4725 if (what & PHP_DATE_TIMEZONE_GROUP_AMERICA && strncasecmp(id, "America/", 8) == 0) return 1; in check_id_allowed()
4726 if (what & PHP_DATE_TIMEZONE_GROUP_ANTARCTICA && strncasecmp(id, "Antarctica/", 11) == 0) return 1; in check_id_allowed()
4727 if (what & PHP_DATE_TIMEZONE_GROUP_ARCTIC && strncasecmp(id, "Arctic/", 7) == 0) return 1; in check_id_allowed()
4728 if (what & PHP_DATE_TIMEZONE_GROUP_ASIA && strncasecmp(id, "Asia/", 5) == 0) return 1; in check_id_allowed()
4729 if (what & PHP_DATE_TIMEZONE_GROUP_ATLANTIC && strncasecmp(id, "Atlantic/", 9) == 0) return 1; in check_id_allowed()
4730 if (what & PHP_DATE_TIMEZONE_GROUP_AUSTRALIA && strncasecmp(id, "Australia/", 10) == 0) return 1; in check_id_allowed()
4731 if (what & PHP_DATE_TIMEZONE_GROUP_EUROPE && strncasecmp(id, "Europe/", 7) == 0) return 1; in check_id_allowed()
4732 if (what & PHP_DATE_TIMEZONE_GROUP_INDIAN && strncasecmp(id, "Indian/", 7) == 0) return 1; in check_id_allowed()
4733 if (what & PHP_DATE_TIMEZONE_GROUP_PACIFIC && strncasecmp(id, "Pacific/", 8) == 0) return 1; in check_id_allowed()
4734 if (what & PHP_DATE_TIMEZONE_GROUP_UTC && strncasecmp(id, "UTC", 3) == 0) return 1; in check_id_allowed()
4746 zend_long what = PHP_DATE_TIMEZONE_GROUP_ALL; in PHP_FUNCTION() local
4750 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|ls!", &what, &option, &option_len) == FAILURE) { in PHP_FUNCTION()
4755 if (what == PHP_DATE_TIMEZONE_PER_COUNTRY && option_len != 2) { in PHP_FUNCTION()
4767 if (what == PHP_DATE_TIMEZONE_PER_COUNTRY) { in PHP_FUNCTION()
4771 …} else if (what == PHP_DATE_TIMEZONE_GROUP_ALL_W_BC || (check_id_allowed(table[i].id, what) && (tz… in PHP_FUNCTION()