Home
last modified time | relevance | path

Searched refs:startOffset (Results 1 – 25 of 88) sorted by relevance

1234

/external/lzma/C/
DXzIn.c142 static SRes Xz_ReadBackward(CXzStream *p, ILookInStream *stream, Int64 *startOffset, ISzAlloc *allo… in Xz_ReadBackward() argument
147 if ((*startOffset & 3) != 0 || *startOffset < XZ_STREAM_FOOTER_SIZE) in Xz_ReadBackward()
149 *startOffset = -XZ_STREAM_FOOTER_SIZE; in Xz_ReadBackward()
150 RINOK(SeekFromCur(stream, startOffset)); in Xz_ReadBackward()
157 *startOffset += XZ_STREAM_FOOTER_SIZE; in Xz_ReadBackward()
163 if (*startOffset < XZ_STREAM_FOOTER_SIZE || total > (1 << 16)) in Xz_ReadBackward()
165 i = (*startOffset > TEMP_BUF_SIZE) ? TEMP_BUF_SIZE : (size_t)*startOffset; in Xz_ReadBackward()
167 *startOffset = -(Int64)i; in Xz_ReadBackward()
168 RINOK(SeekFromCur(stream, startOffset)); in Xz_ReadBackward()
177 *startOffset += i; in Xz_ReadBackward()
[all …]
/external/lzma/Java/Tukaani/src/org/tukaani/xz/
DBCJDecoder.java17 private final int startOffset; field in BCJDecoder
25 startOffset = 0; in BCJDecoder()
31 startOffset = n; in BCJDecoder()
46 simpleFilter = new X86(false, startOffset); in getInputStream()
48 simpleFilter = new PowerPC(false, startOffset); in getInputStream()
50 simpleFilter = new IA64(false, startOffset); in getInputStream()
52 simpleFilter = new ARM(false, startOffset); in getInputStream()
54 simpleFilter = new ARMThumb(false, startOffset); in getInputStream()
56 simpleFilter = new SPARC(false, startOffset); in getInputStream()
DBCJOptions.java14 int startOffset = 0; field in BCJOptions
25 public void setStartOffset(int startOffset) in setStartOffset() argument
27 if ((startOffset & (alignment - 1)) != 0) in setStartOffset()
31 this.startOffset = startOffset; in setStartOffset()
38 return startOffset; in getStartOffset()
DBCJEncoder.java19 int startOffset = options.getStartOffset(); in BCJEncoder() local
21 if (startOffset == 0) { in BCJEncoder()
26 props[i] = (byte)(startOffset >>> (i * 8)); in BCJEncoder()
DARMOptions.java26 return new SimpleOutputStream(out, new ARM(true, startOffset)); in getOutputStream()
30 return new SimpleInputStream(in, new ARM(false, startOffset)); in getInputStream()
DPowerPCOptions.java26 return new SimpleOutputStream(out, new PowerPC(true, startOffset)); in getOutputStream()
30 return new SimpleInputStream(in, new PowerPC(false, startOffset)); in getInputStream()
/external/tpm2/
DNVMem.c165 unsigned int startOffset, // IN: read start in _plat__NvMemoryRead() argument
170 assert(startOffset + size <= NV_MEMORY_SIZE); in _plat__NvMemoryRead()
172 memcpy(data, &s_NV[startOffset], size); in _plat__NvMemoryRead()
192 unsigned int startOffset, // IN: read start in _plat__NvIsDifferent() argument
197 return (memcmp(&s_NV[startOffset], data, size) != 0); in _plat__NvIsDifferent()
208 unsigned int startOffset, // IN: write start in _plat__NvMemoryWrite() argument
213 assert(startOffset + size <= NV_MEMORY_SIZE); in _plat__NvMemoryWrite()
215 memcpy(&s_NV[startOffset], data, size); in _plat__NvMemoryWrite()
/external/icu/icu4c/source/test/perf/ubrkperf/
Dubrkperf.cpp90 UniCharCount startOffset = 0, breakOffset = 0, numUniChars = textSize;
91 startOffset = 0;
94 while (startOffset < numUniChars)
97 startOffset, &breakOffset);
106 startOffset = breakOffset;
110 startOffset = 0;
112 while (startOffset < numUniChars)
115 startOffset, &breakOffset);
117 startOffset = breakOffset;
Dubrkperfold.cpp316 UniCharCount startOffset = 0, breakOffset = 0, numUniChars = textSize; in doForwardTest() local
317 startOffset = 0; in doForwardTest()
320 while (startOffset < numUniChars) in doForwardTest()
323 startOffset, &breakOffset); in doForwardTest()
332 startOffset = breakOffset; in doForwardTest()
336 startOffset = 0; in doForwardTest()
338 while (startOffset < numUniChars) in doForwardTest()
341 startOffset, &breakOffset); in doForwardTest()
343 startOffset = breakOffset; in doForwardTest()
/external/proguard/src/proguard/classfile/visitor/
DExceptionRangeFilter.java37 private final int startOffset; field in ExceptionRangeFilter
49 public ExceptionRangeFilter(int startOffset, in ExceptionRangeFilter() argument
53 this.startOffset = startOffset; in ExceptionRangeFilter()
63 if (exceptionInfo.isApplicable(startOffset, endOffset)) in visitExceptionInfo()
DExceptionHandlerFilter.java37 private final int startOffset; field in ExceptionHandlerFilter
49 public ExceptionHandlerFilter(int startOffset, in ExceptionHandlerFilter() argument
53 this.startOffset = startOffset; in ExceptionHandlerFilter()
64 if (handlerPC >= startOffset && in visitExceptionInfo()
/external/proguard/src/proguard/optimize/evaluation/
DPartialEvaluator.java327 public boolean isTraced(int startOffset, int endOffset) in isTraced() argument
329 for (int index = startOffset; index < endOffset; index++) in isTraced()
533 int startOffset) in pushCallingInstructionBlock() argument
537 startOffset)); in pushCallingInstructionBlock()
546 int startOffset) in pushInstructionBlock() argument
550 startOffset)); in pushInstructionBlock()
563 int startOffset, in evaluateInstructionBlockAndExceptionHandlers() argument
571 startOffset); in evaluateInstructionBlockAndExceptionHandlers()
576 startOffset, in evaluateInstructionBlockAndExceptionHandlers()
590 int startOffset) in evaluateInstructionBlock() argument
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
DAnnotationsDirectory.java211 private final int startOffset;
216 public AnnotationIteratorImpl(int startOffset, int size) {
217 this.startOffset = startOffset;
219 this.currentItemIndex = dexFile.readSmallUint(startOffset);
226 currentItemIndex = dexFile.readSmallUint(startOffset + (currentIndex*8));
230 return dexFile.readSmallUint(startOffset + (currentIndex*8)+4);
236 this.currentItemIndex = dexFile.readSmallUint(startOffset);
DVariableSizeListIterator.java44 private final int startOffset; field in VariableSizeListIterator
50 this.startOffset = offset; in VariableSizeListIterator()
88 reader.setOffset(startOffset); in previous()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DStringExtensions.cs121 public static string substring( this string str, int startOffset ) in substring() argument
123 return str.Substring( startOffset ); in substring()
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/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DStringExtensions.cs126 public static string substring( string str, int startOffset ) in substring() argument
128 return str.Substring( startOffset ); in substring()
131 public static string substring( string str, int startOffset, int endOffset ) in substring() argument
133 return str.Substring( startOffset, endOffset - startOffset ); in substring()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAnimation.java24 private long startOffset; field in ShadowAnimation
98 public void setStartOffset(long startOffset) { in setStartOffset() argument
99 this.startOffset = startOffset; in setStartOffset()
104 return startOffset; in getStartOffset()
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Dtiming-utilities.js175 function calculateScaledActiveTime(activeDuration, activeTime, startOffset, timing) { argument
176 …g.playbackRate < 0 ? activeTime - activeDuration : activeTime) * timing.playbackRate + startOffset;
179 …alculateIterationTime(iterationDuration, repeatedDuration, scaledActiveTime, startOffset, timing) { argument
180 … === Infinity || scaledActiveTime === -Infinity || (scaledActiveTime - startOffset == repeatedDura…
212 var startOffset = timing.iterationStart * timing.duration;
213 … var scaledActiveTime = calculateScaledActiveTime(activeDuration, activeTime, startOffset, timing);
214 …ateIterationTime(timing.duration, repeatedDuration(timing), scaledActiveTime, startOffset, timing);
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DStringRange.java247 int startOffset = startCps.length - endCps.length; in expand() local
249 if (requireSameLength && startOffset != 0) { in expand()
251 } else if (startOffset < 0) { in expand()
258 for (int i = 0; i < startOffset; ++i) { in expand()
261 add(0, startOffset, startCps, endCps, builder, output); in expand()
265 …private static void add(int endIndex, int startOffset, int[] starts, int[] ends, StringBuilder bui… in add() argument
266 int start = starts[endIndex+startOffset]; in add()
278 add(endIndex+1, startOffset, starts, ends, builder, output); in add()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DStringRange.java243 int startOffset = startCps.length - endCps.length; in expand() local
245 if (requireSameLength && startOffset != 0) { in expand()
247 } else if (startOffset < 0) { in expand()
254 for (int i = 0; i < startOffset; ++i) { in expand()
257 add(0, startOffset, startCps, endCps, builder, output); in expand()
261 …private static void add(int endIndex, int startOffset, int[] starts, int[] ends, StringBuilder bui… in add() argument
262 int start = starts[endIndex+startOffset]; in add()
274 add(endIndex+1, startOffset, starts, ends, builder, output); in add()
/external/lzma/CPP/7zip/Common/
DLimitedStreams.h49 HRESULT InitAndSeek(UInt64 startOffset, UInt64 size) in InitAndSeek() argument
51 _startOffset = startOffset; in InitAndSeek()
52 _physPos = startOffset; in InitAndSeek()
209 HRESULT InitAndSeek(UInt64 startOffset, UInt64 size) in InitAndSeek() argument
211 _startOffset = startOffset; in InitAndSeek()
212 _physPos = startOffset; in InitAndSeek()
/external/tpm2/include/tpm2/
DPlatform.h196 unsigned int startOffset, // IN: read start
214 unsigned int startOffset, // IN: read start
226 unsigned int startOffset, // IN: read start
/external/proguard/src/proguard/classfile/attribute/
DCodeAttribute.java129 …public void instructionsAccept(Clazz clazz, Method method, int startOffset, int endOffset, Instruc… in instructionsAccept() argument
131 int offset = startOffset; 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()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/value/
DDexBackedEncodedValue.java46 int startOffset = reader.getOffset(); in readFrom() local
108 …eptionWithContext.withContext(ex, "Error while reading encoded value at offset 0x%x", startOffset); in readFrom()
113 int startOffset = reader.getOffset(); in skipFrom() local
151 startOffset); in skipFrom()
/external/skia/src/gpu/
DGrRecordReplaceDraw.cpp153 int startOffset; in operator ()() local
155 startOffset = fOps[fIndex]; in operator ()()
157 startOffset = fIndex; in operator ()()
160 fOpIndexStack.push(startOffset); in operator ()()

1234