Home
last modified time | relevance | path

Searched refs:elems (Results 1 – 5 of 5) sorted by relevance

/art/compiler/debug/
Dsrc_map_elem_test.cc27 SrcMapElem elems[] = { in TEST() local
37 for (size_t i = 0; i != arraysize(elems); ++i) { in TEST()
38 for (size_t j = 0; j != arraysize(elems); ++j) { in TEST()
40 EXPECT_EQ(expected, elems[i] == elems[j]) << i << " " << j; in TEST()
44 for (size_t i = 0; i != arraysize(elems); ++i) { in TEST()
45 for (size_t j = 0; j != arraysize(elems); ++j) { in TEST()
47 EXPECT_EQ(expected, elems[i] < elems[j]) << i << " " << j; in TEST()
/art/test/ti-agent/
Dsuspension_helper.cc59 jint* elems = env->GetIntArrayElements(ret, nullptr); in Java_art_Suspension_resumeList() local
63 reinterpret_cast<jvmtiError*>(elems))); in Java_art_Suspension_resumeList()
64 env->ReleaseIntArrayElements(ret, elems, 0); in Java_art_Suspension_resumeList()
80 jint* elems = env->GetIntArrayElements(ret, nullptr); in Java_art_Suspension_suspendList() local
84 reinterpret_cast<jvmtiError*>(elems))); in Java_art_Suspension_suspendList()
85 env->ReleaseIntArrayElements(ret, elems, 0); in Java_art_Suspension_suspendList()
/art/tools/dexfuzz/src/dexfuzz/program/
DIdCreator.java502 String[] elems = signature.substring(1).split("\\)"); in convertSignatureToParametersAndReturnType() local
503 return elems; in convertSignatureToParametersAndReturnType()
507 String[] elems = convertSignatureToParametersAndReturnType(signature); in convertSignatureToParameterList() local
509 if (elems.length == 2) { in convertSignatureToParameterList()
510 parameters = elems[0]; in convertSignatureToParameterList()
517 if (elems[0].charAt(typePointer) == 'L') { in convertSignatureToParameterList()
520 while (elems[0].charAt(typePointer) != ';') { in convertSignatureToParameterList()
534 String[] elems = convertSignatureToParametersAndReturnType(signature); in convertSignatureToReturnType() local
536 if (elems.length == 1) { in convertSignatureToReturnType()
537 returnType = elems[0]; in convertSignatureToReturnType()
[all …]
/art/runtime/metrics/
Dreporter.cc314 std::vector<std::string> elems; in Parse() local
315 Split(spec_str, ',', &elems); in Parse()
320 spec->report_startup_first = elems.front() == "S"; in Parse()
321 spec->continuous_reporting = elems.back() == "*"; in Parse()
325 size_t end_interval_idx = spec->continuous_reporting ? (elems.size() - 1) : elems.size(); in Parse()
337 if (!android::base::ParseUint(elems[i], &period)) { in Parse()
/art/runtime/jni/
Dcheck_jni.cc2672 …static void Release##name##ArrayElements(JNIEnv* env, ctype##Array array, ctype* elems, /* NOLINT …
2674 ReleasePrimitiveArrayElements(__FUNCTION__, ptype, env, array, elems, mode); \
3673 JNIEnv* env, jarray array, void* elems, jint mode) { in ReleasePrimitiveArrayElements() argument
3677 if (sc.CheckNonNull(elems) && sc.CheckPrimitiveArrayType(soa, array, type)) { in ReleasePrimitiveArrayElements()
3679 elems = GuardedCopy::ReleaseGuardedPACopy(function_name, env, array, elems, mode); in ReleasePrimitiveArrayElements()
3681 if (!soa.ForceCopy() || elems != nullptr) { in ReleasePrimitiveArrayElements()
3682 JniValueType args[4] = {{.E = env}, {.a = array}, {.p = elems}, {.r = mode}}; in ReleasePrimitiveArrayElements()
3687 reinterpret_cast<jboolean*>(elems), mode); in ReleasePrimitiveArrayElements()
3691 reinterpret_cast<jbyte*>(elems), mode); in ReleasePrimitiveArrayElements()
3695 reinterpret_cast<jchar*>(elems), mode); in ReleasePrimitiveArrayElements()
[all …]