/external/chromium_org/content/test/data/workers/ |
messageport_worker.js | 2 var port = event.ports[0]; 3 port.postMessage("Worker connected."); 4 port.onmessage = function(event2) { 5 port.postMessage("Worker got a port."); 6 var anotherport = event2.data.port; 9 anotherport.postMessage("Worker got a message via the passed port.");
|
worker_utils.js | 9 worker.port.onmessage = function(evt) { 12 worker.postMessage = function(msg, port) { 13 worker.port.postMessage(msg, port);
|
/external/arduino/hardware/arduino/cores/arduino/ |
wiring_pulse.c | 34 // cache the port and bit of the pin in order to speed up the 38 uint8_t port = digitalPinToPort(pin); local 48 while ((*portInputRegister(port) & bit) == stateMask) 53 while ((*portInputRegister(port) & bit) != stateMask) 58 while ((*portInputRegister(port) & bit) == stateMask) {
|
wiring_digital.c | 33 uint8_t port = digitalPinToPort(pin); local 36 if (port == NOT_A_PIN) return; 39 reg = portModeRegister(port); 128 uint8_t port = digitalPinToPort(pin); local 131 if (port == NOT_A_PIN) return; 137 out = portOutputRegister(port); 156 uint8_t port = digitalPinToPort(pin); local 158 if (port == NOT_A_PIN) return LOW; 164 if (*portInputRegister(port) & bit) return HIGH;
|
/external/bluetooth/bluedroid/udrv/ulinux/ |
uipc_linux.h | 28 unsigned int port; member in struct:__anon1283
|
/external/chromium/net/base/ |
ip_endpoint.h | 18 // * Port 23 IPEndPoint(const IPAddressNumber& address, int port); 27 int port() const { return port_; } function in class:net::IPEndPoint
|
/external/chromium/net/proxy/ |
proxy_server_mac.cc | 23 // No hostname port to extract; we are done. 41 int port; local 43 CFNumberGetValue(port_ref, kCFNumberIntType, &port); 45 port = GetDefaultPortForScheme(scheme); 48 return ProxyServer(scheme, HostPortPair(host, port));
|
/external/chromium_org/net/proxy/ |
proxy_server_mac.cc | 23 // No hostname port to extract; we are done. 39 int port; local 41 CFNumberGetValue(port_ref, kCFNumberIntType, &port); 43 port = GetDefaultPortForScheme(scheme); 46 return ProxyServer(scheme, HostPortPair(host, port));
|
/external/chromium_org/net/url_request/ |
ftp_protocol_handler.cc | 30 int port = request->url().IntPort(); local 32 !IsPortAllowedByFtp(port) && !IsPortAllowedByOverride(port)) {
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
SharedWorker.h | 46 MessagePort* port() const { return m_port.get(); } function in class:WebCore::SharedWorker
|
/external/chromium_org/third_party/WebKit/Source/modules/webmidi/ |
MIDIConnectionEvent.h | 41 : port(0) 45 RefPtr<MIDIPort> port; member in struct:WebCore::MIDIConnectionEventInit 55 static PassRefPtr<MIDIConnectionEvent> create(const AtomicString& type, PassRefPtr<MIDIPort> port) 57 return adoptRef(new MIDIConnectionEvent(type, port)); 65 RefPtr<MIDIPort> port() { return m_port; } function in class:WebCore::MIDIConnectionEvent 75 MIDIConnectionEvent(const AtomicString& type, PassRefPtr<MIDIPort> port) 77 , m_port(port) 84 , m_port(initializer.port)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/config/ |
irc.py | 27 port = 6667 variable
|
/system/core/adb/ |
console.c | 8 int fd, port; local 10 port = adb_get_emulator_console_port(); 11 if (port < 0) { 12 if (port == -2) 18 fd = socket_loopback_client( port, SOCK_STREAM ); 20 fprintf(stderr, "error: could not connect to TCP port %d\n", port);
|
/system/core/toolbox/ |
smd.c | 9 int fd, len, r, port = 0; local 15 port = atoi(argv[0] + 1); 20 sprintf(devname,"/dev/smd%d",port);
|
/frameworks/base/core/java/android/hardware/ |
SerialManager.java | 64 * The speed of the serial port must be one of: 69 * @param name of the serial port 70 * @param speed at which to open the serial port 71 * @return the serial port 77 SerialPort port = new SerialPort(name); local 78 port.open(pfd, speed); 79 return port; 81 throw new IOException("Could not open serial port " + name);
|
/bionic/libc/bionic/ |
bindresvport.c | 41 static short port; local 54 if (port == 0) { 55 port = START_PORT + (getpid() % NUM_PORTS); 58 for (nn = NUM_PORTS; nn > 0; nn--, port++) 60 if (port == END_PORT) 61 port = START_PORT; 63 sin->sin_port = htons(port);
|
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
udpport.h | 33 #include "talk/p2p/base/port.h" 45 // Communicates using a local UDP port. 46 class UDPPort : public Port { 52 UDPPort* port = new UDPPort(thread, factory, network, local 54 if (!port->Init()) { 55 delete port; 56 port = NULL; 58 return port; 81 // Dispatches the given packet to the port or connection as appropriate.
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
activity_log_browsertest.cc | 38 int port, 52 base::StringPrintf("http://www.google.com.bo:%d/test.html", port), 55 base::StringPrintf("www.google.com.bo:%d/test.html", port), 67 int port = embedded_test_server()->port(); local 100 port)); 119 ActivityLogPrerenderTest::Prerender_Arguments, ext->id(), port));
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/nativeMessaging/app/ |
main.js | 5 var port = null; variable 21 if (port) { 34 port.postMessage(message); 44 port = null; 51 port = chrome.runtime.connectNative(hostName); 52 port.onMessage.addListener(onNativeMessage); 53 port.onDisconnect.addListener(onDisconnected);
|
/external/chromium_org/net/base/ |
host_port_pair.cc | 27 return HostPortPair(ipe.ToStringWithoutPort(), ipe.port()); 35 int port; local 36 if (!base::StringToInt(key_port[1], &port)) 38 DCHECK_LT(port, 1 << 16); 41 host_port_pair.set_port(port);
|
ip_endpoint.h | 22 // * Port 27 IPEndPoint(const IPAddressNumber& address, int port); 31 int port() const { return port_; } function in class:net::IPEndPoint 61 // As above, but without port.
|
/external/chromium_org/net/tools/quic/ |
quic_client_bin.cc | 6 // on --port and requests URLs specified on the command line. 9 // quic_client --address=127.0.0.1 --port=6122 --hostname=www.google.com 35 "--port=<port> specify the port to connect to\n" 41 if (line->HasSwitch("port")) { 42 int port; local 43 if (base::StringToInt(line->GetSwitchValueASCII("port"), &port)) { 44 FLAGS_port = port; [all...] |
quic_server_bin.cc | 5 // A binary wrapper for QuicServer. It listens forever on --port 18 // The port the quic server will listen on. 31 "--port=<port> specify the port to listen on\n" 43 if (line->HasSwitch("port")) { 44 int port; local 45 if (base::StringToInt(line->GetSwitchValueASCII("port"), &port)) { 46 FLAGS_port = port; [all...] |
/external/chromium_org/net/tools/testserver/ |
backoff_server.py | 59 port = 0 variable in class:RequestHandler 75 self.port, 95 print "Usage: %s LOCAL_IP PORT" % sys.argv[0] 98 port = int(sys.argv[2]) 99 RequestHandler.port = port 100 print "To stop the server, go to http://localhost:%d/quitquitquit" % port 101 httpd = BaseHTTPServer.HTTPServer(('', port), RequestHandler)
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
DOMURLUtilsReadOnly.cpp | 54 if (isDefaultPortForProtocol(url.port(), url.protocol())) 56 return url.host() + ":" + String::number(url.port()); 59 String DOMURLUtilsReadOnly::port(const KURL& url) function in class:WebCore::DOMURLUtilsReadOnly 62 return String::number(url.port());
|