Lines Matching refs:serv
2214 struct servent *serv; local
2230 serv = getservbyname(ZSTR_VAL(name), proto);
2237 if (serv == NULL && zend_string_equals_literal(name, "imap")) {
2238 serv = getservbyname("imap2", proto);
2241 if (serv == NULL) {
2245 RETURN_LONG(ntohs(serv->s_port));
2257 struct servent *serv; local
2264 serv = getservbyport(htons((unsigned short) port), proto);
2266 if (serv == NULL) {
2272 __msan_unpoison_string(serv->s_name);
2274 RETURN_STRING(serv->s_name);