Home
last modified time | relevance | path

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

12345678910>>...19

/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_org/tools/telemetry/telemetry/core/
Dcommand_line.py21 def AddCommandLineArgs(cls, parser): argument
25 def ProcessCommandLineArgs(cls, parser, args): argument
35 def Name(cls): argument
36 return camel_case.ToUnderscore(cls.__name__)
39 def Description(cls): argument
40 if cls.__doc__:
41 return cls.__doc__.splitlines()[0]
49 def main(cls, args=None): argument
52 cls.AddCommandLineArgs(parser)
54 cls.ProcessCommandLineArgs(parser, args)
[all …]
/external/chromium_org/tools/cr/cr/
Dplugin.py70 def __init__(self, cls): argument
71 self.cls = cls
74 return self.cls.FindPlugin(name, self.only_active) is not None
77 return [p.name for p in self.cls.Plugins()].__iter__()
80 def _FindRoot(cls): argument
81 if Plugin.Type in cls.__bases__:
82 return cls
83 for base in cls.__bases__:
185 def ClassInit(cls): argument
189 def GetInstance(cls): argument
[all …]
/external/protobuf/python/google/protobuf/
Dreflection.py101 def __new__(cls, name, bases, dictionary): argument
125 superclass = super(GeneratedProtocolMessageType, cls)
126 return superclass.__new__(cls, name, bases, dictionary)
128 def __init__(cls, name, bases, dictionary): argument
147 cls._decoders_by_tag = {}
148 cls._extensions_by_name = {}
149 cls._extensions_by_number = {}
152 cls._decoders_by_tag[decoder.MESSAGE_SET_ITEM_TAG] = (
153 decoder.MessageSetItemDecoder(cls._extensions_by_number))
162 setattr(descriptor, concrete_class_attr_name, cls)
[all …]
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/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/chromium_org/tools/telemetry/telemetry/page/
Dpage_filter.py22 def AddCommandLineArgs(cls, parser): argument
36 def ProcessCommandLineArgs(cls, parser, args): argument
37 cls._page_regex = None
38 cls._page_exclude_regex = None
39 cls._include_labels = None
40 cls._exclude_labels = None
44 cls._page_regex = re.compile(args.page_filter)
50 cls._page_exclude_regex = re.compile(args.page_filter_exclude)
55 cls._include_labels = args.page_label_filter.split(',')
58 cls._exclude_labels = args.page_label_filter_exclude.split(',')
[all …]
/external/chromium_org/third_party/protobuf/python/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/chromium_org/third_party/closure_linter/closure_linter/
Djavascripttokenizer.py217 def BuildMatchers(cls): argument
231 '|'.join(cls.KEYWORD_LIST), cls.IDENTIFIER_CHAR))
240 Matcher(cls.START_DOC_COMMENT, Type.START_DOC_COMMENT,
242 Matcher(cls.START_BLOCK_COMMENT, Type.START_BLOCK_COMMENT,
244 Matcher(cls.END_OF_LINE_SINGLE_LINE_COMMENT,
246 Matcher(cls.START_SINGLE_LINE_COMMENT,
249 Matcher(cls.SINGLE_QUOTE, Type.SINGLE_QUOTE_STRING_START,
251 Matcher(cls.DOUBLE_QUOTE, Type.DOUBLE_QUOTE_STRING_START,
253 Matcher(cls.REGEX, Type.REGEX),
257 Matcher(cls.START_BLOCK, Type.START_BLOCK),
[all …]
/external/chromium_org/tools/telemetry/telemetry/
Dbenchmark.py43 def Name(cls): argument
44 name = cls.__module__.split('.')[-1]
45 if hasattr(cls, 'tag'):
46 name += '.' + cls.tag
47 if hasattr(cls, 'page_set'):
48 name += '.' + cls.page_set.Name()
52 def AddCommandLineArgs(cls, parser): argument
53 cls.PageTestClass().AddCommandLineArgs(parser)
55 if hasattr(cls, 'AddTestCommandLineArgs'):
56 group = optparse.OptionGroup(parser, '%s test options' % cls.Name())
[all …]
/external/chromium_org/tools/telemetry/telemetry/unittest/
Dbrowser_test_case.py15 def setUpClass(cls): argument
17 cls.CustomizeBrowserOptions(options.browser_options)
22 cls._browser = None
24 cls._browser = browser_to_create.Create()
26 cls.tearDownClass()
30 def tearDownClass(cls): argument
31 if cls._browser:
32 cls._browser.Close()
33 cls._browser = None
36 def CustomizeBrowserOptions(cls, options): argument
[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/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 …]
/external/chromium_org/third_party/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/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/llvm/lib/Target/SystemZ/
DSystemZInstrFormats.td551 class InherentRRE<string mnemonic, bits<16> opcode, RegisterOperand cls,
553 : InstRRE<opcode, (outs cls:$R1), (ins),
555 [(set cls:$R1, src)]> {
559 class BranchUnaryRI<string mnemonic, bits<12> opcode, RegisterOperand cls>
560 : InstRI<opcode, (outs cls:$R1), (ins cls:$R1src, brtarget16:$I2),
568 class LoadMultipleRSY<string mnemonic, bits<16> opcode, RegisterOperand cls>
569 : InstRSY<opcode, (outs cls:$R1, cls:$R3), (ins bdaddr20only:$BD2),
575 RegisterOperand cls>
576 : InstRIL<opcode, (outs), (ins cls:$R1, pcrel32:$I2),
578 [(operator cls:$R1, pcrel32:$I2)]> {
[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 …]
/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/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/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/chromium_org/mojo/public/js/bindings/
Dcodec.js136 Decoder.prototype.decodeArray = function(cls) { argument
140 if (cls === PackedBool) {
149 val[i] = cls.decode(this);
155 Decoder.prototype.decodeStruct = function(cls) { argument
156 return cls.decode(this);
159 Decoder.prototype.decodeStructPointer = function(cls) { argument
164 return cls.decode(this.decodeAndCreateDecoder(pointer));
167 Decoder.prototype.decodeArrayPointer = function(cls) { argument
172 return this.decodeAndCreateDecoder(pointer).decodeArray(cls);
289 function(cls, val, numberOfElements, encodedSize) { argument
[all …]

12345678910>>...19