Home
last modified time | relevance | path

Searched refs:segment (Results 1 – 11 of 11) sorted by relevance

/art/test/929-search/
Dsearch.cc34 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jstring segment) { in Java_Main_addToBootClassLoader() argument
35 ScopedUtfChars utf(env, segment); in Java_Main_addToBootClassLoader()
44 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jstring segment) { in Java_Main_addToSystemClassLoader() argument
45 ScopedUtfChars utf(env, segment); in Java_Main_addToSystemClassLoader()
/art/test/929-search/src/
DMain.java30 private static void doTest(boolean boot, String segment, String className) throws Exception { in doTest() argument
34 addToBootClassLoader(segment); in doTest()
37 addToSystemClassLoader(segment); in doTest()
42 throw new RuntimeException(className + "(" + boot + "/" + segment + "): " + in doTest()
/art/openjdkjvmti/
Dti_search.h46 static jvmtiError AddToBootstrapClassLoaderSearch(jvmtiEnv* env, const char* segment);
48 static jvmtiError AddToSystemClassLoaderSearch(jvmtiEnv* env, const char* segment);
50 static jvmtiError AddToDexClassLoader(jvmtiEnv* env, jobject classloader, const char* segment);
Dti_search.cc161 for (const std::string& segment : gSystemOnloadSegments) { in Update() local
165 str_value += segment; in Update()
224 const char* segment) { in AddToBootstrapClassLoaderSearch() argument
232 if (segment == nullptr) { in AddToBootstrapClassLoaderSearch()
239 if (!dex_file_loader.Open(segment, in AddToBootstrapClassLoaderSearch()
240 segment, in AddToBootstrapClassLoaderSearch()
245 JVMTI_LOG(WARNING, env) << "Could not open " << segment << " for boot classpath extension: " in AddToBootstrapClassLoaderSearch()
322 const char* segment) { in AddToDexClassLoader() argument
329 } else if (segment == nullptr) { in AddToDexClassLoader()
348 JVMTI_LOG(ERROR, jvmti_env) << "Unable to add " << segment << " to non BaseDexClassLoader!"; in AddToDexClassLoader()
[all …]
DOpenjdkJvmTi.cc1246 static jvmtiError AddToBootstrapClassLoaderSearch(jvmtiEnv* env, const char* segment) { in AddToBootstrapClassLoaderSearch() argument
1248 return SearchUtil::AddToBootstrapClassLoaderSearch(env, segment); in AddToBootstrapClassLoaderSearch()
1251 static jvmtiError AddToSystemClassLoaderSearch(jvmtiEnv* env, const char* segment) { in AddToSystemClassLoaderSearch() argument
1253 return SearchUtil::AddToSystemClassLoaderSearch(env, segment); in AddToSystemClassLoaderSearch()
/art/test/1964-add-to-dex-classloader-file/
Dadd_to_loader.cc31 const char* segment);
73 jstring segment) { in Java_Main_addToClassLoaderNative() argument
79 const char* chars = env->GetStringUTFChars(segment, nullptr); in Java_Main_addToClassLoaderNative()
86 env->ReleaseStringUTFChars(segment, chars); in Java_Main_addToClassLoaderNative()
/art/runtime/
Delf_file.cc1224 MemMap segment = in Load() local
1236 if (!segment.IsValid()) { in Load()
1241 if (segment.Begin() != p_vaddr) { in Load()
1244 i, file->GetPath().c_str(), p_vaddr, segment.Begin()); in Load()
1247 segments_.push_back(std::move(segment)); in Load()
1252 MemMap segment = MemMap::MapAnonymous(name.c_str(), in Load() local
1260 if (!segment.IsValid()) { in Load()
1265 if (segment.Begin() != p_vaddr) { in Load()
1268 i, file->GetPath().c_str(), p_vaddr, segment.Begin()); in Load()
1271 segments_.push_back(std::move(segment)); in Load()
[all …]
/art/test/1964-add-to-dex-classloader-file/src/
DMain.java206 public static native void addToClassLoaderNative(ClassLoader loader, String segment); in addToClassLoaderNative() argument
/art/tools/common/
Dcommon.py214 return ' '.join([shlex.quote(segment) for segment in cmd])
/art/runtime/interpreter/mterp/
DREADME.txt24 declarations for the segment type and alignment.
/art/openjdkjvmti/include/
Djvmti.h1751 const char* segment);
1760 const char* segment);
2468 jvmtiError AddToBootstrapClassLoaderSearch(const char* segment) { in AddToBootstrapClassLoaderSearch()
2469 return functions->AddToBootstrapClassLoaderSearch(this, segment); in AddToBootstrapClassLoaderSearch()
2472 jvmtiError AddToSystemClassLoaderSearch(const char* segment) { in AddToSystemClassLoaderSearch()
2473 return functions->AddToSystemClassLoaderSearch(this, segment); in AddToSystemClassLoaderSearch()