Home
last modified time | relevance | path

Searched refs:fieldOffset (Results 1 – 25 of 27) sorted by relevance

12

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/instruction/
DBuilderInstruction22cs.java49 protected final int fieldOffset; field in BuilderInstruction22cs
54 int fieldOffset) { in BuilderInstruction22cs() argument
58 this.fieldOffset = fieldOffset; in BuilderInstruction22cs()
63 @Override public int getFieldOffset() { return fieldOffset; } in getFieldOffset()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/
DImmutableInstruction22cs.java46 protected final int fieldOffset; field in ImmutableInstruction22cs
51 int fieldOffset) { in ImmutableInstruction22cs() argument
55 this.fieldOffset = Preconditions.checkFieldOffset(fieldOffset); in ImmutableInstruction22cs()
71 @Override public int getFieldOffset() { return fieldOffset; } in getFieldOffset()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DClassProto.java436 public FieldReference getFieldByOffset(int fieldOffset) { in getFieldByOffset() argument
440 return getInstanceFields().get(fieldOffset); in getFieldByOffset()
593 int fieldOffset;
600 fieldOffset = instanceFields.keyAt(superFieldCount-1);
605 fieldOffset += 8;
607 fieldOffset += 4;
611 fieldOffset = 8;
620 if (fieldOffset % 8 != 0) {
621 assert fieldOffset % 8 == 4;
622 fieldOffset += 4;
[all …]
DUnknownClassProto.java73 public FieldReference getFieldByOffset(int fieldOffset) { in getFieldByOffset() argument
74 return classPath.getClass("Ljava/lang/Object;").getFieldByOffset(fieldOffset); in getFieldByOffset()
DArrayProto.java155 public FieldReference getFieldByOffset(int fieldOffset) { in getFieldByOffset() argument
156 if (fieldOffset==8) { in getFieldByOffset()
DTypeProto.java48 @Nullable FieldReference getFieldByOffset(int fieldOffset); in getFieldByOffset() argument
DPrimitiveProto.java63 public FieldReference getFieldByOffset(int fieldOffset) { in getFieldByOffset() argument
DMethodAnalyzer.java1680 int fieldOffset = instruction.getFieldOffset();
1692 FieldReference resolvedField = classTypeProto.getFieldByOffset(fieldOffset);
1696 objectRegisterType.type.getType(), fieldOffset);
1718 …eference newResolvedField = classPath.getClass(fieldClass.getType()).getFieldByOffset(fieldOffset);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DPreconditions.java157 public static int checkFieldOffset(int fieldOffset) { in checkFieldOffset() argument
158 if (fieldOffset < 0 || fieldOffset > 65535) { in checkFieldOffset()
161 fieldOffset)); in checkFieldOffset()
163 return fieldOffset; in checkFieldOffset()
/external/skia/experimental/docs/
DanimationCommon.js132 var targetField, targetObject, fieldOffset;
134 fieldOffset = targetSpec.lastIndexOf("[");
135 assert(fieldOffset >= 0);
136 targetField = targetSpec.substring(fieldOffset + 1, targetSpec.length - 1);
143 fieldOffset = targetSpec.lastIndexOf(".");
144 if (fieldOffset >= 0) {
145 targetField = targetSpec.substring(fieldOffset + 1, targetSpec.length);
151 if (fieldOffset >= 0) {
152 var sub = targetSpec.substring(0, fieldOffset);
/external/skqp/experimental/docs/
DanimationCommon.js132 var targetField, targetObject, fieldOffset;
134 fieldOffset = targetSpec.lastIndexOf("[");
135 assert(fieldOffset >= 0);
136 targetField = targetSpec.substring(fieldOffset + 1, targetSpec.length - 1);
143 fieldOffset = targetSpec.lastIndexOf(".");
144 if (fieldOffset >= 0) {
145 targetField = targetSpec.substring(fieldOffset + 1, targetSpec.length);
151 if (fieldOffset >= 0) {
152 var sub = targetSpec.substring(0, fieldOffset);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DFieldIdItem.java71 int fieldOffset = dexFile.getFieldIdItemOffset(fieldIndex);
72 int classIndex = dexFile.readUshort(fieldOffset + CLASS_OFFSET);
75 int typeIndex = dexFile.readUshort(fieldOffset + TYPE_OFFSET);
78 int nameIndex = dexFile.readSmallUint(fieldOffset + NAME_OFFSET);
DCodeItem.java336 int fieldOffset = ((FieldOffsetInstruction)instruction).getFieldOffset(); in makeAnnotator() local
337 args.add(String.format("field@0x%x", fieldOffset)); in makeAnnotator()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageSchema.java444 final int fieldOffset; in newSchemaForRawMessageInfo() local
487 fieldOffset = (int) unsafe.objectFieldOffset(oneofField); in newSchemaForRawMessageInfo()
522 fieldOffset = (int) unsafe.objectFieldOffset(field); in newSchemaForRawMessageInfo()
556 intArray[repeatedFieldIndex++] = fieldOffset; in newSchemaForRawMessageInfo()
565 | fieldOffset; in newSchemaForRawMessageInfo()
723 final int fieldOffset; in storeFieldData() local
731 fieldOffset = (int) UnsafeUtil.objectFieldOffset(oneof.getValueField()); in storeFieldData()
736 fieldOffset = (int) UnsafeUtil.objectFieldOffset(fi.getField()); in storeFieldData()
757 | fieldOffset; in storeFieldData()
4484 long fieldOffset, in parseRepeatedField() argument
[all …]
DUnsafeUtil.java73 private static final long BUFFER_ADDRESS_OFFSET = fieldOffset(bufferAddressField());
470 private static long fieldOffset(Field field) { in fieldOffset() method in UnsafeUtil
/external/skqp/src/sksl/
DSkSLMetalCodeGenerator.cpp879 int fieldOffset = field.fModifiers.fLayout.fOffset; in writeFields() local
881 if (fieldOffset != -1) { in writeFields()
882 if (currentOffset > fieldOffset) { in writeFields()
886 } else if (currentOffset < fieldOffset) { in writeFields()
890 this->write(to_string(fieldOffset - currentOffset)); in writeFields()
892 currentOffset = fieldOffset; in writeFields()
895 if (fieldOffset % alignment) { in writeFields()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DOatFile.java287 int fieldOffset = keyValueStoreOffset - 4;
288 return readSmallUint(headerOffset + fieldOffset);
/external/skia/src/sksl/codegen/
DSkSLMetalCodeGenerator.cpp1749 int fieldOffset = field.fModifiers.fLayout.fOffset; in writeFields() local
1755 if (fieldOffset != -1) { in writeFields()
1756 if (currentOffset > fieldOffset) { in writeFields()
1761 } else if (currentOffset < fieldOffset) { in writeFields()
1765 this->write(to_string(fieldOffset - currentOffset)); in writeFields()
1767 currentOffset = fieldOffset; in writeFields()
1770 if (fieldOffset % alignment) { in writeFields()
/external/protobuf/objectivec/
DGPBMessage.m2669 size_t fieldOffset = field->description_->offset;
2676 BOOL selfValue = GPBGetHasIvar(self, (int32_t)(fieldOffset), 0);
2677 BOOL otherValue = GPBGetHasIvar(other, (int32_t)(fieldOffset), 0);
2692 uint32_t *selfValPtr = (uint32_t *)&selfStorage[fieldOffset];
2693 uint32_t *otherValPtr = (uint32_t *)&otherStorage[fieldOffset];
2707 uint64_t *selfValPtr = (uint64_t *)&selfStorage[fieldOffset];
2708 uint64_t *otherValPtr = (uint64_t *)&otherStorage[fieldOffset];
2719 id *selfValPtr = (id *)&selfStorage[fieldOffset];
2720 id *otherValPtr = (id *)&otherStorage[fieldOffset];
2784 size_t fieldOffset = field->description_->offset;
[all …]
/external/clang/lib/CodeGen/
DCGObjCMac.cpp2122 CharUnits fieldOffset = capture.getOffset(); in visitBlock() local
2126 if (fieldOffset < lastFieldOffset) in visitBlock()
2128 lastFieldOffset = fieldOffset; in visitBlock()
2132 IvarsInfo.push_back(IvarInfo(fieldOffset, /*size in words*/ 1)); in visitBlock()
2138 visitRecord(record, fieldOffset); in visitBlock()
2147 IvarsInfo.push_back(IvarInfo(fieldOffset, /*size in words*/ 1)); in visitBlock()
2619 CharUnits fieldOffset = in BuildRCBlockLayout() local
2625 BuildRCBlockVarRecordLayout(record, fieldOffset, hasUnion); in BuildRCBlockLayout()
2634 fieldOffset, fieldSize); in BuildRCBlockLayout()
2643 CharUnits fieldOffset; in BuildByrefLayout() local
[all …]
DCGExprConstant.cpp1500 uint64_t fieldOffset = getContext().getFieldOffset(decl); in getMemberPointerConstant() local
1501 CharUnits chars = getContext().toCharUnitsFromBits((int64_t) fieldOffset); in getMemberPointerConstant()
/external/llvm-project/clang/lib/CodeGen/
DCGObjCMac.cpp2424 CharUnits fieldOffset = capture.getOffset(); in visitBlock() local
2428 if (fieldOffset < lastFieldOffset) in visitBlock()
2430 lastFieldOffset = fieldOffset; in visitBlock()
2434 IvarsInfo.push_back(IvarInfo(fieldOffset, /*size in words*/ 1)); in visitBlock()
2440 visitRecord(record, fieldOffset); in visitBlock()
2449 IvarsInfo.push_back(IvarInfo(fieldOffset, /*size in words*/ 1)); in visitBlock()
2953 CharUnits fieldOffset = in fillRunSkipBlockVars() local
2959 BuildRCBlockVarRecordLayout(record, fieldOffset, hasUnion); in fillRunSkipBlockVars()
2968 fieldOffset, fieldSize); in fillRunSkipBlockVars()
2990 CharUnits fieldOffset; in BuildByrefLayout() local
[all …]
DCGExprConstant.cpp2193 uint64_t fieldOffset = getContext().getFieldOffset(decl); in getMemberPointerConstant() local
2194 CharUnits chars = getContext().toCharUnitsFromBits((int64_t) fieldOffset); in getMemberPointerConstant()
/external/flatbuffers/dart/lib/
Dflat_buffers.dart1221 int fieldOffset = fieldTail == null ? 0 : tableTail - fieldTail;
1222 fieldOffsets.add(fieldOffset);
1236 for (int fieldOffset in fieldOffsets) {
1237 buf.setUint16(bufOffset, fieldOffset, Endian.little);
/external/swiftshader/src/OpenGL/compiler/
DOutputASM.cpp2767 int fieldOffset = 0; in lvalue() local
2771 fieldOffset += fields[i]->type()->totalRegisterCount(); in lvalue()
2774 offset += fieldOffset; in lvalue()

12