Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 74) sorted by relevance

123

/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DLittleEndian.java40 public static int getUInt8(byte[] src, int offset) { in getUInt8() argument
41 return src[offset] & 0xFF; in getUInt8()
50 public static int getUInt16(byte[] src, int offset) { in getUInt16() argument
51 final int v0 = src[offset + 0] & 0xFF; in getUInt16()
52 final int v1 = src[offset + 1] & 0xFF; in getUInt16()
62 public static long getUInt32(byte[] src, int offset) { in getUInt32() argument
63 final long v0 = src[offset + 0] & 0xFF; in getUInt32()
64 final long v1 = src[offset + 1] & 0xFF; in getUInt32()
65 final long v2 = src[offset + 2] & 0xFF; in getUInt32()
66 final long v3 = src[offset + 3] & 0xFF; in getUInt32()
DDummy83BufferGenerator.java66 for (int src=0; src < dirty.length(); src++) { in tidyString()
67 final char toTest = Character.toUpperCase(dirty.charAt(src)); in tidyString()
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/tradefederation/core/src/com/android/tradefed/targetprep/
DPushFilePreparer.java100 File src = null; in resolveRelativeFilePath() local
102 src = buildInfo.getFile(fileName); in resolveRelativeFilePath()
103 if (src != null && src.exists()) { in resolveRelativeFilePath()
104 return src; in resolveRelativeFilePath()
113 src = FileUtil.findFile(targetTestCases, fileName); in resolveRelativeFilePath()
115 if (src != null && src.exists()) { in resolveRelativeFilePath()
116 return src; in resolveRelativeFilePath()
144 File src = new File(pair[0]); in setUp() local
145 if (!src.isAbsolute()) { in setUp()
146 src = resolveRelativeFilePath(buildInfo, pair[0]); in setUp()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DByteArrayList.java154 public boolean addAll(byte[] src) { in addAll() argument
155 if (src == null) { in addAll()
159 return addAll(src, 0, src.length); in addAll()
170 public boolean addAll(byte[] src, int srcOffset, int length) { in addAll() argument
171 if (src == null) { in addAll()
176 System.arraycopy(src, srcOffset, mStorage, mCurBytes, length); in addAll()
187 public boolean addall(ByteArrayList src) { in addall() argument
188 if (src == null) { in addall()
192 return addAll(src.getContents()); in addall()
/tools/apksig/
DBUILD9 ["src/main/java/**/*.java"],
10 exclude = ["src/main/java/com/android/apksig/internal/**/*.java"],
20 srcs = glob(["src/main/java/**/*.java"]),
27 "src/apksigner/java/**/*.java",
31 "src/apksigner/java/**/*.txt",
40 "src/test/java/com/android/apksig/**/*.java",
43 "src/test/resources/**/*",
DAndroid.bp21 srcs: ["src/main/java/**/*.java"],
28 srcs: ["src/apksigner/java/**/*.java"],
29 java_resource_dirs: ["src/apksigner/java"],
31 manifest: "src/apksigner/apksigner.mf",
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DChainedDataSource.java34 mTotalSize = Arrays.stream(sources).mapToLong(src -> src.size()).sum(); in ChainedDataSource()
48 for (DataSource src : mSources) { in feed()
50 if (offset >= src.size()) { in feed()
51 offset -= src.size(); in feed()
56 long remaining = src.size() - offset; in feed()
58 src.feed(offset, size, sink); in feed()
63 src.feed(offset, remaining, sink); in feed()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/
DRamDisk.java134 public void write(long devOffset, ByteBuffer src) throws IOException { in write() argument
137 if (devOffset + src.remaining() > getSize()) throw new in write()
140 ", length=" + src.remaining() + in write()
143 data.limit((int) (devOffset + src.remaining())); in write()
147 data.put(src); in write()
DFileDisk.java126 public void write(long devOffset, ByteBuffer src) throws IOException { in write() argument
131 int toWrite = src.remaining(); in write()
137 final int written = fc.write(src, devOffset); in write()
/tools/metalava/
DAndroid.bp18 "src/main/java/**/*.java",
19 "src/main/java/**/*.kt",
21 java_resources: ["src/main/resources/**/*"],
33 "stub-annotations/src/main/java/**/*.java",
/tools/apkzlib/
DBUILD6 "src/main/java/**/*.java",
20 srcs = glob(["src/test/java/**/*.java"]),
22 resources = glob(["src/test/resources/**"]),
DAndroid.bp20 "src/main/java/com/android/apkzlib/utils/**/*.java",
21 "src/main/java/com/android/apkzlib/zip/**/*.java"
28 srcs: ["src/main/java/**/*.java"],
/tools/test/connectivity/acts/framework/acts/controllers/
Dpacket_sender.py302 ethernet = scapy.Ether(src=self.src_mac, dst=mac_dst)
383 ip4 = scapy.IP(src=self.src_ipv4, dst=IPV4_BROADCAST)
386 ethernet = scapy.Ether(dst=MAC_BROADCAST, src=self.src_mac)
446 base = scapy.IPv6(dst=node_mcast, src=self.src_ipv6)
452 ethernet = scapy.Ether(src=self.src_mac, dst=hw_dst)
513 base = scapy.IPv6(dst=ip6_dst, src=self.src_ipv6)
526 ethernet = scapy.Ether(src=self.src_mac, dst=hw_dst)
583 base = scapy.IPv6(dst=ip6_dst, src=self.src_ipv6)
589 ethernet = scapy.Ether(src=self.src_mac, dst=hw_dst)
645 base = scapy.IP(src=self.src_ipv4, dst=sta_ip)
[all …]
/tools/dexter/testdata/expected/
Dentry_hooks.asm4 .src "entryHooks.java"
18 .src "entryHooks.java"
57 .src "entryHooks.java"
71 .src "entryHooks.java"
112 .src "entryHooks.java"
126 .src "entryHooks.java"
161 .src "entryHooks.java"
194 .src "entryHooks.java"
211 .src "entryHooks.java"
230 .src "entryHooks.java"
[all …]
Dentry_hooks.rewrite4 .src "entryHooks.java"
18 .src "entryHooks.java"
57 .src "entryHooks.java"
71 .src "entryHooks.java"
112 .src "entryHooks.java"
126 .src "entryHooks.java"
161 .src "entryHooks.java"
194 .src "entryHooks.java"
211 .src "entryHooks.java"
230 .src "entryHooks.java"
[all …]
Dhello.asm5 .src "hello.java"
23 .src "hello.java"
36 .src "hello.java"
50 .src "hello.java"
81 .src "hello.java"
95 .src "hello.java"
124 .src "hello.java"
138 .src "hello.java"
197 .src "hello.java"
254 .src "hello.java"
Dexit_hooks.asm4 .src "exitHooks.java"
18 .src "exitHooks.java"
39 .src "exitHooks.java"
129 .src "exitHooks.java"
172 .src "exitHooks.java"
216 .src "exitHooks.java"
250 .src "exitHooks.java"
285 .src "exitHooks.java"
299 .src "exitHooks.java"
330 .src "exitHooks.java"
[all …]
Dentry_hooks.compact_cfg5 .src "entryHooks.java"
21 .src "entryHooks.java"
62 .src "entryHooks.java"
78 .src "entryHooks.java"
121 .src "entryHooks.java"
137 .src "entryHooks.java"
174 .src "entryHooks.java"
209 .src "entryHooks.java"
228 .src "entryHooks.java"
249 .src "entryHooks.java"
[all …]
Dentry_hooks.mi4 .src "entryHooks.java"
18 .src "entryHooks.java"
57 .src "entryHooks.java"
71 .src "entryHooks.java"
112 .src "entryHooks.java"
126 .src "entryHooks.java"
161 .src "entryHooks.java"
194 .src "entryHooks.java"
211 .src "entryHooks.java"
230 .src "entryHooks.java"
[all …]
Dentry_hooks.entry_hook4 .src "entryHooks.java"
19 .src "entryHooks.java"
59 .src "entryHooks.java"
74 .src "entryHooks.java"
116 .src "entryHooks.java"
131 .src "entryHooks.java"
167 .src "entryHooks.java"
201 .src "entryHooks.java"
219 .src "entryHooks.java"
239 .src "entryHooks.java"
[all …]
Dentry_hooks.scratch_regs4 .src "entryHooks.java"
21 .src "entryHooks.java"
69 .src "entryHooks.java"
86 .src "entryHooks.java"
136 .src "entryHooks.java"
153 .src "entryHooks.java"
191 .src "entryHooks.java"
224 .src "entryHooks.java"
247 .src "entryHooks.java"
275 .src "entryHooks.java"
[all …]
Dentry_hooks.verbose_cfg5 .src "entryHooks.java"
23 .src "entryHooks.java"
78 .src "entryHooks.java"
96 .src "entryHooks.java"
153 .src "entryHooks.java"
171 .src "entryHooks.java"
234 .src "entryHooks.java"
283 .src "entryHooks.java"
302 .src "entryHooks.java"
323 .src "entryHooks.java"
[all …]
Dhello.wrap_invoke5 .src "hello.java"
23 .src "hello.java"
36 .src "hello.java"
50 .src "hello.java"
81 .src "hello.java"
95 .src "hello.java"
124 .src "hello.java"
138 .src "hello.java"
197 .src "hello.java"
254 .src "hello.java"
Dhello.rewrite5 .src "hello.java"
23 .src "hello.java"
36 .src "hello.java"
50 .src "hello.java"
81 .src "hello.java"
95 .src "hello.java"
124 .src "hello.java"
138 .src "hello.java"
197 .src "hello.java"
254 .src "hello.java"

123