Lines Matching refs:host
600 char *host, *colon; in nxt_java_Request_getServerName() local
609 host = nxt_unit_sptr_get(&f->value); in nxt_java_Request_getServerName()
611 colon = memchr(host, ':', f->value_length); in nxt_java_Request_getServerName()
614 colon = host + f->value_length; in nxt_java_Request_getServerName()
617 return nxt_java_newString(env, host, colon - host); in nxt_java_Request_getServerName()
628 char *host, *colon, tmp; in nxt_java_Request_getServerPort() local
637 host = nxt_unit_sptr_get(&f->value); in nxt_java_Request_getServerPort()
639 colon = memchr(host, ':', f->value_length); in nxt_java_Request_getServerPort()
645 tmp = host[f->value_length]; in nxt_java_Request_getServerPort()
647 host[f->value_length] = '\0'; in nxt_java_Request_getServerPort()
651 host[f->value_length] = tmp; in nxt_java_Request_getServerPort()