/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | FileUseMapEntry.java | 53 private final long start; field in FileUseMapEntry 73 private FileUseMapEntry(long start, long end, @Nullable T store) { in FileUseMapEntry() argument 74 Preconditions.checkArgument(start >= 0, "start < 0"); in FileUseMapEntry() 75 Preconditions.checkArgument(end > start, "end <= start"); in FileUseMapEntry() 77 this.start = start; in FileUseMapEntry() 89 public static FileUseMapEntry<Object> makeFree(long start, long end) { in makeFree() argument 90 return new FileUseMapEntry<>(start, end, null); in makeFree() 102 public static <T> FileUseMapEntry<T> makeUsed(long start, long end, @Nonnull T store) { in makeUsed() argument 104 return new FileUseMapEntry<>(start, end, store); in makeUsed() 114 return start; in getStart() [all …]
|
D | FileUseMap.java | 177 <T> FileUseMapEntry<T> add(long start, long end, @Nonnull T store) { 178 Preconditions.checkArgument(start >= 0, "start < 0"); 179 Preconditions.checkArgument(end > start, "end < start"); 181 FileUseMapEntry<T> entry = FileUseMapEntry.makeUsed(start, end, store); 218 long start = entry.getStart(); in split() local 222 Verify.verify(farStart <= start, "farStart > start"); in split() 223 Verify.verify(start < end, "start >= end"); in split() 227 if (farStart < start) { in split() 228 result.add(FileUseMapEntry.makeFree(farStart, start)); in split() 250 long start = entry.getStart(); in coalesce() local [all …]
|
D | ZFile.java | 613 long start = entry.getCentralDirectoryHeader().getOffset(); in readData() local 614 long end = start + entry.getInFileSize(); in readData() 629 Verify.verify(start >= 0, "start < 0"); in readData() 632 FileUseMapEntry<?> found = map.at(start); in readData() 674 FileUseMapEntry<StoredEntry> mapEntry = map.add(start, end, entry); in readData() 884 public InputStream directOpen(final long start, final long end) throws IOException { in directOpen() argument 887 Preconditions.checkArgument(start >= 0, "start < 0"); in directOpen() 888 Preconditions.checkArgument(end >= start, "end < start"); in directOpen() 892 private long mCurr = start; in directOpen() 2271 public void directWrite(long offset, @Nonnull byte[] data, int start, int count) in directWrite() argument [all …]
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extractors/ |
D | ZlibExtractor.kt | 29 var start = buffer.indexOf(TRACE, 100) in findStart() variable 30 if (start == -1L) { in findStart() 31 start = 0L in findStart() 33 start += TRACE.length in findStart() 35 while (start < buffer.length && in findStart() 36 (buffer[start] == '\n'.toByte() || buffer[start] == '\r'.toByte())) { in findStart() 37 start++ in findStart() 39 return start in findStart() 97 val start = findStart(buffer) in extractorFor() constant 98 val toRead = minOf((buffer.length - start).toInt(), SIZE_TO_CHECK) in extractorFor() [all …]
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | Hints.java | 42 final long start; field in Hints.ByteRange 45 public ByteRange(long start, long end) { in ByteRange() argument 46 this.start = start; in ByteRange() 73 if (rangeIn.end - rangeIn.start < this.offset) { in ClampToAbsoluteByteRange() 76 long rangeOutStart = rangeIn.start + this.offset; in ClampToAbsoluteByteRange() 93 out.writeInt(clampToInt(pinByteRange.start)); in encodeByteRangeList() 94 out.writeInt(clampToInt(pinByteRange.end - pinByteRange.start)); in encodeByteRangeList() 111 long start = Long.parseLong(fields[1]); in parsePinPatterns() local 113 pinPatterns.add(new PatternWithRange(fields[0], start, end - start)); in parsePinPatterns()
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
D | dhcp_config.py | 33 start=None, argument 53 if start: 54 self.start = start 56 self.start = self.network[2] 58 if not self.start in self.network: 60 if self.start.is_reserved: 72 if self.end < self.start: 77 if router >= self.start and router <= self.end: 88 if host < self.start or host > self.end:
|
D | dhcp_server.py | 65 def start(self, config, timeout=60): member in DhcpServer 200 start = subnet.start 208 lines.append('\trange %s %s;' % (start, end))
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextTypeParameterItem.kt | 107 var start = index + "extends ".length in bounds() variable 109 for (i in start until length) { in bounds() 112 add(list, typeString, start, i) in bounds() 113 start = i + 1 in bounds() 117 add(list, typeString, start, i) in bounds() 122 start = i + 1 in bounds() 126 if (start < length) { in bounds() 127 add(list, typeString, start, length) in bounds()
|
D | TextTypeParameterList.kt | 66 var start = 0 in typeParameterStrings() variable 75 add(list, s, start, i + 1) in typeParameterStrings() 76 start = i + 1 in typeParameterStrings() 78 add(list, s, start, i) in typeParameterStrings() 83 add(list, s, start, i) in typeParameterStrings() 89 start = i in typeParameterStrings()
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/ |
D | audio_analysis.py | 312 for start in range(0, len(signal), int(block_size / 2)): 313 end = start + block_size 314 test_signal = signal[start:end] 317 results.append(start) 357 start = anoms[0] 364 bounds.append((start, end)) 365 start = anoms[i+1] 366 bounds.append((start, end)) 429 start = moving_index 430 end = start + block_length [all …]
|
/tools/test/connectivity/acts/framework/tests/controllers/ |
D | iperf_server_test.py | 128 server.start() 140 server.start() 152 server.start() 184 server.start() 217 server.start() 229 server.start() 257 server.start() 293 server.start() 306 server.start() 335 server.start()
|
/tools/test/connectivity/acts_tests/tests/google/bt/performance/ |
D | BtInterferenceDynamicTest.py | 269 obj.iperf_server.start() 273 proc_iperf = Process(target=obj.iperf_client.start, 275 proc_iperf.start() 285 proc_bt_audio.start() 286 proc_interference.start() 322 obj.iperf_server.start() 326 proc_iperf = Process(target=obj.iperf_client.start, 328 proc_iperf.start() 337 proc_bt_audio.start() 338 proc_interference.start()
|
D | BtInterferenceStaticTest.py | 130 obj.iperf_server.start() 136 proc_iperf = Process(target=obj.iperf_client.start, 146 proc.start() 147 proc_bt.start()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | AndroidBinXmlParser.java | 792 private static ByteBuffer sliceFromTo(ByteBuffer source, long start, long end) { in sliceFromTo() argument 793 if (start < 0) { in sliceFromTo() 794 throw new IllegalArgumentException("start: " + start); in sliceFromTo() 796 if (end < start) { in sliceFromTo() 797 throw new IllegalArgumentException("end < start: " + end + " < " + start); in sliceFromTo() 803 return sliceFromTo(source, (int) start, (int) end); in sliceFromTo() 812 private static ByteBuffer sliceFromTo(ByteBuffer source, int start, int end) { in sliceFromTo() argument 813 if (start < 0) { in sliceFromTo() 814 throw new IllegalArgumentException("start: " + start); in sliceFromTo() 816 if (end < start) { in sliceFromTo() [all …]
|
D | ApkSigningBlockUtilsLite.java | 277 private static ByteBuffer sliceFromTo(ByteBuffer source, int start, int end) { in sliceFromTo() argument 278 if (start < 0) { in sliceFromTo() 279 throw new IllegalArgumentException("start: " + start); in sliceFromTo() 281 if (end < start) { in sliceFromTo() 282 throw new IllegalArgumentException("end < start: " + end + " < " + start); in sliceFromTo() 293 source.position(start); in sliceFromTo()
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/ |
D | BufferReader.kt | 79 reader.index = startIndex + matcher!!.start(group) in int() 84 return if (matcher!!.start(group) == -1) default else int(group) in intOr() 88 reader.index = startIndex + matcher!!.start(group) in double() 93 reader.index = startIndex + matcher!!.start(group) in long() 98 reader.index = startIndex + matcher!!.start(group) in string() 104 reader.index = startIndex + matcher!!.start(group) in slice() 110 reader.index = startIndex + matcher!!.start(group) in reader() 117 tempPreview.index = startIndex + matcher!!.start(group) in read()
|
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/ |
D | Animator.kt | 22 fun animate(start: Double, end: Double, setter: (Double) -> Unit) { in animate() 23 AnimationPulse.register(Animator(start, end, setter)) in animate() 26 class Animator(val start: Double, val end: Double, val setter: (Double) -> Unit, val duration: Int … constant in traceviewer.ui.Animator 31 val value: Double = ((end - start) * frac) + start in animate()
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | bits.py | 216 self._service.start() 279 start = times['start'] 287 if isinstance(start, (int, float)): 288 start = times['start'] * 1e6 292 self._client.add_marker(start, 'start - %s' % segment_name) 294 raw_metrics = self._client.get_metrics(start, end)
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/ |
D | TracingMarkerEventTest.kt | 60 …val start = detailsFor<StartAsyncSliceEvent>("tracing_mark_write: S|1150|launching: com.google.and… in testStartAsync() constant 61 assertEquals(1150, start.tgid) in testStartAsync() 62 assertEquals("launching: com.google.android.calculator", start.name) in testStartAsync() 63 assertEquals(0, start.cookie) in testStartAsync()
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/ |
D | A2dpBaseTest.py | 127 proc = self.audio_device.start() 200 start, end = anomaly 203 '{} sec'.format(ch_no, start // 60, start % 60, 204 end - start))
|
/tools/metalava/src/main/java/com/android/tools/lint/checks/infrastructure/ |
D | ClassName.kt | 145 var start = 0 in getClassName() variable 146 while (matcher.find(start)) { in getClassName() 148 val groupStart = matcher.start(2) in getClassName() 161 start = matcher.end(2) in getClassName()
|
/tools/repohooks/rh/ |
D | terminal.py | 50 def start(self, color): member in Color 89 start = self.BOLD_START 91 start = self.COLOR_START % (color + 30) 92 return start + text + self.RESET
|
/tools/test/connectivity/acts/framework/tests/controllers/bits_lib/ |
D | bits_service_test.py | 63 service.start() 77 service.start() 113 service.start() 137 service.start()
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/ |
D | ui_utils.py | 22 return '[{start}][{end}]'.format(start=str(self.start), end=str(self.end)) 25 return Point((self.start.x + self.end.x) // 2, 26 (self.start.y + self.end.y) // 2)
|
/tools/test/connectivity/acts_tests/tests/google/bt/pts/instructions/ |
D | GAP_PTS_INSTRUCTIONS | 190 be the peer address in the PTS logs that start with: 208 be the peer address in the PTS logs that start with: 251 be the peer address in the PTS logs that start with: 268 be the peer address in the PTS logs that start with: 297 be the peer address in the PTS logs that start with: 318 be the peer address in the PTS logs that start with: 348 be the peer address in the PTS logs that start with: 462 [PTS Notification to start a non-connectable advertisement]
|