/external/libnl/lib/route/ |
D | cls_obj.c | 34 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 …]
|
D | cls.c | 42 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/ |
D | command_line.py | 21 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): argument 52 cls.AddCommandLineArgs(parser) 54 cls.ProcessCommandLineArgs(parser, args) [all …]
|
/external/chromium_org/tools/cr/cr/ |
D | plugin.py | 70 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/chromium_org/tools/telemetry/telemetry/ |
D | test.py | 36 def Name(cls): argument 37 name = cls.__module__.split('.')[-1] 38 if hasattr(cls, 'tag'): 39 name += '.' + cls.tag 40 if hasattr(cls, 'page_set'): 41 name += '.' + cls.page_set.Name() 45 def AddCommandLineArgs(cls, parser): argument 46 cls.PageTestClass().AddCommandLineArgs(parser) 48 if hasattr(cls, 'AddTestCommandLineArgs'): 49 group = optparse.OptionGroup(parser, '%s test options' % cls.Name()) [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowComponentName.java | 21 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/ |
D | reflection.py | 101 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 …]
|
D | service_reflection.py | 64 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/chromium_org/tools/telemetry/telemetry/page/ |
D | page_filter.py | 22 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/ |
D | python_message.py | 82 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/WebKit/Tools/TestResultServer/model/ |
D | jsonresults.py | 118 def _strip_prefix_suffix(cls, data): argument 124 def _generate_file_data(cls, jsonObject, sort_keys=False): argument 128 def _load_json(cls, file_data): argument 129 json_results_str = cls._strip_prefix_suffix(file_data) 142 def _merge_json(cls, aggregated_json, incremental_json, num_runs): argument 146 cls._delete_expected_entries(aggregated_json[TESTS_KEY]) 147 cls._merge_non_test_data(aggregated_json, incremental_json, num_runs) 151 cls._merge_tests(aggregated_tests, incremental_tests, num_runs) 154 def _delete_expected_entries(cls, aggregated_json): argument 158 cls._delete_expected_entries(item) [all …]
|
/external/libnl/lib/route/cls/ |
D | basic.c | 57 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 …]
|
D | cgroup.c | 37 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 …]
|
D | u32.c | 67 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/ |
D | service_reflection.py | 64 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/doclava/src/com/google/doclava/ |
D | PackageInfo.java | 309 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/src/cls/ |
D | utils.c | 15 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/ |
D | SystemZInstrFormats.td | 551 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/ |
D | nl-cls-add.c | 38 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 …]
|
D | nl-cls-delete.c | 42 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/ |
D | mlnbayes.cpp | 63 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/ |
D | arm64-vcnt.ll | 5 ;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/ |
D | ClassResourceLoader.java | 53 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/ |
D | modify-python-lldb.py | 357 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/chromium_org/tools/cr/cr/actions/ |
D | action.py | 19 def AddArguments(cls, command, parser): argument 20 cls.AddSelectorArg(command, parser) 23 def AddSelectorArg(cls, command, parser): argument 25 cls.SELECTOR_ARG, dest=cls.SELECTOR, 26 choices=cls.Choices(), 28 help=cls.SELECTOR_HELP + 'Overrides ' + cls.SELECTOR
|