Home
last modified time | relevance | path

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

123456789

/external/swiftshader/third_party/llvm-7.0/llvm/test/Demangle/
Dms-basic.test87 ; CHECK: class klass instance
92 ??0klass@@QEAA@XZ
93 ; CHECK: __cdecl klass::klass(void)
95 ??1klass@@QEAA@XZ
96 ; CHECK: __cdecl klass::~klass(void)
99 ; CHECK: int __cdecl x(class klass *, class klass &)
101 ?x@ns@@3PEAV?$klass@HH@1@EA
102 ; CHECK: class ns::klass<int, int> *ns::x
104 ?fn@?$klass@H@ns@@QEBAIXZ
105 ; CHECK: unsigned int __cdecl ns::klass<int>::fn(void) const
[all …]
/external/protobuf/ruby/ext/google/protobuf_c/
Ddefs.c114 VALUE DescriptorPool_alloc(VALUE klass) { in DescriptorPool_alloc() argument
117 return TypedData_Wrap_Struct(klass, &_DescriptorPool_type, self); in DescriptorPool_alloc()
121 VALUE klass = rb_define_class_under( in DescriptorPool_register() local
123 rb_define_alloc_func(klass, DescriptorPool_alloc); in DescriptorPool_register()
124 rb_define_method(klass, "add", DescriptorPool_add, 1); in DescriptorPool_register()
125 rb_define_method(klass, "build", DescriptorPool_build, 0); in DescriptorPool_register()
126 rb_define_method(klass, "lookup", DescriptorPool_lookup, 1); in DescriptorPool_register()
127 rb_define_singleton_method(klass, "generated_pool", in DescriptorPool_register()
129 cDescriptorPool = klass; in DescriptorPool_register()
132 generated_pool = rb_class_new_instance(0, NULL, klass); in DescriptorPool_register()
[all …]
Dmessage.c55 VALUE Message_alloc(VALUE klass) { in Message_alloc() argument
56 VALUE descriptor = rb_ivar_get(klass, descriptor_instancevar_interned); in Message_alloc()
66 ret = TypedData_Wrap_Struct(klass, &Message_type, msg); in Message_alloc()
427 VALUE Message_descriptor(VALUE klass) { in Message_descriptor() argument
428 return rb_ivar_get(klass, descriptor_instancevar_interned); in Message_descriptor()
433 VALUE klass; in build_class_from_descriptor() local
447 klass = rb_define_class_id( in build_class_from_descriptor()
452 rb_ivar_set(klass, descriptor_instancevar_interned, in build_class_from_descriptor()
454 rb_define_alloc_func(klass, Message_alloc); in build_class_from_descriptor()
456 rb_include_module(klass, rb_eval_string("Google::Protobuf::MessageExts")); in build_class_from_descriptor()
[all …]
Drepeated_field.c514 void validate_type_class(upb_fieldtype_t type, VALUE klass) { in validate_type_class() argument
515 if (rb_ivar_get(klass, descriptor_instancevar_interned) == Qnil) { in validate_type_class()
521 VALUE desc = rb_ivar_get(klass, descriptor_instancevar_interned); in validate_type_class()
526 if (rb_get_alloc_func(klass) != &Message_alloc) { in validate_type_class()
531 VALUE enumdesc = rb_ivar_get(klass, descriptor_instancevar_interned); in validate_type_class()
607 VALUE RepeatedField_alloc(VALUE klass) { in RepeatedField_alloc() argument
614 return TypedData_Wrap_Struct(klass, &RepeatedField_type, self); in RepeatedField_alloc()
623 VALUE klass = rb_define_class_under( in RepeatedField_register() local
625 rb_define_alloc_func(klass, RepeatedField_alloc); in RepeatedField_register()
626 cRepeatedField = klass; in RepeatedField_register()
[all …]
Dmap.c168 VALUE Map_alloc(VALUE klass) { in Map_alloc() argument
172 return TypedData_Wrap_Struct(klass, &Map_type, self); in Map_alloc()
787 VALUE klass = rb_define_class_under(module, "Map", rb_cObject); in Map_register() local
788 rb_define_alloc_func(klass, Map_alloc); in Map_register()
789 cMap = klass; in Map_register()
792 rb_define_method(klass, "initialize", Map_init, -1); in Map_register()
793 rb_define_method(klass, "each", Map_each, 0); in Map_register()
794 rb_define_method(klass, "keys", Map_keys, 0); in Map_register()
795 rb_define_method(klass, "values", Map_values, 0); in Map_register()
796 rb_define_method(klass, "[]", Map_index, 1); in Map_register()
[all …]
/external/harfbuzz_ng/src/
Dhb-font.hh122 hb_font_funcs_t *klass; member
181 hb_font_funcs_t *funcs = this->klass; \
188 hb_font_funcs_t *funcs = this->klass; \
198 return klass->get.f.font_h_extents (this, user_data, in get_font_h_extents()
200 klass->user_data.font_h_extents); in get_font_h_extents()
205 return klass->get.f.font_v_extents (this, user_data, in get_font_v_extents()
207 klass->user_data.font_v_extents); in get_font_v_extents()
220 return klass->get.f.nominal_glyph (this, user_data, in get_nominal_glyph()
222 klass->user_data.nominal_glyph); in get_nominal_glyph()
230 return klass->get.f.nominal_glyphs (this, user_data, in get_nominal_glyphs()
[all …]
/external/junit/src/main/java/org/junit/runners/
DSuite.java53 private static Class<?>[] getAnnotatedClasses(Class<?> klass) throws InitializationError { in getAnnotatedClasses() argument
54 SuiteClasses annotation = klass.getAnnotation(SuiteClasses.class); in getAnnotatedClasses()
56 …tializationError(String.format("class '%s' must have a SuiteClasses annotation", klass.getName())); in getAnnotatedClasses()
69 public Suite(Class<?> klass, RunnerBuilder builder) throws InitializationError { in Suite() argument
70 this(builder, klass, getAnnotatedClasses(klass)); in Suite()
90 protected Suite(Class<?> klass, Class<?>[] suiteClasses) throws InitializationError { in Suite() argument
91 this(new AllDefaultPossibilitiesBuilder(true), klass, suiteClasses); in Suite()
101 …protected Suite(RunnerBuilder builder, Class<?> klass, Class<?>[] suiteClasses) throws Initializat… in Suite() argument
102 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/
Dgen-postmortem-metadata.py334 def get_base_class(klass): argument
335 if (klass == 'Object'):
336 return klass;
338 if (not (klass in klasses)):
341 k = klasses[klass];
353 for klass in expected_classes:
354 checktypes[klass] = True;
362 for klass in checktypes:
363 print('error: expected class \"%s\" not found' % klass);
399 klass = match.group(1).strip();
[all …]
/external/mockito/src/main/java/org/mockito/junit/
DMockitoJUnitRunner.java108 public Silent(Class<?> klass) throws InvocationTargetException { in Silent() argument
109 super(new RunnerFactory().create(klass)); in Silent()
123 public Strict(Class<?> klass) throws InvocationTargetException { in Strict() argument
124 super(new StrictRunner(new RunnerFactory().createStrict(klass), klass)); in Strict()
145 public StrictStubs(Class<?> klass) throws InvocationTargetException { in StrictStubs() argument
146 super(new StrictRunner(new RunnerFactory().createStrictStubs(klass), klass)); in StrictStubs()
152 public MockitoJUnitRunner(Class<?> klass) throws InvocationTargetException { in MockitoJUnitRunner() argument
154 this(new StrictRunner(new RunnerFactory().createStrict(klass), klass)); in MockitoJUnitRunner()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DServiceProviders.java38 Class<T> klass, in load() argument
42 List<T> candidates = loadAll(klass, hardcoded, cl, priorityAccessor); in load()
56 Class<T> klass, in loadAll() argument
62 candidates = getCandidatesViaHardCoded(klass, hardcoded); in loadAll()
64 candidates = getCandidatesViaServiceLoader(klass, cl); in loadAll()
102 public static <T> Iterable<T> getCandidatesViaServiceLoader(Class<T> klass, ClassLoader cl) { in getCandidatesViaServiceLoader() argument
103 Iterable<T> i = ServiceLoader.load(klass, cl); in getCandidatesViaServiceLoader()
107 i = ServiceLoader.load(klass); in getCandidatesViaServiceLoader()
117 static <T> Iterable<T> getCandidatesViaHardCoded(Class<T> klass, Iterable<Class<?>> hardcoded) { in getCandidatesViaHardCoded() argument
120 list.add(create(klass, candidate)); in getCandidatesViaHardCoded()
[all …]
DInternalServiceProviders.java31 Class<T> klass, in load() argument
35 return ServiceProviders.load(klass, hardcoded, classLoader, priorityAccessor); in load()
42 Class<T> klass, in loadAll() argument
46 return ServiceProviders.loadAll(klass, hardCodedClasses, classLoader, priorityAccessor); in loadAll()
53 public static <T> Iterable<T> getCandidatesViaServiceLoader(Class<T> klass, ClassLoader cl) { in getCandidatesViaServiceLoader() argument
54 return ServiceProviders.getCandidatesViaServiceLoader(klass, cl); in getCandidatesViaServiceLoader()
62 Class<T> klass, Iterable<Class<?>> hardcoded) { in getCandidatesViaHardCoded() argument
63 return ServiceProviders.getCandidatesViaHardCoded(klass, hardcoded); in getCandidatesViaHardCoded()
/external/mockito/src/main/java/org/mockito/internal/runners/
DRunnerFactory.java28 public InternalRunner create(Class<?> klass) throws InvocationTargetException { in create() argument
29 return create(klass, new Supplier<MockitoTestListener>() { in create()
39 public InternalRunner createStrict(Class<?> klass) throws InvocationTargetException {
40 return create(klass, new Supplier<MockitoTestListener>() {
52 public InternalRunner createStrictStubs(Class<?> klass) throws InvocationTargetException {
53 return create(klass, new Supplier<MockitoTestListener>() {
63 …public InternalRunner create(Class<?> klass, Supplier<MockitoTestListener> listenerSupplier) throw…
69 return new RunnerProvider().newInstance(runnerClassName, klass, listenerSupplier);
71 if (!hasTestMethods(klass)) {
75 "No tests found in " + klass.getSimpleName() + "\n" +
/external/python/cpython2/Lib/compiler/
Dvisitor.py44 klass = node.__class__
45 meth = self._cache.get(klass, None)
47 className = klass.__name__
49 self._cache[klass] = meth
86 klass = node.__class__
87 if klass not in self.examples:
88 self.examples[klass] = klass
91 print klass
Dmisc.py46 def mangle(name, klass): argument
55 while klass[i] == '_':
59 klass = klass[i:]
61 tlen = len(klass) + len(name)
63 klass = klass[:MANGLE_LEN-tlen]
65 return "_%s%s" % (klass, name)
Dsymbols.py16 def __init__(self, name, module, klass=None): argument
30 self.klass = None
31 if klass is not None:
32 for i in range(len(klass)):
33 if klass[i] != '_':
34 self.klass = klass[i:]
41 if self.klass is None:
43 return mangle(name, self.klass)
186 def __init__(self, module, klass=None): argument
189 self.__super_init("generator expression<%d>"%i, module, klass)
[all …]
/external/oj-libjdwp/src/share/javavm/export/
Djvmti.h605 jclass klass; member
743 jclass klass);
749 jclass klass);
1221 jclass klass,
1226 jclass klass,
1231 jclass klass,
1236 jclass klass,
1241 jclass klass,
1255 jclass klass,
1261 jclass klass,
[all …]
/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/main/java/org/junit/experimental/categories/
DCategories.java306 public Categories(Class<?> klass, RunnerBuilder builder) throws InitializationError { in Categories() argument
307 super(klass, builder); in Categories()
309 Set<Class<?>> included= getIncludedCategory(klass); in Categories()
310 Set<Class<?>> excluded= getExcludedCategory(klass); in Categories()
311 boolean isAnyIncluded= isAnyIncluded(klass); in Categories()
312 boolean isAnyExcluded= isAnyExcluded(klass); in Categories()
321 private static Set<Class<?>> getIncludedCategory(Class<?> klass) { in getIncludedCategory() argument
322 IncludeCategory annotation= klass.getAnnotation(IncludeCategory.class); in getIncludedCategory()
326 private static boolean isAnyIncluded(Class<?> klass) { in isAnyIncluded() argument
327 IncludeCategory annotation= klass.getAnnotation(IncludeCategory.class); in isAnyIncluded()
[all …]
/external/grpc-grpc-java/context/src/test/java/io/grpc/
DStaticTestingClassLoader.java59 Class<?> klass = findLoadedClass(name); in loadClass() local
60 if (klass == null) { in loadClass()
62 klass = findClass(name); in loadClass()
67 if (klass == null) { in loadClass()
68 klass = super.loadClass(name, false); in loadClass()
71 resolveClass(klass); in loadClass()
73 return klass; in loadClass()
/external/vogar/src/vogar/target/junit/
DJUnitRunnerFactory.java32 Class<?> klass, AtomicReference<String> skipPastReference, in newRunner() argument
34 if (supports(klass)) { in newRunner()
36 timeoutSeconds, klass, qualification, args); in newRunner()
42 private boolean supports(Class<?> klass) { in supports() argument
43 return Junit3.isJunit3Test(klass) || Junit4.isJunit4Test(klass); in supports()
/external/junit/src/main/java/org/junit/internal/runners/
DTestClass.java24 private final Class<?> klass; field in TestClass
26 public TestClass(Class<?> klass) { in TestClass() argument
27 this.klass = klass; in TestClass()
44 for (Class<?> eachClass : getSuperClasses(klass)) { in getAnnotatedMethods()
98 return klass.getConstructor(); in getConstructor()
102 return klass; in getJavaClass()
106 return klass.getName(); in getName()
DSuiteMethod.java23 public SuiteMethod(Class<?> klass) throws Throwable { in SuiteMethod() argument
24 super(testFromSuiteMethod(klass)); in SuiteMethod()
27 public static Test testFromSuiteMethod(Class<?> klass) throws Throwable { in testFromSuiteMethod() argument
31 suiteMethod = klass.getMethod("suite"); in testFromSuiteMethod()
33 throw new Exception(klass.getName() + ".suite() must be static"); in testFromSuiteMethod()
/external/mockito/src/main/java/org/mockito/runners/
DMockitoJUnitRunner.java29 public Silent(Class<?> klass) throws InvocationTargetException { in Silent() argument
30 super(klass); in Silent()
41 public Strict(Class<?> klass) throws InvocationTargetException { in Strict() argument
42 super(klass); in Strict()
46 public MockitoJUnitRunner(Class<?> klass) throws InvocationTargetException { in MockitoJUnitRunner() argument
47 super(klass); in MockitoJUnitRunner()
/external/vogar/src/vogar/
DClassAnalyzer.java23 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/vogar/src/vogar/target/
DTestRunner.java188 for (Class<?> klass : classes) { in run()
189 if (klass.getName().endsWith(".AllTests")) { in run()
190 toRemove.add(klass); in run()
197 for (Class<?> klass : classes) { in run()
200 targetRunner = runnerFactory.newRunner(monitor, qualification, klass, in run()
203 monitor.outcomeStarted(klass.getName()); in run()
210 monitor.outcomeStarted(klass.getName()); in run()
211 System.out.println("Skipping " + klass.getName() in run()
245 Class<?> klass, AtomicReference<String> skipPastReference, in newRunner() argument
248 TargetRunner targetRunner = runnerFactory.newRunner(monitor, qualification, klass, in newRunner()

123456789