/dalvik/libcore/archive/src/main/native/ |
H A D | zipalloc.c | 28 void zfree PROTOTYPE ((void *opaque, void *address)); 53 zfree (void *opaque, void *address) argument 57 hymem_free_memory (address);
|
/dalvik/libcore/luni/src/main/java/java/net/ |
H A D | InterfaceAddress.java | 25 // An IPv4 or IPv6 address. 26 final InetAddress address; field in class:InterfaceAddress 28 // The kernel's interface index for the network interface this address 36 InterfaceAddress(int index, String name, InetAddress address) { argument 39 this.address = address;
|
H A D | Proxy.java | 22 * Proxy} stores a type and an address and is immutable. There are three types 33 * protocol handlers that there is no proxy to be used. The address is set 40 private SocketAddress address; field in class:Proxy 52 * the proxy address of this instance. 68 address = sa; 77 address = null; 90 * Gets the address of this {@code Proxy} instance. 92 * @return the stored proxy address or {@code null} if the proxy type is 95 public SocketAddress address() { method in class:Proxy 96 return address; [all...] |
H A D | Inet4Address.java | 23 * This class represents a 32 bit long IPv4 address. The most common textual 24 * representation of an IPv4 address follows the pattern {@code b.b.b.b} where 26 * specified ({@code b.b.bb} ), the last part is then 16 bit long, the address 27 * represents a class B network address as <i>128.net.host</i>. A two part 28 * address ({@code b.bbb} ) allows to represent a class A network address as 29 * <i>net.host</i>. If there is only one part ({@code bbbb} ) the address is 40 Inet4Address(byte[] address) { argument 42 ipaddress = address; 45 Inet4Address(byte[] address, Strin argument [all...] |
H A D | InetSocketAddress.java | 24 * This class represents a socket endpoint described by a IP address and a port 39 * no specified address. The range for valid port numbers is between 0 and 51 * {@code address}. The range for valid port numbers is between 0 and 65535 52 * inclusive. If {@code address} is {@code null} this socket is bound to the 53 * IPv4 wildcard address. 57 * @param address 58 * the specified address to which this socket is bound. 60 public InetSocketAddress(InetAddress address, int port) { argument 64 if (address == null) { 67 addr = address; [all...] |
H A D | NetworkInterface.java | 31 * interface is defined by its address and a platform dependent name. The class 67 ni = new NetworkInterface(name, name, new InetAddress[] { ia.address }, ia.index); 70 ni.addInterfaceAddress(ia.address); 77 private void addInterfaceAddress(InetAddress address) { argument 80 newAddresses[addresses.length] = address; 118 * Returns the first address for the network interface. This is used in the 122 * @return the first address if one exists, otherwise null. 143 * @return the address list of the represented network interface. 178 * ok security manager exists so check each address and return those 259 * Gets the specific network interface according to the given address 271 getByInetAddress(InetAddress address) argument [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
H A D | RuntimeMemorySpy.java | 27 public void alloc(PlatformAddress address) { argument 35 super.alloc(address);
|
H A D | IMemorySpy.java | 28 public void alloc(PlatformAddress address); argument 31 public boolean free(PlatformAddress address); argument 33 public void rangeCheck(PlatformAddress address, int offset, int length) argument 37 * Requests that the given address is freed automatically when it becomes 38 * garbage. If the address is alredy freed, or has not been notified as 42 * @param address 43 * the address to be freed. 45 public void autoFree(PlatformAddress address); argument
|
H A D | MappedPlatformAddress.java | 18 // address length was changed from long to int for performance reasons. 25 MappedPlatformAddress(int address, long size) { argument 26 super(address, size);
|
H A D | AbstractMemorySpy.java | 47 AddressWrapper(PlatformAddress address) { argument 49 this.shadow = address.duplicate(); 50 this.wrAddress = new PhantomReference<PlatformAddress>(address, notifyQueue); 58 public void alloc(PlatformAddress address) { argument 59 AddressWrapper wrapper = new AddressWrapper(address); 66 public boolean free(PlatformAddress address) { argument 69 wrapper = memoryInUse.remove(address); 79 .println("Memory Spy! Fixed attempt to free memory that was not allocated " + address); //$NON-NLS-1$ 84 public void rangeCheck(PlatformAddress address, int offset, int length) argument 94 public void autoFree(PlatformAddress address) { argument [all...] |
/dalvik/libcore/x-net/src/main/java/javax/net/ |
H A D | DefaultSocketFactory.java | 56 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, argument 58 return new Socket(address, port, localAddress, localPort);
|
H A D | SocketFactory.java | 71 * available local address and port. 74 * the remote host address the socket has to be connected to. 82 * if the specified host is unknown or the IP address could not 95 * the remote host address the socket has to be connected to. 100 * the local host address the socket is bound to. 108 * if the specified host is unknown or the IP address could not 117 * address and port. 120 * the host address the socket has to be connected to. 133 * the InetAddress {@code address}. The socket is bound to the local network 137 * @param address 151 createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument [all...] |
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ |
H A D | ServerSocketFactoryTest.java | 248 InetAddress address) throws IOException { 247 createServerSocket(int port, int backlog, InetAddress address) argument
|
H A D | SocketFactoryTest.java | 205 * @tests javax.net.SocketFactory#createSocket(InetAddress address, int port, 403 public Socket createSocket(InetAddress address, int port, argument
|
/dalvik/dx/src/com/android/dx/rop/code/ |
H A D | SourcePosition.java | 24 * line number and original bytecode address. 35 * {@code >= -1;} the bytecode address, or {@code -1} if that 38 private final int address; field in class:SourcePosition 51 * @param address {@code >= -1;} original bytecode address or {@code -1} 56 public SourcePosition(CstUtf8 sourceFile, int address, int line) { argument 57 if (address < -1) { 58 throw new IllegalArgumentException("address < -1"); 66 this.address = address; [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/net/ |
H A D | ProxyTest.java | 32 private SocketAddress address = new InetSocketAddress("127.0.0.1", 1234); field in class:ProxyTest 45 Proxy proxy = new Proxy(Proxy.Type.HTTP, address); 47 assertEquals(address, proxy.address()); 50 proxy = new Proxy(Proxy.Type.SOCKS, address); 52 assertEquals(address, proxy.address()); 57 assertNull(proxy.address()); 92 // test DIRECT type proxy, any address is illegal 94 proxy = new Proxy(Proxy.Type.DIRECT, address); [all...] |
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/ |
H A D | DefaultSSLSocketFactory.java | 71 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, argument
|
H A D | SSLServerSocket.java | 85 * @param address 86 * the address of the interface to accept connections on. 90 protected SSLServerSocket(int port, int backlog, InetAddress address) throws IOException { argument 91 super(port, backlog, address);
|
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | OpenSSLSocketFactoryImpl.java | 77 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument 79 return new OpenSSLSocketImpl(address, port, localAddress, localPort, (SSLParameters) sslParameters.clone());
|
/dalvik/libdex/ |
H A D | DexCatch.c | 53 u4 address) { 63 if (address < start) { 70 if (address >= end) { 52 dexFindCatchHandlerOffset0(u2 triesSize, const DexTry* pTries, u4 address) argument
|
H A D | DexCatch.h | 32 u4 address; /* handler address */ member in struct:DexCatchHandler 61 pIterator->handler.address = 0; 104 pIterator->handler.address = readUnsignedLeb128(&pIterator->pEncodedData); 115 u4 address); 117 /* Find the handler associated with a given address, if any. 121 const DexCode* pCode, u4 address) { 134 if (address < start) { 140 if (address >= end) { 149 address); 120 dexFindCatchHandler(DexCatchIterator *pIterator, const DexCode* pCode, u4 address) argument [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
H A D | PositionList.java | 149 /** {@code >= 0;} address of this entry */ 150 private final int address; field in class:PositionList.Entry 158 * @param address {@code >= 0;} address of this entry 161 public Entry (int address, SourcePosition position) { argument 162 if (address < 0) { 163 throw new IllegalArgumentException("address < 0"); 170 this.address = address; 175 * Gets the address [all...] |
/dalvik/libcore/nio/src/main/java/java/nio/ |
H A D | ReadOnlyDirectByteBuffer.java | 46 protected ReadOnlyDirectByteBuffer(SafeAddress address, int capacity, argument 48 super(address, capacity, offset); 51 protected ReadOnlyDirectByteBuffer(PlatformAddress address, int capacity, argument 53 super(new SafeAddress(address), capacity, offset);
|
/dalvik/libcore/nio/src/main/java/java/nio/channels/ |
H A D | DatagramChannel.java | 108 * Connects the socket of this channel to a remote address, which is the 120 * @param address 121 * the address to be connected to. 133 * if there is a security manager, and the address is not 138 public abstract DatagramChannel connect(SocketAddress address) argument 160 * and returns its address when it is available. If this channel is in 174 * @return the address of the datagram if the transfer is performed, or null 187 * if there is a security manager, and the address is not 212 * @param address 213 * the destination address fo 233 send(ByteBuffer source, SocketAddress address) argument [all...] |
H A D | SocketChannel.java | 93 * Creates a socket channel and connects it to a socket address. 98 * @param address 99 * the socket address to be connected to. 110 * {@code address}. 112 * if the address is not resolved. 114 * if the address type is not supported. 118 public static SocketChannel open(SocketAddress address) throws IOException { argument 121 socketChannel.connect(address); 164 * Connects this channel's socket with a remote address. 176 * @param address 204 connect(SocketAddress address) argument [all...] |