Home | History | Annotate | Download | only in src

Lines Matching refs:hostname

208 // Extracts an hostname argument from |args|. On success returns true
209 // and fills |*hostname| with the result.
210 bool GetHostnameArgument(const v8::FunctionCallbackInfo<v8::Value>& args, std::string* hostname) {
217 // If the hostname is already in ASCII, simply return it as is.
219 *hostname = UTF16ToASCII(hostname_utf16);
626 std::string hostname;
627 if (!GetHostnameArgument(args, &hostname)) {
636 success = context->js_bindings_->DnsResolve(hostname, &ip_address);
653 std::string hostname;
654 if (!GetHostnameArgument(args, &hostname)) {
664 success = context->js_bindings_->DnsResolveEx(hostname, &ip_address_list);