/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
test_loader.py | 23 loader = unittest.TestLoader() 24 self.assertEqual(loader.loadTestsFromTestCase(Foo), tests) 36 loader = unittest.TestLoader() 37 self.assertEqual(loader.loadTestsFromTestCase(Foo), empty_suite) 52 loader = unittest.TestLoader() 54 loader.loadTestsFromTestCase(NotATestCase) 71 loader = unittest.TestLoader() 73 self.assertFalse('runTest'.startswith(loader.testMethodPrefix)) 75 suite = loader.loadTestsFromTestCase(Foo) 76 self.assertIsInstance(suite, loader.suiteClass [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
test_loader.py | 23 loader = unittest.TestLoader() 24 self.assertEqual(loader.loadTestsFromTestCase(Foo), tests) 36 loader = unittest.TestLoader() 37 self.assertEqual(loader.loadTestsFromTestCase(Foo), empty_suite) 52 loader = unittest.TestLoader() 54 loader.loadTestsFromTestCase(NotATestCase) 71 loader = unittest.TestLoader() 73 self.assertFalse('runTest'.startswith(loader.testMethodPrefix)) 75 suite = loader.loadTestsFromTestCase(Foo) 76 self.assertIsInstance(suite, loader.suiteClass [all...] |
/external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
FileReaderSync.cpp | 56 FileReaderLoader loader(FileReaderLoader::ReadAsArrayBuffer, 0); 57 startLoading(executionContext, loader, *blob, exceptionState); 59 return loader.arrayBufferResult(); 69 FileReaderLoader loader(FileReaderLoader::ReadAsBinaryString, 0); 70 startLoading(executionContext, loader, *blob, exceptionState); 71 return loader.stringResult(); 81 FileReaderLoader loader(FileReaderLoader::ReadAsText, 0); 82 loader.setEncoding(encoding); 83 startLoading(executionContext, loader, *blob, exceptionState); 84 return loader.stringResult() [all...] |
/external/libexif/libexif/ |
exif-loader.c | 1 /* exif-loader.c 23 #include <libexif/exif-loader.h> 330 ExifLoader *loader; local 335 loader = exif_mem_alloc (mem, sizeof (ExifLoader)); 336 if (!loader) 338 loader->ref_count = 1; 340 loader->mem = mem; 343 return loader; 347 exif_loader_ref (ExifLoader *loader) 349 if (loader) [all...] |
/external/chromium_org/content/browser/loader/ |
resource_message_delegate.cc | 5 #include "content/browser/loader/resource_message_delegate.h" 7 #include "content/browser/loader/resource_dispatcher_host_impl.h" 8 #include "content/browser/loader/resource_request_info_impl.h"
|
/external/junit/src/junit/runner/ |
StandardTestSuiteLoader.java | 7 * The standard test suite loader. It can only load the same class once. 12 * Uses the system class loader to load the test class 18 * Uses the system class loader to load the test class
|
/external/chromium/chrome/browser/policy/ |
asynchronous_policy_loader_unittest.cc | 60 scoped_refptr<AsynchronousPolicyLoader> loader = local 62 loader->Init(); 63 const DictionaryValue* loaded_dict(loader->policy()); 75 scoped_refptr<AsynchronousPolicyLoader> loader = local 77 loader->Init(); 79 loader->Reload(); 82 const DictionaryValue* loaded_dict(loader->policy()); 88 // Ensure that calling stop on the loader stops subsequent reloads from 93 scoped_refptr<AsynchronousPolicyLoader> loader = local 95 loader->Init() 120 scoped_refptr<AsynchronousPolicyLoader> loader = local [all...] |
/frameworks/base/test-runner/src/android/test/ |
LoaderTestCase.java | 19 import android.content.Loader; 20 import android.content.Loader.OnLoadCompleteListener; 29 * A convenience class for testing {@link Loader}s. This test case 30 * provides a simple way to synchronously get the result from a Loader making 31 * it easy to assert that the Loader returns the expected result. 49 * Runs a Loader synchronously and returns the result of the load. The loader will 52 * @param loader The loader to run synchronously 53 * @return The result from the loader [all...] |
/frameworks/base/core/java/android/app/ |
LoaderManager.java | 19 import android.content.Loader; 31 * one or more {@link android.content.Loader} instances associated with it. This 64 * Instantiate and return a new Loader for the given ID. 66 * @param id The ID whose loader is to be created. 68 * @return Return a new Loader instance that is ready to start loading. 70 public Loader<D> onCreateLoader(int id, Bundle args); 73 * Called when a previously created loader has finished its load. Note 80 * the last data that was supplied for this Loader. At this point 82 * soon), but should not do your own release of the data since its Loader 83 * owns it and will take care of that. The Loader will take care o 546 Loader<Object> loader = callback.onCreateLoader(id, args); local [all...] |
/cts/tools/signature-tools/ |
TODO.txt | 5 Add "plugin system" to enable different loader / differ / report engines. This can be simple as register the class name of the available loaders in a property file
|
/external/chromium_org/mojo/shell/ |
context.h | 9 #include "mojo/shell/loader.h" 27 Loader* loader() { return &loader_; } function in class:mojo::shell::Context 37 Loader loader_;
|
loader.h | 24 class Loader { 41 friend class Loader; 43 // You can create a job using Loader::Load. 53 Loader(base::SingleThreadTaskRunner* network_runner, 58 ~Loader(); 66 DISALLOW_COPY_AND_ASSIGN(Loader);
|
/external/chromium_org/ppapi/thunk/ |
ppb_url_loader_thunk.cc | 38 int32_t Open(PP_Resource loader, 42 EnterResource<PPB_URLLoader_API> enter(loader, callback, true); 48 int32_t FollowRedirect(PP_Resource loader, 51 EnterResource<PPB_URLLoader_API> enter(loader, callback, true); 57 PP_Bool GetUploadProgress(PP_Resource loader, 61 EnterResource<PPB_URLLoader_API> enter(loader, true); 70 PP_Bool GetDownloadProgress(PP_Resource loader, 74 EnterResource<PPB_URLLoader_API> enter(loader, true); 84 PP_Resource GetResponseInfo(PP_Resource loader) { 86 EnterResource<PPB_URLLoader_API> enter(loader, true) [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheRefreshTest.java | 33 IncrementingLoader loader = incrementingLoader(); local 39 .build(loader); 45 assertEquals(expectedLoads, loader.getLoadCount()); 46 assertEquals(expectedReloads, loader.getReloadCount()); 53 assertEquals(expectedLoads, loader.getLoadCount()); 54 assertEquals(expectedReloads, loader.getReloadCount()); 62 assertEquals(expectedLoads, loader.getLoadCount()); 63 assertEquals(expectedReloads, loader.getReloadCount()); 71 assertEquals(expectedLoads, loader.getLoadCount()); 72 assertEquals(expectedReloads, loader.getReloadCount()) [all...] |
/external/libexif/test/ |
test-mem.c | 25 #include <libexif/exif-loader.h> 37 ExifLoader *loader; local 53 printf ("Writing %i byte(s) EXIF data to loader...\n", ebs); 54 loader = exif_loader_new (); 57 exif_loader_write (loader, size, 2); 58 for (i = 0; i < ebs && exif_loader_write (loader, eb + i, 1); i++); 61 ed = exif_loader_get_data (loader); 62 exif_loader_unref (loader);
|
/frameworks/support/v4/java/android/support/v4/app/ |
LoaderManager.java | 21 import android.support.v4.content.Loader; 45 * Instantiate and return a new Loader for the given ID. 47 * @param id The ID whose loader is to be created. 49 * @return Return a new Loader instance that is ready to start loading. 51 public Loader<D> onCreateLoader(int id, Bundle args); 54 * Called when a previously created loader has finished its load. Note 61 * the last data that was supplied for this Loader. At this point 63 * soon), but should not do your own release of the data since its Loader 64 * owns it and will take care of that. The Loader will take care of 68 * <li> <p>The Loader will monitor for changes to the data, and repor 490 Loader<Object> loader = callback.onCreateLoader(id, args); local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_lib2to3.py | 10 loader = unittest.TestLoader() 13 tests.addTests(loader.loadTestsFromModule(m))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_lib2to3.py | 10 loader = unittest.TestLoader() 13 tests.addTests(loader.loadTestsFromModule(m))
|
/external/chromium/chrome/common/ |
nacl_messages.h | 26 // Tells the NaCl broker to launch a NaCl loader process. 28 std::wstring /* channel ID for the loader */) 30 // Notify the browser process that the loader was launched successfully. 32 std::wstring, /* channel ID for the loader */ 33 base::ProcessHandle /* loader process handle */) 35 // Notify the broker that all loader processes have been terminated and it
|
/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/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...] |
/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/chromium/chrome/browser/ |
icon_loader_linux.cc | 40 GdkPixbufLoader* loader = gdk_pixbuf_loader_new(); local 41 gdk_pixbuf_loader_set_size(loader, size, size); 42 gdk_pixbuf_loader_write(loader, 45 gdk_pixbuf_loader_close(loader, NULL); 46 // At this point, the pixbuf is owned by the loader. 47 GdkPixbuf* pixbuf = gdk_pixbuf_loader_get_pixbuf(loader); 60 g_object_unref(loader);
|
/art/test/068-classloader/src/ |
Main.java | 18 * Class loader test. 25 FancyLoader loader; local 27 loader = new FancyLoader(ClassLoader.getSystemClassLoader()); 29 //System.out.println("ALTERN: " + loader); 40 * name in the "fancy" class loader -- but the VM thinks it has a 51 testAccess1(loader); 52 testAccess2(loader); 53 testAccess3(loader); 55 testExtend(loader); 56 testExtendOkay(loader); [all...] |
/dalvik/tests/068-classloader/src/ |
Main.java | 18 * Class loader test. 25 FancyLoader loader; local 27 loader = new FancyLoader(ClassLoader.getSystemClassLoader()); 29 //System.out.println("ALTERN: " + loader); 40 * name in the "fancy" class loader -- but the VM thinks it has a 51 testAccess1(loader); 52 testAccess2(loader); 53 testAccess3(loader); 55 testExtend(loader); 56 testExtendOkay(loader); [all...] |