Searched refs:cls (Results 1 - 25 of 304) sorted by relevance

1234567891011>>

/external/clang/test/Sema/
H A DMicrosoftCompatibility.cpp6 struct cls { struct
10 char * cls::* __uptr wrong2 = &cls::m; // expected-error {{'__uptr' attribute cannot be used with pointers to members}}
/external/emma/core/java12/com/vladium/jcd/cls/constant/
H A DCONSTANT_literal_info.java9 package com.vladium.jcd.cls.constant;
/external/libnl/src/
H A Dnl-cls-add.c2 * src/nl-cls-add.c Add classifier
11 #include "cls/utils.h"
18 "Usage: nl-cls-add [OPTION]... [CLASSIFIER] TYPE [TYPE OPTIONS]...\n"
38 struct rtnl_cls *cls; local
52 cls = nlt_alloc_cls();
82 case 'd': parse_dev(cls, link_cache, optarg); break;
83 case 'p': parse_parent(cls, optarg); break;
84 case ARG_PRIO: parse_prio(cls, optarg); break;
85 case ARG_ID: parse_handle(cls, optarg); break;
86 case ARG_PROTO: parse_proto(cls, optar
[all...]
H A Dnl-cls-list.c2 * src/nl-cls-list.c List classifiers
12 #include "cls/utils.h"
15 static struct rtnl_cls *cls; variable in typeref:struct:rtnl_cls
23 "Usage: nl-cls-list [OPTION]... [CLASSIFIER]\n"
48 ifindex = rtnl_cls_get_ifindex(cls);
50 err = rtnl_cls_alloc_cache(sock, ifindex, rtnl_cls_get_parent(cls),
56 nl_cache_dump_filter(cls_cache, &params, OBJ_CAST(cls));
69 cls = nlt_alloc_cls();
99 case 'd': dev = 1; parse_dev(cls, link_cache, optarg); break;
100 case 'p': parse_parent(cls, optar
[all...]
H A Dnl-cls-delete.c2 * src/nl-cls-delete.c Delete Classifier
12 #include "cls/utils.h"
21 "Usage: nl-cls-list [OPTION]... [CLASSIFIER]\n"
42 struct rtnl_cls *cls = (struct rtnl_cls *) obj; local
52 if ((err = rtnl_cls_delete(sock, cls, 0)) < 0)
67 struct rtnl_cls *cls; local
73 cls = nlt_alloc_cls();
107 case 'd': nf++; parse_dev(cls, link_cache, optarg); break;
108 case 'p': nf++; parse_parent(cls, optarg); break;
109 case ARG_PRIO: nf++; parse_prio(cls, optar
[all...]
/external/libnl/lib/route/
H A Dcls_obj.c13 * @ingroup cls
34 struct rtnl_cls *cls = (struct rtnl_cls *) obj; local
37 tca_free_data((struct rtnl_tca *) cls);
39 cops = rtnl_cls_lookup_ops(cls);
41 cops->co_free_data(cls);
43 nl_data_free(cls->c_subdata);
74 struct rtnl_cls *cls = (struct rtnl_cls *) obj; local
77 tca_dump_line((struct rtnl_tca *) cls, "cls", p);
79 nl_dump(p, " prio %u protocol %s", cls
90 struct rtnl_cls *cls = (struct rtnl_cls *) obj; local
105 struct rtnl_cls *cls = (struct rtnl_cls *) obj; local
127 rtnl_cls_put(struct rtnl_cls *cls) argument
145 rtnl_cls_get_ifindex(struct rtnl_cls *cls) argument
160 rtnl_cls_get_parent(struct rtnl_cls *cls) argument
165 rtnl_cls_set_kind(struct rtnl_cls *cls, const char *kind) argument
178 rtnl_cls_get_ops(struct rtnl_cls *cls) argument
183 rtnl_cls_set_prio(struct rtnl_cls *cls, uint16_t prio) argument
189 rtnl_cls_get_prio(struct rtnl_cls *cls) argument
197 rtnl_cls_set_protocol(struct rtnl_cls *cls, uint16_t protocol) argument
203 rtnl_cls_get_protocol(struct rtnl_cls *cls) argument
211 rtnl_cls_data(struct rtnl_cls *cls) argument
[all...]
H A Dcls.c14 * @defgroup cls Classifiers
42 struct rtnl_cls *cls; local
45 cls = rtnl_cls_alloc();
46 if (!cls) {
50 cls->ce_msgtype = nlh->nlmsg_type;
52 err = tca_msg_parser(nlh, (struct rtnl_tca *) cls);
56 cls->c_prio = TC_H_MAJ(cls->c_info) >> 16;
57 cls->c_protocol = ntohs(TC_H_MIN(cls
83 cls_build(struct rtnl_cls *cls, int type, int flags, struct nl_msg **result) argument
142 rtnl_cls_build_add_request(struct rtnl_cls *cls, int flags, struct nl_msg **result) argument
160 rtnl_cls_add(struct nl_sock *sk, struct rtnl_cls *cls, int flags) argument
189 rtnl_cls_build_change_request(struct rtnl_cls *cls, int flags, struct nl_msg **result) argument
207 rtnl_cls_change(struct nl_sock *sk, struct rtnl_cls *cls, int flags) argument
236 rtnl_cls_build_delete_request(struct rtnl_cls *cls, int flags, struct nl_msg **result) argument
255 rtnl_cls_delete(struct nl_sock *sk, struct rtnl_cls *cls, int flags) argument
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowComponentName.java21 private String cls; field in class:ShadowComponentName
23 public void __constructor__(String pkg, String cls) { argument
25 if (cls == null) throw new NullPointerException("class name is null");
27 this.cls = cls;
30 public void __constructor__(Context pkg, String cls) { argument
31 if (cls == null) throw new NullPointerException("class name is null");
33 this.cls = cls;
36 public void __constructor__(Context pkg, Class<?> cls) { argument
[all...]
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/
H A Dclassinit.py7 cls = type.__new__(meta, class_name, bases, new_attrs)
9 and not isinstance(cls.__classinit__, staticmethod)):
10 setattr(cls, '__classinit__',
11 staticmethod(cls.__classinit__.im_func))
12 if hasattr(cls, '__classinit__'):
13 cls.__classinit__(cls, new_attrs)
14 return cls
16 def build_properties(cls, new_attrs):
26 if hasattr(cls, bas
[all...]
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/appengine/auth/
H A Dmodels.py42 def create_user(cls, username, auth_id, email):
68 def create(cls, value):
83 entity = cls(key=model.Key(cls, value))
88 def create_multi(cls, values):
106 keys = [model.Key(cls, value) for value in values]
107 entities = [cls(key=key) for key in keys]
119 def delete_multi(cls, values):
125 return model.delete_multi(model.Key(cls, v) for v in values)
138 def get_key(cls, use
[all...]
/external/emma/core/java12/com/vladium/jcd/cls/
H A DAbstractClassDefVisitor.java9 package com.vladium.jcd.cls;
22 public Object visit (final ClassDef cls, final Object ctx) argument
24 visit (cls.getConstants (), ctx);
25 visit (cls.getInterfaces (), ctx);
26 visit (cls.getFields (), ctx);
27 visit (cls.getMethods (), ctx);
28 visit (cls.getAttributes (), ctx);
H A DIClassDefConstants.java9 package com.vladium.jcd.cls;
/external/libnl/src/cls/
H A Dutils.c2 * src/cls-utils.c Classifier Helpers
15 struct rtnl_cls *cls; local
17 cls = rtnl_cls_alloc();
18 if (!cls)
21 return cls;
24 void parse_dev(struct rtnl_cls *cls, struct nl_cache *link_cache, char *arg) argument
31 rtnl_cls_set_ifindex(cls, ival);
34 void parse_prio(struct rtnl_cls *cls, char *arg) argument
37 rtnl_cls_set_prio(cls, prio);
40 void parse_parent(struct rtnl_cls *cls, cha argument
52 parse_handle(struct rtnl_cls *cls, char *arg) argument
64 parse_proto(struct rtnl_cls *cls, char *arg) argument
[all...]
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
H A DClassResourceLoader.java53 private final Class<?> cls; field in class:ClassResourceLoader
56 public ClassResourceLoader(Class<?> cls) { argument
57 this.cls = cls;
58 this.basePath = "/" + cls.getPackage().getName().replace('.', '/');
63 * relative to the .class file of {@code cls}.
65 public ClassResourceLoader(Class<?> cls, String basePath) { argument
66 this.cls = cls;
72 InputStream stream = cls
[all...]
/external/emma/core/java12/com/vladium/jcd/cls/attribute/
H A DAttributeElementFactory.java9 package com.vladium.jcd.cls.attribute;
H A DSourceFileAttribute_info.java9 package com.vladium.jcd.cls.attribute;
13 import com.vladium.jcd.cls.ClassDef;
14 import com.vladium.jcd.cls.constant.CONSTANT_Utf8_info;
43 public CONSTANT_Utf8_info getSourceFile (final ClassDef cls) argument
45 return (CONSTANT_Utf8_info) cls.getConstants ().get (m_sourcefile_index);
/external/protobuf/python/google/protobuf/pyext/
H A Dcpp_message.py55 def InitMessage(message_descriptor, cls):
59 super(cls, self).__init__(message_descriptor, **kwargs)
60 cls.__init__ = SubInit
61 cls.AddDescriptors(message_descriptor)
/external/libnl/lib/route/cls/
H A Dcgroup.c2 * lib/route/cls/cgroup.c Control Groups Classifier
26 #include <netlink/route/cls/cgroup.h>
27 #include <netlink/route/cls/ematch.h>
37 static void cgroup_free_data(struct rtnl_cls *cls) argument
39 struct rtnl_cgroup *cg = rtnl_cls_data(cls);
44 static int cgroup_msg_parser(struct rtnl_cls *cls) argument
46 struct rtnl_cgroup *cg = rtnl_cls_data(cls);
50 err = tca_parse(tb, TCA_CGROUP_MAX, (struct rtnl_tca *) cls,
71 static void cgroup_dump_line(struct rtnl_cls *cls, struct nl_dump_params *p) argument
73 struct rtnl_cgroup *cg = rtnl_cls_data(cls);
81 cgroup_dump_details(struct rtnl_cls *cls, struct nl_dump_params *p) argument
97 rtnl_cgroup_set_ematch(struct rtnl_cls *cls, struct rtnl_ematch_tree *tree) argument
114 rtnl_cgroup_get_ematch(struct rtnl_cls *cls) argument
[all...]
H A Dbasic.c2 * lib/route/cls/basic.c Basic Classifier
13 * @ingroup cls
30 #include <netlink/route/cls/basic.h>
31 #include <netlink/route/cls/ematch.h>
57 static void basic_free_data(struct rtnl_cls *cls) argument
59 struct rtnl_basic *basic = rtnl_cls_data(cls);
64 static int basic_msg_parser(struct rtnl_cls *cls) argument
67 struct rtnl_basic *basic = rtnl_cls_data(cls);
70 err = tca_parse(tb, TCA_BASIC_MAX, (struct rtnl_tca *) cls, basic_policy);
99 static void basic_dump_line(struct rtnl_cls *cls, struc argument
114 basic_dump_details(struct rtnl_cls *cls, struct nl_dump_params *p) argument
126 basic_get_opts(struct rtnl_cls *cls, struct nl_msg *msg) argument
146 rtnl_basic_set_classid(struct rtnl_cls *cls, uint32_t classid) argument
156 rtnl_basic_get_classid(struct rtnl_cls *cls) argument
163 rtnl_basic_set_ematch(struct rtnl_cls *cls, struct rtnl_ematch_tree *tree) argument
180 rtnl_basic_get_ematch(struct rtnl_cls *cls) argument
[all...]
/external/parameter-framework/test/functional-tests/Util/
H A DPfwUnitTestLib.py89 def setUpClass(cls):
90 cls.startHal()
93 def tearDownClass(cls):
94 cls.stopHal()
97 def startHal(cls):
99 cls.hal.startHal()
102 cls.hal.createInclusiveCriterion("Crit_0", "2")
103 cls.hal.createExclusiveCriterion("Crit_1", "2")
105 cls.hal.start()
108 def stopHal(cls)
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/support/
H A DP.java33 private String findProp(Class cls, String key) { argument
36 ResourceBundle b = ResourceBundle.getBundle(cls.getName());
40 if (ret == null && !cls.equals(Object.class) && !cls.isPrimitive()) {
41 ret = findProp(cls.getSuperclass(), key);
/external/nanopb-c/generator/google/protobuf/
H A Dservice_reflection.py64 def __init__(cls, name, bases, dictionary):
81 service_builder.BuildService(cls)
94 def __init__(cls, name, bases, dictionary):
104 super(GeneratedServiceStubType, cls).__init__(name, bases, dictionary)
111 service_stub_builder.BuildServiceStub(cls)
133 def BuildService(self, cls):
137 cls: The class that will be constructed.
147 self.cls = cls
148 cls
[all...]
/external/protobuf/python/google/protobuf/
H A Dservice_reflection.py64 def __init__(cls, name, bases, dictionary):
81 service_builder.BuildService(cls)
94 def __init__(cls, name, bases, dictionary):
104 super(GeneratedServiceStubType, cls).__init__(name, bases, dictionary)
111 service_stub_builder.BuildServiceStub(cls)
133 def BuildService(self, cls):
137 cls: The class that will be constructed.
147 self.cls = cls
148 cls
[all...]
/external/protobuf/python/google/protobuf/internal/
H A Dpython_message.py91 def InitMessage(descriptor, cls):
92 cls._decoders_by_tag = {}
93 cls._extensions_by_name = {}
94 cls._extensions_by_number = {}
97 cls._decoders_by_tag[decoder.MESSAGE_SET_ITEM_TAG] = (
98 decoder.MessageSetItemDecoder(cls._extensions_by_number), None)
102 _AttachFieldHelpers(cls, field)
104 _AddEnumValues(descriptor, cls)
105 _AddInitMethod(descriptor, cls)
106 _AddPropertiesForFields(descriptor, cls)
[all...]
/external/nanopb-c/generator/google/protobuf/internal/
H A Dpython_message.py82 def InitMessage(descriptor, cls):
83 cls._decoders_by_tag = {}
84 cls._extensions_by_name = {}
85 cls._extensions_by_number = {}
88 cls._decoders_by_tag[decoder.MESSAGE_SET_ITEM_TAG] = (
89 decoder.MessageSetItemDecoder(cls._extensions_by_number))
93 _AttachFieldHelpers(cls, field)
95 _AddEnumValues(descriptor, cls)
96 _AddInitMethod(descriptor, cls)
97 _AddPropertiesForFields(descriptor, cls)
[all...]

Completed in 2344 milliseconds

1234567891011>>