/third_party/python/Lib/tkinter/test/ |
H A D | widget_tests.py | 497 def decorator(cls): 498 for option in cls.OPTIONS: 500 if not hasattr(cls, methodname): 503 setattr(cls, methodname, 511 (option, cls.__name__)) 513 setattr(cls, methodname, test) 514 return cls
|
/build/ohos/packages/ |
H A D | fs_process.py | 48 def is_lib(cls, lib): 52 def is_incr(cls, fs_incr): 58 def chmod(cls, file, mode): 64 def filter(cls, files, ignore_list):
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_cbdr.c | 140 cbd.cls = 1; in enetc_clear_mac_flt_entry() 158 cbd.cls = 1; in enetc_set_mac_flt_entry() 186 cbd.cls = 4; in enetc_set_fs_entry() 231 cbd.cls = 3; in enetc_cmd_rss_table()
|
/test/testfwk/developer_test/src/core/config/ |
H A D | resource_manager.py | 85 def _get_file_name_extension(cls, filepath): 92 def get_dir_name(cls, dir_path): 101 def get_env_data(cls, environment_list): 129 def get_nodeattrib_data(cls, data_dic):
|
/third_party/ltp/testcases/kernel/device-drivers/base/tbase/ |
H A D | tbase.c | 206 .cls = &test_sysclass, 727 struct class *cls = &test_class; in test_class_file() local 729 if (class_create_file(cls, &class_attr_test_id)) { in test_class_file() 734 class_remove_file(cls, &class_attr_test_id); in test_class_file()
|
/third_party/python/Lib/multiprocessing/ |
H A D | reduction.py | 44 def register(cls, type, reduce): 46 cls._extra_reducers[type] = reduce 49 def dumps(cls, obj, protocol=None): 51 cls(buf, protocol).dump(obj)
|
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
H A D | response.c | 309 * @param cls pointer to the response 316 file_reader (void *cls, uint64_t pos, char *buf, size_t max) in file_reader() argument 318 struct MHD_Response *response = cls; in file_reader() 335 * @param cls pointer to file descriptor 338 free_callback (void *cls) in free_callback() argument 340 struct MHD_Response *response = cls; in free_callback()
|
/third_party/skia/third_party/externals/microhttpd/src/testcurl/ |
H A D | test_get_chunked.c | 74 crc (void *cls, uint64_t pos, char *buf, size_t max) in crc() argument 76 struct MHD_Response **responseptr = cls; in crc() 99 ahc_echo (void *cls, in ahc_echo() argument 107 const char *me = cls; in ahc_echo()
|
/third_party/skia/third_party/externals/microhttpd/src/testzzuf/ |
H A D | test_get_chunked.c | 65 crc (void *cls, uint64_t pos, char *buf, size_t max) in crc() argument 67 struct MHD_Response **responseptr = cls; in crc() 90 ahc_echo (void *cls, in ahc_echo() argument 98 const char *me = cls; in ahc_echo()
|
H A D | test_post.c | 55 completed_cb (void *cls, in completed_cb() argument 87 post_iterator (void *cls, in post_iterator() argument 95 int *eok = cls; in post_iterator() 107 ahc_echo (void *cls, in ahc_echo() argument
|
H A D | test_post_form.c | 53 completed_cb (void *cls, in completed_cb() argument 84 post_iterator (void *cls, in post_iterator() argument 92 int *eok = cls; in post_iterator() 110 ahc_echo (void *cls, in ahc_echo() argument
|
/third_party/python/Modules/ |
H A D | _queuemodule.c | 186 cls: defining_class 204 _queue_SimpleQueue_get_impl(simplequeueobject *self, PyTypeObject *cls, in _queue_SimpleQueue_get_impl() argument 260 PyObject *module = PyType_GetModule(cls); in _queue_SimpleQueue_get_impl() 291 cls: defining_class 302 PyTypeObject *cls) in _queue_SimpleQueue_get_nowait_impl() 305 return _queue_SimpleQueue_get_impl(self, cls, 0, Py_None); in _queue_SimpleQueue_get_nowait_impl() 301 _queue_SimpleQueue_get_nowait_impl(simplequeueobject *self, PyTypeObject *cls) _queue_SimpleQueue_get_nowait_impl() argument
|
/third_party/python/Lib/test/test_importlib/ |
H A D | test_resource.py | 215 def setUpClass(cls): 216 sys.path.append(cls.site_dir) 219 def tearDownClass(cls): 220 sys.path.remove(cls.site_dir)
|
/third_party/rust/crates/regex/regex-syntax/src/hir/ |
H A D | print.rs | 97 HirKind::Class(hir::Class::Unicode(ref cls)) => { in visit_pre() 99 for range in cls.iter() { in visit_pre() 110 HirKind::Class(hir::Class::Bytes(ref cls)) => { in visit_pre() 112 for range in cls.iter() { in visit_pre()
|
/third_party/littlefs/scripts/ |
H A D | summary.py | 50 def __new__(cls, x=0): 65 return super().__new__(cls, x) 128 def __new__(cls, x=0.0): 143 return super().__new__(cls, x) 169 def __new__(cls, a=0, b=None): 176 return super().__new__(cls, Int(a), Int(b)) 312 def __new__(cls, **r): 313 return cls.__mro__[1].__new__(cls,
|
/third_party/python/Lib/test/ |
H A D | test_functools.py | 483 cls = functools.partialmethod(classmethod(capture), d=9) variable in TestPartialMethod.A 533 self.assertIs(obj.cls.__self__, self.A) 534 self.assertIs(self.A.cls.__self__, self.A) 552 self.assertEqual(obj.cls(), ((self.A,), {'d': 9})) 553 self.assertEqual(obj.cls(5), ((self.A, 5), {'d': 9})) 554 self.assertEqual(obj.cls(c=8), ((self.A,), {'c': 8, 'd': 9})) 555 self.assertEqual(obj.cls(5, c=8), ((self.A, 5), {'c': 8, 'd': 9})) 588 for func in [self.A.static, self.A.cls, self.A.over_partial, self.A.nested, self.A.both]: 1239 def __new__(cls, name, bases, ns): 1240 return super().__new__(cls, nam [all...] |
H A D | test_doctest.py | 90 def a_classmethod(cls, v): 109 def a_classmethod_property(cls): 114 return cls.a_class_attribute
|
H A D | test_copy.py | 44 def __new__(cls, foo): 45 obj = object.__new__(cls) 197 def __new__(cls, foo): 198 self = int.__new__(cls) 214 def __new__(cls, *, foo): 215 self = int.__new__(cls) 309 def __new__(cls, foo): 310 obj = object.__new__(cls) 496 def __new__(cls, foo): 497 self = int.__new__(cls) [all...] |
/third_party/python/Lib/importlib/ |
H A D | util.py | 278 def factory(cls, loader): 280 cls.__check_eager_loader(loader) 281 return lambda *args, **kwargs: cls(loader(*args, **kwargs))
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/ |
H A D | conventions.py | 50 def from_string(cls, s): 52 return cls.OR 54 return cls.AND
|
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | _parameterized.py | 178 def _StrClass(cls): 179 return '%s.%s' % (cls.__module__, cls.__name__)
|
/third_party/vulkan-headers/registry/spec_tools/ |
H A D | conventions.py | 50 def from_string(cls, s): 52 return cls.OR 54 return cls.AND
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_flower.c | 927 struct flow_cls_offload *cls) in cxgb4_tc_flower_replace() 929 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in cxgb4_tc_flower_replace() 930 struct netlink_ext_ack *extack = cls->common.extack; in cxgb4_tc_flower_replace() 944 fs->tc_cookie = cls->cookie; in cxgb4_tc_flower_replace() 946 ret = cxgb4_flow_rule_replace(dev, rule, cls->common.prio, extack, fs, in cxgb4_tc_flower_replace() 951 ch_flower->tc_flower_cookie = cls->cookie; in cxgb4_tc_flower_replace() 961 cxgb4_tc_flower_hash_prio_del(adap, cls->common.prio); in cxgb4_tc_flower_replace() 990 struct flow_cls_offload *cls) in cxgb4_tc_flower_destroy() 996 ch_flower = ch_flower_lookup(adap, cls->cookie); in cxgb4_tc_flower_destroy() 1061 struct flow_cls_offload *cls) in cxgb4_tc_flower_stats() 926 cxgb4_tc_flower_replace(struct net_device *dev, struct flow_cls_offload *cls) cxgb4_tc_flower_replace() argument 989 cxgb4_tc_flower_destroy(struct net_device *dev, struct flow_cls_offload *cls) cxgb4_tc_flower_destroy() argument 1060 cxgb4_tc_flower_stats(struct net_device *dev, struct flow_cls_offload *cls) cxgb4_tc_flower_stats() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_flower.c | 927 struct flow_cls_offload *cls) in cxgb4_tc_flower_replace() 929 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in cxgb4_tc_flower_replace() 930 struct netlink_ext_ack *extack = cls->common.extack; in cxgb4_tc_flower_replace() 944 fs->tc_cookie = cls->cookie; in cxgb4_tc_flower_replace() 946 ret = cxgb4_flow_rule_replace(dev, rule, cls->common.prio, extack, fs, in cxgb4_tc_flower_replace() 951 ch_flower->tc_flower_cookie = cls->cookie; in cxgb4_tc_flower_replace() 961 cxgb4_tc_flower_hash_prio_del(adap, cls->common.prio); in cxgb4_tc_flower_replace() 990 struct flow_cls_offload *cls) in cxgb4_tc_flower_destroy() 996 ch_flower = ch_flower_lookup(adap, cls->cookie); in cxgb4_tc_flower_destroy() 1061 struct flow_cls_offload *cls) in cxgb4_tc_flower_stats() 926 cxgb4_tc_flower_replace(struct net_device *dev, struct flow_cls_offload *cls) cxgb4_tc_flower_replace() argument 989 cxgb4_tc_flower_destroy(struct net_device *dev, struct flow_cls_offload *cls) cxgb4_tc_flower_destroy() argument 1060 cxgb4_tc_flower_stats(struct net_device *dev, struct flow_cls_offload *cls) cxgb4_tc_flower_stats() argument [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-multitouch.c | 721 struct mt_class *cls = &td->mtclass; in mt_touch_input_mapping() local 754 set_abs(hi->input, code, field, cls->sn_move); in mt_touch_input_mapping() 779 set_abs(hi->input, code, field, cls->sn_move); in mt_touch_input_mapping() 795 if ((cls->name == MT_CLS_WIN_8 || in mt_touch_input_mapping() 796 cls->name == MT_CLS_WIN_8_FORCE_MULTI_INPUT || in mt_touch_input_mapping() 797 cls->name == MT_CLS_WIN_8_FORCE_MULTI_INPUT_NSMU || in mt_touch_input_mapping() 798 cls->name == MT_CLS_WIN_8_DISABLE_WAKEUP) && in mt_touch_input_mapping() 824 cls->sn_width); in mt_touch_input_mapping() 830 cls->sn_height); in mt_touch_input_mapping() 845 cls in mt_touch_input_mapping() 1300 struct mt_class *cls = &td->mtclass; mt_touch_input_configured() local 1471 struct mt_class *cls = &td->mtclass; mt_need_to_apply_feature() local [all...] |