/external/flatbuffers/tests/FlatBuffers.Test/ |
D | FlatBufferBuilderTests.cs | 37 var endOffset = fbb.Offset; in FlatBufferBuilder_WithForceDefaults_WhenAddBool_AndDefaultValue_OffsetIncreasesBySize() 38 Assert.AreEqual(sizeof(bool), endOffset-storedOffset); in FlatBufferBuilder_WithForceDefaults_WhenAddBool_AndDefaultValue_OffsetIncreasesBySize() 47 var endOffset = fbb.Offset; in FlatBufferBuilder_WithForceDefaults_WhenAddSByte_AndDefaultValue_OffsetIncreasesBySize() 48 Assert.AreEqual(sizeof(sbyte), endOffset - storedOffset); in FlatBufferBuilder_WithForceDefaults_WhenAddSByte_AndDefaultValue_OffsetIncreasesBySize() 57 var endOffset = fbb.Offset; in FlatBufferBuilder_WithForceDefaults_WhenAddByte_AndDefaultValue_OffsetIncreasesBySize() 58 Assert.AreEqual(sizeof(byte), endOffset - storedOffset); in FlatBufferBuilder_WithForceDefaults_WhenAddByte_AndDefaultValue_OffsetIncreasesBySize() 67 var endOffset = fbb.Offset; in FlatBufferBuilder_WithForceDefaults_WhenAddShort_AndDefaultValue_OffsetIncreasesBySize() 68 Assert.AreEqual(sizeof(short), endOffset - storedOffset); in FlatBufferBuilder_WithForceDefaults_WhenAddShort_AndDefaultValue_OffsetIncreasesBySize() 77 var endOffset = fbb.Offset; in FlatBufferBuilder_WithForceDefaults_WhenAddUShort_AndDefaultValue_OffsetIncreasesBySize() 78 Assert.AreEqual(sizeof(ushort), endOffset - storedOffset); in FlatBufferBuilder_WithForceDefaults_WhenAddUShort_AndDefaultValue_OffsetIncreasesBySize() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/ |
D | CachedRegionTracker.java | 81 if (floorRegion == null || byteOffset > floorRegion.endOffset in getRegionEndTimeMs() 87 && floorRegion.endOffset == (chunkIndex.offsets[index] + chunkIndex.sizes[index])) { in getRegionEndTimeMs() 91 * (floorRegion.endOffset - chunkIndex.offsets[index])) / chunkIndex.sizes[index]; in getRegionEndTimeMs() 118 int index = Arrays.binarySearch(chunkIndex.offsets, newFloorRegion.endOffset); in onSpanRemoved() 123 if (floorRegion.endOffset > removedRegion.endOffset) { in onSpanRemoved() 124 Region newCeilingRegion = new Region(removedRegion.endOffset + 1, floorRegion.endOffset); in onSpanRemoved() 145 floorRegion.endOffset = ceilingRegion.endOffset; 149 newRegion.endOffset = ceilingRegion.endOffset; 156 floorRegion.endOffset = newRegion.endOffset; 159 && (chunkIndex.offsets[index + 1] <= floorRegion.endOffset)) { [all …]
|
D | CacheUtil.java | 255 long endOffset = length != C.LENGTH_UNSET ? positionOffset + length : C.POSITION_UNSET; in readAndDiscard() local 266 if (endOffset != C.POSITION_UNSET) { in readAndDiscard() 273 dataSource.open(dataSpec.subrange(positionOffset, endOffset - positionOffset)); in readAndDiscard() 288 while (positionOffset != endOffset) { in readAndDiscard() 294 endOffset != C.POSITION_UNSET in readAndDiscard() 295 ? (int) Math.min(temporaryBuffer.length, endOffset - positionOffset) in readAndDiscard()
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/metadata/id3/ |
D | ChapterFrame.java | 43 public final long endOffset; field in ChapterFrame 47 long endOffset, Id3Frame[] subFrames) { in ChapterFrame() argument 53 this.endOffset = endOffset; in ChapterFrame() 63 this.endOffset = in.readLong(); in ChapterFrame() 97 && endOffset == other.endOffset in equals() 108 result = 31 * result + (int) endOffset; in hashCode() 119 dest.writeLong(endOffset); in writeToParcel()
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/ |
D | NalUnitUtil.java | 425 public static int findNalUnit(byte[] data, int startOffset, int endOffset, in findNalUnit() argument 427 int length = endOffset - startOffset; in findNalUnit() 431 return endOffset; in findNalUnit() 448 int limit = endOffset - 1; in findNalUnit() 470 ? (data[endOffset - 3] == 0 && data[endOffset - 2] == 0 && data[endOffset - 1] == 1) in findNalUnit() 471 : length == 2 ? (prefixFlags[2] && data[endOffset - 2] == 0 && data[endOffset - 1] == 1) in findNalUnit() 472 : (prefixFlags[1] && data[endOffset - 1] == 1); in findNalUnit() 474 prefixFlags[1] = length > 1 ? data[endOffset - 2] == 0 && data[endOffset - 1] == 0 in findNalUnit() 475 : prefixFlags[2] && data[endOffset - 1] == 0; in findNalUnit() 477 prefixFlags[2] = data[endOffset - 1] == 0; in findNalUnit() [all …]
|
/external/proguard/src/proguard/classfile/visitor/ |
D | ExceptionRangeFilter.java | 38 private final int endOffset; field in ExceptionRangeFilter 50 int endOffset, in ExceptionRangeFilter() argument 54 this.endOffset = endOffset; in ExceptionRangeFilter() 63 if (exceptionInfo.isApplicable(startOffset, endOffset)) in visitExceptionInfo()
|
D | ExceptionHandlerFilter.java | 38 private final int endOffset; field in ExceptionHandlerFilter 50 int endOffset, in ExceptionHandlerFilter() argument 54 this.endOffset = endOffset; in ExceptionHandlerFilter() 65 handlerPC < endOffset) in visitExceptionInfo()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/ |
D | SmaliLexer.java | 47 private int endOffset; field in SmaliLexer 55 …@Override public void start(@NotNull CharSequence buffer, int startOffset, int endOffset, int init… in start() argument 57 lexer.reset(buffer, startOffset, endOffset, initialState); in start() 58 this.endOffset = endOffset; in start() 121 return endOffset; in getBufferEnd()
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/ |
D | keyframe-interpolations.js | 27 var localDuration = interpolation.endOffset - interpolation.startOffset; 79 var endOffset = keyframes[endIndex].offset; 81 var applyTo = endOffset; 86 if (endOffset == 0) { 92 WEB_ANIMATIONS_TESTING && console.assert(endOffset == 1); 102 endOffset: keyframes[endIndex].offset, property
|
/external/google-java-format/idea_plugin/src/com/google/googlejavaformat/intellij/ |
D | GoogleJavaFormatCodeStyleManager.java | 53 public void reformatText(PsiFile file, int startOffset, int endOffset) in reformatText() argument 56 formatInternal(file, ImmutableList.of(new TextRange(startOffset, endOffset))); in reformatText() 58 super.reformatText(file, startOffset, endOffset); in reformatText() 83 PsiElement element, int startOffset, int endOffset, boolean canChangeWhiteSpacesOnly) { in reformatRange() argument 89 formatInternal(file, ImmutableList.of(new TextRange(startOffset, endOffset))); in reformatRange() 92 return super.reformatRange(element, startOffset, endOffset, canChangeWhiteSpacesOnly); in reformatRange()
|
D | CodeStyleManagerDecorator.java | 73 public PsiElement reformatRange(PsiElement element, int startOffset, int endOffset) in reformatRange() argument 75 return delegate.reformatRange(element, startOffset, endOffset); in reformatRange() 80 PsiElement element, int startOffset, int endOffset, boolean canChangeWhiteSpacesOnly) in reformatRange() argument 82 return delegate.reformatRange(element, startOffset, endOffset, canChangeWhiteSpacesOnly); in reformatRange() 86 public void reformatText(PsiFile file, int startOffset, int endOffset) in reformatText() argument 88 delegate.reformatText(file, startOffset, endOffset); in reformatText()
|
/external/zstd/contrib/seekable_format/examples/ |
D | seekable_decompression.c | 87 static void decompressFile_orDie(const char* fname, off_t startOffset, off_t endOffset) in decompressFile_orDie() argument 100 while (startOffset < endOffset) { in decompressFile_orDie() 101 …size_t const result = ZSTD_seekable_decompress(seekable, buffOut, MIN(endOffset - startOffset, buf… in decompressFile_orDie() 133 off_t const endOffset = atoll(argv[3]); in main() local 134 decompressFile_orDie(inFilename, startOffset, endOffset); in main()
|
D | seekable_decompression_mem.c | 89 static void decompressFile_orDie(const char* fname, off_t startOffset, off_t endOffset) in decompressFile_orDie() argument 105 while (startOffset < endOffset) { in decompressFile_orDie() 106 …size_t const result = ZSTD_seekable_decompress(seekable, buffOut, MIN(endOffset - startOffset, buf… in decompressFile_orDie() 139 off_t const endOffset = atoll(argv[3]); in main() local 140 decompressFile_orDie(inFilename, startOffset, endOffset); in main()
|
/external/proguard/src/proguard/optimize/evaluation/ |
D | VariableOptimizer.java | 319 private int firstLiveness(int startOffset, int endOffset, int variableIndex) in firstLiveness() argument 321 for (int offset = startOffset; offset < endOffset; offset++) in firstLiveness() 330 return endOffset; in firstLiveness() 338 private int lastLiveness(int startOffset, int endOffset, int variableIndex) in lastLiveness() argument 340 int previousOffset = endOffset; in lastLiveness() 342 for (int offset = endOffset-1; offset >= startOffset; offset--) in lastLiveness() 355 return endOffset; in lastLiveness()
|
D | PartialEvaluator.java | 327 public boolean isTraced(int startOffset, int endOffset) in isTraced() argument 329 for (int index = startOffset; index < endOffset; index++) in isTraced() 564 int endOffset) in evaluateInstructionBlockAndExceptionHandlers() argument 577 endOffset); in evaluateInstructionBlockAndExceptionHandlers() 1001 int endOffset) in evaluateExceptionHandlers() argument 1003 …f (DEBUG) System.out.println("Evaluating exceptions covering ["+startOffset+" -> "+endOffset+"]:"); in evaluateExceptionHandlers() 1007 endOffset, in evaluateExceptionHandlers() 1021 endOffset, in evaluateExceptionHandlers() 1203 int endOffset, 1211 for (int index = startOffset; index < endOffset; index++)
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | FakeTrackOutput.java | 182 return sampleInfos.get(index).endOffset; in getSampleEndOffset() 192 long timeUs, int flags, int startOffset, int endOffset, @Nullable CryptoData cryptoData) { in addSampleInfo() argument 194 new DumpableSampleInfo(timeUs, flags, startOffset, endOffset, cryptoData, getSampleCount()); in addSampleInfo() 203 public final int endOffset; field in FakeTrackOutput.DumpableSampleInfo 211 int endOffset, in DumpableSampleInfo() argument 217 this.endOffset = endOffset; in DumpableSampleInfo() 228 .add("data", getSampleData(startOffset, endOffset)); in dump() 248 && endOffset == that.endOffset in equals() 258 result = 31 * result + endOffset; in hashCode()
|
/external/proguard/src/proguard/classfile/attribute/ |
D | CodeAttribute.java | 129 …public void instructionsAccept(Clazz clazz, Method method, int startOffset, int endOffset, Instruc… in instructionsAccept() argument 133 while (offset < endOffset) in instructionsAccept() 179 …public void exceptionsAccept(Clazz clazz, Method method, int startOffset, int endOffset, Exception… in exceptionsAccept() argument 184 if (exceptionInfo.isApplicable(startOffset, endOffset)) in exceptionsAccept()
|
D | ExceptionInfo.java | 82 public boolean isApplicable(int startOffset, int endOffset) in isApplicable() argument 84 return u2startPC < endOffset && in isApplicable()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
D | AnnotatedBytes.java | 224 Integer endOffset = annotatations.higherKey(offset); in formatAnnotation() local 225 return formatAnnotation(offset, endOffset, annotationMsg); in formatAnnotation() 228 private String formatAnnotation(int offset, Integer endOffset, String annotationMsg) { in formatAnnotation() argument 229 if (endOffset != null) { in formatAnnotation() 230 return String.format("[0x%x, 0x%x) \"%s\"", offset, endOffset, annotationMsg); in formatAnnotation()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/ |
D | SmalideaTryBlock.java | 49 int endOffset = catchStatement.getEndLabel().resolve().getOffset() / 2; in getCodeUnitCount() local 50 return endOffset - getStartCodeAddress(); in getCodeUnitCount()
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_xmf.c | 70 …TA_HANDLE hwInstData, S_XMF_DATA *pXMFData, EAS_I32 nodeOffset, EAS_I32 endOffset, EAS_I32 *pLengt… 600 …TA_HANDLE hwInstData, S_XMF_DATA *pXMFData, EAS_I32 nodeOffset, EAS_I32 endOffset, EAS_I32 *pLengt… in XMF_ReadNode() argument 617 remainingInlineBytes = endOffset - nodeOffset; in XMF_ReadNode() 626 if ((*pLength < 0) || (*pLength > endOffset - nodeOffset)) in XMF_ReadNode() 630 deltaBytes = endOffset - nodeOffset - *pLength; in XMF_ReadNode() 635 endOffset = nodeOffset + *pLength; in XMF_ReadNode() 666 remainingInlineBytes = endOffset - (nodeOffset + headerLength); in XMF_ReadNode() 728 …if ((result = XMF_ReadNode(hwInstData, pXMFData, offset, endOffset, &length, depth+1)) != EAS_SUCC… in XMF_ReadNode()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
D | DexBackedMethodImplementation.java | 72 final int endOffset = instructionsStartOffset + (instructionsSize*2); in getInstructions() local 79 if (reader.getOffset() >= endOffset) { in getInstructions() 87 if (offset > endOffset || offset < 0) { in getInstructions()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | StringExtensions.cs | 127 public static string substring(this string str, int startOffset, int endOffset) in substring() argument 129 return str.Substring( startOffset, endOffset - startOffset ); in substring()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/ |
D | MpegAudioReader.java | 134 int endOffset = source.limit(); in findHeader() local 135 for (int i = startOffset; i < endOffset; i++) { in findHeader() 149 source.setPosition(endOffset); in findHeader()
|
/external/proguard/src/proguard/optimize/peephole/ |
D | UnreachableExceptionRemover.java | 111 int endOffset) in mayThrowExceptions() argument 117 while (offset < endOffset) in mayThrowExceptions()
|