Home
last modified time | relevance | path

Searched refs:klass (Results 1 – 25 of 117) sorted by relevance

12345

/external/junit/src/org/junit/runners/
DSuite.java50 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 …]
DParameterized.java133 public Parameterized(Class<?> klass) throws Throwable { in Parameterized() argument
134 super(klass, Collections.<Runner>emptyList()); in Parameterized()
147 private List<Object[]> getParametersList(TestClass klass) in getParametersList() argument
149 return (List<Object[]>) getParametersMethod(klass).invokeExplosively( in getParametersList()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-font-private.hh106 hb_font_funcs_t *klass; member
157 return klass->get.glyph (this, user_data, in get_glyph()
159 klass->user_data.glyph); in get_glyph()
164 return klass->get.glyph_h_advance (this, user_data, in get_glyph_h_advance()
166 klass->user_data.glyph_h_advance); in get_glyph_h_advance()
171 return klass->get.glyph_v_advance (this, user_data, in get_glyph_v_advance()
173 klass->user_data.glyph_v_advance); in get_glyph_v_advance()
180 return klass->get.glyph_h_origin (this, user_data, in get_glyph_h_origin()
182 klass->user_data.glyph_h_origin); in get_glyph_h_origin()
189 return klass->get.glyph_v_origin (this, user_data, in get_glyph_v_origin()
[all …]
Dhb-ot-shape-fallback.cc32 unsigned int klass) in recategorize_combining_class() argument
34 if (klass >= 200) in recategorize_combining_class()
35 return klass; in recategorize_combining_class()
40 if (unlikely (klass == 0)) in recategorize_combining_class()
53 klass = HB_UNICODE_COMBINING_CLASS_ABOVE_RIGHT; in recategorize_combining_class()
64 klass = HB_UNICODE_COMBINING_CLASS_ABOVE; in recategorize_combining_class()
68 klass = HB_UNICODE_COMBINING_CLASS_BELOW; in recategorize_combining_class()
74 klass = HB_UNICODE_COMBINING_CLASS_BELOW_RIGHT; in recategorize_combining_class()
78 switch (klass) in recategorize_combining_class()
161 return klass; in recategorize_combining_class()
Dhb-ot-layout-common-private.hh952 inline void add_class (set_t *glyphs, unsigned int klass) const { in add_class()
955 if (classValue[i] == klass) in add_class()
959 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const { in intersects_class()
961 if (klass == 0) in intersects_class()
975 if (classValue[i] == klass && glyphs->has (startGlyph + i)) in intersects_class()
1008 inline void add_class (set_t *glyphs, unsigned int klass) const { in add_class()
1011 if (rangeRecord[i].value == klass) in add_class()
1015 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const { in intersects_class()
1017 if (klass == 0) in intersects_class()
1034 if (rangeRecord[i].value == klass && rangeRecord[i].intersects (glyphs)) in intersects_class()
[all …]
/external/harfbuzz_ng/src/
Dhb-font-private.hh106 hb_font_funcs_t *klass; member
157 return klass->get.glyph (this, user_data, in get_glyph()
159 klass->user_data.glyph); in get_glyph()
164 return klass->get.glyph_h_advance (this, user_data, in get_glyph_h_advance()
166 klass->user_data.glyph_h_advance); in get_glyph_h_advance()
171 return klass->get.glyph_v_advance (this, user_data, in get_glyph_v_advance()
173 klass->user_data.glyph_v_advance); in get_glyph_v_advance()
180 return klass->get.glyph_h_origin (this, user_data, in get_glyph_h_origin()
182 klass->user_data.glyph_h_origin); in get_glyph_h_origin()
189 return klass->get.glyph_v_origin (this, user_data, in get_glyph_v_origin()
[all …]
Dhb-ot-shape-fallback.cc32 unsigned int klass) in recategorize_combining_class() argument
34 if (klass >= 200) in recategorize_combining_class()
35 return klass; in recategorize_combining_class()
40 if (unlikely (klass == 0)) in recategorize_combining_class()
53 klass = HB_UNICODE_COMBINING_CLASS_ABOVE_RIGHT; in recategorize_combining_class()
64 klass = HB_UNICODE_COMBINING_CLASS_ABOVE; in recategorize_combining_class()
68 klass = HB_UNICODE_COMBINING_CLASS_BELOW; in recategorize_combining_class()
74 klass = HB_UNICODE_COMBINING_CLASS_BELOW_RIGHT; in recategorize_combining_class()
78 switch (klass) in recategorize_combining_class()
161 return klass; in recategorize_combining_class()
Dhb-ot-layout-common-private.hh952 inline void add_class (set_t *glyphs, unsigned int klass) const { in add_class()
955 if (classValue[i] == klass) in add_class()
959 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const { in intersects_class()
961 if (klass == 0) in intersects_class()
975 if (classValue[i] == klass && glyphs->has (startGlyph + i)) in intersects_class()
1008 inline void add_class (set_t *glyphs, unsigned int klass) const { in add_class()
1011 if (rangeRecord[i].value == klass) in add_class()
1015 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const { in intersects_class()
1017 if (klass == 0) in intersects_class()
1034 if (rangeRecord[i].value == klass && rangeRecord[i].intersects (glyphs)) in intersects_class()
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/test/
Dskip.py28 def skip_if(klass, condition, message=None, logger=None): argument
34 return klass
35 for name in dir(klass):
36 attr = getattr(klass, name)
41 setattr(klass, name, _skipped_method(attr, message, logger))
42 klass._printed_skipped_message = False
43 return klass
Dskip_unittest.py65klass = skip_if(self.create_fixture_class(), False, 'Should not see this message.', logger=self.lo…
66 klass(self.foo_callback).test_foo()
71klass = skip_if(self.create_fixture_class(), True, 'Should see this message.', logger=self.logger)
72 klass(self.foo_callback).test_foo()
/external/chromium_org/v8/tools/
Dgen-postmortem-metadata.py235 for klass in expected_classes:
236 checktypes[klass] = True;
263 klass = match.group(1);
265 klasses[klass] = { 'parent': pklass };
368 for klass in checktypes:
369 print('error: expected class \"%s\" not found' % klass);
392 klass = args[0];
398 'name': 'class_%s__%s__%s' % (klass, field, dtype),
399 'value': '%s::%s' % (klass, offset)
403 klass = args[0];
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/
DUnresolvedPrincipalTest.java36 String klass = "abc"; in testCtor() local
38 UnresolvedPrincipal up = new UnresolvedPrincipal(klass, name); in testCtor()
39 assertEquals(klass, up.getClassName()); in testCtor()
42 up = new UnresolvedPrincipal(klass, null); in testCtor()
43 assertEquals(klass, up.getClassName()); in testCtor()
69 String klass = "abc"; in testEquals_Common() local
71 UnresolvedPrincipal up = new UnresolvedPrincipal(klass, name); in testEquals_Common()
72 UnresolvedPrincipal up2 = new UnresolvedPrincipal(klass, name); in testEquals_Common()
73 UnresolvedPrincipal up3 = new UnresolvedPrincipal(name, klass); in testEquals_Common()
/external/tremolo/Tremolo/
Dfloor1.c56 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/junit/src/org/junit/internal/runners/
DSuiteMethod.java22 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/
DRunnerFactory.java25 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/
DCategories.java147 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/chromium_org/net/dns/
Drecord_parsed.cc13 RecordParsed::RecordParsed(const std::string& name, uint16 type, uint16 klass, in RecordParsed() argument
16 : name_(name), type_(type), klass_(klass), ttl_(ttl), rdata_(rdata.Pass()), in RecordParsed()
65 record.klass, in CreateFrom()
73 uint16 klass = klass_; in IsEqual() local
77 klass &= dns_protocol::kMDnsClassMask; in IsEqual()
82 klass == other_klass && in IsEqual()
/external/qemu/include/qom/
Dobject.h444 void (*class_init)(ObjectClass *klass, void *data);
445 void (*class_base_init)(ObjectClass *klass, void *data);
446 void (*class_finalize)(ObjectClass *klass, void *data);
547 #define INTERFACE_CLASS(klass) \ argument
548 OBJECT_CLASS_CHECK(InterfaceClass, klass, TYPE_INTERFACE)
683 ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass,
702 ObjectClass *object_class_dynamic_cast(ObjectClass *klass,
711 ObjectClass *object_class_get_parent(ObjectClass *klass);
719 const char *object_class_get_name(ObjectClass *klass);
727 bool object_class_is_abstract(ObjectClass *klass);
[all …]
/external/chromium_org/third_party/markdown/extensions/
Dadmonition.py118 klass, title = self.get_class_and_title(m)
120 div.set('class', '%s %s' % (self.CLASSNAME, klass))
137 klass, title = match.group(1).lower(), match.group(2)
141 title = klass.capitalize()
146 return klass, title
/external/chromium_org/tools/telemetry/third_party/pyserial/serial/
D__init__.py51 klass = Serial # 'native' implementation
68 klass = sys.modules[module_name].Serial
73 klass = Serial # 'native' implementation
75 instance = klass(None, *args, **kwargs)
/external/apache-harmony/security/src/test/api/java.injected/java/security/
DSecureClassLoaderTest.java193 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/
DEnclosed.java28 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/
Dtemplate.rb33 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 )
/external/chromium_org/cloud_print/gcp20/prototype/
Ddns_response_builder.cc16 uint16 klass = net::dns_protocol::kClassIN; variable
20 DnsResponseRecord::DnsResponseRecord() : type(0), klass(0), ttl(0) { in DnsResponseRecord()
126 sizeof(iter->type) + sizeof(iter->klass) + sizeof(iter->ttl) + in Build()
157 writer.WriteU16(iter->klass) && in Build()
176 response.klass = klass; in AddResponse()
/external/chromium_org/tools/traceline/svgui/
Dtraceline.js311 function SVGSceneLine(msg, klass, x1, y1, x2, y2) { argument
314 this.klass = klass;
326 function SVGSceneRect(msg, klass, x, y, width, height) { argument
329 this.klass = klass;
611 klass = e.e.waiting ? 'eventwaiting' : 'event';
613 new SVGSceneRect(e.toString(), klass, e.ms, y, width, 3));
668 rect.setAttributeNS(null, 'class', thing.klass)
677 line.setAttributeNS(null, 'class', thing.klass)

12345