/external/junit/src/org/junit/runners/ |
D | Suite.java | 50 private static Class<?>[] getAnnotatedClasses(Class<?> klass) throws InitializationError { in getAnnotatedClasses() argument 51 SuiteClasses annotation= klass.getAnnotation(SuiteClasses.class); in getAnnotatedClasses() 53 …tializationError(String.format("class '%s' must have a SuiteClasses annotation", klass.getName())); in getAnnotatedClasses() 66 public Suite(Class<?> klass, RunnerBuilder builder) throws InitializationError { in Suite() argument 67 this(builder, klass, getAnnotatedClasses(klass)); in Suite() 88 protected Suite(Class<?> klass, Class<?>[] suiteClasses) throws InitializationError { in Suite() argument 89 this(new AllDefaultPossibilitiesBuilder(true), klass, suiteClasses); in Suite() 100 …protected Suite(RunnerBuilder builder, Class<?> klass, Class<?>[] suiteClasses) throws Initializat… in Suite() argument 101 this(klass, builder.runners(klass, suiteClasses)); in Suite() 111 protected Suite(Class<?> klass, List<Runner> runners) throws InitializationError { in Suite() argument [all …]
|
/external/v8/tools/ |
D | gen-postmortem-metadata.py | 279 def get_base_class(klass): argument 280 if (klass == 'Object'): 281 return klass; 283 if (not (klass in klasses)): 286 k = klasses[klass]; 304 for klass in expected_classes: 305 checktypes[klass] = True; 332 klass = match.group(1).strip(); 336 klasses[klass] = { 'parent': pklass }; 439 for klass in checktypes: [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-font-private.hh | 111 hb_font_funcs_t *klass; member 159 hb_font_funcs_t *funcs = this->klass; \ 169 return klass->get.f.font_h_extents (this, user_data, in get_font_h_extents() 171 klass->user_data.font_h_extents); in get_font_h_extents() 176 return klass->get.f.font_v_extents (this, user_data, in get_font_v_extents() 178 klass->user_data.font_v_extents); in get_font_v_extents() 191 return klass->get.f.nominal_glyph (this, user_data, in get_nominal_glyph() 193 klass->user_data.nominal_glyph); in get_nominal_glyph() 200 return klass->get.f.variation_glyph (this, user_data, in get_variation_glyph() 202 klass->user_data.variation_glyph); in get_variation_glyph() [all …]
|
/external/tremolo/Tremolo/ |
D | floor1.c | 56 if(info->klass)_ogg_free(info->klass); in floor1_free_info() 122 info->klass= in floor1_info_unpack() 123 (floor1class *)_ogg_malloc((maxclass+1)*sizeof(*info->klass)); in floor1_info_unpack() 125 info->klass[j].class_dim=(char)oggpack_read(opb,3)+1; /* 1 to 8 */ in floor1_info_unpack() 126 info->klass[j].class_subs=(char)oggpack_read(opb,2); /* 0,1,2,3 bits */ in floor1_info_unpack() 128 if(info->klass[j].class_subs) in floor1_info_unpack() 129 info->klass[j].class_book=(unsigned char)oggpack_read(opb,8); in floor1_info_unpack() 131 info->klass[j].class_book=0; in floor1_info_unpack() 132 if(info->klass[j].class_book>=ci->books)goto err_out; in floor1_info_unpack() 133 for(k=0;k<(1<<info->klass[j].class_subs);k++){ in floor1_info_unpack() [all …]
|
/external/autotest/client/virt/ |
D | installer_unittest.py | 22 klass = self.registry.get_installer(install_mode, virt_type) 23 self.assertIs(klass, CustomVirtInstaller) 33 klass = self.registry.get_installer(install_mode, 35 self.assertIs(klass, BaseVirtInstaller) 37 klass = self.registry.get_installer(install_mode, 40 self.assertIs(klass, BaseVirtInstaller)
|
D | installer.py | 44 def register(self, mode, klass, virt=None): argument 55 self[virt][mode] = klass 157 klass = INSTALLER_REGISTRY.get_installer(mode, virt) 158 if klass is None: 161 return klass(mode, name, test, params)
|
/external/vogar/src/vogar/ |
D | ClassAnalyzer.java | 23 private final Class<?> klass; field in ClassAnalyzer 25 public ClassAnalyzer(Class<?> klass) { in ClassAnalyzer() argument 26 this.klass = klass; in ClassAnalyzer() 32 Method candidate = klass.getMethod(name, parameters); in hasMethod()
|
/external/chromium-trace/catapult/third_party/coverage/coverage/ |
D | monkey.py | 26 klass = multiprocessing.process.BaseProcess 28 klass = multiprocessing.Process 30 original_bootstrap = klass._bootstrap 32 class ProcessWithCoverage(klass): 46 klass._bootstrap = ProcessWithCoverage._bootstrap
|
/external/junit/src/org/junit/internal/runners/ |
D | SuiteMethod.java | 22 public SuiteMethod(Class<?> klass) throws Throwable { in SuiteMethod() argument 23 super(testFromSuiteMethod(klass)); in SuiteMethod() 26 public static Test testFromSuiteMethod(Class<?> klass) throws Throwable { in testFromSuiteMethod() argument 30 suiteMethod= klass.getMethod("suite"); in testFromSuiteMethod() 32 throw new Exception(klass.getName() + ".suite() must be static"); in testFromSuiteMethod()
|
/external/mockito/src/org/mockito/internal/runners/ |
D | RunnerFactory.java | 25 public RunnerImpl create(Class<?> klass) throws InvocationTargetException { in create() argument 28 …eturn runnerProvider.newInstance("org.mockito.internal.runners.JUnit45AndHigherRunnerImpl", klass); in create() 30 … return runnerProvider.newInstance("org.mockito.internal.runners.JUnit44RunnerImpl", klass); in create() 33 if (!new TestMethodsFinder().hasTestMethods(klass)) { in create() 37 "No tests found in " + klass.getSimpleName() + "\n" + in create()
|
/external/junit/src/org/junit/experimental/categories/ |
D | Categories.java | 147 public Categories(Class<?> klass, RunnerBuilder builder) in Categories() argument 149 super(klass, builder); in Categories() 151 filter(new CategoryFilter(getIncludedCategory(klass), in Categories() 152 getExcludedCategory(klass))); in Categories() 159 private Class<?> getIncludedCategory(Class<?> klass) { in getIncludedCategory() argument 160 IncludeCategory annotation= klass.getAnnotation(IncludeCategory.class); in getIncludedCategory() 164 private Class<?> getExcludedCategory(Class<?> klass) { in getExcludedCategory() argument 165 ExcludeCategory annotation= klass.getAnnotation(ExcludeCategory.class); in getExcludedCategory()
|
/external/vogar/src/vogar/target/junit/ |
D | JUnitRunnerFactory.java | 39 Class<?> klass, AtomicReference<String> skipPastReference, in newRunner() argument 42 if (supports(klass)) { in newRunner() 43 List<VogarTest> tests = createVogarTests(klass, qualification, args); in newRunner() 81 boolean supports(Class<?> klass) { in supports() argument 82 return Junit3.isJunit3Test(klass) || Junit4.isJunit4Test(klass); in supports()
|
/external/autotest/tko/ |
D | frontend.py | 139 def select(klass, db): argument 144 return [klass(db, groupname) for groupname in groupnames] 168 def select(klass, db, where = {}): argument 172 machines.append(klass(db, *row)) 186 def select(klass, db, where = {}): argument 189 return [klass(db, *row) for row in rows] 203 def select(klass, db, where={}, distinct=False): argument 209 tests.append(klass(db, *row)) 214 def select_sql(klass, db, sql, values): argument 219 return [klass(db, *row) for row in rows] [all …]
|
/external/dbus/dbus/ |
D | dbus-marshal-recursive-util.c | 349 const TestTypeNodeClass *klass; member 936 node_new (const TestTypeNodeClass *klass) in node_new() argument 940 node = dbus_malloc0 (klass->instance_size); in node_new() 944 node->klass = klass; in node_new() 946 if (klass->construct) in node_new() 948 if (!(* klass->construct) (node)) in node_new() 961 if (node->klass->destroy) in node_destroy() 962 (* node->klass->destroy) (node); in node_destroy() 974 retval = (* node->klass->write_value) (node, block, writer, seed); in node_write_value() 991 if (!(* node->klass->read_value) (node, reader, seed)) in node_read_value() [all …]
|
D | dbus-marshal-recursive.c | 449 if (reader->klass->types_only && current_type == DBUS_TYPE_VARIANT) in base_reader_next() 462 if (!reader->klass->types_only) in base_reader_next() 479 if (!reader->klass->types_only) in base_reader_next() 491 if (!reader->klass->types_only) in base_reader_next() 739 reader->klass = &body_reader_class; in _dbus_type_reader_init() 764 reader->klass = &body_types_only_reader_class; in _dbus_type_reader_init_types_only() 790 (reader->klass->check_finished && in _dbus_type_reader_get_current_type() 791 (* reader->klass->check_finished) (reader))) in _dbus_type_reader_get_current_type() 855 _dbus_assert (!reader->klass->types_only); in _dbus_type_reader_read_raw() 874 _dbus_assert (!reader->klass->types_only); in _dbus_type_reader_read_basic() [all …]
|
/external/avahi/avahi-gobject/ |
D | ga-service-browser.h | 49 #define GA_SERVICE_BROWSER_CLASS(klass) \ argument 50 (G_TYPE_CHECK_CLASS_CAST((klass), GA_TYPE_SERVICE_BROWSER, GaServiceBrowserClass)) 53 #define IS_GA_SERVICE_BROWSER_CLASS(klass) \ argument 54 (G_TYPE_CHECK_CLASS_TYPE((klass), GA_TYPE_SERVICE_BROWSER))
|
D | ga-record-browser.h | 50 #define GA_RECORD_BROWSER_CLASS(klass) \ argument 51 (G_TYPE_CHECK_CLASS_CAST((klass), GA_TYPE_RECORD_BROWSER, GaRecordBrowserClass)) 54 #define IS_GA_RECORD_BROWSER_CLASS(klass) \ argument 55 (G_TYPE_CHECK_CLASS_TYPE((klass), GA_TYPE_RECORD_BROWSER))
|
D | ga-service-resolver.h | 50 #define GA_SERVICE_RESOLVER_CLASS(klass) \ argument 51 (G_TYPE_CHECK_CLASS_CAST((klass), GA_TYPE_SERVICE_RESOLVER, GaServiceResolverClass)) 54 #define IS_GA_SERVICE_RESOLVER_CLASS(klass) \ argument 55 (G_TYPE_CHECK_CLASS_TYPE((klass), GA_TYPE_SERVICE_RESOLVER))
|
D | ga-client.h | 63 #define GA_CLIENT_CLASS(klass) \ argument 64 (G_TYPE_CHECK_CLASS_CAST((klass), GA_TYPE_CLIENT, GaClientClass)) 67 #define IS_GA_CLIENT_CLASS(klass) \ argument 68 (G_TYPE_CHECK_CLASS_TYPE((klass), GA_TYPE_CLIENT))
|
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/ |
D | __init__.py | 51 klass = Serial # 'native' implementation 68 klass = sys.modules[module_name].Serial 73 klass = Serial # 'native' implementation 75 instance = klass(None, *args, **kwargs)
|
/external/vogar/src/vogar/target/ |
D | TestRunner.java | 201 for (Class<?> klass : classes) { in run() 202 if (klass.getName().endsWith(".AllTests")) { in run() 203 toRemove.add(klass); in run() 221 for (Class<?> klass : classes) { in run() 224 runner = runnerFactory.newRunner(monitor, qualification, klass, in run() 234 monitor.outcomeStarted(null, klass.getName()); in run() 235 System.out.println("Skipping " + klass.getName() in run() 272 Class<?> klass, AtomicReference<String> skipPastReference, in newRunner() argument 275 Runner runner = runnerFactory.newRunner(monitor, qualification, klass, in newRunner()
|
D | MainRunnerFactory.java | 30 Class<?> klass, AtomicReference<String> skipPastReference, in newRunner() argument 33 if (new ClassAnalyzer(klass).hasMethod(true, void.class, "main", String[].class)) { in newRunner() 34 return new MainRunner(monitor, klass, args); in newRunner()
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
D | SecureClassLoaderTest.java | 193 Class klass = ldr.defineClass(null, klassData, 0, klassData.length, in testDefineClassStringbyteArrayintintCodeSource() local 195 assertEquals(klass.getName(), klassName); in testDefineClassStringbyteArrayintintCodeSource() 204 Class klass = ldr.defineClass(null, bbuf, null); in testDefineClassStringByteBufferCodeSource() local 205 assertEquals(klass.getName(), klassName); in testDefineClassStringByteBufferCodeSource()
|
/external/junit/src/org/junit/experimental/runners/ |
D | Enclosed.java | 28 public Enclosed(Class<?> klass, RunnerBuilder builder) throws Throwable { in Enclosed() argument 29 super(builder, klass, klass.getClasses()); in Enclosed()
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
D | template.rb | 33 def self.included( klass ) argument 35 Class === klass and klass.extend( ClassMethods ) 60 def self.included( klass ) argument 62 Class === klass and klass.extend( Builder::ClassMethods )
|