Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 13 of 13) sorted by relevance

/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DLittleEndian.java73 public static void setInt8(byte[] dst, int offset, int value) { in setInt8() argument
74 dst[offset] = (byte) value; in setInt8()
80 public static void setInt16(byte[] dst, int offset, int value) { in setInt16() argument
81 dst[offset + 0] = (byte) (value & 0xFF); in setInt16()
82 dst[offset + 1] = (byte) ((value >>> 8) & 0xFF); in setInt16()
88 public static void setInt32(byte[] dst, int offset, long value) in setInt32() argument
96 dst[offset + 0] = (byte) (value & 0xFF); in setInt32()
97 dst[offset + 1] = (byte) ((value >>> 8) & 0xFF); in setInt32()
98 dst[offset + 2] = (byte) ((value >>> 16) & 0xFF); in setInt32()
99 dst[offset + 3] = (byte) ((value >>> 24) & 0xFF); in setInt32()
DAbstractDirectory.java341 FatDirectoryEntry src, FatDirectoryEntry dst) { in copyDateTimeFields() argument
343 dst.setCreated(src.getCreated()); in copyDateTimeFields()
344 dst.setLastAccessed(src.getLastAccessed()); in copyDateTimeFields()
345 dst.setLastModified(src.getLastModified()); in copyDateTimeFields()
/tools/test/connectivity/acts/framework/acts/controllers/amarisoft_lib/
Dssh_utils.py131 def sftp_upload(self, src: str, dst: str) -> bool:
152 logging.info('[local] %s -> [remote] %s', src, dst)
153 self.sftp.put(src, dst)
154 return self.is_file_exist(dst)
156 def sftp_download(self, src: str, dst: str) -> bool:
174 logging.info('[remote] %s -> [local] %s', src, dst)
175 self.sftp.get(src, dst)
176 return self.is_file_exist(dst)
/tools/treble/cuttlefish/
Dbuild_chd_utils.py81 src, dst = _parse_copy_file_pair(pair)
83 dst = os.path.join(output_dir, dst)
84 os.makedirs(os.path.dirname(dst), exist_ok=True)
86 if os.path.exists(dst):
87 raise FileExistsError(dst)
88 shutil.copyfile(src, dst)
/tools/treble/build/sandbox/
Dnsjail.cfg39 dst: "/proc"
71 dst: "/tmp"
80 dst: "/dev/shm"
90 dst: "/etc/passwd"
97 dst: "/etc/group"
104 dst: "/etc/mtab"
122 dst: "/dev/fd"
130 dst: "/dev/null"
138 dst: "/dev/urandom"
146 dst: "/dev/random"
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/
Dpacket_sender.py319 ethernet = scapy.Ether(src=self.src_mac, dst=mac_dst)
400 ip4 = scapy.IP(src=self.src_ipv4, dst=IPV4_BROADCAST)
403 ethernet = scapy.Ether(dst=MAC_BROADCAST, src=self.src_mac)
463 base = scapy.IPv6(dst=node_mcast, src=self.src_ipv6)
469 ethernet = scapy.Ether(src=self.src_mac, dst=hw_dst)
530 base = scapy.IPv6(dst=ip6_dst, src=self.src_ipv6)
543 ethernet = scapy.Ether(src=self.src_mac, dst=hw_dst)
600 base = scapy.IPv6(dst=ip6_dst, src=self.src_ipv6)
606 ethernet = scapy.Ether(src=self.src_mac, dst=hw_dst)
662 base = scapy.IP(src=self.src_ipv4, dst=sta_ip)
[all …]
/tools/test/connectivity/acts_tests/tests/google/net/
DUsbTetheringTest.py71 icmp = IP(dst=GOOGLE_DNS_IP_ADDRESS)/ICMP()
86 icmpv6 = IPv6(dst=DEFAULT_DOMAIN_NAME_IPV6)/ICMPv6EchoRequest()
101 dnsqr = IP(dst=GOOGLE_DNS_IP_ADDRESS) \
118 tcp = IP(dst=DEFAULT_DOMAIN_NAME)/TCP(dport=[80, 443])
133 tcp_ipv6 = IPv6(dst=DEFAULT_DOMAIN_NAME_IPV6)/TCP(dport=[80, 443])
141 …syn_ack = srp1(Ether() / IPv6(dst=destination) / TCP(dport=80, flags="S"), timeout=2, iface=interf…
142 …sendp(Ether() / IPv6(dst=destination) / TCP(dport=80, sport=syn_ack[TCP].dport,seq=syn_ack[TCP].ac…
144 …req = Ether() / IPv6(dst=destination)/TCP(dport=80, sport=syn_ack[TCP].dport, seq=syn_ack[TCP].ack…
Dsendra.py22 ra = (scapy.Ether(dst=dstmac) /
DDhcpServerTest.py153 sendp(Ether(dst=BROADCAST_MAC, src=self.real_hwaddr) / reply,
590 asserts.assert_equal(str_hwaddr, resp.getlayer(Ether).dst)
591 asserts.assert_equal(reqAddr, resp.getlayer(IP).dst)
915 asserts.assert_equal(packet.getlayer(Ether).dst, BROADCAST_MAC)
916 asserts.assert_equal(packet.getlayer(IP).dst, NETADDR_BROADCAST)
926 asserts.assert_false(packet.getlayer(Ether).dst == BROADCAST_MAC,
929 asserts.assert_equal(packet.getlayer(IP).dst, ipAddr)
945 ethernet = Ether(dst=(BROADCAST_MAC if broadcast else self.dut_hwaddr))
946 ip = IP(src=ip_src, dst=ip_dst)
DDhcpTest.py113 and pkt[IPv6].dst == DEFAULT_IPV6_ALLROUTERS:
/tools/asuite/atest/
Dbazel_mode.py643 self._add_workspace_resource(src='rules', dst='bazel/rules')
644 self._add_workspace_resource(src='configs', dst='bazel/configs')
647 self._add_workspace_resource(src='device_def', dst='device_def')
714 self._add_workspace_resource(src='WORKSPACE', dst='WORKSPACE')
715 self._add_workspace_resource(src='bazelrc', dst='.bazelrc')
736 def _add_workspace_resource(self, src, dst): argument
746 dst = self.workspace_out_path.joinpath(dst)
747 dst.parent.mkdir(parents=True, exist_ok=True)
750 shutil.copy(src, dst)
752 shutil.copytree(src, dst, ignore=shutil.ignore_patterns('__init__.py'))
[all …]
/tools/dexter/slicer/
Dwriter.cc52 dex::u1* dst = buff; in WriteIntValue() local
57 *dst++ = value & 0xff; in WriteIntValue()
60 *dst++ = value & 0xff; in WriteIntValue()
63 *dst++ = value & 0xff; in WriteIntValue()
68 size_t size = dst - buff; in WriteIntValue()
/tools/dexter/testdata/expected/
Dmedium.compact_cfg186931 .local v1, "dst", android.graphics.RectF
190249 .params "icon", "canvas", "src", "dst"