Home
last modified time | relevance | path

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

/art/tools/dexfuzz/src/dexfuzz/rawdex/
DEncodedAnnotation.java24 public AnnotationElement[] elements; field in EncodedAnnotation
31 elements = new AnnotationElement[size]; in read()
33 (elements[i] = new AnnotationElement()).read(file); in read()
43 for (AnnotationElement annotationElement : elements) { in write()
55 for (AnnotationElement element : elements) { in incrementIndex()
/art/tools/dexfuzz/src/dexfuzz/program/mutators/
DRandomInstructionGenerator.java77 public void parseString(String[] elements) { in parseString() argument
78 insertionIdx = Integer.parseInt(elements[2]); in parseString()
79 newOpcode = Integer.parseInt(elements[3]); in parseString()
80 hasConst = (elements[4].equals("T")); in parseString()
81 constValue = Long.parseLong(elements[5]); in parseString()
82 hasPoolIndex = (elements[6].equals("T")); in parseString()
83 poolIndexValue = Integer.parseInt(elements[7]); in parseString()
84 hasVregs = (elements[8].equals("T")); in parseString()
85 vregCount = Integer.parseInt(elements[9]); in parseString()
86 vregA = Integer.parseInt(elements[10]); in parseString()
[all …]
DNewMethodCaller.java75 public void parseString(String[] elements) { in parseString() argument
76 insertionIdx = Integer.parseInt(elements[2]); in parseString()
77 invokeType = InvokeType.values()[Integer.parseInt(elements[3])]; in parseString()
78 className = elements[4]; in parseString()
79 methodName = elements[5]; in parseString()
80 signature = elements[6]; in parseString()
81 numArgs = Integer.parseInt(elements[7]); in parseString()
84 args[i] = Integer.parseInt(elements[8 + i]); in parseString()
DTryBlockShifter.java57 public void parseString(String[] elements) { in parseString() argument
58 tryIdx = Integer.parseInt(elements[2]); in parseString()
59 shiftingTryBlock = elements[3].equals("T"); in parseString()
60 shiftingStart = elements[4].equals("T"); in parseString()
61 shiftingHandlerCatchall = elements[5].equals("T"); in parseString()
62 shiftingHandlerIdx = Integer.parseInt(elements[6]); in parseString()
63 newShiftedInsnIdx = Integer.parseInt(elements[7]); in parseString()
DSwitchBranchShifter.java51 public void parseString(String[] elements) { in parseString() argument
52 switchInsnIdx = Integer.parseInt(elements[2]); in parseString()
53 switchTargetIdx = Integer.parseInt(elements[3]); in parseString()
54 newTargetIdx = Integer.parseInt(elements[4]); in parseString()
DVRegChanger.java51 public void parseString(String[] elements) { in parseString() argument
52 vregInsnIdx = Integer.parseInt(elements[2]); in parseString()
53 mutatingVreg = Integer.parseInt(elements[3]); in parseString()
54 newVregValue = Integer.parseInt(elements[4]); in parseString()
DInstructionSwapper.java47 public void parseString(String[] elements) { in parseString() argument
48 swapInsnIdx = Integer.parseInt(elements[2]); in parseString()
49 swapWithInsnIdx = Integer.parseInt(elements[3]); in parseString()
DBranchShifter.java49 public void parseString(String[] elements) { in parseString() argument
50 branchInsnIdx = Integer.parseInt(elements[2]); in parseString()
51 newTargetIdx = Integer.parseInt(elements[3]); in parseString()
DConstantValueChanger.java49 public void parseString(String[] elements) { in parseString() argument
50 constInsnIdx = Integer.parseInt(elements[2]); in parseString()
51 newConstant = Long.parseLong(elements[3]); in parseString()
DFieldFlagChanger.java52 public void parseString(String[] elements) { in parseString() argument
53 fieldInsnIdx = Integer.parseInt(elements[2]); in parseString()
54 setVolatile = Boolean.parseBoolean(elements[3]); in parseString()
DNonsenseStringPrinter.java49 public void parseString(String[] elements) { in parseString() argument
50 insertionIdx = Integer.parseInt(elements[2]); in parseString()
51 nonsenseString = elements[3]; in parseString()
DPoolIndexChanger.java50 public void parseString(String[] elements) { in parseString() argument
51 poolIndexInsnIdx = Integer.parseInt(elements[2]); in parseString()
52 newPoolIndex = Integer.parseInt(elements[3]); in parseString()
DInstructionDuplicator.java44 public void parseString(String[] elements) { in parseString() argument
45 insnToDuplicateIdx = Integer.parseInt(elements[2]); in parseString()
DInstructionDeleter.java44 public void parseString(String[] elements) { in parseString() argument
45 insnToDeleteIdx = Integer.parseInt(elements[2]); in parseString()
DCmpBiasChanger.java46 public void parseString(String[] elements) { in parseString() argument
47 cmpBiasInsnIdx = Integer.parseInt(elements[2]); in parseString()
DConversionRepeater.java46 public void parseString(String[] elements) { in parseString() argument
47 conversionInsnIdx = Integer.parseInt(elements[2]); in parseString()
DArithOpChanger.java51 public void parseString(String[] elements) { in parseString() argument
52 arithmeticInsnIdx = Integer.parseInt(elements[2]); in parseString()
53 newOpcode = Integer.parseInt(elements[3]); in parseString()
DValuePrinter.java45 public void parseString(String[] elements) { in parseString() argument
46 printedOutputIdx = Integer.parseInt(elements[2]); in parseString()
/art/runtime/
Dlinear_alloc.h38 T* AllocArray(Thread* self, size_t elements) { in AllocArray() argument
39 return reinterpret_cast<T*>(Alloc(self, elements * sizeof(T))); in AllocArray()
Djni_internal_test.cc397 jboolean* elements = env_->GetBooleanArrayElements(array, &is_copy); in ReleasePrimitiveArrayElementsOfWrongType() local
398 ASSERT_TRUE(elements != nullptr); in ReleasePrimitiveArrayElementsOfWrongType()
400 reinterpret_cast<jbyte*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType()
405 reinterpret_cast<jshort*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType()
410 reinterpret_cast<jchar*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType()
415 reinterpret_cast<jint*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType()
420 reinterpret_cast<jlong*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType()
425 reinterpret_cast<jfloat*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType()
430 reinterpret_cast<jdouble*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType()
436 env_->ReleaseBooleanArrayElements(array, elements, 0); in ReleasePrimitiveArrayElementsOfWrongType()
[all …]
Djni_internal.cc1904 static void ReleasePrimitiveArrayCritical(JNIEnv* env, jarray java_array, void* elements, in ReleasePrimitiveArrayCritical() argument
1915 ReleasePrimitiveArray(soa, array, component_size, elements, mode); in ReleasePrimitiveArrayCritical()
1950 static void ReleaseBooleanArrayElements(JNIEnv* env, jbooleanArray array, jboolean* elements, in ReleaseBooleanArrayElements() argument
1952 ReleasePrimitiveArray<jbooleanArray, jboolean, mirror::BooleanArray>(env, array, elements, in ReleaseBooleanArrayElements()
1956 static void ReleaseByteArrayElements(JNIEnv* env, jbyteArray array, jbyte* elements, jint mode) { in ReleaseByteArrayElements() argument
1957 ReleasePrimitiveArray<jbyteArray, jbyte, mirror::ByteArray>(env, array, elements, mode); in ReleaseByteArrayElements()
1960 static void ReleaseCharArrayElements(JNIEnv* env, jcharArray array, jchar* elements, jint mode) { in ReleaseCharArrayElements() argument
1961 ReleasePrimitiveArray<jcharArray, jchar, mirror::CharArray>(env, array, elements, mode); in ReleaseCharArrayElements()
1964 static void ReleaseDoubleArrayElements(JNIEnv* env, jdoubleArray array, jdouble* elements, in ReleaseDoubleArrayElements() argument
1966 ReleasePrimitiveArray<jdoubleArray, jdouble, mirror::DoubleArray>(env, array, elements, mode); in ReleaseDoubleArrayElements()
[all …]
/art/tools/dexfuzz/src/dexfuzz/program/
DMutation.java45 public abstract void parseString(String[] elements); in parseString() argument
/art/runtime/base/
Dbit_utils_test.cc322 void CheckElements(const std::initializer_list<uint32_t>& expected, const Container& elements) { in CheckElements() argument
324 auto element_it = elements.begin(); in CheckElements()
326 while (expected_it != expected.end() && element_it != elements.end()) { in CheckElements()
332 ASSERT_TRUE(expected_it == expected.end() && element_it == elements.end()) in CheckElements()
333 << std::boolalpha << (expected_it == expected.end()) << " " << (element_it == elements.end()); in CheckElements()
/art/compiler/dex/quick/mips/
Dcall_mips.cc80 int elements = table[1]; in GenLargeSparseSwitch() local
84 int byte_size = elements * 8; in GenLargeSparseSwitch()
/art/tools/dexfuzz/
DREADME123 JNI elements are not supported at all currently.