Lines Matching refs:serv
2185 struct servent *serv; local
2201 serv = getservbyname(ZSTR_VAL(name), proto);
2208 if (serv == NULL && zend_string_equals_literal(name, "imap")) {
2209 serv = getservbyname("imap2", proto);
2212 if (serv == NULL) {
2216 RETURN_LONG(ntohs(serv->s_port));
2228 struct servent *serv; local
2235 serv = getservbyport(htons((unsigned short) port), proto);
2237 if (serv == NULL) {
2243 __msan_unpoison_string(serv->s_name);
2245 RETURN_STRING(serv->s_name);