Home
last modified time | relevance | path

Searched refs:cls (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/external/libnl/lib/route/
Dcls_obj.c34 struct rtnl_cls *cls = (struct rtnl_cls *) obj; in cls_free_data() local
37 tca_free_data((struct rtnl_tca *) cls); in cls_free_data()
39 cops = rtnl_cls_lookup_ops(cls); in cls_free_data()
41 cops->co_free_data(cls); in cls_free_data()
43 nl_data_free(cls->c_subdata); in cls_free_data()
74 struct rtnl_cls *cls = (struct rtnl_cls *) obj; in cls_dump_line() local
77 tca_dump_line((struct rtnl_tca *) cls, "cls", p); in cls_dump_line()
79 nl_dump(p, " prio %u protocol %s", cls->c_prio, in cls_dump_line()
80 nl_ether_proto2str(cls->c_protocol, buf, sizeof(buf))); in cls_dump_line()
82 cops = rtnl_cls_lookup_ops(cls); in cls_dump_line()
[all …]
Dcls.c42 struct rtnl_cls *cls; in cls_msg_parser() local
45 cls = rtnl_cls_alloc(); in cls_msg_parser()
46 if (!cls) { in cls_msg_parser()
50 cls->ce_msgtype = nlh->nlmsg_type; in cls_msg_parser()
52 err = tca_msg_parser(nlh, (struct rtnl_tca *) cls); in cls_msg_parser()
56 cls->c_prio = TC_H_MAJ(cls->c_info) >> 16; in cls_msg_parser()
57 cls->c_protocol = ntohs(TC_H_MIN(cls->c_info)); in cls_msg_parser()
59 cops = rtnl_cls_lookup_ops(cls); in cls_msg_parser()
60 if (cops && cops->co_msg_parser && (err = cops->co_msg_parser(cls)) < 0) in cls_msg_parser()
63 err = pp->pp_cb((struct nl_object *) cls, pp); in cls_msg_parser()
[all …]
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/appengine/auth/
Dmodels.py68 def create(cls, value): argument
83 entity = cls(key=model.Key(cls, value))
88 def create_multi(cls, values): argument
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): argument
125 return model.delete_multi(model.Key(cls, v) for v in values)
138 def get_key(cls, user, subject, token): argument
154 return model.Key(cls, '%s.%s.%s' % (str(user), subject, token))
157 def create(cls, user, subject, token=None): argument
[all …]
/external/nanopb-c/generator/google/protobuf/internal/
Dpython_message.py82 def InitMessage(descriptor, cls): argument
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 …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowComponentName.java21 private String cls; field in ShadowComponentName
23 public void __constructor__(String pkg, String cls) { in __constructor__() argument
25 if (cls == null) throw new NullPointerException("class name is null"); in __constructor__()
27 this.cls = cls; in __constructor__()
30 public void __constructor__(Context pkg, String cls) { in __constructor__() argument
31 if (cls == null) throw new NullPointerException("class name is null"); in __constructor__()
33 this.cls = cls; in __constructor__()
36 public void __constructor__(Context pkg, Class<?> cls) { in __constructor__() argument
38 this.cls = cls.getName(); in __constructor__()
48 return cls; in getClassName()
[all …]
/external/protobuf/python/google/protobuf/internal/
Dpython_message.py91 def InitMessage(descriptor, cls): argument
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/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/
DSerializer.java164 public static SerializerRegistration registerClass(Class cls) { in registerClass() argument
165 return registerClass(cls, true); in registerClass()
179 public static SerializerRegistration registerClass(Class cls, boolean failOnMiss) { in registerClass() argument
180 if (cls.isAnnotationPresent(Serializable.class)) { in registerClass()
181 Serializable serializable = (Serializable)cls.getAnnotation(Serializable.class); in registerClass()
191 SerializerRegistration existingReg = getExactSerializerRegistration(cls); in registerClass()
194 SerializerRegistration reg = new SerializerRegistration(serializer, cls, classId); in registerClass()
197 classRegistrations.put(cls, reg); in registerClass()
199 serializer.initialize(cls); in registerClass()
201 log.log( Level.INFO, "Registered class[" + classId + "]:{0}.", cls ); in registerClass()
[all …]
/external/nanopb-c/generator/google/protobuf/
Dservice_reflection.py64 def __init__(cls, name, bases, dictionary): argument
81 service_builder.BuildService(cls)
94 def __init__(cls, name, bases, dictionary): argument
104 super(GeneratedServiceStubType, cls).__init__(name, bases, dictionary)
111 service_stub_builder.BuildServiceStub(cls)
133 def BuildService(self, cls): argument
147 self.cls = cls
148 cls.CallMethod = _WrapCallMethod
149 cls.GetDescriptor = staticmethod(lambda: self.descriptor)
150 cls.GetDescriptor.__doc__ = "Returns the service descriptor."
[all …]
/external/libnl/lib/route/cls/
Dbasic.c57 static void basic_free_data(struct rtnl_cls *cls) in basic_free_data() argument
59 struct rtnl_basic *basic = rtnl_cls_data(cls); in basic_free_data()
64 static int basic_msg_parser(struct rtnl_cls *cls) in basic_msg_parser() argument
67 struct rtnl_basic *basic = rtnl_cls_data(cls); in basic_msg_parser()
70 err = tca_parse(tb, TCA_BASIC_MAX, (struct rtnl_tca *) cls, basic_policy); in basic_msg_parser()
99 static void basic_dump_line(struct rtnl_cls *cls, struct nl_dump_params *p) in basic_dump_line() argument
101 struct rtnl_basic *b = rtnl_cls_data(cls); in basic_dump_line()
114 static void basic_dump_details(struct rtnl_cls *cls, struct nl_dump_params *p) in basic_dump_details() argument
116 struct rtnl_basic *b = rtnl_cls_data(cls); in basic_dump_details()
126 static int basic_get_opts(struct rtnl_cls *cls, struct nl_msg *msg) in basic_get_opts() argument
[all …]
Dcgroup.c37 static void cgroup_free_data(struct rtnl_cls *cls) in cgroup_free_data() argument
39 struct rtnl_cgroup *cg = rtnl_cls_data(cls); in cgroup_free_data()
44 static int cgroup_msg_parser(struct rtnl_cls *cls) in cgroup_msg_parser() argument
46 struct rtnl_cgroup *cg = rtnl_cls_data(cls); in cgroup_msg_parser()
50 err = tca_parse(tb, TCA_CGROUP_MAX, (struct rtnl_tca *) cls, in cgroup_msg_parser()
71 static void cgroup_dump_line(struct rtnl_cls *cls, struct nl_dump_params *p) in cgroup_dump_line() argument
73 struct rtnl_cgroup *cg = rtnl_cls_data(cls); in cgroup_dump_line()
81 static void cgroup_dump_details(struct rtnl_cls *cls, struct nl_dump_params *p) in cgroup_dump_details() argument
83 struct rtnl_cgroup *cg = rtnl_cls_data(cls); in cgroup_dump_details()
97 int rtnl_cgroup_set_ematch(struct rtnl_cls *cls, struct rtnl_ematch_tree *tree) in rtnl_cgroup_set_ematch() argument
[all …]
Du32.c67 static int u32_msg_parser(struct rtnl_cls *cls) in u32_msg_parser() argument
69 struct rtnl_u32 *u = rtnl_cls_data(cls); in u32_msg_parser()
73 err = tca_parse(tb, TCA_U32_MAX, (struct rtnl_tca *) cls, u32_policy); in u32_msg_parser()
154 static void u32_free_data(struct rtnl_cls *cls) in u32_free_data() argument
156 struct rtnl_u32 *u = rtnl_cls_data(cls); in u32_free_data()
185 static void u32_dump_line(struct rtnl_cls *cls, struct nl_dump_params *p) in u32_dump_line() argument
187 struct rtnl_u32 *u = rtnl_cls_data(cls); in u32_dump_line()
198 struct rtnl_cls *cls, struct rtnl_u32 *u) in print_selector() argument
256 static void u32_dump_details(struct rtnl_cls *cls, struct nl_dump_params *p) in u32_dump_details() argument
258 struct rtnl_u32 *u = rtnl_cls_data(cls); in u32_dump_details()
[all …]
Dfw.c41 static int fw_msg_parser(struct rtnl_cls *cls) in fw_msg_parser() argument
43 struct rtnl_fw *f = rtnl_cls_data(cls); in fw_msg_parser()
47 err = tca_parse(tb, TCA_FW_MAX, (struct rtnl_tca *) cls, fw_policy); in fw_msg_parser()
78 static void fw_free_data(struct rtnl_cls *cls) in fw_free_data() argument
80 struct rtnl_fw *f = rtnl_cls_data(cls); in fw_free_data()
100 static void fw_dump_line(struct rtnl_cls *cls, struct nl_dump_params *p) in fw_dump_line() argument
102 struct rtnl_fw *f = rtnl_cls_data(cls); in fw_dump_line()
110 static void fw_dump_details(struct rtnl_cls *cls, struct nl_dump_params *p) in fw_dump_details() argument
112 struct rtnl_fw *f = rtnl_cls_data(cls); in fw_dump_details()
118 static int fw_get_opts(struct rtnl_cls *cls, struct nl_msg *msg) in fw_get_opts() argument
[all …]
/external/protobuf/python/google/protobuf/
Dservice_reflection.py64 def __init__(cls, name, bases, dictionary): argument
81 service_builder.BuildService(cls)
94 def __init__(cls, name, bases, dictionary): argument
104 super(GeneratedServiceStubType, cls).__init__(name, bases, dictionary)
111 service_stub_builder.BuildServiceStub(cls)
133 def BuildService(self, cls): argument
147 self.cls = cls
148 cls.CallMethod = _WrapCallMethod
149 cls.GetDescriptor = staticmethod(lambda: self.descriptor)
150 cls.GetDescriptor.__doc__ = "Returns the service descriptor."
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZInstrFormats.td562 class InherentRRE<string mnemonic, bits<16> opcode, RegisterOperand cls,
564 : InstRRE<opcode, (outs cls:$R1), (ins),
566 [(set cls:$R1, src)]> {
570 class BranchUnaryRI<string mnemonic, bits<12> opcode, RegisterOperand cls>
571 : InstRI<opcode, (outs cls:$R1), (ins cls:$R1src, brtarget16:$I2),
579 class LoadMultipleRSY<string mnemonic, bits<16> opcode, RegisterOperand cls>
580 : InstRSY<opcode, (outs cls:$R1, cls:$R3), (ins bdaddr20only:$BD2),
586 RegisterOperand cls>
587 : InstRIL<opcode, (outs), (ins cls:$R1, pcrel32:$I2),
589 [(operator cls:$R1, pcrel32:$I2)]> {
[all …]
/external/libnl/src/cls/
Dutils.c15 struct rtnl_cls *cls; in nlt_alloc_cls() local
17 cls = rtnl_cls_alloc(); in nlt_alloc_cls()
18 if (!cls) in nlt_alloc_cls()
21 return cls; in nlt_alloc_cls()
24 void parse_dev(struct rtnl_cls *cls, struct nl_cache *link_cache, char *arg) in parse_dev() argument
31 rtnl_cls_set_ifindex(cls, ival); in parse_dev()
34 void parse_prio(struct rtnl_cls *cls, char *arg) in parse_prio() argument
37 rtnl_cls_set_prio(cls, prio); in parse_prio()
40 void parse_parent(struct rtnl_cls *cls, char *arg) in parse_parent() argument
49 rtnl_cls_set_parent(cls, parent); in parse_parent()
[all …]
/external/opencv/ml/src/
Dmlnbayes.cpp63 for( int cls = 0; cls < cls_labels->cols; cls++ ) in clear() local
65 cvReleaseMat( &count[cls] ); in clear()
66 cvReleaseMat( &sum[cls] ); in clear()
67 cvReleaseMat( &productsum[cls] ); in clear()
68 cvReleaseMat( &avg[cls] ); in clear()
69 cvReleaseMat( &inv_eigen_values[cls] ); in clear()
70 cvReleaseMat( &cov_rotate_mats[cls] ); in clear()
122 int cls, nsamples = 0, _var_count = 0, _var_all = 0, nclasses = 0; in train() local
159 for( cls = 0; cls < nclasses; cls++ ) in train()
161 CV_CALL(count[cls] = cvCreateMat( 1, var_count, CV_32SC1 )); in train()
[all …]
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/
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): argument
26 if hasattr(cls, base):
27 old_prop = getattr(cls, base)
[all …]
/external/libnl/src/
Dnl-cls-add.c38 struct rtnl_cls *cls; in main() local
52 cls = nlt_alloc_cls(); in main()
82 case 'd': parse_dev(cls, link_cache, optarg); break; in main()
83 case 'p': parse_parent(cls, optarg); break; in main()
84 case ARG_PRIO: parse_prio(cls, optarg); break; in main()
85 case ARG_ID: parse_handle(cls, optarg); break; in main()
86 case ARG_PROTO: parse_proto(cls, optarg); break; in main()
96 if ((err = rtnl_cls_set_kind(cls, kind)) < 0) in main()
99 ops = rtnl_cls_get_ops(cls); in main()
103 mod->parse_argv(cls, argc, argv); in main()
[all …]
Dnl-cls-delete.c42 struct rtnl_cls *cls = (struct rtnl_cls *) obj; in delete_cb() local
52 if ((err = rtnl_cls_delete(sock, cls, 0)) < 0) in delete_cb()
67 struct rtnl_cls *cls; in main() local
73 cls = nlt_alloc_cls(); in main()
107 case 'd': nf++; parse_dev(cls, link_cache, optarg); break; in main()
108 case 'p': nf++; parse_parent(cls, optarg); break; in main()
109 case ARG_PRIO: nf++; parse_prio(cls, optarg); break; in main()
110 case ARG_ID: nf++; parse_handle(cls, optarg); break; in main()
111 case ARG_PROTO: nf++; parse_proto(cls, optarg); break; in main()
121 err = rtnl_cls_alloc_cache(sock, rtnl_cls_get_ifindex(cls), in main()
[all …]
Dnl-cls-list.c15 static struct rtnl_cls *cls; variable
48 ifindex = rtnl_cls_get_ifindex(cls); in print_cls()
50 err = rtnl_cls_alloc_cache(sock, ifindex, rtnl_cls_get_parent(cls), in print_cls()
56 nl_cache_dump_filter(cls_cache, &params, OBJ_CAST(cls)); in print_cls()
69 cls = nlt_alloc_cls(); in main()
99 case 'd': dev = 1; parse_dev(cls, link_cache, optarg); break; in main()
100 case 'p': parse_parent(cls, optarg); break; in main()
101 case ARG_PRIO: parse_prio(cls, optarg); break; in main()
102 case ARG_ID: parse_handle(cls, optarg); break; in main()
103 case ARG_PROTO: parse_proto(cls, optarg); break; in main()
/external/llvm/test/CodeGen/AArch64/
Darm64-vcnt.ll5 ;CHECK: cls.8b
7 %tmp3 = call <8 x i8> @llvm.aarch64.neon.cls.v8i8(<8 x i8> %tmp1)
13 ;CHECK: cls.16b
15 %tmp3 = call <16 x i8> @llvm.aarch64.neon.cls.v16i8(<16 x i8> %tmp1)
21 ;CHECK: cls.4h
23 %tmp3 = call <4 x i16> @llvm.aarch64.neon.cls.v4i16(<4 x i16> %tmp1)
29 ;CHECK: cls.8h
31 %tmp3 = call <8 x i16> @llvm.aarch64.neon.cls.v8i16(<8 x i16> %tmp1)
37 ;CHECK: cls.2s
39 %tmp3 = call <2 x i32> @llvm.aarch64.neon.cls.v2i32(<2 x i32> %tmp1)
[all …]
/external/doclava/src/com/google/doclava/
DPackageInfo.java309 ClassInfo cls = mInterfacesMap.get(className); in getClass() local
311 if (cls != null) { in getClass()
312 return cls; in getClass()
315 cls = mOrdinaryClassesMap.get(className); in getClass()
317 if (cls != null) { in getClass()
318 return cls; in getClass()
321 cls = mEnumsMap.get(className); in getClass()
323 if (cls != null) { in getClass()
324 return cls; in getClass()
327 cls = mEnumsMap.get(className); in getClass()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
DClassResourceLoader.java53 private final Class<?> cls; field in ClassResourceLoader
56 public ClassResourceLoader(Class<?> cls) { in ClassResourceLoader() argument
57 this.cls = cls; in ClassResourceLoader()
58 this.basePath = "/" + cls.getPackage().getName().replace('.', '/'); in ClassResourceLoader()
65 public ClassResourceLoader(Class<?> cls, String basePath) { in ClassResourceLoader() argument
66 this.cls = cls; in ClassResourceLoader()
72 InputStream stream = cls.getResourceAsStream(basePath + '/' + name); in open()
81 + cls.getName()); in openOrFail()
/external/lldb/scripts/Python/
Dmodify-python-lldb.py357 cls = match.group(1) variable
358 if cls in d:
361 if cls in e:
372 if cls == "SBTarget":
373 new_content.add_line(module_iter % (d[cls]['module']))
374 new_content.add_line(breakpoint_iter % (d[cls]['breakpoint']))
375 new_content.add_line(watchpoint_iter % (d[cls]['watchpoint']))
378 new_content.add_line(iter_def % d[cls])
379 new_content.add_line(len_def % d[cls][0])
381 new_content.add_line(eq_def % (cls, list_to_frag(e[cls])))
[all …]
/external/parameter-framework/test/functional-tests/Util/
DPfwUnitTestLib.py89 def setUpClass(cls): argument
90 cls.startHal()
93 def tearDownClass(cls): argument
94 cls.stopHal()
97 def startHal(cls): argument
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): argument
[all …]

12345678910>>...12