Home
last modified time | relevance | path

Searched refs:endOffset (Results 1 – 25 of 30) sorted by relevance

12

/external/flatbuffers/tests/FlatBuffers.Test/
DFlatBufferBuilderTests.cs37 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/proguard/src/proguard/classfile/visitor/
DExceptionRangeFilter.java38 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()
DExceptionHandlerFilter.java38 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/
DSmaliLexer.java47 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/proguard/src/proguard/optimize/evaluation/
DVariableOptimizer.java319 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()
DPartialEvaluator.java327 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++)
DLivenessAnalyzer.java394 int endOffset = exceptionInfo.u2endPC;
396 for (int offset = startOffset; offset < endOffset; offset++)
/external/proguard/src/proguard/classfile/attribute/
DCodeAttribute.java129 …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()
DExceptionInfo.java82 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/
DAnnotatedBytes.java224 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/
DSmalideaTryBlock.java49 int endOffset = catchStatement.getEndLabel().resolve().getOffset() / 2; in getCodeUnitCount() local
50 return endOffset - getStartCodeAddress(); in getCodeUnitCount()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSROA.cpp178 uint64_t endOffset() const { return EndOffset; } in endOffset() function in __anon927cd10b0111::Slice
201 if (endOffset() > RHS.endOffset()) in operator <()
218 beginOffset() == RHS.beginOffset() && endOffset() == RHS.endOffset(); in operator ==()
393 uint64_t endOffset() const { return EndOffset; } in endOffset() function in llvm::sroa::Partition
482 return S->endOffset() <= in advance()
488 return S->endOffset() == MaxSplitSliceEndOffset; in advance()
493 return S->endOffset() <= MaxSplitSliceEndOffset; in advance()
512 if (S.isSplittable() && S.endOffset() > P.EndOffset) { in advance()
515 std::max(S.endOffset(), MaxSplitSliceEndOffset); in advance()
545 P.EndOffset = P.SI->endOffset(); in advance()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedMethodImplementation.java72 final int endOffset = instructionsStartOffset + (instructionsSize*2); in getInstructions() local
79 if (reader.getOffset() >= endOffset) { in getInstructions()
87 if (offset > endOffset || offset < 0) { in getInstructions()
DOatFile.java301 int endOffset = offset + size;
303 while (offset < endOffset) {
305 while (offset < endOffset && buf[offset] != '\0') {
308 if (offset >= endOffset) {
316 while (offset < endOffset && buf[offset] != '\0') {
319 if (offset >= endOffset) {
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp138 uint64_t endOffset() const { return EndOffset; } in endOffset() function in __anon27ea43b30211::Slice
161 if (endOffset() > RHS.endOffset()) in operator <()
178 beginOffset() == RHS.beginOffset() && endOffset() == RHS.endOffset(); in operator ==()
347 uint64_t endOffset() const { return EndOffset; } in endOffset() function in llvm::sroa::Partition
437 [&](Slice *S) { return S->endOffset() <= P.EndOffset; }), in advance()
441 return S->endOffset() == MaxSplitSliceEndOffset; in advance()
446 return S->endOffset() <= MaxSplitSliceEndOffset; in advance()
465 if (S.isSplittable() && S.endOffset() > P.EndOffset) { in advance()
468 std::max(S.endOffset(), MaxSplitSliceEndOffset); in advance()
498 P.EndOffset = P.SI->endOffset(); in advance()
[all …]
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DStringExtensions.cs127 public static string substring(this string str, int startOffset, int endOffset) in substring() argument
129 return str.Substring( startOffset, endOffset - startOffset ); in substring()
/external/proguard/src/proguard/optimize/peephole/
DUnreachableExceptionRemover.java111 int endOffset) in mayThrowExceptions() argument
117 while (offset < endOffset) in mayThrowExceptions()
DReachableCodeMarker.java64 public boolean isReachable(int startOffset, int endOffset) in isReachable() argument
67 for (int offset = startOffset; offset < endOffset; offset++) in isReachable()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DStringExtensions.cs131 public static string substring( string str, int startOffset, int endOffset ) in substring() argument
133 return str.Substring( startOffset, endOffset - startOffset ); in substring()
/external/lzma/C/
DXzIn.c288 Int64 endOffset = 0; in Xzs_ReadBackward() local
289 RINOK(ILookInStream_Seek(stream, &endOffset, SZ_SEEK_END)); in Xzs_ReadBackward()
290 *startOffset = endOffset; in Xzs_ReadBackward()
315 …if (progress && ICompressProgress_Progress(progress, endOffset - *startOffset, (UInt64)(Int64)-1) … in Xzs_ReadBackward()
/external/proguard/src/proguard/optimize/info/
DExceptionInstructionChecker.java66 int endOffset) in mayThrowExceptions() argument
72 while (offset < endOffset) in mayThrowExceptions()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DMethodDefinition.java101 int endOffset = instructionOffsetMap.getInstructionCodeOffset(instructions.size()-1) + in MethodDefinition() local
121 targetOffset = endOffset; in MethodDefinition()
125 endOffset += payloadInstruction.getCodeUnits(); in MethodDefinition()
144 targetOffset = endOffset; in MethodDefinition()
148 endOffset += payloadInstruction.getCodeUnits(); in MethodDefinition()
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptEngine.java747 final int endOffset = dstsOffset + dstsLength;
855 for (int idx = dstsOffset; idx < endOffset; ++idx) {
1448 final int endOffset = srcsOffset + srcsLength;
1449 for (int i = srcsOffset; i < endOffset; ++i) {
1476 for (int i = srcsOffset; i < endOffset; ++i) {
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscryptEngine.java748 final int endOffset = dstsOffset + dstsLength;
856 for (int idx = dstsOffset; idx < endOffset; ++idx) {
1449 final int endOffset = srcsOffset + srcsLength;
1450 for (int i = srcsOffset; i < endOffset; ++i) {
1477 for (int i = srcsOffset; i < endOffset; ++i) {
/external/owasp/sanitizer/src/main/org/owasp/html/
DCssTokens.java130 public int endOffset() { in endOffset() method in CssTokens.TokenIterator
135 return normalizedCss.substring(startOffset(), endOffset()); in token()

12