Home
last modified time | relevance | path

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

/PHP-8.1/ext/standard/
H A Ddns_win32.c352 zend_long type_param = PHP_DNS_ANY; in PHP_FUNCTION() local
376 if ((type_param & ~PHP_DNS_ALL) && (type_param != PHP_DNS_ANY)) { in PHP_FUNCTION()
381 if ((type_param < 1) || (type_param > 0xFFFF)) { in PHP_FUNCTION()
392 } else if (type_param == PHP_DNS_ANY) { in PHP_FUNCTION()
408 type_to_fetch = type_param; in PHP_FUNCTION()
413 type_to_fetch = type_param&PHP_DNS_A ? DNS_TYPE_A : 0; in PHP_FUNCTION()
416 type_to_fetch = type_param&PHP_DNS_NS ? DNS_TYPE_NS : 0; in PHP_FUNCTION()
419 type_to_fetch = type_param&PHP_DNS_CNAME ? DNS_TYPE_CNAME : 0; in PHP_FUNCTION()
422 type_to_fetch = type_param&PHP_DNS_SOA ? DNS_TYPE_SOA : 0; in PHP_FUNCTION()
425 type_to_fetch = type_param&PHP_DNS_PTR ? DNS_TYPE_PTR : 0; in PHP_FUNCTION()
[all …]
H A Ddns.c829 zend_long type_param = PHP_DNS_ANY; in PHP_FUNCTION() local
851 Z_PARAM_LONG(type_param) in PHP_FUNCTION()
871 if ((type_param & ~PHP_DNS_ALL) && (type_param != PHP_DNS_ANY)) { in PHP_FUNCTION()
876 if ((type_param < 1) || (type_param > 0xFFFF)) { in PHP_FUNCTION()
896 } else if (type_param == PHP_DNS_ANY) { in PHP_FUNCTION()
909 type_to_fetch = type_param; in PHP_FUNCTION()
914 type_to_fetch = type_param&PHP_DNS_A ? DNS_T_A : 0; in PHP_FUNCTION()
917 type_to_fetch = type_param&PHP_DNS_NS ? DNS_T_NS : 0; in PHP_FUNCTION()
920 type_to_fetch = type_param&PHP_DNS_CNAME ? DNS_T_CNAME : 0; in PHP_FUNCTION()
947 type_to_fetch = type_param&PHP_DNS_A6 ? DNS_T_A6 : 0; in PHP_FUNCTION()
[all …]

Completed in 7 milliseconds