/aosp_15_r20/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/ |
D | StructInetDiagSockIdTest.java | 140 final InetSocketAddress srcAddr = new InetSocketAddress(IPV4_SRC_ADDR, SRC_PORT); in testPackStructInetDiagSockIdWithIpv4() local 142 final StructInetDiagSockId sockId = new StructInetDiagSockId(srcAddr, dstAddr); in testPackStructInetDiagSockIdWithIpv4() 150 final InetSocketAddress srcAddr = new InetSocketAddress(IPV6_SRC_ADDR, SRC_PORT); in testPackStructInetDiagSockIdWithIpv6() local 152 final StructInetDiagSockId sockId = new StructInetDiagSockId(srcAddr, dstAddr); in testPackStructInetDiagSockIdWithIpv6() 160 final InetSocketAddress srcAddr = new InetSocketAddress(IPV4_SRC_ADDR, SRC_PORT); in testPackStructInetDiagSockIdWithIpv4IfIndexCookie() local 163 new StructInetDiagSockId(srcAddr, dstAddr, IF_INDEX, COOKIE); in testPackStructInetDiagSockIdWithIpv4IfIndexCookie() 171 final InetSocketAddress srcAddr = new InetSocketAddress(IPV6_SRC_ADDR, SRC_PORT); in testPackStructInetDiagSockIdWithIpv6IfIndexCookie() local 174 new StructInetDiagSockId(srcAddr, dstAddr, IF_INDEX, COOKIE); in testPackStructInetDiagSockIdWithIpv6IfIndexCookie() 208 final InetSocketAddress srcAddr = new InetSocketAddress(IPV4_SRC_ADDR, SRC_PORT); in testToStringStructInetDiagSockIdWithIpv4() local 210 final StructInetDiagSockId sockId = new StructInetDiagSockId(srcAddr, dstAddr); in testToStringStructInetDiagSockIdWithIpv4() [all …]
|
D | InetDiagSocketTest.java | 277 final Inet6Address srcAddr = Inet6Address.getByAddress( in testInetDiagReqV2TcpInet6V4Mapped() local 283 new InetSocketAddress(srcAddr, 43031), in testInetDiagReqV2TcpInet6V4Mapped() 654 final Inet6Address srcAddr = Inet6Address.getByAddress( in testParseInetDiagResponseV4MappedV6() local 659 new InetSocketAddress(srcAddr, 43031), in testParseInetDiagResponseV4MappedV6() 665 private void doTestIsLoopback(InetAddress srcAddr, InetAddress dstAddr, boolean expected) { in doTestIsLoopback() argument 668 new InetSocketAddress(srcAddr, 43031), in doTestIsLoopback()
|
/aosp_15_r20/external/mesa3d/src/mesa/main/ |
H A D | texstore.c | 106 const GLvoid *srcAddr, in _mesa_memcpy_texture() argument 114 srcPacking, srcAddr, srcWidth, srcHeight, srcFormat, srcType, 0, 0, 0); in _mesa_memcpy_texture() 170 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_z32() 200 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_x8_z24() 230 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_z24_x8() 264 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_z16() 299 srcAddr, srcPacking); in _mesa_texstore_ycbcr() 362 = (const GLubyte *) _mesa_image_address(dims, srcPacking, srcAddr, in _mesa_texstore_z24_s8() 446 = (const GLubyte *) _mesa_image_address(dims, srcPacking, srcAddr, in _mesa_texstore_s8_z24() 511 = (const GLubyte *) _mesa_image_address(dims, srcPacking, srcAddr, in _mesa_texstore_s8() [all …]
|
H A D | texcompress_s3tc.c | 78 srcFormat, srcType, srcAddr, in _mesa_texstore_rgb_dxt1() 85 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgb_dxt1() 135 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_dxt1() 141 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgba_dxt1() 190 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_dxt3() 195 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgba_dxt3() 244 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_dxt5() 249 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgba_dxt5()
|
H A D | texcompress_bptc.c | 152 srcFormat, srcType, srcAddr, in _mesa_texstore_bptc_rgba_unorm() 158 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_bptc_rgba_unorm() 197 srcFormat, srcType, srcAddr, in texstore_bptc_rgb_float() 203 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in texstore_bptc_rgb_float() 228 srcAddr, srcPacking, in _mesa_texstore_bptc_rgb_signed_float() 241 srcAddr, srcPacking, in _mesa_texstore_bptc_rgb_unsigned_float()
|
H A D | texstore.h | 69 const GLvoid *srcAddr, \ 84 UNUSED const GLvoid *srcAddr, \ 103 const GLvoid *srcAddr,
|
H A D | texcompress_rgtc.c | 104 srcFormat, srcType, srcAddr, in _mesa_texstore_red_rgtc1() 157 srcFormat, srcType, srcAddr, in _mesa_texstore_signed_red_rgtc1() 216 srcFormat, srcType, srcAddr, in _mesa_texstore_rg_rgtc2() 281 srcFormat, srcType, srcAddr, in _mesa_texstore_signed_rg_rgtc2()
|
H A D | texcompress_fxt1.c | 73 srcFormat, srcType, srcAddr, in _mesa_texstore_fxt1() 80 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_fxt1()
|
/aosp_15_r20/packages/modules/Connectivity/framework/src/android/net/util/ |
D | DnsUtils.java | 118 public SortableAddress(@NonNull InetAddress addr, @Nullable InetAddress srcAddr) { in SortableAddress() argument 120 hasSrcAddr = (srcAddr != null) ? 1 : 0; in SortableAddress() 124 labelMatch = ((srcAddr != null) && (label == findLabel(srcAddr))) ? 1 : 0; in SortableAddress() 125 scopeMatch = ((srcAddr != null) && (scope == findScope(srcAddr))) ? 1 : 0; in SortableAddress() 126 if (isIpv6Address(addr) && isIpv6Address(srcAddr)) { in SortableAddress() 127 prefixMatchLen = compareIpv6PrefixMatchLen(srcAddr, addr); in SortableAddress() 321 private static int compareIpv6PrefixMatchLen(@NonNull InetAddress srcAddr, in compareIpv6PrefixMatchLen() argument 323 final byte[] srcByte = srcAddr.getAddress(); in compareIpv6PrefixMatchLen()
|
/aosp_15_r20/packages/modules/Connectivity/framework/src/android/net/ |
D | NattKeepalivePacketData.java | 66 final InetAddress srcAddr, dstAddr; in nattKeepalivePacket() local 68 srcAddr = InetAddress.getByAddress(srcAddress.getAddress()); in nattKeepalivePacket() 74 if (srcAddr instanceof Inet4Address && dstAddr instanceof Inet4Address) { in nattKeepalivePacket() 76 (Inet4Address) srcAddr, srcPort, (Inet4Address) dstAddr, dstPort); in nattKeepalivePacket() 77 } else if (srcAddr instanceof Inet6Address && dstAddr instanceof Inet6Address) { in nattKeepalivePacket() 79 (Inet6Address) srcAddr, srcPort, (Inet6Address) dstAddr, dstPort); in nattKeepalivePacket()
|
/aosp_15_r20/packages/modules/DnsResolver/tests/ |
D | tun_forwarder.h | 53 v4pair(int32_t srcAddr, int32_t dstAddr) { in v4pair() 54 src.s_addr = static_cast<in_addr_t>(srcAddr); in v4pair() 66 v6pair(const in6_addr& srcAddr, const in6_addr& dstAddr) : src(srcAddr), dst(dstAddr) {} in v6pair()
|
/aosp_15_r20/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/ |
D | StructInetDiagSockId.java | 93 final InetAddress srcAddr; in parse() local 105 srcAddr = Inet4Address.getByAddress(srcAddrByte); in parse() 120 srcAddr = Inet6Address.getByAddress( in parse() 133 final InetSocketAddress srcSocketAddr = new InetSocketAddress(srcAddr, srcPort); in parse()
|
/aosp_15_r20/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | IkeTunUtils.java | 60 final InetAddress srcAddr = getDstAddress(request); in awaitReqAndInjectResp() local 66 buildIkePacket(srcAddr, dstAddr, srcPort, dstPort, encapExpected, respIkePkt); in awaitReqAndInjectResp() 169 InetAddress srcAddr, in buildIkePacket() argument 185 final IpHeader ipPkt = getIpHeader(udpPkt.getProtocolId(), srcAddr, dstAddr, udpPkt); in buildIkePacket()
|
D | ConnectivityManagerTest.java | 1836 final InetAddress srcAddr = getFirstV4Address(network); in testKeepaliveWifiUnsupported() 1837 assumeTrue("This test requires native IPv4", srcAddr != null); in testKeepaliveWifiUnsupported() 1840 assertEquals(0, createConcurrentSocketKeepalives(network, srcAddr, 1, 0)); in testKeepaliveWifiUnsupported() 1841 assertEquals(0, createConcurrentSocketKeepalives(network, srcAddr, 0, 1)); in testKeepaliveWifiUnsupported() 1856 final InetAddress srcAddr = getFirstV4Address(network); in testCreateTcpKeepalive() 1857 assumeTrue("This test requires native IPv4", srcAddr != null); in testCreateTcpKeepalive() 1865 assertEquals(0, createConcurrentSocketKeepalives(network, srcAddr, 0, 1)); in testCreateTcpKeepalive() 1983 @NonNull Network network, @NonNull InetAddress srcAddr, int requestCount, in createConcurrentNattSocketKeepalives() argument 1992 assertNotNull(srcAddr); in createConcurrentNattSocketKeepalives() 1998 srcAddr, dstAddr, executor, callback)); in createConcurrentNattSocketKeepalives() [all …]
|
D | PacketUtils.java | 122 public final InetAddress srcAddr; field in PacketUtils.IpHeader 128 this.srcAddr = src; in IpHeader() 180 bb.put(srcAddr.getAddress()); in buildHeader() 235 bb.put(srcAddr.getAddress()); in getPacketBytes() 325 ShortBuffer srcBuffer = ByteBuffer.wrap(header.srcAddr.getAddress()).asShortBuffer(); in calculateChecksum()
|
/aosp_15_r20/external/openthread/src/posix/platform/ |
H A D | infra_if.cpp | 607 struct sockaddr_in6 srcAddr; in ReceiveIcmp6Message() local 610 memset(&srcAddr, 0, sizeof(srcAddr)); in ReceiveIcmp6Message() 617 msg.msg_name = &srcAddr; in ReceiveIcmp6Message() 618 msg.msg_namelen = sizeof(srcAddr); in ReceiveIcmp6Message() 653 … VerifyOrExit(hopLimit == 255 && IN6_IS_ADDR_LINKLOCAL(&srcAddr.sin6_addr), error = OT_ERROR_DROP); in ReceiveIcmp6Message() 655 …otPlatInfraIfRecvIcmp6Nd(gInstance, ifIndex, reinterpret_cast<otIp6Address *>(&srcAddr.sin6_addr),… in ReceiveIcmp6Message()
|
/aosp_15_r20/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | PacketUtils.java | 81 public final InetAddress srcAddr; field in PacketUtils.IpHeader 87 this.srcAddr = src; in IpHeader() 139 bb.put(srcAddr.getAddress()); in buildHeader() 194 bb.put(srcAddr.getAddress()); in getPacketBytes() 284 ShortBuffer srcBuffer = ByteBuffer.wrap(header.srcAddr.getAddress()).asShortBuffer(); in calculateChecksum()
|
D | IkeTunUtils.java | 137 InetAddress srcAddr = getAddress(request, false /* shouldGetSource */); in awaitReqAndInjectResp() local 144 srcAddr, in awaitReqAndInjectResp() 345 InetAddress srcAddr, in buildIkePacket() argument 360 IpHeader ipPkt = getIpHeader(udpPkt.getProtocolId(), srcAddr, dstAddr, udpPkt); in buildIkePacket()
|
/aosp_15_r20/cts/tests/openglperf2/jni/primitive/shaderperf/ |
H A D | ShaderPerfRenderer.cpp | 82 int srcAddr = 0; in charCopy() local 86 current = source[srcAddr]; in charCopy() 88 srcAddr++; in charCopy()
|
/aosp_15_r20/system/chre/platform/tinysys/ |
H A D | host_link.cc | 485 uint32_t srcAddr = in chreIpiHandler() local 492 reinterpret_cast<void *>(srcAddr), msg.size); in chreIpiHandler() 504 DMA_RESULT result = scp_dma_transaction_dram(dstAddr, srcAddr, msg.size, in chreIpiHandler() 515 reinterpret_cast<void *>(srcAddr), msg.size); in chreIpiHandler() 608 auto srcAddr = reinterpret_cast<uint32_t>(data); in send() local 614 uint32_t dmaStartSrcAddr = alignToCacheLine(srcAddr); in send() 615 uint32_t copySize = dmaStartSrcAddr - srcAddr; in send()
|
/aosp_15_r20/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadController.java | 289 String srcAddr, int srcPort, in start() 292 updateNatTimeout(proto, srcAddr, srcPort, dstAddr, dstPort); in start() 786 int proto, String srcAddr, int srcPort, String dstAddr, int dstPort) { in updateNatTimeout() argument 793 final Inet4Address src = parseIPv4Address(srcAddr); in updateNatTimeout() 795 mLog.e("Failed to parse IPv4 address: " + srcAddr); in updateNatTimeout() 817 protoName, srcAddr, srcPort, dstAddr, dstPort); in updateNatTimeout()
|
/aosp_15_r20/art/runtime/native/ |
H A D | sun_misc_Unsafe.cc | 327 static void copyToArray(jlong srcAddr, in copyToArray() argument 332 const T* src = reinterpret_cast<T*>(srcAddr); in copyToArray() 356 jlong srcAddr, in Unsafe_copyMemoryToPrimitiveArray() argument 374 copyToArray(srcAddr, ObjPtr<mirror::ByteArray>::DownCast(dst), dst_offset, sz); in Unsafe_copyMemoryToPrimitiveArray() 377 copyToArray(srcAddr, ObjPtr<mirror::ShortArray>::DownCast(dst), dst_offset, sz); in Unsafe_copyMemoryToPrimitiveArray() 380 copyToArray(srcAddr, ObjPtr<mirror::IntArray>::DownCast(dst), dst_offset, sz); in Unsafe_copyMemoryToPrimitiveArray() 383 copyToArray(srcAddr, ObjPtr<mirror::LongArray>::DownCast(dst), dst_offset, sz); in Unsafe_copyMemoryToPrimitiveArray()
|
/aosp_15_r20/packages/modules/Connectivity/tests/unit/java/android/net/util/ |
D | DnsUtilsTest.java | 56 @Nullable String srcAddr) { in makeSortableAddress() argument 58 srcAddr != null ? stringToAddress(srcAddr) : null); in makeSortableAddress()
|
/aosp_15_r20/packages/modules/NetworkStack/src/android/net/util/ |
D | ConnectivityPacketSummary.java | 218 final String srcAddr = getIPv4AddressString(mPacket); in parseIPv4() local 223 sj.add(srcAddr).add(">").add(dstAddr); in parseIPv4() 248 final String srcAddr = getIPv6AddressString(mPacket); in parseIPv6() local 251 sj.add(srcAddr).add(">").add(dstAddr); in parseIPv6()
|
/aosp_15_r20/external/OpenCSD/decoder/source/etmv4/ |
H A D | trc_pkt_decode_etmv4i.cpp | 1773 etmv4_addr_val_t srcAddr = pElem->getAddr(); in processSourceAddress() local 1780 err = accessMemory(srcAddr.val, getCurrMemSpace(), &bytesReq, (uint8_t *)&opcode); in processSourceAddress() 1791 outElem().setAddrStart(srcAddr.val); in processSourceAddress() 1798 m_instr_info.instr_addr = srcAddr.val; in processSourceAddress() 1811 if (m_need_addr || (currAddr > srcAddr.val)) in processSourceAddress() 1816 out_range.st_addr = srcAddr.val; in processSourceAddress() 1892 outElem().setAddrStart(srcAddr.val); in processSourceAddress() 1897 out_range.st_addr = srcAddr.val; in processSourceAddress()
|