Searched refs:address (Results 1 - 25 of 108) sorted by relevance

12345

/dalvik/libcore/luni/src/main/java/java/net/
H A DInterfaceAddress.java25 // 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 DProxy.java22 * 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 DInet4Address.java23 * 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 DInet6Address.java30 * This class represents a 128 bit long IPv6 address.
54 Inet6Address(byte address[]) { argument
56 ipaddress = address;
60 Inet6Address(byte address[], String name) { argument
63 ipaddress = address;
68 * Constructs an {@code InetAddress} representing the {@code address} and
71 * @param address
72 * the network address.
74 * the name associated with the address.
78 Inet6Address(byte address[], Strin argument
200 Inet6Address(byte address[], int scope_id) argument
[all...]
H A DSocketImpl.java41 * The remote address this socket is connected to.
43 protected InetAddress address; field in class:SocketImpl
101 * Binds this socket to the specified local host address and port number.
103 * @param address
104 * the local machine address to bind this socket to.
110 protected abstract void bind(InetAddress address, int port) argument
134 * Connects this socket to the specified remote host address and port
137 * @param address
138 * the remote host address this socket has to be connected to.
144 protected abstract void connect(InetAddress address, in argument
[all...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/
H A DIMemorySystem.java19 // address length was changed from long to int for performance reasons.
74 * @return the address of the start of the memory block.
84 * allocated. If <code>address</code> is zero the method does nothing.
90 * @param address
91 * the address of the memory block to deallocate.
93 public void free(int address); argument
97 * memory block starting at <code>address</code>.
100 * <code>(address ... address + length)</code> is not wholly within the
104 * @param address
111 memset(int address, byte value, long length) argument
160 getByteArray(int address, byte[] bytes, int offset, int length) argument
189 setByteArray(int address, byte[] bytes, int offset, int length) argument
221 setShortArray(int address, short[] shorts, int offset, int length, boolean swap) argument
253 setIntArray(int address, int[] ints, int offset, int length, boolean swap) argument
269 getByte(int address) argument
283 setByte(int address, byte value) argument
298 getShort(int address) argument
315 getShort(int address, Endianness endianness) argument
331 setShort(int address, short value) argument
333 setShort(int address, short value, Endianness endianness) argument
348 getInt(int address) argument
350 getInt(int address, Endianness endianness) argument
366 setInt(int address, int value) argument
368 setInt(int address, int value, Endianness endianness) argument
383 getLong(int address) argument
385 getLong(int address, Endianness endianness) argument
402 setLong(int address, long value) argument
404 setLong(int address, long value, Endianness endianness) argument
419 getFloat(int address) argument
421 getFloat(int address, Endianness endianness) argument
437 setFloat(int address, float value) argument
439 setFloat(int address, float value, Endianness endianness) argument
454 getDouble(int address) argument
456 getDouble(int address, Endianness endianness) argument
473 setDouble(int address, double value) argument
475 setDouble(int address, double value, Endianness endianness) argument
492 getAddress(int address) argument
511 setAddress(int address, int value) argument
[all...]
H A DIMemorySpy.java28 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 DOSMemory.java19 // address length was changed from long to int for performance reasons.
35 * bytes of the address parameter, and on 32-bit platforms the same methods are
41 * the OS address value is zero-extended to an eight-byte int to correspond to
42 * the subsequent interpretation of that jlong as an OS address as defined
132 * @return the address of the start of the memory block.
142 * allocated. If <code>address</code> is zero the method does nothing.
148 * @param address
149 * the address of the memory block to deallocate.
151 public native void free(int address); argument
155 * memory block starting at <code>address</cod
169 memset(int address, byte value, long length) argument
218 getByteArray(int address, byte[] bytes, int offset, int length) argument
247 setByteArray(int address, byte[] bytes, int offset, int length) argument
279 setShortArray(int address, short[] shorts, int offset, int length, boolean swap) argument
311 setIntArray(int address, int[] ints, int offset, int length, boolean swap) argument
329 getByte(int address) argument
343 setByte(int address, byte value) argument
358 getShort(int address) argument
360 getShort(int address, Endianness endianness) argument
379 setShort(int address, short value) argument
381 setShort(int address, short value, Endianness endianness) argument
402 getInt(int address) argument
404 getInt(int address, Endianness endianness) argument
423 setInt(int address, int value) argument
425 setInt(int address, int value, Endianness endianness) argument
446 getLong(int address) argument
448 getLong(int address, Endianness endianness) argument
468 setLong(int address, long value) argument
470 setLong(int address, long value, Endianness endianness) argument
491 getFloat(int address) argument
493 getFloat(int address, Endianness endianness) argument
515 setFloat(int address, float value) argument
517 setFloat(int address, float value, Endianness endianness) argument
539 getDouble(int address) argument
541 getDouble(int address, Endianness endianness) argument
564 setDouble(int address, double value) argument
566 setDouble(int address, double value, Endianness endianness) argument
590 getAddress(int address) argument
609 setAddress(int address, int value) argument
[all...]
H A DAbstractMemorySpy.java47 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...]
H A DRuntimeMemorySpy.java27 public void alloc(PlatformAddress address) { argument
35 super.alloc(address);
H A DINetworkSystem.java19 // address length was changed from long to int for performance reasons.
60 public int readDirect(FileDescriptor aFD, int address, int count, argument
68 public int writeDirect(FileDescriptor fd, int address, int offset, int count) argument
95 public int sendDatagramDirect(FileDescriptor fd, int address, int offset, argument
104 int address, int offset, int length, int receiveTimeout,
112 DatagramPacket packet, int address, int offset, int length,
121 public int sendConnectedDatagramDirect(FileDescriptor fd, int address, argument
254 public void setInetAddress(InetAddress sender, byte[] address); argument
257 public String byteArrayToIpString(byte[] address) argument
260 public byte[] ipStringToByteArray(String address) argument
103 receiveDatagramDirect(FileDescriptor aFD, DatagramPacket packet, int address, int offset, int length, int receiveTimeout, boolean peek) argument
111 recvConnectedDatagramDirect(FileDescriptor aFD, DatagramPacket packet, int address, int offset, int length, int receiveTimeout, boolean peek) argument
[all...]
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/
H A DNativeCollation.java66 * @param collatoraddress address of the c collator
88 * @param collatoraddress the address of the C collator
99 * @param collatoraddress the address of the C collator
108 * @param collatoraddress address of the C collator
117 * @param collatoraddress address of the C collator
125 * @param collatoraddress address of the C collator
135 * @param collatoraddress address of the C collator
145 * @param collatoraddress address of C collator to be cloned
146 * @return address of the new clone
156 * @param collatoraddress address o
180 closeElements(int address) argument
188 reset(int address) argument
198 next(int address) argument
208 previous(int address) argument
219 getMaxExpansion(int address, int order) argument
227 setText(int address, String source) argument
237 getOffset(int address) argument
246 setOffset(int address, int offset) argument
[all...]
/dalvik/dx/src/com/android/dx/rop/code/
H A DSourcePosition.java24 * 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/icu/src/main/native/
H A DNativeBreakIterator.cpp64 static UBreakIterator* breakIterator(jint address) { argument
65 return reinterpret_cast<UBreakIterator*>(static_cast<uintptr_t>(address));
68 static void closeBreakIteratorImpl(JNIEnv* env, jclass, jint address) { argument
69 ubrk_close(breakIterator(address));
72 static jint cloneImpl(JNIEnv* env, jclass, jint address) { argument
75 UBreakIterator* it = ubrk_safeClone(breakIterator(address), NULL, &bufferSize, &status);
80 static void setTextImpl(JNIEnv* env, jclass, jint address, jstring text) { argument
83 ubrk_setText(breakIterator(address), chars, env->GetStringLength(text), &status);
88 static jboolean isBoundaryImpl(JNIEnv*, jclass, jint address, jint offset) { argument
89 return ubrk_isBoundary(breakIterator(address), offse
92 nextImpl(JNIEnv* env, jclass, jint address, jint n) argument
110 precedingImpl(JNIEnv*, jclass, jint address, jint offset) argument
114 firstImpl(JNIEnv*, jclass, jint address) argument
118 followingImpl(JNIEnv*, jclass, jint address, jint offset) argument
122 currentImpl(JNIEnv*, jclass, jint address) argument
126 previousImpl(JNIEnv*, jclass, jint address) argument
130 lastImpl(JNIEnv*, jclass, jint address) argument
[all...]
H A DNativeCollation.cpp25 * @param address of the C UCollator
28 jint address) {
30 UCollator *collator = (UCollator *)(int)address;
39 * @param address of C collation element iterator to close.
42 jint address) {
44 UCollationElements *iterator = (UCollationElements *)(int)address;
54 * @param address address of the c collator
59 static jint compare(JNIEnv *env, jclass obj, jint address, argument
62 const UCollator *collator = (const UCollator *)(int)address;
27 closeCollator(JNIEnv *env, jclass obj, jint address) argument
41 closeElements(JNIEnv *env, jclass obj, jint address) argument
96 getAttribute(JNIEnv *env, jclass obj, jint address, jint type) argument
123 getCollationElementIterator(JNIEnv *env, jclass obj, jint address, jstring source) argument
157 getMaxExpansion(JNIEnv *env, jclass obj, jint address, jint order) argument
172 getNormalization(JNIEnv *env, jclass obj, jint address) argument
190 setNormalization(JNIEnv *env, jclass, jint address, jint mode) argument
207 getOffset(JNIEnv *env, jclass obj, jint address) argument
221 getRules(JNIEnv *env, jclass obj, jint address) argument
239 getSortKey(JNIEnv *env, jclass obj, jint address, jstring source) argument
300 hashCode(JNIEnv *env, jclass obj, jint address) argument
320 next(JNIEnv *env, jclass obj, jint address) argument
418 previous(JNIEnv *env, jclass obj, jint address) argument
436 reset(JNIEnv *env, jclass obj, jint address) argument
450 safeClone(JNIEnv *env, jclass obj, jint address) argument
475 setAttribute(JNIEnv *env, jclass obj, jint address, jint type, jint value) argument
494 setOffset(JNIEnv *env, jclass obj, jint address, jint offset) argument
512 setText(JNIEnv *env, jclass obj, jint address, jstring source) argument
[all...]
/dalvik/vm/native/
H A Dsun_misc_Unsafe.c85 volatile int32_t* address = (volatile int32_t*) (((u1*) obj) + offset); local
88 int result = android_atomic_cmpxchg(expectedValue, newValue, address);
105 volatile int64_t* address = (volatile int64_t*) (((u1*) obj) + offset); local
109 android_quasiatomic_cmpxchg_64(expectedValue, newValue, address);
126 int32_t* address = (int32_t*) (((u1*) obj) + offset); local
130 (int32_t) newValue, address);
144 volatile s4* address = (volatile s4*) (((u1*) obj) + offset); local
146 RETURN_INT(*address);
159 volatile s4* address = (volatile s4*) (((u1*) obj) + offset); local
161 *address
174 volatile s8* address = (volatile s8*) (((u1*) obj) + offset); local
189 volatile s8* address = (volatile s8*) (((u1*) obj) + offset); local
204 volatile Object** address = (volatile Object**) (((u1*) obj) + offset); local
220 volatile Object** address = (volatile Object**) (((u1*) obj) + offset); local
234 s4* address = (s4*) (((u1*) obj) + offset); local
248 s4* address = (s4*) (((u1*) obj) + offset); local
262 s8* address = (s8*) (((u1*) obj) + offset); local
276 s8* address = (s8*) (((u1*) obj) + offset); local
290 Object** address = (Object**) (((u1*) obj) + offset); local
304 Object** address = (Object**) (((u1*) obj) + offset); local
[all...]
/dalvik/libcore/archive/src/main/native/
H A Dzipalloc.c28 void zfree PROTOTYPE ((void *opaque, void *address));
53 zfree (void *opaque, void *address) argument
57 hymem_free_memory (address);
/dalvik/dx/src/com/android/dx/dex/code/
H A DLocalList.java121 /** {@code >= 0;} address */
122 private final int address; field in class:LocalList.Entry
136 * @param address {@code >= 0;} address
141 public Entry(int address, Disposition disposition, RegisterSpec spec) { argument
142 if (address < 0) {
143 throw new IllegalArgumentException("address < 0");
160 this.address = address;
168 return Integer.toHexString(address)
494 aboutToProcess(int address, int reg) argument
536 snapshot(int address, RegisterSpecSet specs) argument
572 startLocal(int address, RegisterSpec startedLocal) argument
695 endLocal(int address, RegisterSpec endedLocal) argument
707 endLocal(int address, RegisterSpec endedLocal, Disposition disposition) argument
751 checkForEmptyRange(int address, RegisterSpec endedLocal) argument
849 add(int address, Disposition disposition, RegisterSpec spec) argument
873 addOrUpdateEnd(int address, Disposition disposition, RegisterSpec spec) argument
[all...]
H A DPositionList.java149 /** {@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 DNIOAccess.java33 * address."
41 PlatformAddress address = ((DirectBuffer) b).getEffectiveAddress();
42 if (address == null) {
45 return address.toInt() + (b.position() << b._elementSizeShift);
H A DDirectByteBuffer.java39 // This class will help us track whether the address is valid or not.
43 protected final PlatformAddress address; field in class:DirectByteBuffer.SafeAddress
45 protected SafeAddress(PlatformAddress address) { argument
47 this.address = address;
51 // This is a wrapped reference to the base address of the buffer memory.
54 // This is the offset from the base address at which this buffer logically
68 safeAddress.address.autoFree();
71 DirectByteBuffer(SafeAddress address, int capacity, int offset) { argument
75 PlatformAddress baseAddress = address
[all...]
/dalvik/libdex/
H A DDexCatch.c53 u4 address) {
63 if (address < start) {
70 if (address >= end) {
52 dexFindCatchHandlerOffset0(u2 triesSize, const DexTry* pTries, u4 address) argument
H A DDexCatch.h32 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/libcore/x-net/src/main/java/javax/net/ssl/
H A DSSLSocket.java62 * Creates a TCP socket connection to the specified address at the specified
65 * @param address
66 * the address to connect to.
72 protected SSLSocket(InetAddress address, int port) throws IOException { argument
73 super(address, port);
80 * port with the client side bound to the specified address and port.
87 * the client address to bind to
103 * Creates a TCP socket connection to the specified address at the specified
104 * port with the client side bound to the specified address and port.
106 * @param address
117 SSLSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort) argument
[all...]
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
H A DProxyTest.java32 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...]

Completed in 9743 milliseconds

12345