Lines Matching refs:type

102 	int type = DNS_TYPE_MX;  in PHP_FUNCTION()  local
117 if (!strcasecmp("A", rectype)) type = DNS_TYPE_A; in PHP_FUNCTION()
118 else if (!strcasecmp("NS", rectype)) type = DNS_TYPE_NS; in PHP_FUNCTION()
119 else if (!strcasecmp("MX", rectype)) type = DNS_TYPE_MX; in PHP_FUNCTION()
120 else if (!strcasecmp("PTR", rectype)) type = DNS_TYPE_PTR; in PHP_FUNCTION()
121 else if (!strcasecmp("ANY", rectype)) type = DNS_TYPE_ANY; in PHP_FUNCTION()
122 else if (!strcasecmp("SOA", rectype)) type = DNS_TYPE_SOA; in PHP_FUNCTION()
123 else if (!strcasecmp("TXT", rectype)) type = DNS_TYPE_TEXT; in PHP_FUNCTION()
124 else if (!strcasecmp("CNAME", rectype)) type = DNS_TYPE_CNAME; in PHP_FUNCTION()
125 else if (!strcasecmp("AAAA", rectype)) type = DNS_TYPE_AAAA; in PHP_FUNCTION()
126 else if (!strcasecmp("SRV", rectype)) type = DNS_TYPE_SRV; in PHP_FUNCTION()
127 else if (!strcasecmp("NAPTR", rectype)) type = DNS_TYPE_NAPTR; in PHP_FUNCTION()
128 else if (!strcasecmp("A6", rectype)) type = DNS_TYPE_A6; in PHP_FUNCTION()
135 status = DnsQuery_A(hostname, type, DNS_QUERY_STANDARD, NULL, &pResult, NULL); in PHP_FUNCTION()
148 int type; in php_parserr() local
151 type = pRec->wType; in php_parserr()
156 if (type_to_fetch != DNS_TYPE_ANY && type != type_to_fetch) { in php_parserr()
171 add_assoc_long(subarray, "type", type); in php_parserr()
176 switch (type) { in php_parserr()
191 if (type == DNS_TYPE_CNAME) { in php_parserr()
197 if (type == DNS_TYPE_NS) { in php_parserr()
203 if (type == DNS_TYPE_PTR) { in php_parserr()
357 int type, type_to_fetch, first_query = 1, store_results = 1; in PHP_FUNCTION() local
395 type = -1; in PHP_FUNCTION()
397 type = PHP_DNS_NUM_TYPES + 1; in PHP_FUNCTION()
399 type = 0; in PHP_FUNCTION()
403 type < (addtl ? (PHP_DNS_NUM_TYPES + 2) : PHP_DNS_NUM_TYPES) || first_query; in PHP_FUNCTION()
404 type++ in PHP_FUNCTION()
410 switch (type) { in PHP_FUNCTION()
414 type = PHP_DNS_NUM_TYPES - 1; in PHP_FUNCTION()