port 2907 Source/bindings/v8/SerializedScriptValue.cpp RefPtr<MessagePort> port = V8MessagePort::toNative(v8::Handle<v8::Object>::Cast(transferrable)); port 2909 Source/bindings/v8/SerializedScriptValue.cpp if (ports.contains(port)) { port 2913 Source/bindings/v8/SerializedScriptValue.cpp ports.append(port.release()); port 54 Source/core/dom/DOMURLUtilsReadOnly.cpp if (isDefaultPortForProtocol(url.port(), url.protocol())) port 56 Source/core/dom/DOMURLUtilsReadOnly.cpp return url.host() + ":" + String::number(url.port()); port 62 Source/core/dom/DOMURLUtilsReadOnly.cpp return String::number(url.port()); port 62 Source/core/dom/DOMURLUtilsReadOnly.h static String port(const KURL&); port 63 Source/core/dom/DOMURLUtilsReadOnly.h static String port(DOMURLUtilsReadOnly& impl) { return port(impl.url()); } port 44 Source/core/dom/IconURL.cpp url.setPort(documentURL.port()); port 47 Source/core/dom/MessagePort.cpp RefPtr<MessagePort> port = adoptRef(new MessagePort(executionContext)); port 48 Source/core/dom/MessagePort.cpp port->suspendIfNeeded(); port 49 Source/core/dom/MessagePort.cpp return port.release(); port 223 Source/core/dom/MessagePort.cpp MessagePort* port = (*ports)[i].get(); port 224 Source/core/dom/MessagePort.cpp if (!port || port->isNeutered() || portSet.contains(port)) { port 226 Source/core/dom/MessagePort.cpp if (!port) port 228 Source/core/dom/MessagePort.cpp else if (port->isNeutered()) port 235 Source/core/dom/MessagePort.cpp portSet.add(port); port 252 Source/core/dom/MessagePort.cpp RefPtr<MessagePort> port = MessagePort::create(context); port 253 Source/core/dom/MessagePort.cpp port->entangle((*channels)[i].release()); port 254 Source/core/dom/MessagePort.cpp (*portArray)[i] = port.release(); port 94 Source/core/frame/Location.cpp return DOMURLUtilsReadOnly::port(url()); port 67 Source/core/frame/Location.h String port() const; port 16 Source/core/frame/csp/CSPSource.cpp CSPSource::CSPSource(ContentSecurityPolicy* policy, const String& scheme, const String& host, int port, const String& path, bool hostHasWildcard, bool portHasWildcard) port 20 Source/core/frame/csp/CSPSource.cpp , m_port(port) port 74 Source/core/frame/csp/CSPSource.cpp int port = url.port(); port 76 Source/core/frame/csp/CSPSource.cpp if (port == m_port) port 79 Source/core/frame/csp/CSPSource.cpp if (!port) port 83 Source/core/frame/csp/CSPSource.cpp return isDefaultPortForProtocol(port, url.protocol()); port 17 Source/core/frame/csp/CSPSource.h CSPSource(ContentSecurityPolicy*, const String& scheme, const String& host, int port, const String& path, bool hostHasWildcard, bool portHasWildcard); port 138 Source/core/frame/csp/CSPSourceList.cpp int port = 0; port 142 Source/core/frame/csp/CSPSourceList.cpp if (parseSource(beginSource, position, scheme, host, port, path, hostHasWildcard, portHasWildcard)) { port 150 Source/core/frame/csp/CSPSourceList.cpp m_list.append(CSPSource(m_policy, scheme, host, port, path, hostHasWildcard, portHasWildcard)); port 162 Source/core/frame/csp/CSPSourceList.cpp bool CSPSourceList::parseSource(const UChar* begin, const UChar* end, String& scheme, String& host, int& port, String& path, bool& hostHasWildcard, bool& portHasWildcard) port 269 Source/core/frame/csp/CSPSourceList.cpp if (!parsePort(beginPort, beginPath, port, portHasWildcard)) port 272 Source/core/frame/csp/CSPSourceList.cpp port = 0; port 453 Source/core/frame/csp/CSPSourceList.cpp bool CSPSourceList::parsePort(const UChar* begin, const UChar* end, int& port, bool& portHasWildcard) port 456 Source/core/frame/csp/CSPSourceList.cpp ASSERT(!port); port 466 Source/core/frame/csp/CSPSourceList.cpp port = 0; port 478 Source/core/frame/csp/CSPSourceList.cpp port = charactersToIntStrict(begin, end - begin, &ok); port 484 Source/core/frame/csp/CSPSourceList.cpp m_list.append(CSPSource(m_policy, m_policy->securityOrigin()->protocol(), m_policy->securityOrigin()->host(), m_policy->securityOrigin()->port(), String(), false, false)); port 35 Source/core/frame/csp/CSPSourceList.h bool parseSource(const UChar* begin, const UChar* end, String& scheme, String& host, int& port, String& path, bool& hostHasWildcard, bool& portHasWildcard); port 38 Source/core/frame/csp/CSPSourceList.h bool parsePort(const UChar* begin, const UChar* end, int& port, bool& portHasWildcard); port 49 Source/core/workers/SharedWorker.h MessagePort* port() const { return m_port.get(); } port 46 Source/core/workers/SharedWorkerGlobalScope.cpp RefPtr<MessagePort> port = prpPort; port 47 Source/core/workers/SharedWorkerGlobalScope.cpp RefPtrWillBeRawPtr<MessageEvent> event = MessageEvent::create(adoptPtr(new MessagePortArray(1, port)), String(), String(), port); port 41 Source/modules/webmidi/MIDIConnectionEvent.h : port(nullptr) port 45 Source/modules/webmidi/MIDIConnectionEvent.h RefPtr<MIDIPort> port; port 55 Source/modules/webmidi/MIDIConnectionEvent.h static PassRefPtrWillBeRawPtr<MIDIConnectionEvent> create(const AtomicString& type, PassRefPtr<MIDIPort> port) port 57 Source/modules/webmidi/MIDIConnectionEvent.h return adoptRefWillBeNoop(new MIDIConnectionEvent(type, port)); port 65 Source/modules/webmidi/MIDIConnectionEvent.h RefPtr<MIDIPort> port() { return m_port; } port 77 Source/modules/webmidi/MIDIConnectionEvent.h MIDIConnectionEvent(const AtomicString& type, PassRefPtr<MIDIPort> port) port 79 Source/modules/webmidi/MIDIConnectionEvent.h , m_port(port) port 86 Source/modules/webmidi/MIDIConnectionEvent.h , m_port(initializer.port) port 315 Source/modules/websockets/WebSocket.cpp exceptionState.throwSecurityError("The port " + String::number(m_url.port()) + " is not allowed."); port 96 Source/modules/websockets/WebSocketHandshake.cpp if (url.port() && ((!secure && url.port() != 80) || (secure && url.port() != 443))) { port 98 Source/modules/websockets/WebSocketHandshake.cpp builder.appendNumber(url.port()); port 54 Source/platform/network/ProxyServer.cpp ASSERT(proxyServer.port() != -1); port 55 Source/platform/network/ProxyServer.cpp builder.appendNumber(proxyServer.port()); port 54 Source/platform/network/ProxyServer.h ProxyServer(Type type, const String& hostName, int port) port 57 Source/platform/network/ProxyServer.h , m_port(port) port 63 Source/platform/network/ProxyServer.h int port() const { return m_port; } port 70 Source/platform/weborigin/DatabaseIdentifier.cpp int port = databaseIdentifier.right(databaseIdentifier.length() - separator2 - 1).toInt(&portOkay); port 75 Source/platform/weborigin/DatabaseIdentifier.cpp if (port < 0 || port > maxAllowedPort) port 83 Source/platform/weborigin/DatabaseIdentifier.cpp KURL url(KURL(), protocol + "://" + host + ":" + String::number(port) + "/"); port 102 Source/platform/weborigin/DatabaseIdentifier.cpp return securityOrigin->protocol() + separatorString + securityOrigin->host() + separatorString + String::number(securityOrigin->port()); port 51 Source/platform/weborigin/DatabaseIdentifierTest.cpp int port; port 70 Source/platform/weborigin/DatabaseIdentifierTest.cpp RefPtr<SecurityOrigin> origin = SecurityOrigin::create(cases[i].protocol, cases[i].host, cases[i].port); port 232 Source/platform/weborigin/DatabaseIdentifierTest.cpp EXPECT_EQ(validCases[i].expectedPort, origin->port()) << "test case " << i; port 344 Source/platform/weborigin/KURL.cpp if (!m_isValid || m_parsed.port.len <= 0) port 347 Source/platform/weborigin/KURL.cpp int port = m_string.is8Bit() ? port 348 Source/platform/weborigin/KURL.cpp url_parse::ParsePort(asURLChar8Subtle(m_string), m_parsed.port) : port 349 Source/platform/weborigin/KURL.cpp url_parse::ParsePort(m_string.characters16(), m_parsed.port); port 350 Source/platform/weborigin/KURL.cpp ASSERT(port != url_parse::PORT_UNSPECIFIED); // Checked port.len <= 0 before. port 352 Source/platform/weborigin/KURL.cpp if (port == url_parse::PORT_INVALID || port > maximumValidPortNumber) // Mimic KURL::port() port 353 Source/platform/weborigin/KURL.cpp port = invalidPortNumber; port 355 Source/platform/weborigin/KURL.cpp return static_cast<unsigned short>(port); port 482 Source/platform/weborigin/KURL.cpp String port = parsePortFromStringPosition(hostAndPort, separator + 1); port 485 Source/platform/weborigin/KURL.cpp StringUTF8Adaptor portUTF8(port); port 502 Source/platform/weborigin/KURL.cpp void KURL::setPort(const String& port) port 504 Source/platform/weborigin/KURL.cpp String parsedPort = parsePortFromStringPosition(port, 0); port 508 Source/platform/weborigin/KURL.cpp void KURL::setPort(unsigned short port) port 510 Source/platform/weborigin/KURL.cpp if (isDefaultPortForProtocol(port, protocol())) { port 515 Source/platform/weborigin/KURL.cpp String portString = String::number(port); port 118 Source/platform/weborigin/KURL.h unsigned short port() const; port 48 Source/platform/weborigin/KURLTest.cpp const int port; port 63 Source/platform/weborigin/KURLTest.cpp int port; port 84 Source/platform/weborigin/KURLTest.cpp EXPECT_EQ(cases[i].port, kurl.port()); port 98 Source/platform/weborigin/KURLTest.cpp EXPECT_EQ(cases[i].port, kurl.port()); port 135 Source/platform/weborigin/KURLTest.cpp EXPECT_EQ(cases[i].port, kurl.port()); port 189 Source/platform/weborigin/KURLTest.cpp const int port; port 233 Source/platform/weborigin/KURLTest.cpp kurl.setPort(cases[i].port); port 37 Source/platform/weborigin/KnownPorts.cpp bool isDefaultPortForProtocol(unsigned short port, const String& protocol) port 50 Source/platform/weborigin/KnownPorts.cpp return defaultPorts.get(protocol) == port; port 55 Source/platform/weborigin/KnownPorts.cpp unsigned short port = url.port(); port 58 Source/platform/weborigin/KnownPorts.cpp if (!port) port 143 Source/platform/weborigin/KnownPorts.cpp if (!std::binary_search(blockedPortList, blockedPortListEnd, port)) port 147 Source/platform/weborigin/KnownPorts.cpp if ((port == 21 || port == 22) && url.protocolIs("ftp")) port 36 Source/platform/weborigin/KnownPorts.h PLATFORM_EXPORT bool isDefaultPortForProtocol(unsigned short port, const String& protocol); port 121 Source/platform/weborigin/SecurityOrigin.cpp , m_port(url.port()) port 468 Source/platform/weborigin/SecurityOrigin.cpp PassRefPtr<SecurityOrigin> SecurityOrigin::create(const String& protocol, const String& host, int port) port 470 Source/platform/weborigin/SecurityOrigin.cpp if (port < 0 || port > MaxAllowedPort) port 473 Source/platform/weborigin/SecurityOrigin.cpp return create(KURL(KURL(), protocol + "://" + host + ":" + String::number(port) + "/")); port 53 Source/platform/weborigin/SecurityOrigin.h static PassRefPtr<SecurityOrigin> create(const String& protocol, const String& host, int port); port 83 Source/platform/weborigin/SecurityOrigin.h unsigned short port() const { return m_port; } port 44 Source/platform/weborigin/SecurityOriginHash.h origin->port() port 113 Source/web/SharedWorkerRepositoryClientImpl.cpp void SharedWorkerRepositoryClientImpl::connect(PassRefPtrWillBeRawPtr<SharedWorker> worker, PassOwnPtr<WebMessagePortChannel> port, const KURL& url, const String& name, ExceptionState& exceptionState) port 129 Source/web/SharedWorkerRepositoryClientImpl.cpp SharedWorkerConnector* connector = new SharedWorkerConnector(worker, url, name, port, webWorkerConnector.release()); port 91 Source/web/WebSecurityOrigin.cpp return m_private->port(); port 310 Source/web/WebSharedWorkerImpl.cpp RefPtr<MessagePort> port = MessagePort::create(*context); port 311 Source/web/WebSharedWorkerImpl.cpp port->entangle(channel); port 314 Source/web/WebSharedWorkerImpl.cpp workerGlobalScope->dispatchEvent(createConnectEvent(port)); port 70 public/web/WebSecurityOrigin.h BLINK_EXPORT unsigned short port() const;