Home
last modified time | relevance | path

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

12345678910

/cts/tests/tests/security/jni/
Dandroid_security_cts_CharDeviceTest.cpp42 char *addr = (char *) in android_security_cts_CharDeviceTest_doExynosWriteTest() local
45 if (addr == MAP_FAILED) { in android_security_cts_CharDeviceTest_doExynosWriteTest()
57 addr[i] = 'A'; in android_security_cts_CharDeviceTest_doExynosWriteTest()
62 munmap(addr, length); in android_security_cts_CharDeviceTest_doExynosWriteTest()
80 char *addr = (char *) in android_security_cts_CharDeviceTest_doExynosReadTest() local
83 if (addr == MAP_FAILED) { in android_security_cts_CharDeviceTest_doExynosReadTest()
95 if (strncmp(&addr[i], MAGIC_STRING, strlen(MAGIC_STRING)) == 0) { in android_security_cts_CharDeviceTest_doExynosReadTest()
102 munmap(addr, length); in android_security_cts_CharDeviceTest_doExynosReadTest()
/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/
Datomic.c21 int32_t android_atomic_acquire_load(volatile const int32_t* addr) in android_atomic_acquire_load() argument
23 volatile atomic_int_least32_t* a = (volatile atomic_int_least32_t*)addr; in android_atomic_acquire_load()
27 void android_atomic_release_store(int32_t value, volatile int32_t* addr) in android_atomic_release_store() argument
29 volatile atomic_int_least32_t* a = (volatile atomic_int_least32_t*)addr; in android_atomic_release_store()
/cts/tests/tests/net/src/android/net/cts/
DDnsTest.java81 for (InetAddress addr : addrs) { in testDnsWorks()
82 if (addr instanceof Inet4Address) foundV4 = true; in testDnsWorks()
83 else if (addr instanceof Inet6Address) foundV6 = true; in testDnsWorks()
84 if (DBG) Log.e(TAG, "www.google.com gave " + addr.toString()); in testDnsWorks()
108 for (InetAddress addr : addrs) { in testDnsWorks()
109 msg = "[RERUN] ipv6.google.com returned IPv4 address: " + addr.getHostAddress() + in testDnsWorks()
111 assertFalse (msg, addr instanceof Inet4Address); in testDnsWorks()
112 foundV6 |= (addr instanceof Inet6Address); in testDnsWorks()
113 if (DBG) Log.e(TAG, "ipv6.google.com gave " + addr.toString()); in testDnsWorks()
200 InetAddress addr = InetAddress.getByName(URLS[urlIndex]); in skiptestDnsPerf() local
[all …]
DIpSecBaseTest.java455 for (String addr : LOOPBACK_ADDRS) { in testJavaTcpSocketPair()
456 InetAddress local = InetAddress.getByName(addr); in testJavaTcpSocketPair()
465 for (String addr : LOOPBACK_ADDRS) { in testJavaUdpSocketPair()
466 InetAddress local = InetAddress.getByName(addr); in testJavaUdpSocketPair()
476 for (String addr : LOOPBACK_ADDRS) { in testJavaUdpSocketPairUnconnected()
477 InetAddress local = InetAddress.getByName(addr); in testJavaUdpSocketPairUnconnected()
487 for (String addr : LOOPBACK_ADDRS) { in testNativeTcpSocketPair()
488 InetAddress local = InetAddress.getByName(addr); in testNativeTcpSocketPair()
498 for (String addr : LOOPBACK_ADDRS) { in testNativeUdpSocketPair()
499 InetAddress local = InetAddress.getByName(addr); in testNativeUdpSocketPair()
[all …]
/cts/tests/tests/os/jni/
Dandroid_os_cts_SharedMemory.cpp27 void* addr = mmap(nullptr, 1, PROT_READ | PROT_WRITE, MAP_SHARED, fd, index); in nWriteByte() local
28 if (addr == nullptr) { in nWriteByte()
32 reinterpret_cast<int8_t*>(addr)[0] = value; in nWriteByte()
33 munmap(addr, 1); in nWriteByte()
/cts/tools/dasm/test/
Dall_opcodes.d201 add-int/2addr v1, v2
202 sub-int/2addr v1, v2
203 mul-int/2addr v1, v2
204 div-int/2addr v1, v2
205 rem-int/2addr v1, v2
206 and-int/2addr v1, v2
207 or-int/2addr v1, v2
208 xor-int/2addr v1, v2
209 shl-int/2addr v1, v2
210 shr-int/2addr v1, v2
[all …]
/cts/hostsidetests/security/securityPatch/CVE-2016-8460/
Dpoc.c54 unsigned long *addr; /* array of addresses to return */ member
67 __u32 addr; /* array of addresses to return */ member
76 __u32 addr; /* user pointer*/ member
150 err_pin.addr = leak_addr + 8; in main()
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/
DConnectivityManagerLegacyTest.java83 byte[] addr = ((Inet4Address) InetAddress.getByName(addrString)).getAddress(); in ipv4AddrToInt()
84 return ((addr[3] & 0xff) << 24) | ((addr[2] & 0xff) << 16) | in ipv4AddrToInt()
85 ((addr[1] & 0xff) << 8) | (addr[0] & 0xff); in ipv4AddrToInt()
/cts/tests/tests/location/src/android/location/cts/
DEmergencyCallWifiTest.java85 private static boolean isReachable(String addr, int openPort, int timeOutMillis) { in isReachable() argument
88 soc.connect(new InetSocketAddress(addr, openPort), timeOutMillis); in isReachable()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/shl_int_2addr/d/
DT_shl_int_2addr_2.d16 shl-int/2addr v7, v8
DT_shl_int_2addr_4.d16 shl-int/2addr v5, v7
DT_shl_int_2addr_6.d16 shl-int/2addr v6, v7
DT_shl_int_2addr_1.d16 shl-int/2addr v6, v7
DT_shl_int_2addr_5.d16 shl-int/2addr v5, v7
DT_shl_int_2addr_3.d16 shl-int/2addr v5, v7
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/shr_int_2addr/d/
DT_shr_int_2addr_6.d16 shr-int/2addr v6, v7
DT_shr_int_2addr_4.d16 shr-int/2addr v5, v7
DT_shr_int_2addr_3.d16 shr-int/2addr v5, v7
DT_shr_int_2addr_5.d16 shr-int/2addr v5, v7
DT_shr_int_2addr_2.d16 shr-int/2addr v6, v8
DT_shr_int_2addr_1.d16 shr-int/2addr v6, v7
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_float_2addr/d/
DT_mul_float_2addr_1.d16 mul-float/2addr v6, v7
DT_mul_float_2addr_5.d16 mul-float/2addr v5, v7
DT_mul_float_2addr_6.d16 mul-float/2addr v6, v7
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_double_2addr/d/
DT_rem_double_2addr_6.d16 rem-double/2addr v11, v13

12345678910