/external/emma/core/java12/com/vladium/util/ |
ResourceLoader.java | 37 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller); local 39 return Class.forName (name, false, loader); 48 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller); local 50 if (loader != null) 51 return loader.getResource (name); 62 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller); local 64 if (loader != null) 65 return loader.getResourceAsStream (name); 77 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller); local 79 if (loader != null [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ClassLoaderUtil.java | 16 * even a class is loaded through the bootstrap class loader of JRE. 26 // bootstrap class loader. Note that we probably do not reach 34 // class loader. 43 * This class loader might be necessary when ICU4J classes are 44 * initialized by bootstrap class loader. 71 * Returns the class loader used for loading the specified class. 73 * @return the class loader 84 * Returns a fallback class loader. 85 * @return A class loader 94 // In this case, we want to use the bootstrap class loader [all...] |
/external/javassist/src/main/javassist/ |
Translator.java | 19 * An observer of <code>Loader</code>. 22 * <code>Loader</code> object so that it can translate a class file 25 * @see Loader#addTranslator(ClassPool, Translator) 29 * Is invoked by a <code>Loader</code> for initialization 30 * when the object is attached to the <code>Loader</code> object. 37 * @see Loader 46 * Is invoked by a <code>Loader</code> for notifying that 47 * a class is loaded. The <code>Loader</code> calls 57 * the <code>Loader</code> can read it after <code>onLoad()</code> 63 * @see Loader [all...] |
LoaderClassPath.java | 23 * A class search-path representing a class loader. 26 * class loader by <code>getResourceAsStream()</code>. 27 * The <code>LoaderClassPath</code> refers to the class loader through 28 * <code>WeakReference</code>. If the class loader is garbage collected, 31 * <p>The given class loader must have both <code>getResourceAsStream()</code> 45 * Creates a search path representing a class loader. 60 * Obtains a class file from the class loader. 62 * on the class loader. 76 * on the class loader.
|
Loader.java | 24 * The class loader for Javassist. 26 * <p>This is a sample class loader using <code>ClassPool</code>. 27 * Unlike a regular class loader, this class loader obtains bytecode 30 * <p>Note that Javassist can be used without this class loader; programmers 31 * can define their own versions of class loader. They can run 32 * a program even without any user-defined class loader if that program 34 * This class loader is just provided as a utility class. 49 * Loader cl = new Loader(cp) [all...] |
/external/javassist/src/main/javassist/tools/reflect/ |
Loader.java | 23 * A class loader for reflection. 32 * javassist.tools.reflect.Loader cl 33 * = (javassist.tools.reflect.Loader)Main.class.getClassLoader(); 43 * <ul><pre>% java javassist.tools.reflect.Loader Main arg1, ...</pre></ul> 57 * javassist.tools.reflect.Loader cl = new javassist.tools.reflect.Loader(); 70 * is loaded by <code>javassist.tools.reflect.Loader</code> whereas the class 74 * to the same name space as <code>javassist.tools.reflect.Loader</code>. 76 * see the notes in the manual page of <code>javassist.Loader</code>. 84 * javassist.Loader c [all...] |
/external/deqp/framework/opengl/wrapper/ |
glwInitFunctions.cpp | 35 void initES20 (Functions* gl, const FunctionLoader* loader) 40 void initES30 (Functions* gl, const FunctionLoader* loader) 45 void initES31 (Functions* gl, const FunctionLoader* loader) 50 void initGL30Core (Functions* gl, const FunctionLoader* loader) 55 void initGL31Core (Functions* gl, const FunctionLoader* loader) 60 void initGL32Core (Functions* gl, const FunctionLoader* loader) 65 void initGL33Core (Functions* gl, const FunctionLoader* loader) 70 void initGL40Core (Functions* gl, const FunctionLoader* loader) 75 void initGL41Core (Functions* gl, const FunctionLoader* loader) 80 void initGL42Core (Functions* gl, const FunctionLoader* loader) [all...] |
glwInitFunctions.hpp | 33 void initES20 (Functions* gl, const FunctionLoader* loader); //!< Load all OpenGL ES 2.0 functions. 34 void initES30 (Functions* gl, const FunctionLoader* loader); //!< Load all OpenGL ES 3.0 functions. 35 void initES31 (Functions* gl, const FunctionLoader* loader); //!< Load all OpenGL ES 3.1 functions. 37 void initGL30Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 3.0 core functions. 38 void initGL31Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 3.1 core functions. 39 void initGL32Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 3.2 core functions. 40 void initGL33Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 3.3 core functions. 41 void initGL40Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 4.0 core functions. 42 void initGL41Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 4.1 core functions. 43 void initGL42Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 4.2 core functions [all...] |
/external/jetty/src/java/org/eclipse/jetty/util/ |
Loader.java | 40 * Class c=Loader.loadClass(this.getClass(),classname); 46 public class Loader 52 ClassLoader loader=Thread.currentThread().getContextClassLoader(); local 53 while (url==null && loader!=null ) 55 url=loader.getResource(name); 56 loader=(url==null&&checkParents)?loader.getParent():null; 59 loader=loadClass==null?null:loadClass.getClassLoader(); 60 while (url==null && loader!=null ) 62 url=loader.getResource(name); 97 ClassLoader loader=Thread.currentThread().getContextClassLoader(); local 132 ClassLoader loader=Thread.currentThread().getContextClassLoader(); local [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
ConversationListData.java | 21 import android.content.Loader; 84 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) { 86 Loader<Cursor> loader = null; local 91 loader = new BoundCursorLoader(bindingId, mContext, 97 loader = new BoundCursorLoader(bindingId, mContext, 105 Assert.fail("Unknown loader id"); 109 LogUtil.w(TAG, "Creating loader after unbinding list"); 111 return loader; 118 public void onLoadFinished(final Loader<Cursor> generic, final Cursor data) 119 final BoundCursorLoader loader = (BoundCursorLoader) generic; local 148 final BoundCursorLoader loader = (BoundCursorLoader) generic; local [all...] |
ContactPickerData.java | 21 import android.content.Loader; 65 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) { 81 Assert.fail("Unknown loader id for contact picker!"); 85 LogUtil.w(LogUtil.BUGLE_TAG, "Loader created after unbinding the contacts list"); 94 public void onLoadFinished(final Loader<Cursor> loader, final Cursor data) { 95 final BoundCursorLoader cursorLoader = (BoundCursorLoader) loader; 97 switch (loader.getId()) { 109 Assert.fail("Unknown loader id for contact picker!"); 113 if (loader.getId() != PARTICIPANT_LOADER) [all...] |
/external/guava/guava/src/com/google/common/base/ |
FinalizableReferenceQueue.java | 99 * If this library is loaded in the system class loader, FinalizableReferenceQueue can load 102 * If this library is loaded in an application class loader, it's important that Finalizer not 103 * have a strong reference back to the class loader. Otherwise, you could have a graph like this: 105 * Finalizer Thread runs instance of -> Finalizer.class loaded by -> Application class loader 108 * Even if no other references to classes from the application class loader remain, the Finalizer 110 * Finalizer running, and as a result, the application class loader can never be reclaimed. 114 * If the library is loaded in an application class loader, we try to break the cycle by loading 115 * Finalizer in its own independent class loader: 117 * System class loader -> Application class loader -> ReferenceMap -> FinalizableReferenceQueu [all...] |
/external/javassist/sample/reflect/ |
Main.java | 3 import javassist.tools.reflect.Loader;
10 would be specified by some configuration file), the class loader
17 % java javassist.tools.reflect.Loader sample.reflect.Main Joe
25 Loader cl = (Loader)Main.class.getClassLoader();
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
MmsManager.java | 77 * Set the optional carrier config values loader 82 * @param loader the carrier config values loader 84 public static void setCarrierConfigValuesLoader(CarrierConfigValuesLoader loader) { 85 if (loader == null) { 86 throw new IllegalArgumentException("Carrier configuration loader can not be empty"); 89 MmsService.setCarrierConfigValuesLoader(loader); 95 * Set the optional APN settings loader 99 * @param loader the APN settings loader [all...] |
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/tvcm/ |
module_unittest.py | 39 loader = resource_loader.ResourceLoader(project) 40 x_module = loader.LoadModule('x') 42 self.assertEquals([loader.loaded_modules['y'], 43 loader.loaded_modules['z']], 50 self.assertEquals([loader.loaded_modules['z'], 51 loader.loaded_modules['y'], 67 loader = resource_loader.ResourceLoader(project) 69 my_module = loader.LoadModule(module_name='src.my_module') 84 loader = resource_loader.ResourceLoader(project) 88 loader.LoadModule(module_name='src.my_module' [all...] |
style_sheet_unittest.py | 27 loader = resource_loader.ResourceLoader(project) 29 foo_x = loader.LoadStyleSheet('foo.x') 52 loader = resource_loader.ResourceLoader(project) 55 lambda: loader.LoadStyleSheet('foo.x')) 64 loader = resource_loader.ResourceLoader(project) 67 lambda: loader.LoadStyleSheet('foo.x'))
|
/frameworks/base/docs/html/guide/components/ |
loaders.jd | 9 <li><a href="#summary">Loader API Summary</a></li> 13 <li><a href="#starting">Starting a Loader</a></li> 14 <li><a href="#restarting">Restarting a Loader</a></li> 28 <li>{@link android.content.Loader}</li> 52 <li>They automatically reconnect to the last loader's cursor when being 57 <h2 id="summary">Loader API Summary</h2> 71 android.content.Loader} instances. This helps an application manage 86 callback method to create a new loader.</td> 89 <td>{@link android.content.Loader}</td> 91 the base class for a loader. You would typically use {@lin [all...] |
/external/mockito/src/org/mockito/internal/creation/jmock/ |
SearchingClassLoader.java | 36 // In an Eclipse plug-in, jMock itself will not be on the system class loader
37 // but in the class loader of the plug-in.
53 ClassLoader loader = parentLoaders.get(parentLoaders.size()-1);
local 56 loader = new SearchingClassLoader(parentLoaders.get(i), loader);
59 return loader;
|
/frameworks/base/core/java/android/app/ |
ApplicationLoaders.java | 34 * this should be the "system" class loader; in practice we 36 * bootstrap class loader. 46 * If we're one step up from the base class loader, find 51 ClassLoader loader = mLoaders.get(zip); local 52 if (loader != null) { 53 return loader;
|
/frameworks/base/core/java/android/os/ |
ParcelableParcel.java | 27 public ParcelableParcel(ClassLoader loader) { 29 mClassLoader = loader; 32 public ParcelableParcel(Parcel src, ClassLoader loader) { 34 mClassLoader = loader; 67 public ParcelableParcel createFromParcel(Parcel in, ClassLoader loader) { 68 return new ParcelableParcel(in, loader);
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/ui/ |
MailAsyncTaskLoaderTest.java | 6 import android.content.Loader; 29 public Loader<Object> onCreateLoader(int id, Bundle args) { 45 public void onLoadFinished(Loader<Object> loader, Object data) { 51 public void onLoaderReset(Loader<Object> loader) {}
|
/external/messageformat/java/com/ibm/icu/impl/ |
ICUData.java | 61 private static InputStream getStream(final ClassLoader loader, final String resourceName, boolean required) { 66 return loader.getResourceAsStream(resourceName); 70 i = loader.getResourceAsStream(resourceName); 73 throw new MissingResourceException("could not locate data", loader.toString(), resourceName); 78 public static InputStream getStream(ClassLoader loader, String resourceName){ 79 return getStream(loader,resourceName, false); 82 public static InputStream getRequiredStream(ClassLoader loader, String resourceName){ 83 return getStream(loader, resourceName, true);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
__init__.py | 7 loader = unittest.defaultTestLoader variable 16 suite.addTest(loader.loadTestsFromModule(module))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
__init__.py | 7 loader = unittest.defaultTestLoader variable 16 suite.addTest(loader.loadTestsFromModule(module))
|
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/ |
CompositeResourceLoader.java | 38 for (ResourceLoader loader : loaders) { 39 add(loader); 44 for (ResourceLoader loader : loaders) { 45 add(loader); 49 public void add(ResourceLoader loader) { 50 loaders.add(loader); 54 for (ResourceLoader loader : loaders) { 55 Reader reader = loader.open(name); 57 return new ReaderTracer(reader, loader); 97 for (ResourceLoader loader : loaders) [all...] |