Home
last modified time | relevance | path

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

12

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DGetValuesTest.java119 int fieldIndex = 1; // !!! in testGetValues001() local
120 for (; fieldIndex < checkedFieldsNumber; fieldIndex++) { in testGetValues001()
121 checkedCommand.setNextValueAsFieldID(checkedFieldIDs[fieldIndex]); in testGetValues001()
147 fieldIndex = 1; // !!! in testGetValues001()
148 for (; fieldIndex < checkedFieldsNumber; fieldIndex++) { in testGetValues001()
152 ("\n=> Check for returned value for field: " + checkedFieldNames[fieldIndex] + " ..."); in testGetValues001()
156 assertEquals("Invalid value tag is returned,", expectedFieldTags[fieldIndex], fieldTag in testGetValues001()
157 , JDWPConstants.Tag.getName(expectedFieldTags[fieldIndex]) in testGetValues001()
DGetValues002Test.java120 int fieldIndex = 1; // !!! in testGetValues002() local
121 for (; fieldIndex < checkedFieldsNumber; fieldIndex++) { in testGetValues002()
122 checkedCommand.setNextValueAsFieldID(checkedFieldIDs[fieldIndex]); in testGetValues002()
149 fieldIndex = 1; // !!! in testGetValues002()
150 for (; fieldIndex < checkedFieldsNumber; fieldIndex++) { in testGetValues002()
154 ("\n=> Check for returned value for field: " + checkedFieldNames[fieldIndex] + " ..."); in testGetValues002()
158 assertEquals("Invalid value tag is returned,", expectedFieldTags[fieldIndex], fieldTag in testGetValues002()
159 , JDWPConstants.Tag.getName(expectedFieldTags[fieldIndex]) in testGetValues002()
DSetValues003Test.java114 int fieldIndex = 1; in testSetValues003() local
115 for (; fieldIndex < checkedFieldsNumber; fieldIndex++) { in testSetValues003()
116 checkedCommand.setNextValueAsFieldID(checkedFieldIDs[fieldIndex]); in testSetValues003()
117 switch ( fieldIndex ) { in testSetValues003()
DSetValuesTest.java117 int fieldIndex = 1; // !!! in testSetValues001() local
118 for (; fieldIndex < checkedFieldsNumber; fieldIndex++) { in testSetValues001()
119 checkedCommand.setNextValueAsFieldID(checkedFieldIDs[fieldIndex]); in testSetValues001()
120 switch ( fieldIndex ) { in testSetValues001()
DSetValues002Test.java116 int fieldIndex = 1; in testSetValues002() local
117 for (; fieldIndex < checkedFieldsNumber; fieldIndex++) { in testSetValues002()
118 checkedCommand.setNextValueAsFieldID(checkedFieldIDs[fieldIndex]); in testSetValues002()
119 switch ( fieldIndex ) { in testSetValues002()
DSetValues004Test.java121 int fieldIndex = 1; in testSetValues004() local
122 for (; fieldIndex < checkedFieldsNumber; fieldIndex++) { in testSetValues004()
123 checkedCommand.setNextValueAsFieldID(checkedFieldIDs[fieldIndex]); in testSetValues004()
DGetValues003Test.java122 int fieldIndex = 1; // !!! in testGetValues003() local
123 for (; fieldIndex < checkedFieldsNumber; fieldIndex++) { in testGetValues003()
124 checkedCommand.setNextValueAsFieldID(checkedFieldIDs[fieldIndex]); in testGetValues003()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DFieldIdItem.java70 public static String asString(@Nonnull DexBackedDexFile dexFile, int fieldIndex) {
71 int fieldOffset = dexFile.getFieldIdItemOffset(fieldIndex);
85 public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int fieldIndex) {
87 String fieldString = asString(dexFile, fieldIndex);
88 return String.format("field_id_item[%d]: %s", fieldIndex, fieldString);
92 return String.format("field_id_item[%d]", fieldIndex);
DEncodedValue.java96 int fieldIndex = reader.readSizedSmallUint(valueArg+1); in annotateEncodedValue() local
97 ….annotate(valueArg+1, "value = %s", FieldIdItem.getReferenceAnnotation(reader.dexBuf, fieldIndex)); in annotateEncodedValue()
106 fieldIndex = reader.readSizedSmallUint(valueArg+1); in annotateEncodedValue()
107 ….annotate(valueArg+1, "value = %s", FieldIdItem.getReferenceAnnotation(reader.dexBuf, fieldIndex)); in annotateEncodedValue()
DClassDataItem.java133 int fieldIndex = previousIndex + indexDelta; in makeAnnotator() local
135 FieldIdItem.getReferenceAnnotation(dexFile, fieldIndex)); in makeAnnotator()
141 return fieldIndex; in makeAnnotator()
DAnnotationDirectoryItem.java78 int fieldIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator() local
79 … out.annotate(4, "%s", FieldIdItem.getReferenceAnnotation(dexFile, fieldIndex)); in makeAnnotator()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedField.java54 public final int fieldIndex; field in DexBackedField
69 this.fieldIndex = fieldIndexDiff + previousFieldIndex; in DexBackedField()
72 this.annotationSetOffset = annotationIterator.seekTo(fieldIndex); in DexBackedField()
86 this.fieldIndex = fieldIndexDiff + previousFieldIndex; in DexBackedField()
89 this.annotationSetOffset = annotationIterator.seekTo(fieldIndex); in DexBackedField()
130 fieldIdItemOffset = dexFile.getFieldIdItemOffset(fieldIndex); in getFieldIdItemOffset()
DDexBackedDexFile.java178 public int getFieldIdItemOffset(int fieldIndex) {
179 if (fieldIndex < 0 || fieldIndex >= fieldCount) {
180 throw new InvalidItemIndex(fieldIndex, "Field index out of bounds: %d", fieldIndex);
182 return fieldStartOffset + fieldIndex*FieldIdItem.ITEM_SIZE;
DDexBackedClassDef.java185 previousIndex = item.fieldIndex;
244 previousIndex = item.fieldIndex;
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/value/
DDexBackedFieldEncodedValue.java44 private final int fieldIndex; field in DexBackedFieldEncodedValue
48 fieldIndex = reader.readSizedSmallUint(valueArg + 1); in DexBackedFieldEncodedValue()
52 return new DexBackedFieldReference(dexFile, fieldIndex); in getValue()
DDexBackedEnumEncodedValue.java44 private final int fieldIndex; field in DexBackedEnumEncodedValue
48 fieldIndex = reader.readSizedSmallUint(valueArg + 1); in DexBackedEnumEncodedValue()
52 return new DexBackedFieldReference(dexFile, fieldIndex); in getValue()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DSetValues002Test.java130 int fieldIndex = 1; in testSetValues002() local
131 for (; fieldIndex < checkedFieldsNumber; fieldIndex++) { in testSetValues002()
132 checkedCommand.setNextValueAsFieldID(checkedFieldIDs[fieldIndex]); in testSetValues002()
133 switch ( fieldIndex ) { in testSetValues002()
/external/proguard/src/proguard/classfile/editor/
DClassEditor.java154 int fieldIndex = findFieldIndex(field); in removeField() local
157 System.arraycopy(fields, fieldIndex+1, in removeField()
158 fields, fieldIndex, in removeField()
159 fieldsCount - fieldIndex - 1); in removeField()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/
DStructure.java215 public String getFieldName(int fieldIndex) { in getFieldName() argument
216 return fields[fieldIndex].name; in getFieldName()
225 public String getFieldType(int fieldIndex) { in getFieldType() argument
226 return fields[fieldIndex].type; in getFieldType()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/
DDexBackedFieldReference.java44 public DexBackedFieldReference(@Nonnull DexBackedDexFile dexFile, int fieldIndex) { in DexBackedFieldReference() argument
46 this.fieldIdItemOffset = dexFile.getFieldIdItemOffset(fieldIndex); in DexBackedFieldReference()
/external/icu/icu4c/source/layout/
DDeviceTables.cpp32 le_uint16 fieldIndex = sizeIndex % count; in getAdjustment() local
33 le_uint16 shift = 16 - (bits * (fieldIndex + 1)); in getAdjustment()
/external/icu/icu4c/source/i18n/
Dsmpdtfst.cpp104 UnicodeSet *SimpleDateFormatStaticSets::getIgnorables(UDateFormatField fieldIndex) in getIgnorables() argument
112 switch (fieldIndex) { in getIgnorables()
Dsmpdtfst.h37 static UnicodeSet *getIgnorables(UDateFormatField fieldIndex);
/external/clang/lib/CodeGen/
DCGExprConstant.cpp1337 unsigned fieldIndex = layout.getNonVirtualBaseLLVMFieldNo(base); in EmitNullConstant() local
1338 llvm::Type *baseType = structure->getElementType(fieldIndex); in EmitNullConstant()
1339 elements[fieldIndex] = EmitNullConstantForBase(CGM, baseType, base); in EmitNullConstant()
1347 unsigned fieldIndex = layout.getLLVMFieldNo(Field); in EmitNullConstant() local
1348 elements[fieldIndex] = CGM.EmitNullConstant(Field->getType()); in EmitNullConstant()
1366 unsigned fieldIndex = layout.getVirtualBaseIndex(base); in EmitNullConstant() local
1369 if (elements[fieldIndex]) continue; in EmitNullConstant()
1371 llvm::Type *baseType = structure->getElementType(fieldIndex); in EmitNullConstant()
1372 elements[fieldIndex] = EmitNullConstantForBase(CGM, baseType, base); in EmitNullConstant()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUCharacterName.java245 int fieldIndex= choice==UCharacterNameChoice.ISO_COMMENT_ ? 2 : choice; in getGroupName() local
251 } while(--fieldIndex>0); in getGroupName()
1261 int fieldIndex= choice==UCharacterNameChoice.ISO_COMMENT_ ? 2 : choice; in getGroupChar() local
1267 } while(--fieldIndex>0); in getGroupChar()

12