Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 25 of 95) sorted by relevance

1234

/dalvik/vm/analysis/
DCodeVerify.h117 INLINE bool dvmInsnIsOpcode(const InsnFlags* insnFlags, int addr) { in dvmInsnIsOpcode() argument
118 return (insnFlags[addr] & kInsnFlagWidthMask) != 0; in dvmInsnIsOpcode()
124 INLINE int dvmInsnGetWidth(const InsnFlags* insnFlags, int addr) { in dvmInsnGetWidth() argument
125 return insnFlags[addr] & kInsnFlagWidthMask; in dvmInsnGetWidth()
131 INLINE bool dvmInsnIsChanged(const InsnFlags* insnFlags, int addr) { in dvmInsnIsChanged() argument
132 return (insnFlags[addr] & kInsnFlagChanged) != 0; in dvmInsnIsChanged()
134 INLINE void dvmInsnSetChanged(InsnFlags* insnFlags, int addr, bool changed) in dvmInsnSetChanged() argument
137 insnFlags[addr] |= kInsnFlagChanged; in dvmInsnSetChanged()
139 insnFlags[addr] &= ~kInsnFlagChanged; in dvmInsnSetChanged()
145 INLINE bool dvmInsnIsVisited(const InsnFlags* insnFlags, int addr) { in dvmInsnIsVisited() argument
[all …]
DVerifySubs.c135 u4 addr; in dvmSetTryFlags() local
151 for (addr = start; addr < end; in dvmSetTryFlags()
152 addr += dvmInsnGetWidth(insnFlags, addr)) in dvmSetTryFlags()
154 assert(dvmInsnGetWidth(insnFlags, addr) != 0); in dvmSetTryFlags()
155 dvmInsnSetInTry(insnFlags, addr, true); in dvmSetTryFlags()
167 u4 addr; in dvmSetTryFlags() local
173 addr = handler->address; in dvmSetTryFlags()
174 if (dvmInsnGetWidth(insnFlags, addr) == 0) { in dvmSetTryFlags()
177 addr); in dvmSetTryFlags()
181 dvmInsnSetBranchTarget(insnFlags, addr, true); in dvmSetTryFlags()
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DInet6AddressTest.java51 InetAddress addr = null; in test_isMulticastAddress() local
62 addr = Inet6Address.getByName(addrName); in test_isMulticastAddress()
63 assertTrue("Multicast address " + addrName + " not detected.", addr in test_isMulticastAddress()
67 addr = Inet6Address.getByName(addrName); in test_isMulticastAddress()
69 + " reporting as a multicast address.", !addr in test_isMulticastAddress()
80 addr = Inet6Address.getByName(addrName); in test_isMulticastAddress()
82 + " reported incorrectly as multicast.", !addr in test_isMulticastAddress()
86 addr = Inet6Address.getByName(addrName); in test_isMulticastAddress()
88 + " reported incorrectly as multicast.", !addr in test_isMulticastAddress()
99 addr = Inet6Address.getByName(addrName); in test_isMulticastAddress()
[all …]
DInet4AddressTest.java53 InetAddress addr = Inet4Address.getByName(addrName); in test_isMulticastAddress() local
54 assertTrue("Multicast address " + addrName + " not detected.", addr in test_isMulticastAddress()
58 addr = Inet4Address.getByName(addrName); in test_isMulticastAddress()
59 assertTrue("Multicast address " + addrName + " not detected.", addr in test_isMulticastAddress()
63 addr = Inet4Address.getByName(addrName); in test_isMulticastAddress()
65 + " reporting as a multicast address.", !addr in test_isMulticastAddress()
86 InetAddress addr = Inet4Address.getByName(addrName); in test_isAnyLocalAddress() local
87 assertTrue("ANY address " + addrName + " not detected.", addr in test_isAnyLocalAddress()
109 InetAddress addr = Inet4Address.getByName(addrName); in test_isLoopbackAddress() local
110 assertTrue("Loopback address " + addrName + " not detected.", addr in test_isLoopbackAddress()
[all …]
DInetAddressTest.java183 byte[] addr = ia.getAddress(); in test_getAddress()
184 for (int i = 0; i < addr.length; i++) in test_getAddress()
185 assertTrue("Incorrect address returned", caddr[i] == addr[i]); in test_getAddress()
549 InetAddress addr = InetAddress.getByName("localhost"); in test_toString() local
550 assertEquals("Assert 0: wrong string from name", "localhost/127.0.0.1", addr.toString()); in test_toString()
569 InetAddress addr = InetAddress.getByAddress(addressStr, ipAddress); in test_getByAddressLjava_lang_String$B() local
570 addr = InetAddress.getByAddress(ipAddress); in test_getByAddressLjava_lang_String$B()
580 InetAddress addr = InetAddress.getByAddress(addressStr, ipAddress2); in test_getByAddressLjava_lang_String$B() local
581 addr = InetAddress.getByAddress(ipAddress); in test_getByAddressLjava_lang_String$B()
588 InetAddress addr = InetAddress.getByAddress(addressStr, in test_getByAddressLjava_lang_String$B() local
[all …]
/dalvik/libcore/luni/src/main/java/java/net/
DInetSocketAddress.java33 private InetAddress addr; field in InetSocketAddress
65 addr = Inet4Address.ANY; in InetSocketAddress()
67 addr = address; in InetSocketAddress()
69 hostname = addr.getHostName(); in InetSocketAddress()
110 addr = InetAddress.getByName(hostname); in InetSocketAddress()
116 addr = null; in InetSocketAddress()
153 return addr; in getAddress()
162 return (null != addr) ? addr.getHostName() : hostname; in getHostName()
172 return addr == null; in isUnresolved()
184 if (addr != null) { in toString()
[all …]
DDatagramSocketImpl.java60 protected abstract void bind(int port, InetAddress addr) in bind() argument
153 protected abstract void join(InetAddress addr) throws IOException; in join() argument
169 protected abstract void joinGroup(SocketAddress addr, in joinGroup() argument
181 protected abstract void leave(InetAddress addr) throws IOException; in leave() argument
194 protected abstract void leaveGroup(SocketAddress addr, in leaveGroup() argument
DMulticastSocket.java382 public void setInterface(InetAddress addr) throws SocketException { in setInterface() argument
384 if (addr == null) { in setInterface()
387 if (addr.isAnyLocalAddress()) { in setInterface()
389 } else if (addr instanceof Inet4Address) { in setInterface()
390 impl.setOption(SocketOptions.IP_MULTICAST_IF, addr); in setInterface()
393 interfaceSet = addr; in setInterface()
402 NetworkInterface theInterface = NetworkInterface.getByInetAddress(addr); in setInterface()
410 } else if (addr.isAnyLocalAddress()) { in setInterface()
417 } else if (addr instanceof Inet6Address) { in setInterface()
553 synchronized void createSocket(int aPort, InetAddress addr) in createSocket() argument
[all …]
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/
DDecimalFormatSymbols.java29 private int addr; field in DecimalFormatSymbols
33 private DecimalFormatSymbols(int addr, Locale loc) { in DecimalFormatSymbols() argument
34 this.addr = addr; in DecimalFormatSymbols()
48 this.addr = NativeDecimalFormat.openDecimalFormatImpl( in DecimalFormatSymbols()
52 NativeDecimalFormat.setSymbol(this.addr, in DecimalFormatSymbols()
54 NativeDecimalFormat.setSymbol(this.addr, in DecimalFormatSymbols()
70 if(sym.addr == this.addr) { in equals()
106 int addr = NativeDecimalFormat.cloneImpl(this.addr); in clone() local
108 return new DecimalFormatSymbols(addr, loc); in clone()
112 NativeDecimalFormat.setSymbol(this.addr, in setCurrency()
[all …]
DNativeDecimalFormat.java82 static native void closeDecimalFormatImpl(int addr); in closeDecimalFormatImpl() argument
84 static native int cloneImpl(int addr); in cloneImpl() argument
86 static native void setSymbol(int addr, int symbol, String str); in setSymbol() argument
88 static native String getSymbol(int addr, int symbol); in getSymbol() argument
90 static native void setAttribute(int addr, int symbol, int i); in setAttribute() argument
92 static native int getAttribute(int addr, int symbol); in getAttribute() argument
94 static native void setTextAttribute(int addr, int symbol, String str); in setTextAttribute() argument
96 static native String getTextAttribute(int addr, int symbol); in getTextAttribute() argument
98 static native void applyPatternImpl(int addr, boolean localized, String pattern); in applyPatternImpl() argument
100 static native String toPatternImpl(int addr, boolean localized); in toPatternImpl() argument
[all …]
DRuleBasedBreakIterator.java26 private int addr; field in RuleBasedBreakIterator
29 this.addr = iterAddr; in RuleBasedBreakIterator()
36 int cloneAddr = NativeBreakIterator.cloneImpl(this.addr); in clone()
64 return NativeBreakIterator.currentImpl(this.addr); in current()
69 return NativeBreakIterator.firstImpl(this.addr); in first()
74 return NativeBreakIterator.followingImpl(this.addr, offset); in following()
79 int newLoc = NativeBreakIterator.currentImpl(this.addr); in getText()
86 return NativeBreakIterator.lastImpl(this.addr); in last()
91 return NativeBreakIterator.nextImpl(this.addr, n); in next()
96 return NativeBreakIterator.nextImpl(this.addr, 1); in next()
[all …]
DRuleBasedNumberFormat.java67 private int addr = 0; field in RuleBasedNumberFormat
76 this.addr = openRBNFImpl(type.getType(), in open()
92 this.addr = openRBNFImpl(type.getType(), loc); in open()
108 this.addr = openRBNFImpl(rule, Locale.getDefault().toString()); in open()
124 this.addr = openRBNFImpl(rule, locale.toString()); in open()
133 if(this.addr != 0) { in close()
134 closeRBNFImpl(this.addr); in close()
135 this.addr = 0; in close()
139 private static native void closeRBNFImpl(int addr); in closeRBNFImpl() argument
154 String result = formatRBNFImpl(this.addr, value, field, in format()
[all …]
DDecimalFormat.java35 private int addr; field in DecimalFormat
52 this.addr = icuSymbols.getAddr(); in DecimalFormat()
87 if(obj.addr == this.addr) { in equals()
137 String result = NativeDecimalFormat.format(this.addr, in format()
146 String result = NativeDecimalFormat.format(this.addr, in format()
153 String result = NativeDecimalFormat.format(this.addr, lv, field, in format()
157 String result = NativeDecimalFormat.format(this.addr, dv, field, in format()
172 String result = NativeDecimalFormat.format(this.addr, value, field, in format()
189 String result = NativeDecimalFormat.format(this.addr, value, field, in format()
202 NativeDecimalFormat.applyPatternImpl(this.addr, false, pattern); in applyLocalizedPattern()
[all …]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/
DGenericIPMreq.java50 GenericIPMreq(InetAddress addr) { in GenericIPMreq() argument
51 multiaddr = addr; in GenericIPMreq()
64 GenericIPMreq(InetAddress addr, NetworkInterface netInterface) { in GenericIPMreq() argument
65 multiaddr = addr; in GenericIPMreq()
78 if ((addr instanceof Inet4Address) && (theAddresses != null)) { in GenericIPMreq()
DPlainDatagramSocketImpl.java117 public void bind(int port, InetAddress addr) throws SocketException { in bind() argument
120 netImpl.bind(fd, addr, port); in bind()
202 public void join(InetAddress addr) throws IOException { in join() argument
203 setOption(IP_MULTICAST_ADD, new GenericIPMreq(addr)); in join()
207 public void joinGroup(SocketAddress addr, NetworkInterface netInterface) throws IOException { in joinGroup() argument
208 if (addr instanceof InetSocketAddress) { in joinGroup()
209 InetAddress groupAddr = ((InetSocketAddress) addr).getAddress(); in joinGroup()
215 public void leave(InetAddress addr) throws IOException { in leave() argument
216 setOption(IP_MULTICAST_DROP, new GenericIPMreq(addr)); in leave()
220 public void leaveGroup(SocketAddress addr, NetworkInterface netInterface) in leaveGroup() argument
[all …]
/dalvik/dx/tests/044-dex-math-ops/
Dexpected.txt13 000b: add-double/2addr v6, v8
18 0011: sub-double/2addr v6, v8
23 0017: mul-double/2addr v6, v8
28 001d: div-double/2addr v6, v8
33 0023: rem-double/2addr v6, v8
48 000b: add-float/2addr v4, v5
53 0011: sub-float/2addr v4, v5
58 0017: mul-float/2addr v4, v5
63 001d: div-float/2addr v4, v5
68 0023: rem-float/2addr v4, v5
[all …]
/dalvik/dx/tests/047-dex-wide-args/
Dexpected.txt10 0007: add-long/2addr v6, v8
13 000a: add-long/2addr v6, v8
15 000c: add-long/2addr v6, v8
27 0007: add-long/2addr v6, v8
29 0009: add-long/2addr v6, v8
32 000c: add-long/2addr v6, v8
/dalvik/libcore/nio/src/main/java/java/nio/
DMappedByteBuffer.java58 MappedByteBuffer(PlatformAddress addr, int capa, int offset, int mode) { in MappedByteBuffer() argument
63 wrapped = new ReadOnlyDirectByteBuffer(addr, capa, offset); in MappedByteBuffer()
67 wrapped = new ReadWriteDirectByteBuffer(addr, capa, offset); in MappedByteBuffer()
72 addr.autoFree(); in MappedByteBuffer()
/dalvik/vm/jdwp/
DJdwpSocket.c164 } addr; in netStartup() local
165 addr.addrInet.sin_family = AF_INET; in netStartup()
166 addr.addrInet.sin_port = htons(port); in netStartup()
167 inet_aton("127.0.0.1", &addr.addrInet.sin_addr); in netStartup()
169 if (bind(netState->listenSock, &addr.addrPlain, sizeof(addr)) != 0) { in netStartup()
340 } addr; in acceptConnection() local
349 addrlen = sizeof(addr); in acceptConnection()
351 sock = accept(netState->listenSock, &addr.addrPlain, &addrlen); in acceptConnection()
363 netState->remoteAddr = addr.addrInet.sin_addr; in acceptConnection()
364 netState->remotePort = ntohs(addr.addrInet.sin_port); in acceptConnection()
[all …]
/dalvik/dx/etc/
Dbytecode.txt199 b0 12x y add-int/2addr
200 b1 12x y sub-int/2addr
201 b2 12x y mul-int/2addr
202 b3 12x y div-int/2addr
203 b4 12x y rem-int/2addr
204 b5 12x y and-int/2addr
205 b6 12x y or-int/2addr
206 b7 12x y xor-int/2addr
207 b8 12x y shl-int/2addr
208 b9 12x y shr-int/2addr
[all …]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/
DOSMemory.java630 private native void unmapImpl(int addr, long size); in unmapImpl() argument
632 public void unmap(int addr, long size) { in unmap() argument
633 unmapImpl(addr, size); in unmap()
636 public void load(int addr, long size) { in load() argument
637 loadImpl(addr, size); in load()
642 public boolean isLoaded(int addr, long size) { in isLoaded() argument
643 return size == 0 ? true : isLoadedImpl(addr, size); in isLoaded()
648 public void flush(int addr, long size) { in flush() argument
649 flushImpl(addr, size); in flush()
DIMemorySystem.java540 public void unmap(int addr, long size); in unmap() argument
545 public void load(int addr, long size); in load() argument
550 public boolean isLoaded(int addr, long size); in isLoaded() argument
555 public void flush(int addr, long size); in flush() argument
/dalvik/libcore/icu/src/main/native/
DDecimalFormatInterface.cpp89 static void closeDecimalFormatImpl(JNIEnv *env, jclass clazz, jint addr) { in closeDecimalFormatImpl() argument
92 UNumberFormat *fmt = (UNumberFormat *)(int)addr; in closeDecimalFormatImpl()
98 static void setSymbol(JNIEnv *env, jclass clazz, jint addr, jint symbol, in setSymbol() argument
105 UNumberFormat *fmt = (UNumberFormat *)(int)addr; in setSymbol()
122 static jstring getSymbol(JNIEnv *env, jclass clazz, jint addr, jint symbol) { in getSymbol() argument
130 UNumberFormat *fmt = (UNumberFormat *)(int)addr; in getSymbol()
158 static void setAttribute(JNIEnv *env, jclass clazz, jint addr, jint symbol, in setAttribute() argument
161 UNumberFormat *fmt = (UNumberFormat *)(int)addr; in setAttribute()
166 static jint getAttribute(JNIEnv *env, jclass clazz, jint addr, jint symbol) { in getAttribute() argument
168 UNumberFormat *fmt = (UNumberFormat *)(int)addr; in getAttribute()
[all …]
/dalvik/dx/tests/069-dex-source-position/
Dexpected.txt11 0009: sub-int/2addr v2, v3
18 0012: sub-int/2addr v3, v4
21 0017: add-int/2addr v2, v3
45 0009: sub-int/2addr v2, v3
52 0012: sub-int/2addr v3, v4
55 0017: add-int/2addr v2, v3
95 0009: sub-int/2addr v2, v3
102 0012: sub-int/2addr v3, v4
105 0017: add-int/2addr v2, v3
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
DAuthenticatorTest.java135 InetAddress addr = InetAddress.getLocalHost(); in test_requestPasswordAuthentication_InetAddress_int_String_String_String() local
137 Authenticator.requestPasswordAuthentication(addr, -1, "http", "promt", "HTTP"); in test_requestPasswordAuthentication_InetAddress_int_String_String_String()
153 Authenticator.requestPasswordAuthentication("test_host", addr, -1, in test_requestPasswordAuthentication_InetAddress_int_String_String_String()
176 InetAddress addr = InetAddress.getLocalHost(); in test_requestPasswordAuthentication_String_InetAddress_int_String_String_String() local
178 Authenticator.requestPasswordAuthentication("test_host", addr, -1, "http", "promt", "HTTP"); in test_requestPasswordAuthentication_String_InetAddress_int_String_String_String()
194 Authenticator.requestPasswordAuthentication("test_host", addr, -1, in test_requestPasswordAuthentication_String_InetAddress_int_String_String_String()
289 InetAddress addr; in test_setDefault() local
291 addr = InetAddress.getLocalHost(); in test_setDefault()
293 requestPasswordAuthentication(addr, 8080, "http", "promt", "HTTP"); in test_setDefault()
304 addr = InetAddress.getLocalHost(); in test_setDefault()
[all …]

1234